diff --git a/comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf b/comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf index 45dd862e..cebbc82d 100755 Binary files a/comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf and b/comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf differ diff --git a/comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png b/comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png index a624334e..bbcc66f7 100755 Binary files a/comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png and b/comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png differ diff --git a/data/plugin.log b/data/plugin.log index 4cbe0d9b..271d9c87 100755 --- a/data/plugin.log +++ b/data/plugin.log @@ -1,35376 +1,79 @@ +[2025-05-22 0:19:08.747739] [notice] Logging level set to:debug +[2025-05-22 0:19:08.747998] [debug] valor del webhook: {"uuid":"aacaf5c5-2bf4-44ea-864f-a24121b453bb","changeType":"edit","entity":"client","entityId":"171","eventName":"client.edit","extraData":{"entity":{"id":171,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-05-21T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Archi","lastName":"Isalas","username":"mainstreamm2@gmail.com","contacts":[{"id":177,"clientId":171,"email":"mainstreamm2@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":198,"clientId":171,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_SM2zH6IsjTz6ol","clientZoneVisible":true},{"id":199,"clientId":171,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180950530868794","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":171,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-05-21T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Archi","lastName":"Isalas","username":"mainstreamm2@gmail.com","contacts":[{"id":177,"clientId":171,"email":"mainstreamm2@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1003,"name":"WhatsNotifica"}]}],"attributes":[{"id":198,"clientId":171,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_SM2zH6IsjTz6ol","clientZoneVisible":true},{"id":199,"clientId":171,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180950530868794","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} +[2025-05-22 0:19:08.832132] [debug] valor el evento recibido por webhook: client.edit -[2025-02-07 19:53:12.318690] [info] Error creando PaymentIntent: Could not connect to Stripe (https://api.stripe.com/v1/payment_intents). Please check your internet connection and try again. If this problem persists, you should check Stripe's service status at https://twitter.com/stripestatus, or let us know at support@stripe.com. +[2025-05-22 0:19:08.832314] [debug] Valor de JSON: {"uuid":"aacaf5c5-2bf4-44ea-864f-a24121b453bb","changeType":"edit","entity":"client","entityId":"171","eventName":"client.edit","extraData":{"entity":{"id":171,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-05-21T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Archi","lastName":"Isalas","username":"mainstreamm2@gmail.com","contacts":[{"id":177,"clientId":171,"email":"mainstreamm2@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":198,"clientId":171,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_SM2zH6IsjTz6ol","clientZoneVisible":true},{"id":199,"clientId":171,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180950530868794","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":171,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-05-21T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Archi","lastName":"Isalas","username":"mainstreamm2@gmail.com","contacts":[{"id":177,"clientId":171,"email":"mainstreamm2@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1003,"name":"WhatsNotifica"}]}],"attributes":[{"id":198,"clientId":171,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_SM2zH6IsjTz6ol","clientZoneVisible":true},{"id":199,"clientId":171,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180950530868794","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -(Network error [errno 28]: Operation timed out after 80002 milliseconds with 0 bytes received) +[2025-05-22 0:19:08.832559] [debug] Se actualiza a un cliente +[2025-05-22 0:19:08.832638] [debug] Valor de json_data: {"uuid":"aacaf5c5-2bf4-44ea-864f-a24121b453bb","changeType":"edit","entity":"client","entityId":"171","eventName":"client.edit","extraData":{"entity":{"id":171,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-05-21T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Archi","lastName":"Isalas","username":"mainstreamm2@gmail.com","contacts":[{"id":177,"clientId":171,"email":"mainstreamm2@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":198,"clientId":171,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_SM2zH6IsjTz6ol","clientZoneVisible":true},{"id":199,"clientId":171,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180950530868794","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":171,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-05-21T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Archi","lastName":"Isalas","username":"mainstreamm2@gmail.com","contacts":[{"id":177,"clientId":171,"email":"mainstreamm2@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1003,"name":"WhatsNotifica"}]}],"attributes":[{"id":198,"clientId":171,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_SM2zH6IsjTz6ol","clientZoneVisible":true},{"id":199,"clientId":171,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180950530868794","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} +[2025-05-22 0:19:08.882267] [info] El valor de passwordAntenaValue es null o cadena vacía, se manda llamar la función getVaultCredentials -[2025-02-07 19:53:22.531372] [notice] Logging level set to:debug -[2025-02-07 19:53:22.531707] [info] No UUID found in the webhook data -[2025-02-07 19:53:22.531775] [info] Evento de transfencia al cliente encontrado -[2025-02-07 19:53:22.531824] [info] Valor del EventJSON: {"id":"evt_1Qpxc6EFY1WEUtgR7W7bRP1o","object":"event","api_version":"2023-10-16","created":1738958001,"data":{"object":{"id":"ccsbtxn_1Qpxc5EFY1WEUtgRUIc6y6hF","object":"customer_cash_balance_transaction","created":1738958001,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":20000,"funded":{"bank_transfer":{"reference":"","type":"mx_bank_transfer"}},"livemode":false,"net_amount":20000,"type":"funded"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_eC7WYfvkWmLzC7","idempotency_key":"62d357d1-f571-426a-9d5d-e7d9979cd566"},"type":"customer_cash_balance_transaction.created"} +[2025-05-22 0:19:08.882406] [info] El valor de password es: gYAIEK:Be}SK*01z5+/V -[2025-02-07 19:53:22.531867] [info] Evento recibido: {"id":"evt_1Qpxc6EFY1WEUtgR7W7bRP1o","object":"event","api_version":"2023-10-16","created":1738958001,"data":{"object":{"id":"ccsbtxn_1Qpxc5EFY1WEUtgRUIc6y6hF","object":"customer_cash_balance_transaction","created":1738958001,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":20000,"funded":{"bank_transfer":{"reference":"","type":"mx_bank_transfer"}},"livemode":false,"net_amount":20000,"type":"funded"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_eC7WYfvkWmLzC7","idempotency_key":"62d357d1-f571-426a-9d5d-e7d9979cd566"},"type":"customer_cash_balance_transaction.created"} - -[2025-02-07 19:53:22.579739] [notice] Logging level set to:debug -[2025-02-07 19:53:22.579935] [info] No UUID found in the webhook data -[2025-02-07 19:53:22.580123] [info] Evento de transfencia al cliente encontrado -[2025-02-07 19:53:22.580189] [info] Valor del EventJSON: {"id":"evt_1Qpxc6EFY1WEUtgRSfdZ4l8X","object":"event","api_version":"2023-10-16","created":1738958001,"data":{"object":{"id":"ccsbtxn_1Qpxc5EFY1WEUtgRlkhDTojR","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3QpxbCEFY1WEUtgR1EzdIVDJ"},"created":1738958001,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":0,"livemode":false,"net_amount":-20000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_eC7WYfvkWmLzC7","idempotency_key":"62d357d1-f571-426a-9d5d-e7d9979cd566"},"type":"customer_cash_balance_transaction.created"} - -[2025-02-07 19:53:22.580235] [info] Evento recibido: {"id":"evt_1Qpxc6EFY1WEUtgRSfdZ4l8X","object":"event","api_version":"2023-10-16","created":1738958001,"data":{"object":{"id":"ccsbtxn_1Qpxc5EFY1WEUtgRlkhDTojR","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3QpxbCEFY1WEUtgR1EzdIVDJ"},"created":1738958001,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":0,"livemode":false,"net_amount":-20000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_eC7WYfvkWmLzC7","idempotency_key":"62d357d1-f571-426a-9d5d-e7d9979cd566"},"type":"customer_cash_balance_transaction.created"} - -[2025-02-07 19:53:29.039283] [info] PaymentIntent creado: pi_3QpxcCEFY1WEUtgR0JCtRhm0 - -[2025-02-07 19:53:29.584810] [info] Error creando PaymentIntent: This value must be greater than or equal to 1. - -[2025-02-07 19:58:40.223897] [notice] Logging level set to:debug -[2025-02-07 19:58:40.359090] [debug] valor el evento recibido por webhook: payment.add - -[2025-02-07 19:58:40.359414] [debug] Valor de JSON: {"uuid":"1f0ffcb5-505a-4433-a7fc-22beeb395b30","changeType":"insert","entity":"payment","entityId":"562","eventName":"payment.add","extraData":{"entity":{"id":562,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-07T13:58:39-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]},"entityBeforeEdit":null}} - -[2025-02-07 19:58:40.359671] [debug] datos del notification para el invoice add:{"uuid":"1f0ffcb5-505a-4433-a7fc-22beeb395b30","changeType":"insert","entity":"payment","entityId":562,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"4181148783","name":"Tio","isBilling":false,"isContact":false,"types":[{"id":1003,"name":"WhatsNotifica"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":1384,"accountCredit":1384,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":562,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-07T13:58:39-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}} - -[2025-02-07 19:58:40.359693] [debug] valor del payment data: {"id":562,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-07T13:58:39-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]} - -[2025-02-07 19:58:40.359761] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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 - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Archivos eliminados - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png" - }, - "template_values": ["Daniel Humberto Soto Villegas", "$300", "$1384 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"7be230e19f6945dca81769ca1dade1b0","status":"enqueued"}} -Hay menos de 100 archivos en el directorio. No se eliminarán archivos. - -La notificación fue enviada correctamente con estado: enqueued - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":562,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-07T13:58:39-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb21384 a favor","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb21384 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 300\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 07\/02\/2025 13:58 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 07\/02\/2025 13:58\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/02\/2025 13:58 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 07\/02\/2025 13:58","Clabe Interbancaria":null}} - -[2025-02-07 19:58:50.385344] [notice] Logging level set to:debug -[2025-02-07 19:58:50.515511] [debug] valor el evento recibido por webhook: payment.edit - -[2025-02-07 19:58:50.515571] [debug] Valor de JSON: {"uuid":"357f891f-b247-407f-9289-37162edfde3f","changeType":"edit","entity":"payment","entityId":"562","eventName":"payment.edit","extraData":{"entity":{"id":562,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-07T13:58:39-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":562,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-07T13:58:39-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"0021804341999569810","Cliente":"2","user entry point":"inbound_message","Monto Ultimo Pago":"💲 300","Fecha Ultima Actualizacion":"📆🔄️ 07/02/2025 13:58","Estado":"🟢 Activo ","Saldo Actual":"💲1384 a favor","Nombre":"👤 Daniel Humberto Soto Villegas","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 07/02/2025 13:58 con Tarjeta de crédito Stripe 💳","URL":"🌐 https://172.16.5.120/crm/client/2","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲1384 a favor\",\"Monto Ultimo Pago\": \"💲 300\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 07/02/2025 13:58 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 07/02/2025 13:58\",\"Clabe Interbancaria\": \"\"}","user name":"Daniel Humberto 🐁"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Eviando comprobante de pago al cliente: 2 con número: 5214181148783 - -El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf - -El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Archivos eliminados - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181148783", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png" - }, - "template_values": ["Daniel Humberto Soto Villegas", "$300", "$1384 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"a4e7d79a87e44647a259c41931ab6c6c","status":"enqueued"}} -Hay menos de 100 archivos en el directorio. No se eliminarán archivos. - -La notificación fue enviada correctamente con estado: enqueued - -[2025-02-07 19:58:59.383574] [info] Notificación enviada correctamente al cliente con número 5214181148783 después de 1 intento(s). - -[2025-02-07 19:59:50.824486] [notice] Logging level set to:debug -[2025-02-07 19:59:50.940082] [debug] valor el evento recibido por webhook: payment.add - -[2025-02-07 19:59:50.940134] [debug] Valor de JSON: {"uuid":"b31994eb-6358-45dc-a7d7-b9a7fa7c9cf3","changeType":"insert","entity":"payment","entityId":"563","eventName":"payment.add","extraData":{"entity":{"id":563,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-07T13:59:50-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]},"entityBeforeEdit":null}} - -[2025-02-07 19:59:50.940362] [debug] datos del notification para el invoice add:{"uuid":"b31994eb-6358-45dc-a7d7-b9a7fa7c9cf3","changeType":"insert","entity":"payment","entityId":563,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"4181148783","name":"Tio","isBilling":false,"isContact":false,"types":[{"id":1003,"name":"WhatsNotifica"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":1584,"accountCredit":1584,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":563,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-07T13:59:50-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]}} - -[2025-02-07 19:59:50.940385] [debug] valor del payment data: {"id":563,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-07T13:59:50-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]} - -[2025-02-07 19:59:50.940454] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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 - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Archivos eliminados - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png" - }, - "template_values": ["Daniel Humberto Soto Villegas", "$200", "$1584 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"e5d7bf74707d43768be6b45ad34838e5","status":"enqueued"}} -Hay menos de 100 archivos en el directorio. No se eliminarán archivos. - -La notificación fue enviada correctamente con estado: enqueued - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":563,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-07T13:59:50-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb21584 a favor","Monto Ultimo Pago":"\ud83d\udcb2 200","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb21584 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 200\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 07\/02\/2025 13:59 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 07\/02\/2025 14:00\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/02\/2025 13:59 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 07\/02\/2025 14:00","Clabe Interbancaria":null}} - -[2025-02-07 20:00:00.945401] [notice] Logging level set to:debug -[2025-02-07 20:00:01.336648] [debug] valor el evento recibido por webhook: payment.edit - -[2025-02-07 20:00:01.336709] [debug] Valor de JSON: {"uuid":"ee3cf8aa-a465-4def-ad2c-257dfab8e7be","changeType":"edit","entity":"payment","entityId":"563","eventName":"payment.edit","extraData":{"entity":{"id":563,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-07T13:59:50-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":563,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-07T13:59:50-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]}}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"0021804341999569810","Cliente":"2","user entry point":"inbound_message","Monto Ultimo Pago":"💲 200","Fecha Ultima Actualizacion":"📆🔄️ 07/02/2025 14:00","Estado":"🟢 Activo ","Saldo Actual":"💲1584 a favor","Nombre":"👤 Daniel Humberto Soto Villegas","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 07/02/2025 13:59 con Tarjeta de crédito Stripe 💳","URL":"🌐 https://172.16.5.120/crm/client/2","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲1584 a favor\",\"Monto Ultimo Pago\": \"💲 200\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 07/02/2025 13:59 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 07/02/2025 14:00\",\"Clabe Interbancaria\": \"\"}","user name":"Daniel Humberto 🐁"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Eviando comprobante de pago al cliente: 2 con número: 5214181148783 - -El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf - -El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Archivos eliminados - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181148783", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png" - }, - "template_values": ["Daniel Humberto Soto Villegas", "$200", "$1584 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"ff09ca46b83c4567906732b7bde9d43e","status":"enqueued"}} -Hay menos de 100 archivos en el directorio. No se eliminarán archivos. - -La notificación fue enviada correctamente con estado: enqueued - -[2025-02-07 20:00:11.499314] [info] Notificación enviada correctamente al cliente con número 5214181148783 después de 1 intento(s). - -[2025-02-07 20:04:18.471982] [notice] Logging level set to:debug -[2025-02-07 20:04:18.472137] [info] No UUID found in the webhook data -[2025-02-07 20:04:18.472163] [info] Evento de transfencia al cliente encontrado -[2025-02-07 20:04:18.472208] [info] Valor del EventJSON: {"id":"evt_1QpxmgEFY1WEUtgRbj7cV0JC","object":"event","api_version":"2023-10-16","created":1738958657,"data":{"object":{"id":"ccsbtxn_1QpxmfEFY1WEUtgRP8KQRsow","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3QpxmeEFY1WEUtgR1ooeEALU"},"created":1738958657,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":0,"livemode":false,"net_amount":-3000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_kCK2kRe6UEXabl","idempotency_key":"504b5235-c8da-4a86-b986-6e2c775055ff"},"type":"customer_cash_balance_transaction.created"} - -[2025-02-07 20:04:18.472230] [info] Evento recibido: {"id":"evt_1QpxmgEFY1WEUtgRbj7cV0JC","object":"event","api_version":"2023-10-16","created":1738958657,"data":{"object":{"id":"ccsbtxn_1QpxmfEFY1WEUtgRP8KQRsow","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3QpxmeEFY1WEUtgR1ooeEALU"},"created":1738958657,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":0,"livemode":false,"net_amount":-3000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_kCK2kRe6UEXabl","idempotency_key":"504b5235-c8da-4a86-b986-6e2c775055ff"},"type":"customer_cash_balance_transaction.created"} - -[2025-02-07 20:04:19.318926] [info] Error creando PaymentIntent: This value must be greater than or equal to 1. - -[2025-02-07 20:04:19.645780] [notice] Logging level set to:debug -[2025-02-07 20:04:19.813205] [debug] valor el evento recibido por webhook: payment.add - -[2025-02-07 20:04:19.813373] [debug] Valor de JSON: {"uuid":"ea88f448-4006-4ea3-8297-20c9afa22d98","changeType":"insert","entity":"payment","entityId":"564","eventName":"payment.add","extraData":{"entity":{"id":564,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-07T14:04:19-0600","amount":30,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":30,"userId":null,"attributes":[]},"entityBeforeEdit":null}} - -[2025-02-07 20:04:19.813525] [debug] datos del notification para el invoice add:{"uuid":"ea88f448-4006-4ea3-8297-20c9afa22d98","changeType":"insert","entity":"payment","entityId":564,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"4181148783","name":"Tio","isBilling":false,"isContact":false,"types":[{"id":1003,"name":"WhatsNotifica"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":1614,"accountCredit":1614,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":564,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-07T14:04:19-0600","amount":30,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":30,"userId":null,"attributes":[]}} - -[2025-02-07 20:04:19.813589] [debug] valor del payment data: {"id":564,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-07T14:04:19-0600","amount":30,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":30,"userId":null,"attributes":[]} - -[2025-02-07 20:04:19.813688] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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 - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Error al borrar comprobanteComprobante_SANI_RÍOS_S.A._DE_C.V..png - -Archivos eliminados - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png" - }, - "template_values": ["Daniel Humberto Soto Villegas", "$30", "$1614 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"a1fea40295064441b9b5faf0e772cc22","status":"enqueued"}} -Hay menos de 100 archivos en el directorio. No se eliminarán archivos. - -La notificación fue enviada correctamente con estado: enqueued - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":564,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-07T14:04:19-0600","amount":30,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":30,"userId":null,"attributes":[]}] - -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":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb21614 a favor","Monto Ultimo Pago":"\ud83d\udcb2 30","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb21614 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 30\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 07\/02\/2025 14:04 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 07\/02\/2025 14:04\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/02\/2025 14:04 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 07\/02\/2025 14:04","Clabe Interbancaria":null}} - -[2025-02-07 20:04:29.808315] [notice] Logging level set to:debug -[2025-02-07 20:04:29.973027] [debug] valor el evento recibido por webhook: payment.edit - -[2025-02-07 20:04:29.973177] [debug] Valor de JSON: {"uuid":"76259510-5619-431d-84a7-1444714ad9ca","changeType":"edit","entity":"payment","entityId":"564","eventName":"payment.edit","extraData":{"entity":{"id":564,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-07T14:04:19-0600","amount":30,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":30,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":564,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-07T14:04:19-0600","amount":30,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":30,"userId":null,"attributes":[]}}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"0021804341999569810","Cliente":"2","user entry point":"inbound_message","Monto Ultimo Pago":"💲 30","Fecha Ultima Actualizacion":"📆🔄️ 07/02/2025 14:04","Estado":"🟢 Activo ","Saldo Actual":"💲1614 a favor","Nombre":"👤 Daniel Humberto Soto Villegas","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 07/02/2025 14:04 con Tarjeta de crédito Stripe 💳","URL":"🌐 https://172.16.5.120/crm/client/2","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲1614 a favor\",\"Monto Ultimo Pago\": \"💲 30\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 07/02/2025 14:04 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 07/02/2025 14:04\",\"Clabe Interbancaria\": \"\"}","user name":"Daniel Humberto 🐁"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Eviando comprobante de pago al cliente: 2 con número: 5214181148783 - -El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf - -El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Archivos eliminados - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181148783", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png" - }, - "template_values": ["Daniel Humberto Soto Villegas", "$30", "$1614 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"83ab6770756240019661d527ff3830d1","status":"enqueued"}} -Hay menos de 100 archivos en el directorio. No se eliminarán archivos. - -La notificación fue enviada correctamente con estado: enqueued - -[2025-02-07 20:04:39.147592] [info] Notificación enviada correctamente al cliente con número 5214181148783 después de 1 intento(s). - -[2025-02-07 21:29:44.835804] [notice] Logging level set to:debug -[2025-02-07 21:29:44.836112] [info] No UUID found in the webhook data -[2025-02-07 21:29:44.836200] [info] Evento de transfencia al cliente encontrado -[2025-02-07 21:29:44.836286] [info] Valor del EventJSON: {"id":"evt_1Qpz7MEFY1WEUtgRq9wH3DWF","object":"event","api_version":"2023-10-16","created":1738963783,"data":{"object":{"id":"ccsbtxn_1Qpz7LEFY1WEUtgRWdVvS4OU","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3Qpz7LEFY1WEUtgR0bdAY7UD"},"created":1738963783,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":0,"livemode":false,"net_amount":-30000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_6BuP0cqWP70nC6","idempotency_key":"d4adb38f-d4b9-4218-aa37-9041874ad045"},"type":"customer_cash_balance_transaction.created"} - -[2025-02-07 21:29:44.836358] [info] Evento recibido: {"id":"evt_1Qpz7MEFY1WEUtgRq9wH3DWF","object":"event","api_version":"2023-10-16","created":1738963783,"data":{"object":{"id":"ccsbtxn_1Qpz7LEFY1WEUtgRWdVvS4OU","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3Qpz7LEFY1WEUtgR0bdAY7UD"},"created":1738963783,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":0,"livemode":false,"net_amount":-30000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_6BuP0cqWP70nC6","idempotency_key":"d4adb38f-d4b9-4218-aa37-9041874ad045"},"type":"customer_cash_balance_transaction.created"} - -[2025-02-07 21:29:45.708945] [info] Error creando PaymentIntent: This value must be greater than or equal to 1. - -[2025-02-07 21:29:46.966592] [notice] Logging level set to:debug -[2025-02-07 21:29:47.125627] [debug] valor el evento recibido por webhook: payment.add - -[2025-02-07 21:29:47.125793] [debug] Valor de JSON: {"uuid":"9f36a667-57ae-4ea1-bc53-abb2d78ad02f","changeType":"insert","entity":"payment","entityId":"565","eventName":"payment.add","extraData":{"entity":{"id":565,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-07T15:29:46-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]},"entityBeforeEdit":null}} - -[2025-02-07 21:29:47.125942] [debug] datos del notification para el invoice add:{"uuid":"9f36a667-57ae-4ea1-bc53-abb2d78ad02f","changeType":"insert","entity":"payment","entityId":565,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"4181148783","name":"Tio","isBilling":false,"isContact":false,"types":[{"id":1003,"name":"WhatsNotifica"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":1914,"accountCredit":1914,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":565,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-07T15:29:46-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}} - -[2025-02-07 21:29:47.126003] [debug] valor del payment data: {"id":565,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-07T15:29:46-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]} - -[2025-02-07 21:29:47.126101] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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 - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Archivos eliminados - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png" - }, - "template_values": ["Daniel Humberto Soto Villegas", "$300", "$1914 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"99a59e669f8546fc8335d78ed5844400","status":"enqueued"}} -Hay menos de 100 archivos en el directorio. No se eliminarán archivos. - -La notificación fue enviada correctamente con estado: enqueued - -[2025-02-07 21:29:57.123974] [notice] Logging level set to:debug -[2025-02-07 21:29:57.268604] [debug] valor el evento recibido por webhook: payment.edit - -[2025-02-07 21:29:57.268754] [debug] Valor de JSON: {"uuid":"606a257c-c289-43a2-ac3b-456ec758a806","changeType":"edit","entity":"payment","entityId":"565","eventName":"payment.edit","extraData":{"entity":{"id":565,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-07T15:29:46-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":565,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-07T15:29:46-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}}} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":565,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-07T15:29:46-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb21914 a favor","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb21914 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 300\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 07\/02\/2025 15:29 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 07\/02\/2025 15:29\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/02\/2025 15:29 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 07\/02\/2025 15:29","Clabe Interbancaria":null}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"0021804341999569810","Cliente":"2","user entry point":"inbound_message","Monto Ultimo Pago":"💲 300","Fecha Ultima Actualizacion":"📆🔄️ 07/02/2025 15:29","Estado":"🟢 Activo ","Saldo Actual":"💲1914 a favor","Nombre":"👤 Daniel Humberto Soto Villegas","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 07/02/2025 15:29 con Tarjeta de crédito Stripe 💳","URL":"🌐 https://172.16.5.120/crm/client/2","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲1914 a favor\",\"Monto Ultimo Pago\": \"💲 300\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 07/02/2025 15:29 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 07/02/2025 15:29\",\"Clabe Interbancaria\": \"\"}","user name":"Daniel Humberto 🐁"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Eviando comprobante de pago al cliente: 2 con número: 5214181148783 - -El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf - -El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Archivos eliminados - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181148783", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png" - }, - "template_values": ["Daniel Humberto Soto Villegas", "$300", "$1914 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"00737e0c882e4d98ab84125dfe4c9086","status":"enqueued"}} -Hay menos de 100 archivos en el directorio. No se eliminarán archivos. - -La notificación fue enviada correctamente con estado: enqueued - -[2025-02-07 21:30:07.388246] [info] Notificación enviada correctamente al cliente con número 5214181148783 después de 1 intento(s). - -[2025-02-08 6:25:07.089737] [notice] Logging level set to:debug -[2025-02-08 6:25:07.746402] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-08 6:25:07.746484] [debug] Valor de JSON: {"uuid":"7401f730-81b8-4846-ad9d-e0c1a5a8787a","changeType":"overdue","entity":"invoice","entityId":"1447","eventName":"invoice.overdue","extraData":{"entity":{"id":1447,"clientId":126,"number":"001411","createdDate":"2025-01-24T10:00:01-0600","dueDate":"2025-02-07T10:00:01-0600","emailSentDate":"2025-02-08T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-01-22T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1450,"type":"service","label":"PREMIUM 24\/12\/2024 \u2013 23\/01\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":108,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL INNU","clientLastName":"RATA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-08 6:25:07.746691] [debug] Factura vencida - -[2025-02-08 6:25:07.746742] [debug] datos del notification para el invoice overdue:{"uuid":"7401f730-81b8-4846-ad9d-e0c1a5a8787a","changeType":"overdue","entity":"invoice","entityId":1447,"message":null,"clientId":126,"eventName":"invoice.overdue","clientData":{"id":126,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-05-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DANIEL INNU","lastName":"RATA","username":"dhsv.141089@gmail.com","contacts":[{"id":130,"clientId":126,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":127,"clientId":126,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QASKG6Z0Hree1h","clientZoneVisible":true},{"id":128,"clientId":126,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180704572078989","clientZoneVisible":true}],"accountBalance":-1400,"accountCredit":0,"accountOutstanding":1400,"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":1447,"clientId":126,"number":"001411","createdDate":"2025-01-24T10:00:01-0600","dueDate":"2025-02-07T10:00:01-0600","emailSentDate":"2025-02-08T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-01-22T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1450,"type":"service","label":"PREMIUM 24\/12\/2024 \u2013 23\/01\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":108,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL INNU","clientLastName":"RATA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-08 6:25:07.746778] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-08 6:25:07.746880] [debug] Numero de cel obtenido - -[2025-02-08 6:25:07.746895] [warning] No se encontró un teléfono celular válido para el cliente: 126 -[2025-02-09 9:15:14.197588] [notice] Logging level set to:debug -[2025-02-09 9:15:14.277822] [debug] valor el evento recibido por webhook: client.edit - -[2025-02-09 9:15:14.278032] [debug] Valor de JSON: {"uuid":"54e9cd31-cb28-4317-9990-3aa6b5ccae61","changeType":"edit","entity":"client","entityId":"158","eventName":"client.edit","extraData":{"entity":{"id":158,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 23, Guadalupe, Dolores 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-06T00:00:00-0600","leadConvertedAt":"2025-02-09T03:15:13-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luis","lastName":"Guti\u00e9rrez","username":null,"contacts":[{"id":162,"clientId":158,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2196f3","addressGpsLat":21.153272,"addressGpsLon":-100.9134508,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":158,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 23, Guadalupe, Dolores 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-06T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luis","lastName":"Guti\u00e9rrez","username":null,"contacts":[{"id":162,"clientId":158,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2196f3","addressGpsLat":21.153272,"addressGpsLon":-100.9134508,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-02-09 9:15:14.278320] [debug] Se actualiza a un cliente -[2025-02-09 9:15:14.278409] [debug] Valor de json_data: {"uuid":"54e9cd31-cb28-4317-9990-3aa6b5ccae61","changeType":"edit","entity":"client","entityId":"158","eventName":"client.edit","extraData":{"entity":{"id":158,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 23, Guadalupe, Dolores 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-06T00:00:00-0600","leadConvertedAt":"2025-02-09T03:15:13-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luis","lastName":"Guti\u00e9rrez","username":null,"contacts":[{"id":162,"clientId":158,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2196f3","addressGpsLat":21.153272,"addressGpsLon":-100.9134508,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":158,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 23, Guadalupe, Dolores 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-06T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luis","lastName":"Guti\u00e9rrez","username":null,"contacts":[{"id":162,"clientId":158,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2196f3","addressGpsLat":21.153272,"addressGpsLon":-100.9134508,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-02-09 9:15:14.278465] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-09 9:15:14.278506] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-02-09 9:15:14.278546] [debug] El campo isLead cambió de true a false -[2025-02-09 9:15:14.329869] [info] ID correspondiente a 'Customer Stripe ID': 10 - -[2025-02-09 9:15:14.330171] [info] El valor de 'isLead' es: false - -[2025-02-09 9:15:14.330194] [info] El cliente NO es un lead, se procesará - -[2025-02-09 9:15:14.330210] [info] Creando el Customer Stripe - -[2025-02-09 9:15:14.330223] [info] El cliente a procesar es : Luis Gutiérrez - -[2025-02-09 9:15:14.330244] [info] Datos notificationData: {"uuid":"54e9cd31-cb28-4317-9990-3aa6b5ccae61","changeType":"edit","entity":"client","entityId":158,"message":null,"clientId":158,"eventName":"client.edit","clientData":{"id":158,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 23, Guadalupe, Dolores 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-06T00:00:00-0600","leadConvertedAt":"2025-02-09T03:15:13-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luis","lastName":"Guti\u00e9rrez","username":null,"contacts":[{"id":162,"clientId":158,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2196f3","addressGpsLat":21.153272,"addressGpsLon":-100.9134508,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-02-09 9:15:14.330251] [info] Ya dentro del FOREACH!!! - -[2025-02-09 9:15:14.330259] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-02-09 9:15:14.330265] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-02-09 9:15:14.330275] [info] SE VALIDA EL EMAIL!!! - -[2025-02-09 9:15:14.330930] [info] ahora se procede a validar el teléfono!!! - -[2025-02-09 9:15:30.537147] [notice] Logging level set to:debug -[2025-02-09 9:15:30.663276] [debug] valor el evento recibido por webhook: client.edit - -[2025-02-09 9:15:30.663443] [debug] Valor de JSON: {"uuid":"ef322488-b441-4e05-945d-c3ca03b73c0d","changeType":"edit","entity":"client","entityId":"158","eventName":"client.edit","extraData":{"entity":{"id":158,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 23, Guadalupe, Dolores 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-06T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luis","lastName":"Guti\u00e9rrez","username":null,"contacts":[{"id":162,"clientId":158,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2196f3","addressGpsLat":21.153272,"addressGpsLon":-100.9134508,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":158,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 23, Guadalupe, Dolores 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-06T00:00:00-0600","leadConvertedAt":"2025-02-09T03:15:13-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luis","lastName":"Guti\u00e9rrez","username":null,"contacts":[{"id":162,"clientId":158,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2196f3","addressGpsLat":21.153272,"addressGpsLon":-100.9134508,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-02-09 9:15:30.663669] [debug] Se actualiza a un cliente -[2025-02-09 9:15:30.663739] [debug] Valor de json_data: {"uuid":"ef322488-b441-4e05-945d-c3ca03b73c0d","changeType":"edit","entity":"client","entityId":"158","eventName":"client.edit","extraData":{"entity":{"id":158,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 23, Guadalupe, Dolores 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-06T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luis","lastName":"Guti\u00e9rrez","username":null,"contacts":[{"id":162,"clientId":158,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2196f3","addressGpsLat":21.153272,"addressGpsLon":-100.9134508,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":158,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 23, Guadalupe, Dolores 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-06T00:00:00-0600","leadConvertedAt":"2025-02-09T03:15:13-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luis","lastName":"Guti\u00e9rrez","username":null,"contacts":[{"id":162,"clientId":158,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2196f3","addressGpsLat":21.153272,"addressGpsLon":-100.9134508,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-02-09 9:15:30.663784] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-09 9:15:30.663822] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-02-09 9:15:30.663857] [debug] No hubo cambio de true a false en el campo isLead -[2025-02-09 9:15:30.663912] [debug] {"uuid":"ef322488-b441-4e05-945d-c3ca03b73c0d","changeType":"edit","entity":"client","entityId":158,"message":null,"clientId":158,"eventName":"client.edit","clientData":{"id":158,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 23, Guadalupe, Dolores 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-06T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luis","lastName":"Guti\u00e9rrez","username":null,"contacts":[{"id":162,"clientId":158,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2196f3","addressGpsLat":21.153272,"addressGpsLon":-100.9134508,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-02-09 9:15:50.033401] [notice] Logging level set to:debug -[2025-02-09 9:15:50.123023] [debug] valor el evento recibido por webhook: client.edit - -[2025-02-09 9:15:50.123183] [debug] Valor de JSON: {"uuid":"17e043a7-03b5-4312-ab81-a7818124a77e","changeType":"edit","entity":"client","entityId":"158","eventName":"client.edit","extraData":{"entity":{"id":158,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 23, Guadalupe, Dolores 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-06T00:00:00-0600","leadConvertedAt":"2025-02-09T03:15:49-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luis","lastName":"Guti\u00e9rrez","username":null,"contacts":[{"id":162,"clientId":158,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2196f3","addressGpsLat":21.153272,"addressGpsLon":-100.9134508,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":158,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 23, Guadalupe, Dolores 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-06T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luis","lastName":"Guti\u00e9rrez","username":null,"contacts":[{"id":162,"clientId":158,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2196f3","addressGpsLat":21.153272,"addressGpsLon":-100.9134508,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-02-09 9:15:50.123440] [debug] Se actualiza a un cliente -[2025-02-09 9:15:50.123516] [debug] Valor de json_data: {"uuid":"17e043a7-03b5-4312-ab81-a7818124a77e","changeType":"edit","entity":"client","entityId":"158","eventName":"client.edit","extraData":{"entity":{"id":158,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 23, Guadalupe, Dolores 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-06T00:00:00-0600","leadConvertedAt":"2025-02-09T03:15:49-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luis","lastName":"Guti\u00e9rrez","username":null,"contacts":[{"id":162,"clientId":158,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2196f3","addressGpsLat":21.153272,"addressGpsLon":-100.9134508,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":158,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 23, Guadalupe, Dolores 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-06T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luis","lastName":"Guti\u00e9rrez","username":null,"contacts":[{"id":162,"clientId":158,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2196f3","addressGpsLat":21.153272,"addressGpsLon":-100.9134508,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-02-09 9:15:50.123570] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-09 9:15:50.123605] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-02-09 9:15:50.123641] [debug] El campo isLead cambió de true a false -[2025-02-09 9:15:50.167927] [info] ID correspondiente a 'Customer Stripe ID': 10 - -[2025-02-09 9:15:50.168333] [info] El valor de 'isLead' es: false - -[2025-02-09 9:15:50.168409] [info] El cliente NO es un lead, se procesará - -[2025-02-09 9:15:50.168462] [info] Creando el Customer Stripe - -[2025-02-09 9:15:50.168508] [info] El cliente a procesar es : Luis Gutiérrez - -[2025-02-09 9:15:50.168562] [info] Datos notificationData: {"uuid":"17e043a7-03b5-4312-ab81-a7818124a77e","changeType":"edit","entity":"client","entityId":158,"message":null,"clientId":158,"eventName":"client.edit","clientData":{"id":158,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 23, Guadalupe, Dolores 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-06T00:00:00-0600","leadConvertedAt":"2025-02-09T03:15:49-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luis","lastName":"Guti\u00e9rrez","username":null,"contacts":[{"id":162,"clientId":158,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2196f3","addressGpsLat":21.153272,"addressGpsLon":-100.9134508,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-02-09 9:15:50.168601] [info] Ya dentro del FOREACH!!! - -[2025-02-09 9:15:50.168641] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-02-09 9:15:50.168678] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-02-09 9:15:50.168719] [info] SE VALIDA EL EMAIL!!! - -[2025-02-09 9:15:50.169450] [info] ahora se procede a validar el teléfono!!! - -[2025-02-09 10:12:51.892245] [notice] Logging level set to:debug -[2025-02-09 10:12:51.966310] [debug] valor el evento recibido por webhook: client.edit - -[2025-02-09 10:12:51.966389] [debug] Valor de JSON: {"uuid":"e2762045-e5a3-4f88-98ef-b0ec797fd35d","changeType":"edit","entity":"client","entityId":"16","eventName":"client.edit","extraData":{"entity":{"id":16,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA CLARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA CLARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":"2025-02-09T04:12:51-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"VANESSA","lastName":"CABRERA","username":"vcabrera16","contacts":[{"id":17,"clientId":16,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00838f","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":16,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA CLARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA CLARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"VANESSA","lastName":"CABRERA","username":"vcabrera16","contacts":[{"id":17,"clientId":16,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00838f","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-02-09 10:12:51.966598] [debug] Se actualiza a un cliente -[2025-02-09 10:12:51.966635] [debug] Valor de json_data: {"uuid":"e2762045-e5a3-4f88-98ef-b0ec797fd35d","changeType":"edit","entity":"client","entityId":"16","eventName":"client.edit","extraData":{"entity":{"id":16,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA CLARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA CLARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":"2025-02-09T04:12:51-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"VANESSA","lastName":"CABRERA","username":"vcabrera16","contacts":[{"id":17,"clientId":16,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00838f","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":16,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA CLARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA CLARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"VANESSA","lastName":"CABRERA","username":"vcabrera16","contacts":[{"id":17,"clientId":16,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00838f","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-02-09 10:12:51.966653] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-09 10:12:51.966662] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-02-09 10:12:51.966670] [debug] El campo isLead cambió de true a false -[2025-02-09 10:12:52.018219] [info] ID correspondiente a 'Customer Stripe ID': 10 - -[2025-02-09 10:12:52.018605] [info] El valor de 'isLead' es: false - -[2025-02-09 10:12:52.018640] [info] El cliente NO es un lead, se procesará - -[2025-02-09 10:12:52.018665] [info] Creando el Customer Stripe - -[2025-02-09 10:12:52.018681] [info] El cliente a procesar es : VANESSA CABRERA - -[2025-02-09 10:12:52.018708] [info] Datos notificationData: {"uuid":"e2762045-e5a3-4f88-98ef-b0ec797fd35d","changeType":"edit","entity":"client","entityId":16,"message":null,"clientId":16,"eventName":"client.edit","clientData":{"id":16,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA CLARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA CLARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":"2025-02-09T04:12:51-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"VANESSA","lastName":"CABRERA","username":"vcabrera16","contacts":[{"id":17,"clientId":16,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00838f","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-02-09 10:12:52.018733] [info] Ya dentro del FOREACH!!! - -[2025-02-09 10:12:52.018743] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-02-09 10:12:52.018754] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-02-09 10:12:52.018765] [info] SE VALIDA EL EMAIL!!! - -[2025-02-09 10:12:52.019638] [info] ahora se procede a validar el teléfono!!! - -[2025-02-09 10:12:52.019746] [info] AHORA SE MANDA A CREAR EL CLIENTE A STRIPE!!! - -[2025-02-09 10:12:52.630408] [info] {"id":"cus_Rk1YZmhoPqG5m2","object":"customer","address":null,"balance":0,"created":1739095972,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 16","discount":null,"email":null,"invoice_prefix":"A255E029","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":[],"name":"VANESSA CABRERA","next_invoice_sequence":1,"phone":"4181577623","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-02-09 10:12:54.962872] [info] {"id":"cus_Rk1YZmhoPqG5m2","object":"customer","address":null,"balance":0,"created":1739095972,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 16","discount":null,"email":null,"invoice_prefix":"A255E029","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":{"ucrm_client_id":"16"},"name":"VANESSA CABRERA","next_invoice_sequence":1,"phone":"4181577623","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-02-09 10:12:55.305028] [notice] Logging level set to:debug -[2025-02-09 10:12:55.305417] [info] No UUID found in the webhook data -[2025-02-09 10:12:57.379878] [info] {"object":"funding_instructions","bank_transfer":{"country":"MX","financial_addresses":[{"spei":{"account_holder_address":{"city":"Ciudad de M\u00e9xico","country":"MX","line1":"Av Paseo de la Reforma 180 piso 29 col Juarez","line2":null,"postal_code":"06600","state":"Ciudad de M\u00e9xico"},"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":"124180991456673190"},"supported_networks":["spei"],"type":"spei"}],"type":"mx_bank_transfer"},"currency":"mxn","funding_type":"bank_transfer","livemode":false} - -[2025-02-09 10:12:57.702002] [info] CLABE guardada en metadata: 124180991456673190 - -[2025-02-09 10:12:57.872380] [info] {} - -[2025-02-09 10:12:57.872818] [debug] {"uuid":"e2762045-e5a3-4f88-98ef-b0ec797fd35d","changeType":"edit","entity":"client","entityId":16,"message":null,"clientId":16,"eventName":"client.edit","clientData":{"id":16,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA CLARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA CLARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":"2025-02-09T04:12:51-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"VANESSA","lastName":"CABRERA","username":"vcabrera16","contacts":[{"id":17,"clientId":16,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00838f","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-02-09 10:12:58.011821] [notice] Logging level set to:debug -[2025-02-09 10:12:58.037594] [notice] Logging level set to:debug -[2025-02-09 10:12:58.037667] [info] No UUID found in the webhook data -[2025-02-09 10:12:58.109261] [debug] valor el evento recibido por webhook: client.edit - -[2025-02-09 10:12:58.109478] [debug] Valor de JSON: {"uuid":"f60596ad-b2e8-424b-890e-af7e485a9a52","changeType":"edit","entity":"client","entityId":"16","eventName":"client.edit","extraData":{"entity":{"id":16,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA CLARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA CLARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":"2025-02-09T04:12:51-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"VANESSA","lastName":"CABRERA","username":"vcabrera16","contacts":[{"id":17,"clientId":16,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":172,"clientId":16,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Rk1YZmhoPqG5m2","clientZoneVisible":true},{"id":173,"clientId":16,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180991456673190","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00838f","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":16,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA CLARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA CLARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":"2025-02-09T04:12:51-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"VANESSA","lastName":"CABRERA","username":"vcabrera16","contacts":[{"id":17,"clientId":16,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00838f","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-02-09 10:12:58.109728] [debug] Se actualiza a un cliente -[2025-02-09 10:12:58.109945] [debug] Valor de json_data: {"uuid":"f60596ad-b2e8-424b-890e-af7e485a9a52","changeType":"edit","entity":"client","entityId":"16","eventName":"client.edit","extraData":{"entity":{"id":16,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA CLARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA CLARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":"2025-02-09T04:12:51-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"VANESSA","lastName":"CABRERA","username":"vcabrera16","contacts":[{"id":17,"clientId":16,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":172,"clientId":16,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Rk1YZmhoPqG5m2","clientZoneVisible":true},{"id":173,"clientId":16,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180991456673190","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00838f","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":16,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA CLARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA CLARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":"2025-02-09T04:12:51-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"VANESSA","lastName":"CABRERA","username":"vcabrera16","contacts":[{"id":17,"clientId":16,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00838f","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-02-09 10:12:58.109996] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-09 10:12:58.110033] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-02-09 10:12:58.110069] [debug] No hubo cambio de true a false en el campo isLead -[2025-02-09 10:12:58.110126] [debug] {"uuid":"f60596ad-b2e8-424b-890e-af7e485a9a52","changeType":"edit","entity":"client","entityId":16,"message":null,"clientId":16,"eventName":"client.edit","clientData":{"id":16,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA CLARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA CLARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":"2025-02-09T04:12:51-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"VANESSA","lastName":"CABRERA","username":"vcabrera16","contacts":[{"id":17,"clientId":16,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":172,"clientId":16,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Rk1YZmhoPqG5m2","clientZoneVisible":true},{"id":173,"clientId":16,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180991456673190","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00838f","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-02-09 16:00:04.318497] [notice] Logging level set to:debug -[2025-02-09 16:00:04.551834] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-09 16:00:04.551912] [debug] Valor de JSON: {"uuid":"d617499e-247b-4d0a-9d3d-98babff6ff14","changeType":"insert","entity":"invoice","entityId":"1553","eventName":"invoice.add_draft","extraData":{"entity":{"id":1553,"clientId":118,"number":"001517","createdDate":"2025-02-09T10:00:01-0600","dueDate":"2025-02-23T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-08T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1556,"type":"service","label":"plan300 09\/01\/2025 \u2013 08\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":105,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Toro Sentado","clientLastName":"Ram\u00edrez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"56 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-09 16:00:04.731309] [notice] Logging level set to:debug -[2025-02-09 16:00:04.914449] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-09 16:00:04.914515] [debug] Valor de JSON: {"uuid":"7b5eca1a-ec5c-499c-9a81-52e1b0529395","changeType":"draft_approved","entity":"invoice","entityId":"1553","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1553,"clientId":118,"number":"001517","createdDate":"2025-02-09T10:00:01-0600","dueDate":"2025-02-23T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-08T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1556,"type":"service","label":"plan300 09\/01\/2025 \u2013 08\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":105,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Toro Sentado","clientLastName":"Ram\u00edrez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"56 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-10 17:55:43.594387] [notice] Logging level set to:debug -[2025-02-10 17:55:43.676330] [debug] valor el evento recibido por webhook: client.add - -[2025-02-10 17:55:43.676398] [debug] Valor de JSON: {"uuid":"1cc57d41-9f0b-4e26-ae1a-93d1f17875dd","changeType":"insert","entity":"client","entityId":"166","eventName":"client.add","extraData":{"entity":{"id":166,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"39 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 39, Centro, Dolores 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-02-10T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Sebastian","lastName":"Tejeda Gonzalez","username":null,"contacts":[{"id":172,"clientId":166,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#03a9f4","addressGpsLat":21.1574639,"addressGpsLon":-100.9374511,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":null}} - -[2025-02-10 17:55:43.676606] [debug] Se agregó un nuevo cliente - -[2025-02-10 17:55:43.676625] [warning] El campo isLead no existe en los datos del evento -[2025-02-11 5:09:59.906646] [notice] Logging level set to:debug -[2025-02-11 5:10:00.037235] [debug] valor el evento recibido por webhook: client.add - -[2025-02-11 5:10:00.037302] [debug] Valor de JSON: {"uuid":"c402274e-b9e5-4d74-aee7-fb2e6dac9b14","changeType":"insert","entity":"client","entityId":"167","eventName":"client.add","extraData":{"entity":{"id":167,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":null}} - -[2025-02-11 5:10:00.037923] [debug] Se agregó un nuevo cliente - -[2025-02-11 5:10:00.037970] [debug] Valor de json_data: {"uuid":"c402274e-b9e5-4d74-aee7-fb2e6dac9b14","changeType":"insert","entity":"client","entityId":"167","eventName":"client.add","extraData":{"entity":{"id":167,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":null}} -[2025-02-11 5:10:00.037981] [debug] El campo isLead existe en los datos del evento -[2025-02-11 5:10:00.037988] [debug] El campo isLead es false -[2025-02-11 5:11:07.572824] [notice] Logging level set to:debug -[2025-02-11 5:11:07.657284] [debug] valor el evento recibido por webhook: client.edit - -[2025-02-11 5:11:07.657361] [debug] Valor de JSON: {"uuid":"2014fa66-234e-4eae-87e3-119502d59e47","changeType":"edit","entity":"client","entityId":"167","eventName":"client.edit","extraData":{"entity":{"id":167,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":167,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-02-11 5:11:07.657555] [debug] Se actualiza a un cliente -[2025-02-11 5:11:07.657596] [debug] Valor de json_data: {"uuid":"2014fa66-234e-4eae-87e3-119502d59e47","changeType":"edit","entity":"client","entityId":"167","eventName":"client.edit","extraData":{"entity":{"id":167,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":167,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-02-11 5:11:07.657610] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-11 5:11:07.657618] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-02-11 5:11:07.657627] [debug] No hubo cambio de true a false en el campo isLead -[2025-02-11 5:11:07.657654] [debug] {"uuid":"2014fa66-234e-4eae-87e3-119502d59e47","changeType":"edit","entity":"client","entityId":167,"message":null,"clientId":167,"eventName":"client.edit","clientData":{"id":167,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-02-11 5:11:22.293524] [notice] Logging level set to:debug -[2025-02-11 5:11:22.367683] [debug] valor el evento recibido por webhook: client.edit - -[2025-02-11 5:11:22.367861] [debug] Valor de JSON: {"uuid":"bf3a3a15-bec0-454f-8960-ff94ca50acab","changeType":"edit","entity":"client","entityId":"167","eventName":"client.edit","extraData":{"entity":{"id":167,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":167,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-02-11 5:11:22.368103] [debug] Se actualiza a un cliente -[2025-02-11 5:11:22.368177] [debug] Valor de json_data: {"uuid":"bf3a3a15-bec0-454f-8960-ff94ca50acab","changeType":"edit","entity":"client","entityId":"167","eventName":"client.edit","extraData":{"entity":{"id":167,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":167,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-02-11 5:11:22.368223] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-11 5:11:22.368261] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-02-11 5:11:22.368295] [debug] El campo isLead cambió de true a false -[2025-02-11 5:11:22.455090] [info] ID correspondiente a 'Customer Stripe ID': 10 - -[2025-02-11 5:11:22.455471] [info] El valor de 'isLead' es: false - -[2025-02-11 5:11:22.455540] [info] El cliente NO es un lead, se procesará - -[2025-02-11 5:11:22.455595] [info] Creando el Customer Stripe - -[2025-02-11 5:11:22.455636] [info] El cliente a procesar es : Javier Alatorre - -[2025-02-11 5:11:22.455693] [info] Datos notificationData: {"uuid":"bf3a3a15-bec0-454f-8960-ff94ca50acab","changeType":"edit","entity":"client","entityId":167,"message":null,"clientId":167,"eventName":"client.edit","clientData":{"id":167,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-02-11 5:11:22.455739] [info] Ya dentro del FOREACH!!! - -[2025-02-11 5:11:22.455774] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-02-11 5:11:22.455809] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-02-11 5:11:22.455845] [info] SE VALIDA EL EMAIL!!! - -[2025-02-11 5:11:22.456536] [info] ahora se procede a validar el teléfono!!! - -[2025-02-11 5:11:22.456675] [info] AHORA SE MANDA A CREAR EL CLIENTE A STRIPE!!! - -[2025-02-11 5:11:23.035514] [info] {"id":"cus_Rkh9CoRTpjlZUu","object":"customer","address":null,"balance":0,"created":1739250682,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 167","discount":null,"email":null,"invoice_prefix":"5017E9D3","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":[],"name":"Javier Alatorre","next_invoice_sequence":1,"phone":"4181878106","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-02-11 5:11:25.357212] [info] {"id":"cus_Rkh9CoRTpjlZUu","object":"customer","address":null,"balance":0,"created":1739250682,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 167","discount":null,"email":null,"invoice_prefix":"5017E9D3","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":{"ucrm_client_id":"167"},"name":"Javier Alatorre","next_invoice_sequence":1,"phone":"4181878106","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-02-11 5:11:25.780421] [notice] Logging level set to:debug -[2025-02-11 5:11:25.780622] [info] No UUID found in the webhook data -[2025-02-11 5:11:27.791739] [info] {"object":"funding_instructions","bank_transfer":{"country":"MX","financial_addresses":[{"spei":{"account_holder_address":{"city":"Ciudad de M\u00e9xico","country":"MX","line1":"Av Paseo de la Reforma 180 piso 29 col Juarez","line2":null,"postal_code":"06600","state":"Ciudad de M\u00e9xico"},"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":"124180228993431717"},"supported_networks":["spei"],"type":"spei"}],"type":"mx_bank_transfer"},"currency":"mxn","funding_type":"bank_transfer","livemode":false} - -[2025-02-11 5:11:28.101440] [info] CLABE guardada en metadata: 124180228993431717 - -[2025-02-11 5:11:28.241709] [info] {} - -[2025-02-11 5:11:28.242233] [debug] {"uuid":"bf3a3a15-bec0-454f-8960-ff94ca50acab","changeType":"edit","entity":"client","entityId":167,"message":null,"clientId":167,"eventName":"client.edit","clientData":{"id":167,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-02-11 5:11:28.362539] [notice] Logging level set to:debug -[2025-02-11 5:11:28.440104] [debug] valor el evento recibido por webhook: client.edit - -[2025-02-11 5:11:28.440274] [debug] Valor de JSON: {"uuid":"3348fde1-d843-4409-8ce3-a9f92f506490","changeType":"edit","entity":"client","entityId":"167","eventName":"client.edit","extraData":{"entity":{"id":167,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":174,"clientId":167,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Rkh9CoRTpjlZUu","clientZoneVisible":true},{"id":175,"clientId":167,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180228993431717","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":167,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-02-11 5:11:28.440514] [debug] Se actualiza a un cliente -[2025-02-11 5:11:28.440587] [debug] Valor de json_data: {"uuid":"3348fde1-d843-4409-8ce3-a9f92f506490","changeType":"edit","entity":"client","entityId":"167","eventName":"client.edit","extraData":{"entity":{"id":167,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":174,"clientId":167,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Rkh9CoRTpjlZUu","clientZoneVisible":true},{"id":175,"clientId":167,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180228993431717","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":167,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-02-11 5:11:28.440634] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-11 5:11:28.440670] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-02-11 5:11:28.440704] [debug] No hubo cambio de true a false en el campo isLead -[2025-02-11 5:11:28.440762] [debug] {"uuid":"3348fde1-d843-4409-8ce3-a9f92f506490","changeType":"edit","entity":"client","entityId":167,"message":null,"clientId":167,"eventName":"client.edit","clientData":{"id":167,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":174,"clientId":167,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Rkh9CoRTpjlZUu","clientZoneVisible":true},{"id":175,"clientId":167,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180228993431717","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-02-11 5:11:29.101051] [notice] Logging level set to:debug -[2025-02-11 5:11:29.101233] [info] No UUID found in the webhook data -[2025-02-11 5:11:52.759531] [notice] Logging level set to:debug -[2025-02-11 5:11:52.833360] [debug] valor el evento recibido por webhook: client.edit - -[2025-02-11 5:11:52.833442] [debug] Valor de JSON: {"uuid":"3ba862d2-d9d9-4d07-943c-c570eb778b53","changeType":"edit","entity":"client","entityId":"166","eventName":"client.edit","extraData":{"entity":{"id":166,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"39 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 39, Centro, Dolores 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:52-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Sebastian","lastName":"Tejeda Gonzalez","username":null,"contacts":[{"id":172,"clientId":166,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#03a9f4","addressGpsLat":21.1574639,"addressGpsLon":-100.9374511,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":166,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"39 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 39, Centro, Dolores 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-02-10T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Sebastian","lastName":"Tejeda Gonzalez","username":null,"contacts":[{"id":172,"clientId":166,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#03a9f4","addressGpsLat":21.1574639,"addressGpsLon":-100.9374511,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-02-11 5:11:52.833642] [debug] Se actualiza a un cliente -[2025-02-11 5:11:52.833678] [debug] Valor de json_data: {"uuid":"3ba862d2-d9d9-4d07-943c-c570eb778b53","changeType":"edit","entity":"client","entityId":"166","eventName":"client.edit","extraData":{"entity":{"id":166,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"39 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 39, Centro, Dolores 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:52-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Sebastian","lastName":"Tejeda Gonzalez","username":null,"contacts":[{"id":172,"clientId":166,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#03a9f4","addressGpsLat":21.1574639,"addressGpsLon":-100.9374511,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":166,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"39 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 39, Centro, Dolores 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-02-10T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Sebastian","lastName":"Tejeda Gonzalez","username":null,"contacts":[{"id":172,"clientId":166,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#03a9f4","addressGpsLat":21.1574639,"addressGpsLon":-100.9374511,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-02-11 5:11:52.833690] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-11 5:11:52.833699] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-02-11 5:11:52.833709] [debug] El campo isLead cambió de true a false -[2025-02-11 5:11:52.888842] [info] ID correspondiente a 'Customer Stripe ID': 10 - -[2025-02-11 5:11:52.889122] [info] El valor de 'isLead' es: false - -[2025-02-11 5:11:52.889154] [info] El cliente NO es un lead, se procesará - -[2025-02-11 5:11:52.889173] [info] Creando el Customer Stripe - -[2025-02-11 5:11:52.889184] [info] El cliente a procesar es : Sebastian Tejeda Gonzalez - -[2025-02-11 5:11:52.889205] [info] Datos notificationData: {"uuid":"3ba862d2-d9d9-4d07-943c-c570eb778b53","changeType":"edit","entity":"client","entityId":166,"message":null,"clientId":166,"eventName":"client.edit","clientData":{"id":166,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"39 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 39, Centro, Dolores 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:52-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Sebastian","lastName":"Tejeda Gonzalez","username":null,"contacts":[{"id":172,"clientId":166,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#03a9f4","addressGpsLat":21.1574639,"addressGpsLon":-100.9374511,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-02-11 5:11:52.889214] [info] Ya dentro del FOREACH!!! - -[2025-02-11 5:11:52.889221] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-02-11 5:11:52.889229] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-02-11 5:11:52.889238] [info] SE VALIDA EL EMAIL!!! - -[2025-02-11 5:11:52.889863] [info] ahora se procede a validar el teléfono!!! - -[2025-02-11 5:11:52.890005] [info] AHORA SE MANDA A CREAR EL CLIENTE A STRIPE!!! - -[2025-02-11 5:11:53.469276] [info] {"id":"cus_Rkh97YcTB2MxMC","object":"customer","address":null,"balance":0,"created":1739250713,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 166","discount":null,"email":null,"invoice_prefix":"F3D9FC09","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":[],"name":"Sebastian Tejeda Gonzalez","next_invoice_sequence":1,"phone":"4181878106","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-02-11 5:11:55.807472] [info] {"id":"cus_Rkh97YcTB2MxMC","object":"customer","address":null,"balance":0,"created":1739250713,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 166","discount":null,"email":null,"invoice_prefix":"F3D9FC09","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":{"ucrm_client_id":"166"},"name":"Sebastian Tejeda Gonzalez","next_invoice_sequence":1,"phone":"4181878106","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-02-11 5:11:56.287333] [notice] Logging level set to:debug -[2025-02-11 5:11:56.287575] [info] No UUID found in the webhook data -[2025-02-11 5:11:58.244160] [info] {"object":"funding_instructions","bank_transfer":{"country":"MX","financial_addresses":[{"spei":{"account_holder_address":{"city":"Ciudad de M\u00e9xico","country":"MX","line1":"Av Paseo de la Reforma 180 piso 29 col Juarez","line2":null,"postal_code":"06600","state":"Ciudad de M\u00e9xico"},"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":"124180553664533680"},"supported_networks":["spei"],"type":"spei"}],"type":"mx_bank_transfer"},"currency":"mxn","funding_type":"bank_transfer","livemode":false} - -[2025-02-11 5:11:58.562519] [info] CLABE guardada en metadata: 124180553664533680 - -[2025-02-11 5:11:58.707214] [info] {} - -[2025-02-11 5:11:58.707535] [debug] {"uuid":"3ba862d2-d9d9-4d07-943c-c570eb778b53","changeType":"edit","entity":"client","entityId":166,"message":null,"clientId":166,"eventName":"client.edit","clientData":{"id":166,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"39 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 39, Centro, Dolores 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:52-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Sebastian","lastName":"Tejeda Gonzalez","username":null,"contacts":[{"id":172,"clientId":166,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#03a9f4","addressGpsLat":21.1574639,"addressGpsLon":-100.9374511,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-02-11 5:11:58.815581] [notice] Logging level set to:debug -[2025-02-11 5:11:58.815953] [info] No UUID found in the webhook data -[2025-02-11 5:11:58.824923] [notice] Logging level set to:debug -[2025-02-11 5:11:58.909262] [debug] valor el evento recibido por webhook: client.edit - -[2025-02-11 5:11:58.909420] [debug] Valor de JSON: {"uuid":"5f8698f4-4f9f-436c-8aca-d0950e2762de","changeType":"edit","entity":"client","entityId":"166","eventName":"client.edit","extraData":{"entity":{"id":166,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"39 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 39, Centro, Dolores 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:52-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Sebastian","lastName":"Tejeda Gonzalez","username":null,"contacts":[{"id":172,"clientId":166,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":176,"clientId":166,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Rkh97YcTB2MxMC","clientZoneVisible":true},{"id":177,"clientId":166,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180553664533680","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#03a9f4","addressGpsLat":21.1574639,"addressGpsLon":-100.9374511,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":166,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"39 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 39, Centro, Dolores 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:52-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Sebastian","lastName":"Tejeda Gonzalez","username":null,"contacts":[{"id":172,"clientId":166,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#03a9f4","addressGpsLat":21.1574639,"addressGpsLon":-100.9374511,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-02-11 5:11:58.909573] [debug] Se actualiza a un cliente -[2025-02-11 5:11:58.909641] [debug] Valor de json_data: {"uuid":"5f8698f4-4f9f-436c-8aca-d0950e2762de","changeType":"edit","entity":"client","entityId":"166","eventName":"client.edit","extraData":{"entity":{"id":166,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"39 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 39, Centro, Dolores 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:52-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Sebastian","lastName":"Tejeda Gonzalez","username":null,"contacts":[{"id":172,"clientId":166,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":176,"clientId":166,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Rkh97YcTB2MxMC","clientZoneVisible":true},{"id":177,"clientId":166,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180553664533680","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#03a9f4","addressGpsLat":21.1574639,"addressGpsLon":-100.9374511,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":166,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"39 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 39, Centro, Dolores 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:52-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Sebastian","lastName":"Tejeda Gonzalez","username":null,"contacts":[{"id":172,"clientId":166,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#03a9f4","addressGpsLat":21.1574639,"addressGpsLon":-100.9374511,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-02-11 5:11:58.909684] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-11 5:11:58.909719] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-02-11 5:11:58.909754] [debug] No hubo cambio de true a false en el campo isLead -[2025-02-11 5:11:58.909812] [debug] {"uuid":"5f8698f4-4f9f-436c-8aca-d0950e2762de","changeType":"edit","entity":"client","entityId":166,"message":null,"clientId":166,"eventName":"client.edit","clientData":{"id":166,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"39 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 39, Centro, Dolores 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:52-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Sebastian","lastName":"Tejeda Gonzalez","username":null,"contacts":[{"id":172,"clientId":166,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":176,"clientId":166,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Rkh97YcTB2MxMC","clientZoneVisible":true},{"id":177,"clientId":166,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180553664533680","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#03a9f4","addressGpsLat":21.1574639,"addressGpsLon":-100.9374511,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-02-11 5:16:32.393234] [notice] Logging level set to:debug -[2025-02-11 5:16:32.469909] [debug] valor el evento recibido por webhook: client.edit - -[2025-02-11 5:16:32.469991] [debug] Valor de JSON: {"uuid":"782ff091-d7d0-4f83-9af2-74876d6d7942","changeType":"edit","entity":"client","entityId":"144","eventName":"client.edit","extraData":{"entity":{"id":144,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"56 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 56, 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-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El More","lastName":"L\u00f3pez","username":null,"contacts":[{"id":148,"clientId":144,"email":"elmorelopez2014@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.1652947,"addressGpsLon":-100.940078,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":144,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"56 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 56, 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-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El More","lastName":"L\u00f3pez","username":null,"contacts":[{"id":148,"clientId":144,"email":"elmorelopez2014@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.1652947,"addressGpsLon":-100.940078,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-02-11 5:16:32.470192] [debug] Se actualiza a un cliente -[2025-02-11 5:16:32.470232] [debug] Valor de json_data: {"uuid":"782ff091-d7d0-4f83-9af2-74876d6d7942","changeType":"edit","entity":"client","entityId":"144","eventName":"client.edit","extraData":{"entity":{"id":144,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"56 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 56, 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-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El More","lastName":"L\u00f3pez","username":null,"contacts":[{"id":148,"clientId":144,"email":"elmorelopez2014@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.1652947,"addressGpsLon":-100.940078,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":144,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"56 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 56, 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-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El More","lastName":"L\u00f3pez","username":null,"contacts":[{"id":148,"clientId":144,"email":"elmorelopez2014@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.1652947,"addressGpsLon":-100.940078,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-02-11 5:16:32.470252] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-11 5:16:32.470262] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-02-11 5:16:32.470268] [debug] No hubo cambio de true a false en el campo isLead -[2025-02-11 5:16:32.470329] [debug] {"uuid":"782ff091-d7d0-4f83-9af2-74876d6d7942","changeType":"edit","entity":"client","entityId":144,"message":null,"clientId":144,"eventName":"client.edit","clientData":{"id":144,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"56 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 56, 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-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El More","lastName":"L\u00f3pez","username":null,"contacts":[{"id":148,"clientId":144,"email":"elmorelopez2014@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.1652947,"addressGpsLon":-100.940078,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-02-11 6:25:05.721024] [notice] Logging level set to:debug -[2025-02-11 6:25:06.175832] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-11 6:25:06.175921] [debug] Valor de JSON: {"uuid":"43f9aa23-2bde-4cb7-b042-d7ce036c187c","changeType":"overdue","entity":"invoice","entityId":"1451","eventName":"invoice.overdue","extraData":{"entity":{"id":1451,"clientId":3,"number":"001415","createdDate":"2025-01-27T10:00:01-0600","dueDate":"2025-02-10T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1454,"type":"service","label":"plan300 27\/12\/2024 \u2013 26\/01\/2025","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},"entityBeforeEdit":null}} - -[2025-02-11 6:25:06.177005] [debug] Factura vencida - -[2025-02-11 6:25:06.177072] [debug] datos del notification para el invoice overdue:{"uuid":"43f9aa23-2bde-4cb7-b042-d7ce036c187c","changeType":"overdue","entity":"invoice","entityId":1451,"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":"5214181577623","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}],"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":1451,"clientId":3,"number":"001415","createdDate":"2025-01-27T10:00:01-0600","dueDate":"2025-02-10T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1454,"type":"service","label":"plan300 27\/12\/2024 \u2013 26\/01\/2025","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},"paymentData":null} - -[2025-02-11 6:25:06.177108] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-11 6:25:06.177222] [debug] Numero de cel obtenido - -[2025-02-11 6:25:06.177236] [warning] No se encontró un teléfono celular válido para el cliente: 3 -[2025-02-11 6:25:06.449496] [notice] Logging level set to:debug -[2025-02-11 6:25:06.633332] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-11 6:25:06.633384] [debug] Valor de JSON: {"uuid":"02492397-7793-4ab2-a230-ec4728083ded","changeType":"overdue","entity":"invoice","entityId":"1452","eventName":"invoice.overdue","extraData":{"entity":{"id":1452,"clientId":4,"number":"001416","createdDate":"2025-01-27T10:00:01-0600","dueDate":"2025-02-10T10:00:01-0600","emailSentDate":"2025-02-11T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-01-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1455,"type":"service","label":"plan300 27\/12\/2024 \u2013 26\/01\/2025","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":null,"clientStreet2":null,"clientCity":null,"clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-11 6:25:06.633476] [debug] Factura vencida - -[2025-02-11 6:25:06.633513] [debug] datos del notification para el invoice overdue:{"uuid":"02492397-7793-4ab2-a230-ec4728083ded","changeType":"overdue","entity":"invoice","entityId":1452,"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":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1452,"clientId":4,"number":"001416","createdDate":"2025-01-27T10:00:01-0600","dueDate":"2025-02-10T10:00:01-0600","emailSentDate":"2025-02-11T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-01-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1455,"type":"service","label":"plan300 27\/12\/2024 \u2013 26\/01\/2025","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":null,"clientStreet2":null,"clientCity":null,"clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-11 6:25:06.633534] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-11 6:25:06.633588] [debug] Numero de cel obtenido - -[2025-02-11 6:25:06.633599] [warning] No se encontró un teléfono celular válido para el cliente: 4 -[2025-02-11 16:42:49.693279] [notice] Logging level set to:debug -[2025-02-11 16:42:49.770720] [debug] valor el evento recibido por webhook: client.edit - -[2025-02-11 16:42:49.770801] [debug] Valor de JSON: {"uuid":"52d0f856-fa68-42c3-b706-d94a82adcb51","changeType":"edit","entity":"client","entityId":"144","eventName":"client.edit","extraData":{"entity":{"id":144,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"56 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 56, 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-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El More","lastName":"L\u00f3pez","username":null,"contacts":[{"id":148,"clientId":144,"email":"elmorelopez2014@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"},{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.1652947,"addressGpsLon":-100.940078,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":144,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"56 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 56, 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-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El More","lastName":"L\u00f3pez","username":null,"contacts":[{"id":148,"clientId":144,"email":"elmorelopez2014@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.1652947,"addressGpsLon":-100.940078,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-02-11 16:42:49.772902] [debug] Se actualiza a un cliente -[2025-02-11 16:42:49.772965] [debug] Valor de json_data: {"uuid":"52d0f856-fa68-42c3-b706-d94a82adcb51","changeType":"edit","entity":"client","entityId":"144","eventName":"client.edit","extraData":{"entity":{"id":144,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"56 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 56, 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-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El More","lastName":"L\u00f3pez","username":null,"contacts":[{"id":148,"clientId":144,"email":"elmorelopez2014@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"},{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.1652947,"addressGpsLon":-100.940078,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":144,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"56 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 56, 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-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El More","lastName":"L\u00f3pez","username":null,"contacts":[{"id":148,"clientId":144,"email":"elmorelopez2014@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.1652947,"addressGpsLon":-100.940078,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-02-11 16:42:49.772985] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-11 16:42:49.772994] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-02-11 16:42:49.773001] [debug] No hubo cambio de true a false en el campo isLead -[2025-02-11 16:42:49.773031] [debug] {"uuid":"52d0f856-fa68-42c3-b706-d94a82adcb51","changeType":"edit","entity":"client","entityId":144,"message":null,"clientId":144,"eventName":"client.edit","clientData":{"id":144,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"56 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 56, 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-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El More","lastName":"L\u00f3pez","username":null,"contacts":[{"id":148,"clientId":144,"email":"elmorelopez2014@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"},{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.1652947,"addressGpsLon":-100.940078,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-02-11 18:14:35.584260] [notice] Logging level set to:debug -[2025-02-11 18:14:35.610093] [debug] valor el evento recibido por webhook: test - -[2025-02-11 18:14:35.610215] [debug] Valor de JSON: {"uuid":"48713161-b5ea-4f33-9778-b758cb4860de","changeType":"test","entity":"webhook","entityId":"3","eventName":"test","extraData":{"entity":null,"entityBeforeEdit":null}} - -[2025-02-11 18:14:35.610466] [debug] Valor de $installersData: { - "instaladores": [ - { - "id": 1019, - "nombre": "Mucio Robledo", - "whatsapp": "4181878106" - }, - { - "id": 1173, - "nombre": "Angel Arvizu", - "whatsapp": "4181878106" - }, - { - "id": 1172, - "nombre": "Juan Rostro", - "whatsapp": "4181878106" - }, - { - "id": 1015, - "nombre": "Daniel Humberto", - "whatsapp": "4181878106" - } - ] -} - -[2025-02-11 18:14:35.610532] [debug] Número de WhatsApp del Instalador: 4181878106 - -[2025-02-11 18:14:35.641339] [debug] Valor de $usersInstallers {"id":1019,"unmsId":"75e00242-86c2-436a-b3ac-bd6c31db681e","email":"lionelmuz@gmail.com","firstName":"Mucio","lastName":"Robledo Villegas","username":"muz","avatarColor":"#8bc34a","isActive":true} - -[2025-02-11 18:14:35.641458] [debug] Valor de $installerFullName: Mucio Robledo Villegas - -[2025-02-11 18:14:35.641504] [info] Webhook test successful. -[2025-02-11 18:19:07.517092] [notice] Logging level set to:debug -[2025-02-11 18:19:07.557691] [debug] valor el evento recibido por webhook: test - -[2025-02-11 18:19:07.557781] [debug] Valor de JSON: {"uuid":"8355e0c7-6207-4c07-be41-dde44bc40f5e","changeType":"test","entity":"webhook","entityId":"3","eventName":"test","extraData":{"entity":null,"entityBeforeEdit":null}} - -[2025-02-11 18:19:07.558032] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-02-11 18:19:07.558052] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-02-11 18:19:07.558060] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-02-11 18:19:07.558068] [debug] La etiqueta STRIPE no existe en entity o ya existía en entityBeforeEdit -[2025-02-11 18:19:07.558077] [info] Webhook test successful. -[2025-02-11 18:20:29.286247] [notice] Logging level set to:debug -[2025-02-11 18:20:29.315443] [debug] valor el evento recibido por webhook: test - -[2025-02-11 18:20:29.315490] [debug] Valor de JSON: {"uuid":"0d220244-b304-42c3-b65e-6b9645ec5f96","changeType":"test","entity":"webhook","entityId":"3","eventName":"test","extraData":{"entity":null,"entityBeforeEdit":null}} - -[2025-02-11 18:20:29.315721] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-02-11 18:20:29.315742] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-02-11 18:20:29.315758] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-02-11 18:20:29.315768] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-02-11 18:20:29.315777] [info] Webhook test successful. -[2025-02-11 18:21:07.497791] [notice] Logging level set to:debug -[2025-02-11 18:21:07.581862] [debug] valor el evento recibido por webhook: client.edit - -[2025-02-11 18:21:07.582029] [debug] Valor de JSON: {"uuid":"79009823-1415-47b2-b170-304db4010453","changeType":"edit","entity":"client","entityId":"167","eventName":"client.edit","extraData":{"entity":{"id":167,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":174,"clientId":167,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Rkh9CoRTpjlZUu","clientZoneVisible":true},{"id":175,"clientId":167,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180228993431717","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":167,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":174,"clientId":167,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Rkh9CoRTpjlZUu","clientZoneVisible":true},{"id":175,"clientId":167,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180228993431717","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-02-11 18:21:07.582336] [debug] Se actualiza a un cliente -[2025-02-11 18:21:07.582423] [debug] Valor de json_data: {"uuid":"79009823-1415-47b2-b170-304db4010453","changeType":"edit","entity":"client","entityId":"167","eventName":"client.edit","extraData":{"entity":{"id":167,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":174,"clientId":167,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Rkh9CoRTpjlZUu","clientZoneVisible":true},{"id":175,"clientId":167,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180228993431717","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":167,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":174,"clientId":167,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Rkh9CoRTpjlZUu","clientZoneVisible":true},{"id":175,"clientId":167,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180228993431717","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-02-11 18:21:07.582470] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-11 18:21:07.582509] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-02-11 18:21:07.582544] [debug] No hubo cambio de true a false en el campo isLead -[2025-02-11 18:21:07.582602] [debug] {"uuid":"79009823-1415-47b2-b170-304db4010453","changeType":"edit","entity":"client","entityId":167,"message":null,"clientId":167,"eventName":"client.edit","clientData":{"id":167,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":174,"clientId":167,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Rkh9CoRTpjlZUu","clientZoneVisible":true},{"id":175,"clientId":167,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180228993431717","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-02-11 18:22:01.110166] [notice] Logging level set to:debug -[2025-02-11 18:22:01.165851] [debug] valor el evento recibido por webhook: test - -[2025-02-11 18:22:01.166007] [debug] Valor de JSON: {"uuid":"16553f91-e476-4729-8372-fa9fe7b7760e","changeType":"test","entity":"webhook","entityId":"3","eventName":"test","extraData":{"entity":null,"entityBeforeEdit":null}} - -[2025-02-11 18:22:01.166328] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-02-11 18:22:01.166390] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-02-11 18:22:01.166438] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-02-11 18:22:01.166475] [debug] La etiqueta STRIPE se agregó al cliente -[2025-02-11 18:36:58.004307] [notice] Logging level set to:debug -[2025-02-11 18:36:58.081713] [debug] valor el evento recibido por webhook: client.edit - -[2025-02-11 18:36:58.081857] [debug] Valor de JSON: {"uuid":"9c689fbc-79fc-495b-aa8b-1fa44f6e81ed","changeType":"edit","entity":"client","entityId":"167","eventName":"client.edit","extraData":{"entity":{"id":167,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":174,"clientId":167,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Rkh9CoRTpjlZUu","clientZoneVisible":true},{"id":175,"clientId":167,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180228993431717","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":167,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":174,"clientId":167,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Rkh9CoRTpjlZUu","clientZoneVisible":true},{"id":175,"clientId":167,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180228993431717","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-02-11 18:36:58.082117] [debug] Se actualiza a un cliente -[2025-02-11 18:36:58.082182] [debug] Valor de json_data: {"uuid":"9c689fbc-79fc-495b-aa8b-1fa44f6e81ed","changeType":"edit","entity":"client","entityId":"167","eventName":"client.edit","extraData":{"entity":{"id":167,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":174,"clientId":167,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Rkh9CoRTpjlZUu","clientZoneVisible":true},{"id":175,"clientId":167,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180228993431717","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":167,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":174,"clientId":167,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Rkh9CoRTpjlZUu","clientZoneVisible":true},{"id":175,"clientId":167,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180228993431717","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-02-11 18:36:58.082209] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-11 18:36:58.082220] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-02-11 18:36:58.082228] [debug] No hubo cambio de true a false en el campo isLead -[2025-02-11 18:36:58.082273] [debug] {"uuid":"9c689fbc-79fc-495b-aa8b-1fa44f6e81ed","changeType":"edit","entity":"client","entityId":167,"message":null,"clientId":167,"eventName":"client.edit","clientData":{"id":167,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":174,"clientId":167,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Rkh9CoRTpjlZUu","clientZoneVisible":true},{"id":175,"clientId":167,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180228993431717","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-02-11 19:11:49.627429] [notice] Logging level set to:debug -[2025-02-11 19:11:49.723005] [debug] valor el evento recibido por webhook: client.edit - -[2025-02-11 19:11:49.723107] [debug] Valor de JSON: {"uuid":"ecb191ea-ed67-417a-95ab-e9c8b7b96d24","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181148783","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":1914,"accountCredit":1914,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"4181148783","name":"Tio","isBilling":false,"isContact":false,"types":[{"id":1003,"name":"WhatsNotifica"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":1914,"accountCredit":1914,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-02-11 19:11:49.723362] [debug] Se actualiza a un cliente -[2025-02-11 19:11:49.723423] [debug] Valor de json_data: {"uuid":"ecb191ea-ed67-417a-95ab-e9c8b7b96d24","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181148783","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":1914,"accountCredit":1914,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"4181148783","name":"Tio","isBilling":false,"isContact":false,"types":[{"id":1003,"name":"WhatsNotifica"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":1914,"accountCredit":1914,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-02-11 19:11:49.723443] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-11 19:11:49.723463] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-02-11 19:11:49.723472] [debug] No hubo cambio de true a false en el campo isLead -[2025-02-11 19:11:49.723479] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-02-11 19:11:49.723488] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-02-11 19:11:49.723495] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-02-11 19:11:49.723503] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-02-11 19:11:49.723553] [debug] {"uuid":"ecb191ea-ed67-417a-95ab-e9c8b7b96d24","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181148783","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":1914,"accountCredit":1914,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-02-11 19:11:49.723692] [info] Se proceso los contactos - -[2025-02-11 19:11:49.723984] [info] Se actualizara el correo del cliente en Stripe: chavoloco@homail.com - -[2025-02-11 19:11:50.706552] [notice] Logging level set to:debug -[2025-02-11 19:11:50.706743] [info] No UUID found in the webhook data -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":565,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-07T15:29:46-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas - -UUID: 7352b597ba6b43cf948a5ae86051fb80 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb21914 a favor","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb21914 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 300\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 07\/02\/2025 15:29 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/02\/2025 13:11\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/02\/2025 15:29 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/02\/2025 13:11","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2024-12-21T08:59:58Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":[],"assignedUser":null,"customFields":{"Cliente":"2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","URL":"🌐 https://172.16.5.120/crm/client/2","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultima Actualizacion":"📆🔄️ 11/02/2025 13:11","Fecha Ultimo Pago":"📆💸 07/02/2025 15:29 con Tarjeta de crédito Stripe 💳","Monto Ultimo Pago":"💲 300","Nombre":"👤 Daniel Humberto Soto Villegas","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲1914 a favor\",\"Monto Ultimo Pago\": \"💲 300\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 07/02/2025 15:29 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 11/02/2025 13:11\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Saldo Actual":"💲1914 a favor"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-11 19:12:04.499032] [notice] Logging level set to:debug -[2025-02-11 19:12:04.660883] [debug] valor el evento recibido por webhook: payment.add - -[2025-02-11 19:12:04.660940] [debug] Valor de JSON: {"uuid":"a10d16af-3d1b-4371-8aad-09f5082e31af","changeType":"insert","entity":"payment","entityId":"566","eventName":"payment.add","extraData":{"entity":{"id":566,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T13:12:00-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":1015,"attributes":[]},"entityBeforeEdit":null}} - -[2025-02-11 19:12:04.661159] [debug] datos del notification para el invoice add:{"uuid":"a10d16af-3d1b-4371-8aad-09f5082e31af","changeType":"insert","entity":"payment","entityId":566,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181148783","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":2114,"accountCredit":2114,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":566,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T13:12:00-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":1015,"attributes":[]}} - -[2025-02-11 19:12:04.661176] [debug] valor del payment data: {"id":566,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T13:12:00-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":1015,"attributes":[]} - -[2025-02-11 19:12:04.661242] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -Eviando comprobante de pago al cliente: 2 con número: 5214181148783 - -El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf - -El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Comprobante eliminado de Wordpress: Comprobante_MARIA_GUADALUPE_PEÑA_GALAVIZ.png - -Archivos eliminados - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181148783", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png" - }, - "template_values": ["Daniel Humberto Soto Villegas", "$200", "$2114 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"abbb0c9176c44a01acc7fec573d110d8","status":"enqueued"}} -Hay menos de 100 archivos en el directorio. No se eliminarán archivos. - -La notificación fue enviada correctamente con estado: enqueued - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":566,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T13:12:00-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas - -UUID: 7352b597ba6b43cf948a5ae86051fb80 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb22114 a favor","Monto Ultimo Pago":"\ud83d\udcb2 200","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb22114 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 200\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 11\/02\/2025 13:12 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/02\/2025 13:12\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 11\/02\/2025 13:12 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/02\/2025 13:12","Clabe Interbancaria":null}} - -[2025-02-11 19:12:14.616204] [notice] Logging level set to:debug -[2025-02-11 19:12:14.755873] [debug] valor el evento recibido por webhook: payment.edit - -[2025-02-11 19:12:14.756043] [debug] Valor de JSON: {"uuid":"1060152e-45ec-4339-b921-65b73d084c87","changeType":"edit","entity":"payment","entityId":"566","eventName":"payment.edit","extraData":{"entity":{"id":566,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T13:12:00-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":1015,"attributes":[]},"entityBeforeEdit":{"id":566,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T13:12:00-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":1015,"attributes":[]}}} - -Response Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2024-12-21T08:59:58Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":[],"assignedUser":null,"customFields":{"Cliente":"2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","URL":"🌐 https://172.16.5.120/crm/client/2","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultima Actualizacion":"📆🔄️ 11/02/2025 13:12","Fecha Ultimo Pago":"📆💸 11/02/2025 13:12 con Tarjeta de crédito Stripe 💳","Monto Ultimo Pago":"💲 200","Nombre":"👤 Daniel Humberto Soto Villegas","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲2114 a favor\",\"Monto Ultimo Pago\": \"💲 200\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 11/02/2025 13:12 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 11/02/2025 13:12\",\"Clabe Interbancaria\": \"\"}","Saldo Actual":"💲2114 a favor"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-11 19:15:24.612127] [notice] Logging level set to:debug -[2025-02-11 19:15:24.774444] [debug] valor el evento recibido por webhook: payment.add - -[2025-02-11 19:15:24.774579] [debug] Valor de JSON: {"uuid":"d3958415-c026-470b-825d-a8cd1cf31c20","changeType":"insert","entity":"payment","entityId":"567","eventName":"payment.add","extraData":{"entity":{"id":567,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T13:15:22-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":120,"userId":1015,"attributes":[]},"entityBeforeEdit":null}} - -[2025-02-11 19:15:24.774822] [debug] datos del notification para el invoice add:{"uuid":"d3958415-c026-470b-825d-a8cd1cf31c20","changeType":"insert","entity":"payment","entityId":567,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181148783","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":2234,"accountCredit":2234,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":567,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T13:15:22-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":120,"userId":1015,"attributes":[]}} - -[2025-02-11 19:15:24.774888] [debug] valor del payment data: {"id":567,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T13:15:22-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":120,"userId":1015,"attributes":[]} - -[2025-02-11 19:15:24.774981] [info] {"WhatsApp":"5214181148783"} -[2025-02-11 19:15:24.775022] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -Eviando comprobante de pago al cliente: 2 con número: 5214181148783 - -El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf - -El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Archivos eliminados - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181148783", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png" - }, - "template_values": ["Daniel Humberto Soto Villegas", "$120", "$2234 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"f38216109c0344608b88d91dc07fcf21","status":"enqueued"}} -Hay menos de 100 archivos en el directorio. No se eliminarán archivos. - -La notificación fue enviada correctamente con estado: enqueued - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":567,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T13:15:22-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":120,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas - -UUID: 7352b597ba6b43cf948a5ae86051fb80 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb22234 a favor","Monto Ultimo Pago":"\ud83d\udcb2 120","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb22234 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 120\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 11\/02\/2025 13:15 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/02\/2025 13:15\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 11\/02\/2025 13:15 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/02\/2025 13:15","Clabe Interbancaria":null}} - -[2025-02-11 19:15:34.740998] [notice] Logging level set to:debug -[2025-02-11 19:15:34.853714] [debug] valor el evento recibido por webhook: payment.edit - -[2025-02-11 19:15:34.853899] [debug] Valor de JSON: {"uuid":"0eff262d-89d6-4624-ba04-bc348b0db104","changeType":"edit","entity":"payment","entityId":"567","eventName":"payment.edit","extraData":{"entity":{"id":567,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T13:15:22-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":120,"userId":1015,"attributes":[]},"entityBeforeEdit":{"id":567,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T13:15:22-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":120,"userId":1015,"attributes":[]}}} - -Response Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2024-12-21T08:59:58Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":[],"assignedUser":null,"customFields":{"Cliente":"2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","URL":"🌐 https://172.16.5.120/crm/client/2","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultima Actualizacion":"📆🔄️ 11/02/2025 13:15","Fecha Ultimo Pago":"📆💸 11/02/2025 13:15 con Tarjeta de crédito Stripe 💳","Monto Ultimo Pago":"💲 120","Nombre":"👤 Daniel Humberto Soto Villegas","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲2234 a favor\",\"Monto Ultimo Pago\": \"💲 120\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 11/02/2025 13:15 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 11/02/2025 13:15\",\"Clabe Interbancaria\": \"\"}","Saldo Actual":"💲2234 a favor"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-11 19:29:35.880667] [notice] Logging level set to:debug -[2025-02-11 19:29:35.968578] [debug] valor el evento recibido por webhook: client.edit - -[2025-02-11 19:29:35.968667] [debug] Valor de JSON: {"uuid":"df1b8ffb-abc5-4be2-8345-86b2f6037c74","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181148783","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1003,"name":"WhatsNotifica"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":2234,"accountCredit":2234,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181148783","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":2234,"accountCredit":2234,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-02-11 19:29:35.968904] [debug] Se actualiza a un cliente -[2025-02-11 19:29:35.968951] [debug] Valor de json_data: {"uuid":"df1b8ffb-abc5-4be2-8345-86b2f6037c74","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181148783","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1003,"name":"WhatsNotifica"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":2234,"accountCredit":2234,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181148783","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":2234,"accountCredit":2234,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-02-11 19:29:35.968970] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-11 19:29:35.968980] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-02-11 19:29:35.968987] [debug] No hubo cambio de true a false en el campo isLead -[2025-02-11 19:29:35.968995] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-02-11 19:29:35.969002] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-02-11 19:29:35.969010] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-02-11 19:29:35.969017] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-02-11 19:29:35.969048] [debug] {"uuid":"df1b8ffb-abc5-4be2-8345-86b2f6037c74","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181148783","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1003,"name":"WhatsNotifica"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":2234,"accountCredit":2234,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-02-11 19:29:35.969150] [info] Se proceso los contactos - -[2025-02-11 19:29:35.969371] [info] Se actualizara el correo del cliente en Stripe: dhsv.141089@gmail.com - -[2025-02-11 19:29:37.001779] [notice] Logging level set to:debug -[2025-02-11 19:29:37.001909] [info] No UUID found in the webhook data -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":567,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T13:15:22-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":120,"userId":1015,"attributes":[]}] - -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":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb22234 a favor","Monto Ultimo Pago":"\ud83d\udcb2 120","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb22234 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 120\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 11\/02\/2025 13:15 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/02\/2025 13:29\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 11\/02\/2025 13:15 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/02\/2025 13:29","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"0021804341999569810","Cliente":"2","user entry point":"inbound_message","Fecha Ultima Actualizacion":"📆🔄️ 11/02/2025 13:29","Estado":"🟢 Activo ","Saldo Actual":"💲2234 a favor","Fecha Ultimo Pago":"📆💸 11/02/2025 13:15 con Tarjeta de crédito Stripe 💳","URL":"🌐 https://172.16.5.120/crm/client/2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 120","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲2234 a favor\",\"Monto Ultimo Pago\": \"💲 120\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 11/02/2025 13:15 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 11/02/2025 13:29\",\"Clabe Interbancaria\": \"0021804341999569810\"}","user name":"Daniel Humberto 🐁","Nombre":"👤 Daniel Humberto Soto Villegas"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-11 19:29:38.025044] [info] Tipo de contacto no reconocido: WhatsNotifica - -[2025-02-11 19:29:47.204374] [notice] Logging level set to:debug -[2025-02-11 19:29:47.355138] [debug] valor el evento recibido por webhook: payment.add - -[2025-02-11 19:29:47.355297] [debug] Valor de JSON: {"uuid":"60bba742-6e08-4c42-bba4-70bf0b21cab8","changeType":"insert","entity":"payment","entityId":"568","eventName":"payment.add","extraData":{"entity":{"id":568,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T13:29:43-0600","amount":130,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":130,"userId":1015,"attributes":[]},"entityBeforeEdit":null}} - -[2025-02-11 19:29:47.355568] [debug] datos del notification para el invoice add:{"uuid":"60bba742-6e08-4c42-bba4-70bf0b21cab8","changeType":"insert","entity":"payment","entityId":568,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181148783","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1003,"name":"WhatsNotifica"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":2364,"accountCredit":2364,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":568,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T13:29:43-0600","amount":130,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":130,"userId":1015,"attributes":[]}} - -[2025-02-11 19:29:47.355650] [debug] valor del payment data: {"id":568,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T13:29:43-0600","amount":130,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":130,"userId":1015,"attributes":[]} - -[2025-02-11 19:29:47.355748] [info] {"WhatsApp":"5214181878106","WhatsNotifica":"5214181148783"} -[2025-02-11 19:29:47.355789] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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 - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -[2025-02-11 19:29:53.576900] [notice] Logging level set to:debug -[2025-02-11 19:29:53.733544] [debug] valor el evento recibido por webhook: payment.edit - -[2025-02-11 19:29:53.733597] [debug] Valor de JSON: {"uuid":"1f37f1fe-530d-4914-a67d-1bb9979754c5","changeType":"edit","entity":"payment","entityId":"568","eventName":"payment.edit","extraData":{"entity":{"id":568,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T13:29:43-0600","amount":130,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":130,"userId":1015,"attributes":[]},"entityBeforeEdit":{"id":568,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T13:29:43-0600","amount":130,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":130,"userId":1015,"attributes":[]}}} - -[2025-02-11 19:55:59.463237] [notice] Logging level set to:debug -[2025-02-11 19:55:59.654258] [debug] valor el evento recibido por webhook: payment.add - -[2025-02-11 19:55:59.654434] [debug] Valor de JSON: {"uuid":"7c12a1a0-d873-4570-af14-11b3a4131faa","changeType":"insert","entity":"payment","entityId":"569","eventName":"payment.add","extraData":{"entity":{"id":569,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T13:55:53-0600","amount":140,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":140,"userId":1015,"attributes":[]},"entityBeforeEdit":null}} - -[2025-02-11 19:55:59.654817] [debug] Notification encodificado en JSON:{"uuid":"7c12a1a0-d873-4570-af14-11b3a4131faa","changeType":"insert","entity":"payment","entityId":569,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181148783","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1003,"name":"WhatsNotifica"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":2504,"accountCredit":2504,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":569,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T13:55:53-0600","amount":140,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":140,"userId":1015,"attributes":[]}} - -[2025-02-11 19:55:59.654901] [debug] valor del payment data: {"id":569,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T13:55:53-0600","amount":140,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":140,"userId":1015,"attributes":[]} - -[2025-02-11 19:55:59.655005] [info] {"WhatsApp":["5214181878106"],"WhatsNotifica":["5214181148783"]} -[2025-02-11 19:55:59.655050] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -[2025-02-11 19:56:00.111454] [notice] Logging level set to:debug -[2025-02-11 19:56:00.258866] [debug] valor el evento recibido por webhook: payment.edit - -[2025-02-11 19:56:00.259005] [debug] Valor de JSON: {"uuid":"9dcecb45-4366-4643-9ea8-bfc1f1e66e02","changeType":"edit","entity":"payment","entityId":"569","eventName":"payment.edit","extraData":{"entity":{"id":569,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T13:55:53-0600","amount":140,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":140,"userId":1015,"attributes":[]},"entityBeforeEdit":{"id":569,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T13:55:53-0600","amount":140,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":140,"userId":1015,"attributes":[]}}} - -[2025-02-11 20:03:12.508339] [notice] Logging level set to:debug -[2025-02-11 20:03:12.644175] [debug] valor el evento recibido por webhook: payment.add - -[2025-02-11 20:03:12.644228] [debug] Valor de JSON: {"uuid":"98c9be07-aeda-4384-979c-3d89aa7bf733","changeType":"insert","entity":"payment","entityId":"570","eventName":"payment.add","extraData":{"entity":{"id":570,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T14:03:07-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":1015,"attributes":[]},"entityBeforeEdit":null}} - -[2025-02-11 20:03:12.644448] [debug] Notification encodificado en JSON:{"uuid":"98c9be07-aeda-4384-979c-3d89aa7bf733","changeType":"insert","entity":"payment","entityId":570,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181148783","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1003,"name":"WhatsNotifica"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":2654,"accountCredit":2654,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":570,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T14:03:07-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":1015,"attributes":[]}} - -[2025-02-11 20:03:12.644479] [debug] valor del payment data: {"id":570,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T14:03:07-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":1015,"attributes":[]} - -[2025-02-11 20:03:12.644551] [info] {"WhatsApp":["5214181878106"],"WhatsNotifica":["5214181148783"]} -[2025-02-11 20:03:12.644567] [info] Tipo de contacto no reconocido: whatsapp - -[2025-02-11 20:03:12.644576] [info] Tipo de contacto no reconocido: whatsnotifica - -[2025-02-11 20:03:13.167819] [notice] Logging level set to:debug -[2025-02-11 20:03:13.290529] [debug] valor el evento recibido por webhook: payment.edit - -[2025-02-11 20:03:13.290704] [debug] Valor de JSON: {"uuid":"9127fea9-3232-49fb-95a7-815b3aa54bb0","changeType":"edit","entity":"payment","entityId":"570","eventName":"payment.edit","extraData":{"entity":{"id":570,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T14:03:07-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":1015,"attributes":[]},"entityBeforeEdit":{"id":570,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T14:03:07-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":1015,"attributes":[]}}} - -[2025-02-11 20:08:38.848788] [notice] Logging level set to:debug -[2025-02-11 20:08:38.971540] [debug] valor el evento recibido por webhook: payment.add - -[2025-02-11 20:08:38.971796] [debug] Valor de JSON: {"uuid":"c32c7ef0-a855-4326-8fa9-a1ce116347e4","changeType":"insert","entity":"payment","entityId":"571","eventName":"payment.add","extraData":{"entity":{"id":571,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T14:08:35-0600","amount":160,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":160,"userId":1015,"attributes":[]},"entityBeforeEdit":null}} - -[2025-02-11 20:08:38.972057] [debug] Notification encodificado en JSON:{"uuid":"c32c7ef0-a855-4326-8fa9-a1ce116347e4","changeType":"insert","entity":"payment","entityId":571,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181148783","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1003,"name":"WhatsNotifica"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":2814,"accountCredit":2814,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":571,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T14:08:35-0600","amount":160,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":160,"userId":1015,"attributes":[]}} - -[2025-02-11 20:08:38.972126] [debug] valor del payment data: {"id":571,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T14:08:35-0600","amount":160,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":160,"userId":1015,"attributes":[]} - -[2025-02-11 20:08:38.972230] [info] {"WhatsApp":["5214181878106"],"WhatsNotifica":["5214181148783"]} -[2025-02-11 20:08:38.972271] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-11 20:08:38.972309] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-02-11 20:08:38.972346] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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 - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Archivos eliminados - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png" - }, - "template_values": ["Daniel Humberto Soto Villegas", "$160", "$2814 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"fb1edcbac8e4454b97b513e3c0986397","status":"enqueued"}} -Hay menos de 100 archivos en el directorio. No se eliminarán archivos. - -La notificación fue enviada correctamente con estado: enqueued - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":571,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T14:08:35-0600","amount":160,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":160,"userId":1015,"attributes":[]}] - -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":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb22814 a favor","Monto Ultimo Pago":"\ud83d\udcb2 160","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb22814 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 160\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 11\/02\/2025 14:08 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/02\/2025 14:08\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 11\/02\/2025 14:08 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/02\/2025 14:08","Clabe Interbancaria":null}} - -[2025-02-11 20:08:48.996162] [notice] Logging level set to:debug -[2025-02-11 20:08:49.111658] [debug] valor el evento recibido por webhook: payment.edit - -[2025-02-11 20:08:49.111718] [debug] Valor de JSON: {"uuid":"cc99b06c-3b4d-4238-8009-5e09981a519e","changeType":"edit","entity":"payment","entityId":"571","eventName":"payment.edit","extraData":{"entity":{"id":571,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T14:08:35-0600","amount":160,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":160,"userId":1015,"attributes":[]},"entityBeforeEdit":{"id":571,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T14:08:35-0600","amount":160,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":160,"userId":1015,"attributes":[]}}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"0021804341999569810","Cliente":"2","user entry point":"inbound_message","Fecha Ultima Actualizacion":"📆🔄️ 11/02/2025 14:08","Estado":"🟢 Activo ","Saldo Actual":"💲2814 a favor","Fecha Ultimo Pago":"📆💸 11/02/2025 14:08 con Tarjeta de crédito Stripe 💳","URL":"🌐 https://172.16.5.120/crm/client/2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 160","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲2814 a favor\",\"Monto Ultimo Pago\": \"💲 160\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 11/02/2025 14:08 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 11/02/2025 14:08\",\"Clabe Interbancaria\": \"\"}","user name":"Daniel Humberto 🐁","Nombre":"👤 Daniel Humberto Soto Villegas"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-11 20:08:49.426824] [info] Procesando tipo de contacto original: 'WhatsNotifica' -[2025-02-11 20:08:49.426929] [info] Tipo de contacto normalizado: 'whatsnotifica' -Eviando comprobante de pago al cliente: 2 con número: 5214181148783 - -El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf - -El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Archivos eliminados - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181148783", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png" - }, - "template_values": ["Daniel Humberto Soto Villegas", "$160", "$2814 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"2c4742f085df4038a5ec34f3e57ad4c9","status":"enqueued"}} -Hay menos de 100 archivos en el directorio. No se eliminarán archivos. - -La notificación fue enviada correctamente con estado: enqueued - -[2025-02-11 20:08:57.860461] [info] Notificación enviada correctamente al cliente con número 5214181148783 después de 1 intento(s). - -[2025-02-11 20:13:23.075613] [notice] Logging level set to:debug -[2025-02-11 20:13:23.163487] [debug] valor el evento recibido por webhook: client.edit - -[2025-02-11 20:13:23.163656] [debug] Valor de JSON: {"uuid":"c261dfc7-7968-4752-bc00-dcbe5707604e","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181148783","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":2814,"accountCredit":2814,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181148783","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1003,"name":"WhatsNotifica"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":2814,"accountCredit":2814,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-02-11 20:13:23.163902] [debug] Se actualiza a un cliente -[2025-02-11 20:13:23.164104] [debug] Valor de json_data: {"uuid":"c261dfc7-7968-4752-bc00-dcbe5707604e","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181148783","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":2814,"accountCredit":2814,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181148783","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1003,"name":"WhatsNotifica"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":2814,"accountCredit":2814,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-02-11 20:13:23.164151] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-11 20:13:23.164189] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-02-11 20:13:23.164227] [debug] No hubo cambio de true a false en el campo isLead -[2025-02-11 20:13:23.164261] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-02-11 20:13:23.164294] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-02-11 20:13:23.164329] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-02-11 20:13:23.164361] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-02-11 20:13:23.164421] [debug] {"uuid":"c261dfc7-7968-4752-bc00-dcbe5707604e","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181148783","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":2814,"accountCredit":2814,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-02-11 20:13:23.164551] [info] Se proceso los contactos - -[2025-02-11 20:13:23.164809] [info] Se actualizara el correo del cliente en Stripe: chavoloco@homail.com - -[2025-02-11 20:13:24.096611] [notice] Logging level set to:debug -[2025-02-11 20:13:24.097214] [info] No UUID found in the webhook data -[2025-02-11 20:13:46.258341] [notice] Logging level set to:debug -[2025-02-11 20:13:46.485011] [debug] valor el evento recibido por webhook: payment.add - -[2025-02-11 20:13:46.485146] [debug] Valor de JSON: {"uuid":"a54841e4-dd34-4efe-bd18-54dec4d26287","changeType":"insert","entity":"payment","entityId":"572","eventName":"payment.add","extraData":{"entity":{"id":572,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T14:13:42-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":1015,"attributes":[]},"entityBeforeEdit":null}} - -[2025-02-11 20:13:46.488337] [debug] Notification encodificado en JSON:{"uuid":"a54841e4-dd34-4efe-bd18-54dec4d26287","changeType":"insert","entity":"payment","entityId":572,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181148783","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":2984,"accountCredit":2984,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":572,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T14:13:42-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":1015,"attributes":[]}} - -[2025-02-11 20:13:46.488450] [debug] valor del payment data: {"id":572,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T14:13:42-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":1015,"attributes":[]} - -[2025-02-11 20:13:46.488559] [info] {"WhatsApp":["5214181878106","5214181148783"]} -[2025-02-11 20:13:46.488600] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-11 20:13:46.488636] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-02-11 20:13:46.488672] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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 - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Archivos eliminados - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png" - }, - "template_values": ["Daniel Humberto Soto Villegas", "$170", "$2984 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"6df30360b1674ac395d3d9aa384a84b3","status":"enqueued"}} -Hay menos de 100 archivos en el directorio. No se eliminarán archivos. - -La notificación fue enviada correctamente con estado: enqueued - -Dentro del proceso del patch: - -[2025-02-11 20:13:56.386246] [notice] Logging level set to:debug -Datos traidos con payment api: [{"id":572,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T14:13:42-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":1015,"attributes":[]}] - -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":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb22984 a favor","Monto Ultimo Pago":"\ud83d\udcb2 170","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb22984 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 170\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 11\/02\/2025 14:13 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/02\/2025 14:13\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 11\/02\/2025 14:13 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/02\/2025 14:13","Clabe Interbancaria":null}} - -[2025-02-11 20:13:56.581156] [debug] valor el evento recibido por webhook: payment.edit - -[2025-02-11 20:13:56.581315] [debug] Valor de JSON: {"uuid":"2dc630cc-1552-4ef5-86b4-1cda906ec30a","changeType":"edit","entity":"payment","entityId":"572","eventName":"payment.edit","extraData":{"entity":{"id":572,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T14:13:42-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":1015,"attributes":[]},"entityBeforeEdit":{"id":572,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T14:13:42-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":1015,"attributes":[]}}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"0021804341999569810","Cliente":"2","user entry point":"inbound_message","Fecha Ultima Actualizacion":"📆🔄️ 11/02/2025 14:13","Estado":"🟢 Activo ","Saldo Actual":"💲2984 a favor","Fecha Ultimo Pago":"📆💸 11/02/2025 14:13 con Tarjeta de crédito Stripe 💳","URL":"🌐 https://172.16.5.120/crm/client/2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 170","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲2984 a favor\",\"Monto Ultimo Pago\": \"💲 170\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 11/02/2025 14:13 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 11/02/2025 14:13\",\"Clabe Interbancaria\": \"\"}","user name":"Daniel Humberto 🐁","Nombre":"👤 Daniel Humberto Soto Villegas"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-11 20:13:57.376964] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -Eviando comprobante de pago al cliente: 2 con número: 5214181148783 - -El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf - -El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Archivos eliminados - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181148783", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png" - }, - "template_values": ["Daniel Humberto Soto Villegas", "$170", "$2984 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"0cec25de5ae44ce6861e31856e6c5dfb","status":"enqueued"}} -Hay menos de 100 archivos en el directorio. No se eliminarán archivos. - -La notificación fue enviada correctamente con estado: enqueued - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":572,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T14:13:42-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas - -UUID: 7352b597ba6b43cf948a5ae86051fb80 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb22984 a favor","Monto Ultimo Pago":"\ud83d\udcb2 170","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb22984 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 170\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 11\/02\/2025 14:13 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/02\/2025 14:14\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 11\/02\/2025 14:13 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/02\/2025 14:14","Clabe Interbancaria":null}} - -Response Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2024-12-21T08:59:58Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":[],"assignedUser":null,"customFields":{"Cliente":"2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","URL":"🌐 https://172.16.5.120/crm/client/2","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultima Actualizacion":"📆🔄️ 11/02/2025 14:14","Fecha Ultimo Pago":"📆💸 11/02/2025 14:13 con Tarjeta de crédito Stripe 💳","Monto Ultimo Pago":"💲 170","Nombre":"👤 Daniel Humberto Soto Villegas","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲2984 a favor\",\"Monto Ultimo Pago\": \"💲 170\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 11/02/2025 14:13 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 11/02/2025 14:14\",\"Clabe Interbancaria\": \"\"}","Saldo Actual":"💲2984 a favor"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-11 20:15:50.873632] [notice] Logging level set to:debug -[2025-02-11 20:15:50.965939] [debug] valor el evento recibido por webhook: client.edit - -[2025-02-11 20:15:50.966109] [debug] Valor de JSON: {"uuid":"c4cdd970-ac9d-424a-a048-af86fb7b7704","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":2984,"accountCredit":2984,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181148783","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":2984,"accountCredit":2984,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-02-11 20:15:50.966379] [debug] Se actualiza a un cliente -[2025-02-11 20:15:50.966468] [debug] Valor de json_data: {"uuid":"c4cdd970-ac9d-424a-a048-af86fb7b7704","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":2984,"accountCredit":2984,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181148783","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":2984,"accountCredit":2984,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-02-11 20:15:50.966519] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-11 20:15:50.966557] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-02-11 20:15:50.966592] [debug] No hubo cambio de true a false en el campo isLead -[2025-02-11 20:15:50.966624] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-02-11 20:15:50.966658] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-02-11 20:15:50.966691] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-02-11 20:15:50.966726] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-02-11 20:15:50.966783] [debug] {"uuid":"c4cdd970-ac9d-424a-a048-af86fb7b7704","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":2984,"accountCredit":2984,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-02-11 20:15:50.966912] [info] Se proceso los contactos - -[2025-02-11 20:15:50.967180] [info] Se actualizara el correo del cliente en Stripe: chavoloco@homail.com - -[2025-02-11 20:16:32.233207] [notice] Logging level set to:debug -[2025-02-11 20:16:32.441230] [debug] valor el evento recibido por webhook: payment.add - -[2025-02-11 20:16:32.441414] [debug] Valor de JSON: {"uuid":"0ff64ef8-ded0-4d9e-9771-12fd4a9c01c2","changeType":"insert","entity":"payment","entityId":"573","eventName":"payment.add","extraData":{"entity":{"id":573,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T14:16:22-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":180,"userId":1015,"attributes":[]},"entityBeforeEdit":null}} - -[2025-02-11 20:16:32.441690] [debug] Notification encodificado en JSON:{"uuid":"0ff64ef8-ded0-4d9e-9771-12fd4a9c01c2","changeType":"insert","entity":"payment","entityId":573,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":3164,"accountCredit":3164,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":573,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T14:16:22-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":180,"userId":1015,"attributes":[]}} - -[2025-02-11 20:16:32.441747] [debug] valor del payment data: {"id":573,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T14:16:22-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":180,"userId":1015,"attributes":[]} - -[2025-02-11 20:16:32.441843] [info] {"WhatsApp":["5214181878106","5214181817609"]} -[2025-02-11 20:16:32.441883] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-11 20:16:32.441926] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-02-11 20:16:32.441963] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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 - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Archivos eliminados - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png" - }, - "template_values": ["Daniel Humberto Soto Villegas", "$180", "$3164 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"db65f07e97e4400496eddfb346bb2df1","status":"enqueued"}} -Hay menos de 100 archivos en el directorio. No se eliminarán archivos. - -La notificación fue enviada correctamente con estado: enqueued - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":573,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T14:16:22-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":180,"userId":1015,"attributes":[]}] - -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":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb23164 a favor","Monto Ultimo Pago":"\ud83d\udcb2 180","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb23164 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 180\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 11\/02\/2025 14:16 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/02\/2025 14:16\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 11\/02\/2025 14:16 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/02\/2025 14:16","Clabe Interbancaria":null}} - -[2025-02-11 20:16:42.349411] [notice] Logging level set to:debug -[2025-02-11 20:16:42.481837] [debug] valor el evento recibido por webhook: payment.edit - -[2025-02-11 20:16:42.482022] [debug] Valor de JSON: {"uuid":"ecf680ce-4a3f-4c3e-bd66-e43697bb89a2","changeType":"edit","entity":"payment","entityId":"573","eventName":"payment.edit","extraData":{"entity":{"id":573,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T14:16:22-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":180,"userId":1015,"attributes":[]},"entityBeforeEdit":{"id":573,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T14:16:22-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":180,"userId":1015,"attributes":[]}}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"0021804341999569810","Cliente":"2","user entry point":"inbound_message","Fecha Ultima Actualizacion":"📆🔄️ 11/02/2025 14:16","Estado":"🟢 Activo ","Saldo Actual":"💲3164 a favor","Fecha Ultimo Pago":"📆💸 11/02/2025 14:16 con Tarjeta de crédito Stripe 💳","URL":"🌐 https://172.16.5.120/crm/client/2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 180","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲3164 a favor\",\"Monto Ultimo Pago\": \"💲 180\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 11/02/2025 14:16 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 11/02/2025 14:16\",\"Clabe Interbancaria\": \"\"}","user name":"Daniel Humberto 🐁","Nombre":"👤 Daniel Humberto Soto Villegas"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-11 20:16:43.238251] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -Eviando comprobante de pago al cliente: 2 con número: 5214181817609 - -El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf - -El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Archivos eliminados - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181817609", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png" - }, - "template_values": ["Daniel Humberto Soto Villegas", "$180", "$3164 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"f6cb8d10b95147fca8f78622a1ad5cb9","status":"enqueued"}} -Hay menos de 100 archivos en el directorio. No se eliminarán archivos. - -La notificación fue enviada correctamente con estado: enqueued - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":573,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T14:16:22-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":180,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas - -UUID: 2038d2d99ae543f3b56f1ae54f4cc82b - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb23164 a favor","Monto Ultimo Pago":"\ud83d\udcb2 180","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb23164 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 180\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 11\/02\/2025 14:16 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/02\/2025 14:16\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 11\/02\/2025 14:16 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/02\/2025 14:16","Clabe Interbancaria":null}} - -Response Patch CallBell: {"contact":{"uuid":"2038d2d99ae543f3b56f1ae54f4cc82b","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181817609","avatarUrl":null,"createdAt":"2024-01-26T18:16:09Z","closedAt":"2025-01-17T21:29:29Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/2038d2d99ae543f3b56f1ae54f4cc82b","conversationHref":"https://dash.callbell.eu/chat/90611886ac204c56a75240f951c53874","tags":[],"assignedUser":null,"customFields":{"Estado":"🟢 Activo ","Nombre":"👤 Daniel Humberto Soto Villegas","Cliente":"2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","URL":"🌐 https://172.16.5.120/crm/client/2","Fecha Ultimo Pago":"📆💸 11/02/2025 14:16 con Tarjeta de crédito Stripe 💳","Monto Ultimo Pago":"💲 180","Clabe Interbancaria":"124180553522369174","Fecha Ultima Actualizacion":"📆🔄️ 11/02/2025 14:16","user entry point":"inbound_message","user name":"Grisel","Saldo Actual":"💲3164 a favor","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲3164 a favor\",\"Monto Ultimo Pago\": \"💲 180\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 11/02/2025 14:16 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 11/02/2025 14:16\",\"Clabe Interbancaria\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-11 20:36:01.293534] [notice] Logging level set to:debug -[2025-02-11 20:36:01.429033] [debug] valor el evento recibido por webhook: client.edit - -[2025-02-11 20:36:01.429125] [debug] Valor de JSON: {"uuid":"d625c8b5-64b5-404d-a037-f41310e30f8c","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Yeah","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":3164,"accountCredit":3164,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":3164,"accountCredit":3164,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-02-11 20:36:01.429343] [debug] Se actualiza a un cliente -[2025-02-11 20:36:01.429388] [debug] Valor de json_data: {"uuid":"d625c8b5-64b5-404d-a037-f41310e30f8c","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Yeah","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":3164,"accountCredit":3164,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":3164,"accountCredit":3164,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-02-11 20:36:01.429405] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-11 20:36:01.429415] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-02-11 20:36:01.429424] [debug] No hubo cambio de true a false en el campo isLead -[2025-02-11 20:36:01.429431] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-02-11 20:36:01.429439] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-02-11 20:36:01.429446] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-02-11 20:36:01.429454] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-02-11 20:36:01.429486] [debug] {"uuid":"d625c8b5-64b5-404d-a037-f41310e30f8c","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Yeah","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":3164,"accountCredit":3164,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-02-11 20:36:01.429594] [info] Se proceso los contactos - -[2025-02-11 20:36:01.429837] [info] Se actualizara el correo del cliente en Stripe: chavoloco@homail.com - -[2025-02-11 21:28:28.904109] [notice] Logging level set to:debug -[2025-02-11 21:28:29.010166] [debug] valor el evento recibido por webhook: client.edit - -[2025-02-11 21:28:29.010413] [debug] Valor de JSON: {"uuid":"106baa45-717c-4e3b-aa73-39e009893649","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Chido","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":3164,"accountCredit":3164,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Yeah","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":3164,"accountCredit":3164,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-02-11 21:28:29.010689] [debug] Se actualiza a un cliente -[2025-02-11 21:28:29.010782] [debug] Valor de json_data: {"uuid":"106baa45-717c-4e3b-aa73-39e009893649","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Chido","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":3164,"accountCredit":3164,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Yeah","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":3164,"accountCredit":3164,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-02-11 21:28:29.010832] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-11 21:28:29.010869] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-02-11 21:28:29.010906] [debug] No hubo cambio de true a false en el campo isLead -[2025-02-11 21:28:29.010942] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-02-11 21:28:29.010977] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-02-11 21:28:29.011013] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-02-11 21:28:29.011048] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-02-11 21:28:29.011110] [debug] {"uuid":"106baa45-717c-4e3b-aa73-39e009893649","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Chido","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":3164,"accountCredit":3164,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-02-11 21:28:29.011219] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-11 21:28:29.011261] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-02-11 21:28:29.011341] [info] Se proceso los contactos - -[2025-02-11 21:28:29.011596] [info] Se actualizara el correo del cliente en Stripe: chavoloco@homail.com - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":573,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T14:16:22-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":180,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas Chido - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas Chido","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas Chido","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb23164 a favor","Monto Ultimo Pago":"\ud83d\udcb2 180","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas Chido\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb23164 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 180\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 11\/02\/2025 14:16 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/02\/2025 15:28\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 11\/02\/2025 14:16 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/02\/2025 15:28","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas Chido","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"0021804341999569810","Cliente":"2","user entry point":"inbound_message","Fecha Ultima Actualizacion":"📆🔄️ 11/02/2025 15:28","Estado":"🟢 Activo ","Saldo Actual":"💲3164 a favor","Fecha Ultimo Pago":"📆💸 11/02/2025 14:16 con Tarjeta de crédito Stripe 💳","URL":"🌐 https://172.16.5.120/crm/client/2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 180","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas Chido\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲3164 a favor\",\"Monto Ultimo Pago\": \"💲 180\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 11/02/2025 14:16 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 11/02/2025 15:28\",\"Clabe Interbancaria\": \"0021804341999569810\"}","user name":"Daniel Humberto 🐁","Nombre":"👤 Daniel Humberto Soto Villegas Chido"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-11 21:28:30.726790] [info] Se proceso los contactos - -[2025-02-11 21:28:30.726929] [info] Se actualizara el correo del cliente en Stripe: chavoloco@homail.com - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":573,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T14:16:22-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":180,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas Chido - -UUID: 2038d2d99ae543f3b56f1ae54f4cc82b - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas Chido","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas Chido","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb23164 a favor","Monto Ultimo Pago":"\ud83d\udcb2 180","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas Chido\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb23164 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 180\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 11\/02\/2025 14:16 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/02\/2025 15:28\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 11\/02\/2025 14:16 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/02\/2025 15:28","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"2038d2d99ae543f3b56f1ae54f4cc82b","name":"Daniel Humberto Soto Villegas Chido","phoneNumber":"5214181817609","avatarUrl":null,"createdAt":"2024-01-26T18:16:09Z","closedAt":"2025-01-17T21:29:29Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/2038d2d99ae543f3b56f1ae54f4cc82b","conversationHref":"https://dash.callbell.eu/chat/90611886ac204c56a75240f951c53874","tags":[],"assignedUser":null,"customFields":{"Estado":"🟢 Activo ","Nombre":"👤 Daniel Humberto Soto Villegas Chido","Cliente":"2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","URL":"🌐 https://172.16.5.120/crm/client/2","Fecha Ultimo Pago":"📆💸 11/02/2025 14:16 con Tarjeta de crédito Stripe 💳","Monto Ultimo Pago":"💲 180","Clabe Interbancaria":"0021804341999569810","Fecha Ultima Actualizacion":"📆🔄️ 11/02/2025 15:28","user entry point":"inbound_message","user name":"Grisel","Saldo Actual":"💲3164 a favor","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas Chido\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲3164 a favor\",\"Monto Ultimo Pago\": \"💲 180\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 11/02/2025 14:16 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 11/02/2025 15:28\",\"Clabe Interbancaria\": \"0021804341999569810\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-12 0:03:14.448281] [notice] Logging level set to:debug -[2025-02-12 0:03:14.531114] [debug] valor el evento recibido por webhook: client.edit - -[2025-02-12 0:03:14.531204] [debug] Valor de JSON: {"uuid":"004b99a8-a3ee-45f2-bdb1-169b69327dc6","changeType":"edit","entity":"client","entityId":"167","eventName":"client.edit","extraData":{"entity":{"id":167,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":174,"clientId":167,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Rkh9CoRTpjlZUu","clientZoneVisible":true},{"id":175,"clientId":167,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180228993431717","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":167,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":174,"clientId":167,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Rkh9CoRTpjlZUu","clientZoneVisible":true},{"id":175,"clientId":167,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180228993431717","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-02-12 0:03:14.531410] [debug] Se actualiza a un cliente -[2025-02-12 0:03:14.534358] [debug] Valor de json_data: {"uuid":"004b99a8-a3ee-45f2-bdb1-169b69327dc6","changeType":"edit","entity":"client","entityId":"167","eventName":"client.edit","extraData":{"entity":{"id":167,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":174,"clientId":167,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Rkh9CoRTpjlZUu","clientZoneVisible":true},{"id":175,"clientId":167,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180228993431717","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":167,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":174,"clientId":167,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Rkh9CoRTpjlZUu","clientZoneVisible":true},{"id":175,"clientId":167,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180228993431717","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-02-12 0:03:14.534388] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-12 0:03:14.534399] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-02-12 0:03:14.534406] [debug] No hubo cambio de true a false en el campo isLead -[2025-02-12 0:03:14.534415] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-02-12 0:03:14.534421] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-02-12 0:03:14.534429] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-02-12 0:03:14.534436] [debug] La etiqueta STRIPE se agregó al cliente -[2025-02-12 0:03:14.565999] [info] Creando el Customer Stripe - -[2025-02-12 0:03:14.566044] [info] El cliente a procesar es : Javier Alatorre - -[2025-02-12 0:03:14.566077] [info] Datos notificationData: {"uuid":"004b99a8-a3ee-45f2-bdb1-169b69327dc6","changeType":"edit","entity":"client","entityId":167,"message":null,"clientId":167,"eventName":"client.edit","clientData":{"id":167,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":174,"clientId":167,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Rkh9CoRTpjlZUu","clientZoneVisible":true},{"id":175,"clientId":167,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180228993431717","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-02-12 0:03:14.566097] [info] Ya dentro del FOREACH!!! - -[2025-02-12 0:03:14.566106] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-02-12 0:03:14.566113] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-02-12 0:03:14.566123] [info] SE VALIDA EL EMAIL!!! - -[2025-02-12 0:03:14.566823] [info] ahora se procede a validar el teléfono!!! - -[2025-02-12 0:03:14.567008] [info] AHORA SE MANDA A CREAR EL CLIENTE A STRIPE!!! - -[2025-02-12 0:03:15.191962] [info] {"id":"cus_RkzOwFm3joi8lZ","object":"customer","address":null,"balance":0,"created":1739318594,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 167","discount":null,"email":null,"invoice_prefix":"1CC091DF","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":[],"name":"Javier Alatorre","next_invoice_sequence":1,"phone":"4181878106","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-02-12 0:03:17.522516] [info] {"id":"cus_RkzOwFm3joi8lZ","object":"customer","address":null,"balance":0,"created":1739318594,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 167","discount":null,"email":null,"invoice_prefix":"1CC091DF","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":{"ucrm_client_id":"167"},"name":"Javier Alatorre","next_invoice_sequence":1,"phone":"4181878106","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-02-12 0:03:18.009236] [notice] Logging level set to:debug -[2025-02-12 0:03:18.009509] [info] No UUID found in the webhook data -[2025-02-12 0:03:20.003387] [info] {"object":"funding_instructions","bank_transfer":{"country":"MX","financial_addresses":[{"spei":{"account_holder_address":{"city":"Ciudad de M\u00e9xico","country":"MX","line1":"Av Paseo de la Reforma 180 piso 29 col Juarez","line2":null,"postal_code":"06600","state":"Ciudad de M\u00e9xico"},"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":"124180778320689213"},"supported_networks":["spei"],"type":"spei"}],"type":"mx_bank_transfer"},"currency":"mxn","funding_type":"bank_transfer","livemode":false} - -[2025-02-12 0:03:20.330442] [info] CLABE guardada en metadata: 124180778320689213 - -[2025-02-12 0:03:20.592112] [info] Error al hacer el patch al CRM: Client error: `PATCH https://172.16.5.134/crm/api/v1.0/clients/167` resulted in a `415 Unsupported Media Type` response: -{"code":415,"message":""} - - -[2025-02-12 0:03:20.592267] [info] null - -[2025-02-12 0:03:20.884953] [notice] Logging level set to:debug -[2025-02-12 0:03:20.885138] [info] No UUID found in the webhook data -[2025-02-12 0:03:40.646989] [notice] Logging level set to:debug -[2025-02-12 0:03:40.726212] [debug] valor el evento recibido por webhook: client.edit - -[2025-02-12 0:03:40.726454] [debug] Valor de JSON: {"uuid":"60b54928-a488-49e9-b9f2-8a9be3688af2","changeType":"edit","entity":"client","entityId":"167","eventName":"client.edit","extraData":{"entity":{"id":167,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":174,"clientId":167,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Rkh9CoRTpjlZUu","clientZoneVisible":true},{"id":175,"clientId":167,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180228993431717","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":167,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":174,"clientId":167,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Rkh9CoRTpjlZUu","clientZoneVisible":true},{"id":175,"clientId":167,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180228993431717","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-02-12 0:03:40.726725] [debug] Se actualiza a un cliente -[2025-02-12 0:03:40.726892] [debug] Valor de json_data: {"uuid":"60b54928-a488-49e9-b9f2-8a9be3688af2","changeType":"edit","entity":"client","entityId":"167","eventName":"client.edit","extraData":{"entity":{"id":167,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":174,"clientId":167,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Rkh9CoRTpjlZUu","clientZoneVisible":true},{"id":175,"clientId":167,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180228993431717","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":167,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":174,"clientId":167,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Rkh9CoRTpjlZUu","clientZoneVisible":true},{"id":175,"clientId":167,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180228993431717","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-02-12 0:03:40.726947] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-12 0:03:40.726984] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-02-12 0:03:40.727021] [debug] No hubo cambio de true a false en el campo isLead -[2025-02-12 0:03:40.727056] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-02-12 0:03:40.727091] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-02-12 0:03:40.727125] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-02-12 0:03:40.727160] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-02-12 0:03:40.727220] [debug] {"uuid":"60b54928-a488-49e9-b9f2-8a9be3688af2","changeType":"edit","entity":"client","entityId":167,"message":null,"clientId":167,"eventName":"client.edit","clientData":{"id":167,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":174,"clientId":167,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Rkh9CoRTpjlZUu","clientZoneVisible":true},{"id":175,"clientId":167,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180228993431717","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-02-12 0:10:41.911241] [notice] Logging level set to:debug -[2025-02-12 0:10:42.025154] [debug] valor el evento recibido por webhook: client.edit - -[2025-02-12 0:10:42.025338] [debug] Valor de JSON: {"uuid":"6a50192c-371b-4e29-94c0-7d2d0b87069e","changeType":"edit","entity":"client","entityId":"160","eventName":"client.edit","extraData":{"entity":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-02-12 0:10:42.025594] [debug] Se actualiza a un cliente -[2025-02-12 0:10:42.025674] [debug] Valor de json_data: {"uuid":"6a50192c-371b-4e29-94c0-7d2d0b87069e","changeType":"edit","entity":"client","entityId":"160","eventName":"client.edit","extraData":{"entity":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-02-12 0:10:42.025721] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-12 0:10:42.025758] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-02-12 0:10:42.025795] [debug] No hubo cambio de true a false en el campo isLead -[2025-02-12 0:10:42.025830] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-02-12 0:10:42.025865] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-02-12 0:10:42.025899] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-02-12 0:10:42.025934] [debug] La etiqueta STRIPE se agregó al cliente -[2025-02-12 0:10:42.060797] [info] Creando el Customer Stripe - -[2025-02-12 0:10:42.060925] [info] El cliente a procesar es : Jimy Turner - -[2025-02-12 0:10:42.060985] [info] Datos notificationData: {"uuid":"6a50192c-371b-4e29-94c0-7d2d0b87069e","changeType":"edit","entity":"client","entityId":160,"message":null,"clientId":160,"eventName":"client.edit","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-02-12 0:10:42.061031] [info] Ya dentro del FOREACH!!! - -[2025-02-12 0:10:42.061064] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-02-12 0:10:42.061098] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-02-12 0:10:42.061131] [info] SE VALIDA EL EMAIL!!! - -[2025-02-12 0:10:42.061777] [info] ahora se procede a validar el teléfono!!! - -[2025-02-12 0:10:42.061906] [info] AHORA SE MANDA A CREAR EL CLIENTE A STRIPE!!! - -[2025-02-12 0:10:42.654230] [info] {"id":"cus_RkzWR8IcT4jRTG","object":"customer","address":null,"balance":0,"created":1739319042,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 160","discount":null,"email":"jymy@gmail.com","invoice_prefix":"5ED504F8","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":[],"name":"Jimy Turner","next_invoice_sequence":1,"phone":"4186784656","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-02-12 0:10:44.980047] [info] {"id":"cus_RkzWR8IcT4jRTG","object":"customer","address":null,"balance":0,"created":1739319042,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 160","discount":null,"email":"jymy@gmail.com","invoice_prefix":"5ED504F8","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":{"ucrm_client_id":"160"},"name":"Jimy Turner","next_invoice_sequence":1,"phone":"4186784656","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-02-12 0:10:45.349391] [notice] Logging level set to:debug -[2025-02-12 0:10:45.349631] [info] No UUID found in the webhook data -[2025-02-12 0:10:47.434142] [info] {"object":"funding_instructions","bank_transfer":{"country":"MX","financial_addresses":[{"spei":{"account_holder_address":{"city":"Ciudad de M\u00e9xico","country":"MX","line1":"Av Paseo de la Reforma 180 piso 29 col Juarez","line2":null,"postal_code":"06600","state":"Ciudad de M\u00e9xico"},"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":"124180081303330797"},"supported_networks":["spei"],"type":"spei"}],"type":"mx_bank_transfer"},"currency":"mxn","funding_type":"bank_transfer","livemode":false} - -[2025-02-12 0:10:47.768815] [info] CLABE guardada en metadata: 124180081303330797 - -[2025-02-12 0:10:47.967669] [info] Error al hacer el patch al CRM: Client error: `PATCH https://172.16.5.134/crm/api/v1.0/clients/160` resulted in a `415 Unsupported Media Type` response: -{"code":415,"message":""} - - -[2025-02-12 0:10:47.967816] [info] null - -[2025-02-12 0:10:48.232426] [notice] Logging level set to:debug -[2025-02-12 0:10:48.232753] [info] No UUID found in the webhook data -[2025-02-12 0:10:53.902559] [notice] Logging level set to:debug -[2025-02-12 0:10:53.989243] [debug] valor el evento recibido por webhook: client.edit - -[2025-02-12 0:10:53.989316] [debug] Valor de JSON: {"uuid":"0775df3c-4dd0-4cdc-ba2f-6a422846e8db","changeType":"edit","entity":"client","entityId":"160","eventName":"client.edit","extraData":{"entity":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-02-12 0:10:53.989440] [debug] Se actualiza a un cliente -[2025-02-12 0:10:53.989475] [debug] Valor de json_data: {"uuid":"0775df3c-4dd0-4cdc-ba2f-6a422846e8db","changeType":"edit","entity":"client","entityId":"160","eventName":"client.edit","extraData":{"entity":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-02-12 0:10:53.989490] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-12 0:10:53.989502] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-02-12 0:10:53.989516] [debug] No hubo cambio de true a false en el campo isLead -[2025-02-12 0:10:53.989526] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-02-12 0:10:53.989532] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-02-12 0:10:53.989541] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-02-12 0:10:53.989547] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-02-12 0:10:53.989576] [debug] {"uuid":"0775df3c-4dd0-4cdc-ba2f-6a422846e8db","changeType":"edit","entity":"client","entityId":160,"message":null,"clientId":160,"eventName":"client.edit","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-02-12 0:11:03.706336] [notice] Logging level set to:debug -[2025-02-12 0:11:03.790352] [debug] valor el evento recibido por webhook: client.edit - -[2025-02-12 0:11:03.790512] [debug] Valor de JSON: {"uuid":"44ebc20f-7031-4364-8e6c-12aa76f324d1","changeType":"edit","entity":"client","entityId":"160","eventName":"client.edit","extraData":{"entity":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-02-12 0:11:03.790745] [debug] Se actualiza a un cliente -[2025-02-12 0:11:03.790827] [debug] Valor de json_data: {"uuid":"44ebc20f-7031-4364-8e6c-12aa76f324d1","changeType":"edit","entity":"client","entityId":"160","eventName":"client.edit","extraData":{"entity":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-02-12 0:11:03.790870] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-12 0:11:03.790905] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-02-12 0:11:03.790937] [debug] No hubo cambio de true a false en el campo isLead -[2025-02-12 0:11:03.790971] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-02-12 0:11:03.791002] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-02-12 0:11:03.791034] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-02-12 0:11:03.791066] [debug] La etiqueta STRIPE se agregó al cliente -[2025-02-12 0:11:03.830996] [info] Creando el Customer Stripe - -[2025-02-12 0:11:03.831108] [info] El cliente a procesar es : Jimy Turner - -[2025-02-12 0:11:03.831171] [info] Datos notificationData: {"uuid":"44ebc20f-7031-4364-8e6c-12aa76f324d1","changeType":"edit","entity":"client","entityId":160,"message":null,"clientId":160,"eventName":"client.edit","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-02-12 0:11:03.831221] [info] Ya dentro del FOREACH!!! - -[2025-02-12 0:11:03.831258] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-02-12 0:11:03.831299] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-02-12 0:11:03.831336] [info] SE VALIDA EL EMAIL!!! - -[2025-02-12 0:11:03.832053] [info] ahora se procede a validar el teléfono!!! - -[2025-02-12 0:11:03.832194] [info] AHORA SE MANDA A CREAR EL CLIENTE A STRIPE!!! - -[2025-02-12 0:11:04.419519] [info] {"id":"cus_RkzWrrq8KnS1h4","object":"customer","address":null,"balance":0,"created":1739319064,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 160","discount":null,"email":"jymy@gmail.com","invoice_prefix":"E9E68F26","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":[],"name":"Jimy Turner","next_invoice_sequence":1,"phone":"4186784656","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-02-12 0:11:06.748461] [info] {"id":"cus_RkzWrrq8KnS1h4","object":"customer","address":null,"balance":0,"created":1739319064,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 160","discount":null,"email":"jymy@gmail.com","invoice_prefix":"E9E68F26","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":{"ucrm_client_id":"160"},"name":"Jimy Turner","next_invoice_sequence":1,"phone":"4186784656","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-02-12 0:11:07.064951] [notice] Logging level set to:debug -[2025-02-12 0:11:07.065143] [info] No UUID found in the webhook data -[2025-02-12 0:11:09.211800] [info] {"object":"funding_instructions","bank_transfer":{"country":"MX","financial_addresses":[{"spei":{"account_holder_address":{"city":"Ciudad de M\u00e9xico","country":"MX","line1":"Av Paseo de la Reforma 180 piso 29 col Juarez","line2":null,"postal_code":"06600","state":"Ciudad de M\u00e9xico"},"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":"124180291713292435"},"supported_networks":["spei"],"type":"spei"}],"type":"mx_bank_transfer"},"currency":"mxn","funding_type":"bank_transfer","livemode":false} - -[2025-02-12 0:11:09.533302] [info] CLABE guardada en metadata: 124180291713292435 - -[2025-02-12 0:11:09.729213] [info] Error al hacer el patch al CRM: Client error: `PATCH https://172.16.5.134/crm/api/v1.0/clients/160` resulted in a `415 Unsupported Media Type` response: -{"code":415,"message":""} - - -[2025-02-12 0:11:09.729337] [info] null - -[2025-02-12 0:11:09.793834] [notice] Logging level set to:debug -[2025-02-12 0:11:09.794177] [info] No UUID found in the webhook data -[2025-02-13 17:16:22.494343] [notice] Logging level set to:debug -[2025-02-13 17:16:22.579179] [debug] valor el evento recibido por webhook: client.edit - -[2025-02-13 17:16:22.582384] [debug] Valor de JSON: {"uuid":"f03f2c5d-11bb-4b72-bdb1-3f33d6d6de22","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas El may","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":3164,"accountCredit":3164,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Chido","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":3164,"accountCredit":3164,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-02-13 17:16:22.582623] [debug] Se actualiza a un cliente -[2025-02-13 17:16:22.582674] [debug] Valor de json_data: {"uuid":"f03f2c5d-11bb-4b72-bdb1-3f33d6d6de22","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas El may","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":3164,"accountCredit":3164,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Chido","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":3164,"accountCredit":3164,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-02-13 17:16:22.582694] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-13 17:16:22.582704] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-02-13 17:16:22.582712] [debug] No hubo cambio de true a false en el campo isLead -[2025-02-13 17:16:22.582720] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-02-13 17:16:22.582727] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-02-13 17:16:22.582736] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-02-13 17:16:22.582743] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-02-13 17:16:22.582777] [debug] {"uuid":"f03f2c5d-11bb-4b72-bdb1-3f33d6d6de22","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas El may","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":3164,"accountCredit":3164,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-02-13 17:16:22.582847] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-13 17:16:22.582860] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-02-13 17:16:22.582914] [info] Se proceso los contactos - -[2025-02-13 17:16:22.583142] [info] Se actualizara el correo del cliente en Stripe: chavoloco@homail.com - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":573,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T14:16:22-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":180,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas El may - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas El may","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas El may","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb23164 a favor","Monto Ultimo Pago":"\ud83d\udcb2 180","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas El may\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb23164 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 180\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 11\/02\/2025 14:16 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/02\/2025 11:16\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 11\/02\/2025 14:16 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/02\/2025 11:16","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas El may","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"0021804341999569810","Cliente":"2","user entry point":"inbound_message","Fecha Ultima Actualizacion":"📆🔄️ 13/02/2025 11:16","Estado":"🟢 Activo ","Saldo Actual":"💲3164 a favor","Fecha Ultimo Pago":"📆💸 11/02/2025 14:16 con Tarjeta de crédito Stripe 💳","URL":"🌐 https://172.16.5.120/crm/client/2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 180","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas El may\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲3164 a favor\",\"Monto Ultimo Pago\": \"💲 180\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 11/02/2025 14:16 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 13/02/2025 11:16\",\"Clabe Interbancaria\": \"0021804341999569810\"}","user name":"Daniel Humberto 🐁","Nombre":"👤 Daniel Humberto Soto Villegas El may"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-13 17:16:24.221890] [info] Se proceso los contactos - -[2025-02-13 17:16:24.222078] [info] Se actualizara el correo del cliente en Stripe: chavoloco@homail.com - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":573,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-11T14:16:22-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":180,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas El may - -UUID: 2038d2d99ae543f3b56f1ae54f4cc82b - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas El may","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas El may","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb23164 a favor","Monto Ultimo Pago":"\ud83d\udcb2 180","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas El may\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb23164 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 180\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 11\/02\/2025 14:16 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/02\/2025 11:16\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 11\/02\/2025 14:16 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/02\/2025 11:16","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"2038d2d99ae543f3b56f1ae54f4cc82b","name":"Daniel Humberto Soto Villegas El may","phoneNumber":"5214181817609","avatarUrl":null,"createdAt":"2024-01-26T18:16:09Z","closedAt":"2025-01-17T21:29:29Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/2038d2d99ae543f3b56f1ae54f4cc82b","conversationHref":"https://dash.callbell.eu/chat/90611886ac204c56a75240f951c53874","tags":[],"assignedUser":null,"customFields":{"Estado":"🟢 Activo ","Nombre":"👤 Daniel Humberto Soto Villegas El may","Cliente":"2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","URL":"🌐 https://172.16.5.120/crm/client/2","Fecha Ultimo Pago":"📆💸 11/02/2025 14:16 con Tarjeta de crédito Stripe 💳","Monto Ultimo Pago":"💲 180","Clabe Interbancaria":"0021804341999569810","Fecha Ultima Actualizacion":"📆🔄️ 13/02/2025 11:16","user entry point":"inbound_message","user name":"Grisel","Saldo Actual":"💲3164 a favor","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas El may\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲3164 a favor\",\"Monto Ultimo Pago\": \"💲 180\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 11/02/2025 14:16 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 13/02/2025 11:16\",\"Clabe Interbancaria\": \"0021804341999569810\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-13 19:21:14.441643] [notice] Logging level set to:debug -[2025-02-13 19:21:14.580557] [debug] valor el evento recibido por webhook: payment.add - -[2025-02-13 19:21:14.580718] [debug] Valor de JSON: {"uuid":"2f2c532f-0944-425a-8335-c0326f620369","changeType":"insert","entity":"payment","entityId":"574","eventName":"payment.add","extraData":{"entity":{"id":574,"clientId":1,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-13T13:19:11-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]},"entityBeforeEdit":null}} - -[2025-02-13 19:21:14.581007] [debug] Notification encodificado en JSON:{"uuid":"2f2c532f-0944-425a-8335-c0326f620369","changeType":"insert","entity":"payment","entityId":574,"message":null,"clientId":1,"eventName":"payment.add","clientData":{"id":1,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true}],"accountBalance":1180,"accountCredit":1180,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"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":574,"clientId":1,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-13T13:19:11-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]}} - -[2025-02-13 19:21:14.582361] [debug] valor del payment data: {"id":574,"clientId":1,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-13T13:19:11-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]} - -[2025-02-13 19:21:14.582514] [info] {"WhatsApp":["5214181148554"]} -[2025-02-13 19:21:14.582557] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-13 19:21:14.582593] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-02-13 19:21:14.582643] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -Eviando comprobante de pago al cliente: 1 con número: 5214181148554 - -El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Don_Miguel_Ángel_Guerrero_González.pdf - -El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Don_Miguel_Ángel_Guerrero_González.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Don_Miguel_Ángel_Guerrero_González.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Don_Miguel_Ángel_Guerrero_González.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Don_Miguel_Ángel_Guerrero_González.png - -Comprobante eliminado de Wordpress: Comprobante_ARACELI_DELGADO_VALENCIA.png - -Archivos eliminados - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181148554", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Don_Miguel_Ángel_Guerrero_González.png" - }, - "template_values": ["Don Miguel Ángel Guerrero González", "$300", "$1180 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"26176836bb654efca41c940acef41445","status":"enqueued"}} -Hay menos de 100 archivos en el directorio. No se eliminarán archivos. - -La notificación fue enviada correctamente con estado: enqueued - -Dentro del proceso del patch: - -[2025-02-13 19:21:24.580805] [notice] Logging level set to:debug -Datos traidos con payment api: [{"id":574,"clientId":1,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-13T13:19:11-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-02-13T13:21:14-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"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":{"Cliente":1,"Domicilio":"\ud83d\udccd Calle Morelos 34, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/1","Saldo Actual":"\ud83d\udcb21180 a favor","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\ud83d\udccd Calle Morelos 34, Dolores Hidalgo, 37800\",\"Nombre\": \"\ud83d\udc64 Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/1\",\"Saldo Actual\": \"\ud83d\udcb21180 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 300\",\"Estado\": \"\ud83d\udd34 Suspendido\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 13\/02\/2025 13:19 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/02\/2025 13:21\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/02\/2025 13:19 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/02\/2025 13:21","Clabe Interbancaria":null}} - -[2025-02-13 19:21:24.698438] [debug] valor el evento recibido por webhook: payment.add - -[2025-02-13 19:21:24.698574] [debug] Valor de JSON: {"uuid":"d456adce-3afd-4702-9600-c101d0fa5dbe","changeType":"insert","entity":"payment","entityId":"575","eventName":"payment.add","extraData":{"entity":{"id":575,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-13T13:19:11-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]},"entityBeforeEdit":null}} - -[2025-02-13 19:21:24.698847] [debug] Notification encodificado en JSON:{"uuid":"d456adce-3afd-4702-9600-c101d0fa5dbe","changeType":"insert","entity":"payment","entityId":575,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas El may","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":3464,"accountCredit":3464,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":575,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-13T13:19:11-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]}} - -[2025-02-13 19:21:24.698982] [debug] valor del payment data: {"id":575,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-13T13:19:11-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]} - -[2025-02-13 19:21:24.699085] [info] {"WhatsApp":["5214181878106","5214181817609"]} -[2025-02-13 19:21:24.699126] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-13 19:21:24.699163] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-02-13 19:21:24.699204] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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_El_may.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_El_may.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_El_may.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_El_may.png - -Response Patch CallBell: {"contact":{"uuid":"0e53e926ce424db5b9284a75915d24fe","name":"Don Miguel Ángel Guerrero González","phoneNumber":"5214181148554","avatarUrl":null,"createdAt":"2024-01-26T17:29:28Z","closedAt":null,"source":"whatsapp","href":"https://dash.callbell.eu/contacts/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https://dash.callbell.eu/chat/f017e454a6b94ab297509274216c6795","tags":["SIIP"],"assignedUser":null,"customFields":{"URL":"🌐 https://172.16.5.120/crm/client/1","user entry point":"inbound_message","Clientes Relacionados":"oxxo","Cliente":"1","Estado":"🔴 Suspendido","Nombre":"👤 Don Miguel Ángel Guerrero González","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"📍 Calle Morelos 34, Dolores Hidalgo, 37800\",\"Nombre\": \"👤 Don Miguel Ángel Guerrero González\",\"URL\": \"🌐 https://172.16.5.120/crm/client/1\",\"Saldo Actual\": \"💲1180 a favor\",\"Monto Ultimo Pago\": \"💲 300\",\"Estado\": \"🔴 Suspendido\",\"Fecha Ultimo Pago\": \"📆💰 13/02/2025 13:19 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 13/02/2025 13:21\",\"Clabe Interbancaria\": \"\"}","Clabe Interbancaria":"124180650741039816","Fecha Ultima Actualizacion":"📆🔄️ 13/02/2025 13:21","Monto Ultimo Pago":"💲 300","Acciones":"1","Fecha Ultimo Pago":"📆💸 13/02/2025 13:19 con Tarjeta de crédito Stripe 💳","Domicilio":"📍 Calle Morelos 34, Dolores Hidalgo, 37800","Saldo Actual":"💲1180 a favor","user name":"Angel"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_El_may.png - -Comprobante eliminado de Wordpress: Comprobante_Graciela_Villegas.png - -Archivos eliminados - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_El_may.png" - }, - "template_values": ["Daniel Humberto Soto Villegas El may", "$300", "$3464 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"c262f13655e8451b9c12d8a76e1eb721","status":"enqueued"}} -Hay menos de 100 archivos en el directorio. No se eliminarán archivos. - -La notificación fue enviada correctamente con estado: enqueued - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":575,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-13T13:19:11-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas El may - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas El may","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas El may","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb23464 a favor","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas El may\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb23464 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 300\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 13\/02\/2025 13:19 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/02\/2025 13:21\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/02\/2025 13:19 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/02\/2025 13:21","Clabe Interbancaria":null}} - -[2025-02-13 19:21:34.696996] [notice] Logging level set to:debug -[2025-02-13 19:21:34.814488] [debug] valor el evento recibido por webhook: payment.add - -[2025-02-13 19:21:34.814667] [debug] Valor de JSON: {"uuid":"23d13d99-70cd-4117-9790-376de974a0b5","changeType":"insert","entity":"payment","entityId":"576","eventName":"payment.add","extraData":{"entity":{"id":576,"clientId":120,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-13T13:19:11-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]},"entityBeforeEdit":null}} - -[2025-02-13 19:21:34.814894] [debug] Notification encodificado en JSON:{"uuid":"23d13d99-70cd-4117-9790-376de974a0b5","changeType":"insert","entity":"payment","entityId":576,"message":null,"clientId":120,"eventName":"payment.add","clientData":{"id":120,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"56 Calle Prolongaci\u00f3n Veracruz","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle Prolongaci\u00f3n Veracruz 56, Independencia, Dolores 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":"\u00c1guila Calva","lastName":"En el Nopal","username":null,"contacts":[{"id":124,"clientId":120,"email":"aguila_calva2024@gmail.com","phone":"4187564816","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":116,"clientId":120,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PzWvidzs3R6b4j","clientZoneVisible":true},{"id":117,"clientId":120,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180937028004274","clientZoneVisible":true}],"accountBalance":300,"accountCredit":300,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4caf50","addressGpsLat":21.14718,"addressGpsLon":-100.9370473,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":576,"clientId":120,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-13T13:19:11-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-02-13T13:21:19-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]}} - -[2025-02-13 19:21:34.814973] [debug] valor del payment data: {"id":576,"clientId":120,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-13T13:19:11-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-02-13T13:21:19-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]} - -[2025-02-13 19:21:34.815052] [info] {"WhatsApp":["4187564816"]} -[2025-02-13 19:21:34.815090] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-13 19:21:34.815134] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-02-13 19:21:34.815171] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -Eviando comprobante de pago al cliente: 120 con número: 5214187564816 - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas El may","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"0021804341999569810","Cliente":"2","user entry point":"inbound_message","Fecha Ultima Actualizacion":"📆🔄️ 13/02/2025 13:21","Estado":"🟢 Activo ","Saldo Actual":"💲3464 a favor","Fecha Ultimo Pago":"📆💸 13/02/2025 13:19 con Tarjeta de crédito Stripe 💳","URL":"🌐 https://172.16.5.120/crm/client/2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 300","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas El may\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲3464 a favor\",\"Monto Ultimo Pago\": \"💲 300\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 13/02/2025 13:19 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 13/02/2025 13:21\",\"Clabe Interbancaria\": \"\"}","user name":"Daniel Humberto 🐁","Nombre":"👤 Daniel Humberto Soto Villegas El may"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-13 19:21:34.897176] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -Eviando comprobante de pago al cliente: 2 con número: 5214181817609 - -El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Águila_Calva_En_el_Nopal.pdf - -El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Águila_Calva_En_el_Nopal.pdf - -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_El_may.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_El_may.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Águila_Calva_En_el_Nopal.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Águila_Calva_En_el_Nopal.png - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_El_may.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_El_may.png - -Conexión FTP exitosa - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Águila_Calva_En_el_Nopal.png - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_El_may.png - -Comprobante eliminado de Wordpress: Comprobante_JOSE_RUFINO_BADILLO_CALDERON.png - -Archivos eliminados - -Error al borrar comprobanteComprobante_JOSE_RUFINO_BADILLO_CALDERON.png - -Archivos eliminados - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181817609", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_El_may.png" - }, - "template_values": ["Daniel Humberto Soto Villegas El may", "$300", "$3464 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214187564816", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Águila_Calva_En_el_Nopal.png" - }, - "template_values": ["Águila Calva En el Nopal", "$300", "$300 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"fc6f4226537743119f93cbc44850173d","status":"enqueued"}} -Hay menos de 100 archivos en el directorio. No se eliminarán archivos. - -La notificación fue enviada correctamente con estado: enqueued - -Response del CallBell: {"message":{"uuid":"1d74d0ef2c774839a403cdd4b210d1ff","status":"enqueued"}} -Hay menos de 100 archivos en el directorio. No se eliminarán archivos. - -La notificación fue enviada correctamente con estado: enqueued - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":575,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-13T13:19:11-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas El may - -UUID: 2038d2d99ae543f3b56f1ae54f4cc82b - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas El may","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas El may","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb23464 a favor","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas El may\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb23464 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 300\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 13\/02\/2025 13:19 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/02\/2025 13:21\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/02\/2025 13:19 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/02\/2025 13:21","Clabe Interbancaria":null}} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":576,"clientId":120,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-13T13:19:11-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-02-13T13:21:19-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Águila Calva En el Nopal - -UUID: 161f0ae2ee154871a248908aa0922894 - -JSON con los datos a actualizar: {"name":"\u00c1guila Calva En el Nopal","custom_fields":{"Cliente":120,"Domicilio":"\ud83d\udccd Calle Prolongaci\u00f3n Veracruz 56, Independencia, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 \u00c1guila Calva En el Nopal","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/120","Saldo Actual":"\ud83d\udcb2300 a favor","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"120\",\"Domicilio\": \"\ud83d\udccd Calle Prolongaci\u00f3n Veracruz 56, Independencia, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 \u00c1guila Calva En el Nopal\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/120\",\"Saldo Actual\": \"\ud83d\udcb2300 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 300\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 13\/02\/2025 13:19 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/02\/2025 13:21\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/02\/2025 13:19 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/02\/2025 13:21","Clabe Interbancaria":null}} - -[2025-02-13 19:21:44.813530] [notice] Logging level set to:debug -[2025-02-13 19:21:44.933376] [debug] valor el evento recibido por webhook: payment.edit - -[2025-02-13 19:21:44.933429] [debug] Valor de JSON: {"uuid":"0b96c93f-5482-4756-9f41-49850b1c1e89","changeType":"edit","entity":"payment","entityId":"574","eventName":"payment.edit","extraData":{"entity":{"id":574,"clientId":1,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-13T13:19:11-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-02-13T13:21:14-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]},"entityBeforeEdit":{"id":574,"clientId":1,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-13T13:19:11-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]}}} - -[2025-02-13 19:21:45.053430] [notice] Logging level set to:debug -[2025-02-13 19:21:45.180197] [debug] valor el evento recibido por webhook: payment.edit - -[2025-02-13 19:21:45.180248] [debug] Valor de JSON: {"uuid":"833e9d4c-0a50-4e0a-abe9-0d009bfe411b","changeType":"edit","entity":"payment","entityId":"575","eventName":"payment.edit","extraData":{"entity":{"id":575,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-13T13:19:11-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]},"entityBeforeEdit":{"id":575,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-13T13:19:11-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]}}} - -Response Patch CallBell: {"contact":{"uuid":"2038d2d99ae543f3b56f1ae54f4cc82b","name":"Daniel Humberto Soto Villegas El may","phoneNumber":"5214181817609","avatarUrl":null,"createdAt":"2024-01-26T18:16:09Z","closedAt":"2025-01-17T21:29:29Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/2038d2d99ae543f3b56f1ae54f4cc82b","conversationHref":"https://dash.callbell.eu/chat/90611886ac204c56a75240f951c53874","tags":[],"assignedUser":null,"customFields":{"Estado":"🟢 Activo ","Nombre":"👤 Daniel Humberto Soto Villegas El may","Cliente":"2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","URL":"🌐 https://172.16.5.120/crm/client/2","Fecha Ultimo Pago":"📆💸 13/02/2025 13:19 con Tarjeta de crédito Stripe 💳","Monto Ultimo Pago":"💲 300","Clabe Interbancaria":"0021804341999569810","Fecha Ultima Actualizacion":"📆🔄️ 13/02/2025 13:21","user entry point":"inbound_message","user name":"Grisel","Saldo Actual":"💲3464 a favor","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas El may\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲3464 a favor\",\"Monto Ultimo Pago\": \"💲 300\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 13/02/2025 13:19 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 13/02/2025 13:21\",\"Clabe Interbancaria\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-13 19:21:45.292737] [notice] Logging level set to:debug -Response Patch CallBell: {"contact":{"uuid":"161f0ae2ee154871a248908aa0922894","name":"Águila Calva En el Nopal","phoneNumber":"5214187564816","avatarUrl":null,"createdAt":"2025-02-13T19:21:43Z","closedAt":null,"source":"whatsapp","href":"https://dash.callbell.eu/contacts/161f0ae2ee154871a248908aa0922894","conversationHref":"https://dash.callbell.eu/chat/5dafdacc2d3e46feb8aeb78418d27c38","tags":[],"assignedUser":null,"customFields":{"Cliente":"120","Domicilio":"📍 Calle Prolongación Veracruz 56, Independencia, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Estado":"🟢 Activo ","Fecha Ultima Actualizacion":"📆🔄️ 13/02/2025 13:21","Fecha Ultimo Pago":"📆💸 13/02/2025 13:19 con Tarjeta de crédito Stripe 💳","Monto Ultimo Pago":"💲 300","Nombre":"👤 Águila Calva En el Nopal","Resumen":"{\"Cliente\": \"120\",\"Domicilio\": \"📍 Calle Prolongación Veracruz 56, Independencia, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Águila Calva En el Nopal\",\"URL\": \"🌐 https://172.16.5.120/crm/client/120\",\"Saldo Actual\": \"💲300 a favor\",\"Monto Ultimo Pago\": \"💲 300\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 13/02/2025 13:19 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 13/02/2025 13:21\",\"Clabe Interbancaria\": \"\"}","Saldo Actual":"💲300 a favor","URL":"🌐 https://172.16.5.120/crm/client/120"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-13 19:21:45.463160] [debug] valor el evento recibido por webhook: payment.edit - -[2025-02-13 19:21:45.463310] [debug] Valor de JSON: {"uuid":"76e44bc3-f646-4333-ac9a-4bc4a8e1b679","changeType":"edit","entity":"payment","entityId":"576","eventName":"payment.edit","extraData":{"entity":{"id":576,"clientId":120,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-13T13:19:11-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-02-13T13:21:19-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]},"entityBeforeEdit":{"id":576,"clientId":120,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-13T13:19:11-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]}}} - -[2025-02-13 20:40:22.750854] [notice] Logging level set to:debug -[2025-02-13 20:40:22.935129] [debug] valor el evento recibido por webhook: service.add - -[2025-02-13 20:40:22.935198] [debug] Valor de JSON: {"uuid":"30153c8e-9fd6-4ccf-9711-fedf3ecc29f0","changeType":"insert","entity":"service","entityId":"131","eventName":"service.add","extraData":{"entity":{"id":131,"prepaid":false,"clientId":146,"status":1,"name":"Basico 300","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-13T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-13T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"bc4103e6-5550-462c-84df-f279b498f6ff","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":null}} - -[2025-02-13 20:40:26.599272] [notice] Logging level set to:debug -[2025-02-13 20:40:26.746048] [debug] valor el evento recibido por webhook: service.edit - -[2025-02-13 20:40:26.746125] [debug] Valor de JSON: {"uuid":"147a11a1-795c-463c-9118-7c3214c8bcd7","changeType":"edit","entity":"service","entityId":"131","eventName":"service.edit","extraData":{"entity":{"id":131,"prepaid":false,"clientId":146,"status":1,"name":"Basico 300","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-13T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-13T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"bc4103e6-5550-462c-84df-f279b498f6ff","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":{"id":131,"prepaid":false,"clientId":146,"status":1,"name":"Basico 300","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-13T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-13T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"bc4103e6-5550-462c-84df-f279b498f6ff","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}} - -[2025-02-13 20:40:34.215504] [notice] Logging level set to:debug -[2025-02-13 20:40:34.368252] [debug] valor el evento recibido por webhook: invoice.add - -[2025-02-13 20:40:34.368311] [debug] Valor de JSON: {"uuid":"1651e3be-491f-4e55-b81d-7f54ef3a7abe","changeType":"insert","entity":"invoice","entityId":"1554","eventName":"invoice.add","extraData":{"entity":{"id":1554,"clientId":146,"number":"001518","createdDate":"2025-02-13T14:40:25-0600","dueDate":"2025-02-27T14:40:25-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-13T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1557,"type":"product","label":"EXTENSOR DE SE\u00d1AL","price":500,"quantity":1,"total":500,"unit":"1","tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":3,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"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":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-13 20:40:34.368441] [debug] Adición de Factura - -[2025-02-13 20:40:34.368485] [debug] datos del notification para el invoice add:{"uuid":"1651e3be-491f-4e55-b81d-7f54ef3a7abe","changeType":"insert","entity":"invoice","entityId":1554,"message":null,"clientId":146,"eventName":"invoice.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"4188897415","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true}],"accountBalance":-500,"accountCredit":0,"accountOutstanding":500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1554,"clientId":146,"number":"001518","createdDate":"2025-02-13T14:40:25-0600","dueDate":"2025-02-27T14:40:25-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-13T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1557,"type":"product","label":"EXTENSOR DE SE\u00d1AL","price":500,"quantity":1,"total":500,"unit":"1","tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":3,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"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":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-13 20:40:34.368505] [debug] Account Balance: -500 - -[2025-02-13 20:40:34.368513] [debug] Pago hecho con la factura: 0 - -[2025-02-13 20:40:34.368555] [debug] {"uuid":"1651e3be-491f-4e55-b81d-7f54ef3a7abe","changeType":"insert","entity":"invoice","entityId":1554,"message":null,"clientId":146,"eventName":"invoice.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"4188897415","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true}],"accountBalance":-500,"accountCredit":0,"accountOutstanding":500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1554,"clientId":146,"number":"001518","createdDate":"2025-02-13T14:40:25-0600","dueDate":"2025-02-27T14:40:25-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-13T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1557,"type":"product","label":"EXTENSOR DE SE\u00d1AL","price":500,"quantity":1,"total":500,"unit":"1","tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":3,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"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":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-13 20:40:34.368624] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-13 20:40:34.368638] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-02-13 20:40:34.368685] [info] Se proceso los contactos - -[2025-02-13 20:40:34.368925] [info] Se actualizara el correo del cliente en Stripe: mariscoselsietemares@gmail.com - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Delfino De los Mares - -UUID: - -JSON con los datos a actualizar: {"name":"Delfino De los Mares","custom_fields":{"Cliente":146,"Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Delfino De los Mares","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/146","Saldo Actual":"\ud83d\udcb2500 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"146\",\"Domicilio\": \"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Delfino De los Mares\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2500 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 \",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 13\/02\/2025 20:40 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/02\/2025 14:40\",\"Clabe Interbancaria\": \"002180695453333629\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/02\/2025 20:40 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/02\/2025 14:40","Clabe Interbancaria":"002180695453333629"}} - -Response Patch CallBell: - -[2025-02-13 20:41:14.358325] [notice] Logging level set to:debug -[2025-02-13 20:41:14.494227] [debug] valor el evento recibido por webhook: invoice.add - -[2025-02-13 20:41:14.494381] [debug] Valor de JSON: {"uuid":"541cc7e3-bb47-4ece-be38-1bde9c1d9842","changeType":"insert","entity":"invoice","entityId":"1555","eventName":"invoice.add","extraData":{"entity":{"id":1555,"clientId":146,"number":"001519","createdDate":"2025-02-13T14:40:45-0600","dueDate":"2025-02-27T14:40:45-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-13T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1558,"type":"service","label":"Basico 300 13\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":0.53333333333333,"total":159.999999999999,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":131,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":160,"discount":null,"discountLabel":"Descuento","taxes":[],"total":160,"amountPaid":0,"totalUntaxed":160,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":160,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-13 20:41:14.494610] [debug] Adición de Factura - -[2025-02-13 20:41:14.494693] [debug] datos del notification para el invoice add:{"uuid":"541cc7e3-bb47-4ece-be38-1bde9c1d9842","changeType":"insert","entity":"invoice","entityId":1555,"message":null,"clientId":146,"eventName":"invoice.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"4188897415","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true}],"accountBalance":-660,"accountCredit":0,"accountOutstanding":660,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1555,"clientId":146,"number":"001519","createdDate":"2025-02-13T14:40:45-0600","dueDate":"2025-02-27T14:40:45-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-13T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1558,"type":"service","label":"Basico 300 13\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":0.53333333333333,"total":160,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":131,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":160,"discount":null,"discountLabel":"Descuento","taxes":[],"total":160,"amountPaid":0,"totalUntaxed":160,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":160,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-13 20:41:14.494743] [debug] Account Balance: -660 - -[2025-02-13 20:41:14.494776] [debug] Pago hecho con la factura: 0 - -[2025-02-13 20:41:14.494843] [debug] {"uuid":"541cc7e3-bb47-4ece-be38-1bde9c1d9842","changeType":"insert","entity":"invoice","entityId":1555,"message":null,"clientId":146,"eventName":"invoice.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"4188897415","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true}],"accountBalance":-660,"accountCredit":0,"accountOutstanding":660,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1555,"clientId":146,"number":"001519","createdDate":"2025-02-13T14:40:45-0600","dueDate":"2025-02-27T14:40:45-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-13T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1558,"type":"service","label":"Basico 300 13\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":0.53333333333333,"total":160,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":131,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":160,"discount":null,"discountLabel":"Descuento","taxes":[],"total":160,"amountPaid":0,"totalUntaxed":160,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":160,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-13 20:41:14.494951] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-13 20:41:14.494990] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-02-13 20:41:14.495062] [info] Se proceso los contactos - -[2025-02-13 20:41:14.495300] [info] Se actualizara el correo del cliente en Stripe: mariscoselsietemares@gmail.com - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Delfino De los Mares - -UUID: - -JSON con los datos a actualizar: {"name":"Delfino De los Mares","custom_fields":{"Cliente":146,"Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Delfino De los Mares","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/146","Saldo Actual":"\ud83d\udcb2660 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"146\",\"Domicilio\": \"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Delfino De los Mares\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2660 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 \",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 13\/02\/2025 20:41 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/02\/2025 14:41\",\"Clabe Interbancaria\": \"002180695453333629\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/02\/2025 20:41 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/02\/2025 14:41","Clabe Interbancaria":"002180695453333629"}} - -Response Patch CallBell: - -[2025-02-13 20:41:32.792308] [notice] Logging level set to:debug -[2025-02-13 20:41:32.853852] [error] Error for request http://localhost/crm/api/v1.0/invoices/1555. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-13 20:42:08.941109] [notice] Logging level set to:debug -[2025-02-13 20:42:09.078908] [debug] valor el evento recibido por webhook: invoice.add - -[2025-02-13 20:42:09.078978] [debug] Valor de JSON: {"uuid":"fda2782a-0438-4a75-b58a-3632ec44a4bc","changeType":"insert","entity":"invoice","entityId":"1556","eventName":"invoice.add","extraData":{"entity":{"id":1556,"clientId":146,"number":"001519","createdDate":"2025-02-13T14:41:59-0600","dueDate":"2025-02-27T14:41:59-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-13T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1559,"type":"service","label":"Basico 300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":131,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-13 20:42:09.082377] [debug] Adición de Factura - -[2025-02-13 20:42:09.082504] [debug] datos del notification para el invoice add:{"uuid":"fda2782a-0438-4a75-b58a-3632ec44a4bc","changeType":"insert","entity":"invoice","entityId":1556,"message":null,"clientId":146,"eventName":"invoice.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"4188897415","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true}],"accountBalance":-800,"accountCredit":0,"accountOutstanding":800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1556,"clientId":146,"number":"001519","createdDate":"2025-02-13T14:41:59-0600","dueDate":"2025-02-27T14:41:59-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-13T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1559,"type":"service","label":"Basico 300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":131,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-13 20:42:09.082561] [debug] Account Balance: -800 - -[2025-02-13 20:42:09.082600] [debug] Pago hecho con la factura: 0 - -[2025-02-13 20:42:09.082669] [debug] {"uuid":"fda2782a-0438-4a75-b58a-3632ec44a4bc","changeType":"insert","entity":"invoice","entityId":1556,"message":null,"clientId":146,"eventName":"invoice.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"4188897415","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true}],"accountBalance":-800,"accountCredit":0,"accountOutstanding":800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1556,"clientId":146,"number":"001519","createdDate":"2025-02-13T14:41:59-0600","dueDate":"2025-02-27T14:41:59-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-13T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1559,"type":"service","label":"Basico 300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":131,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-13 20:42:09.082770] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-13 20:42:09.082809] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-02-13 20:42:09.082900] [info] Se proceso los contactos - -[2025-02-13 20:42:09.083165] [info] Se actualizara el correo del cliente en Stripe: mariscoselsietemares@gmail.com - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Delfino De los Mares - -UUID: - -JSON con los datos a actualizar: {"name":"Delfino De los Mares","custom_fields":{"Cliente":146,"Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Delfino De los Mares","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/146","Saldo Actual":"\ud83d\udcb2800 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"146\",\"Domicilio\": \"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Delfino De los Mares\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2800 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 \",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 13\/02\/2025 20:42 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/02\/2025 14:42\",\"Clabe Interbancaria\": \"002180695453333629\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/02\/2025 20:42 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/02\/2025 14:42","Clabe Interbancaria":"002180695453333629"}} - -Response Patch CallBell: - -[2025-02-13 20:44:58.187766] [notice] Logging level set to:debug -[2025-02-13 20:44:58.266786] [debug] valor el evento recibido por webhook: client.edit - -[2025-02-13 20:44:58.266999] [debug] Valor de JSON: {"uuid":"3e95ea1a-4f19-48e8-aab3-644720de509c","changeType":"edit","entity":"client","entityId":"146","eventName":"client.edit","extraData":{"entity":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"4188897415","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true}],"accountBalance":-800,"accountCredit":0,"accountOutstanding":800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":4,"name":"EQUIPO A CREDITO","colorBackground":"#fed74a","colorText":"#444"}],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"4188897415","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true}],"accountBalance":-800,"accountCredit":0,"accountOutstanding":800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-02-13 20:44:58.267258] [debug] Se actualiza a un cliente -[2025-02-13 20:44:58.267340] [debug] Valor de json_data: {"uuid":"3e95ea1a-4f19-48e8-aab3-644720de509c","changeType":"edit","entity":"client","entityId":"146","eventName":"client.edit","extraData":{"entity":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"4188897415","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true}],"accountBalance":-800,"accountCredit":0,"accountOutstanding":800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":4,"name":"EQUIPO A CREDITO","colorBackground":"#fed74a","colorText":"#444"}],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"4188897415","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true}],"accountBalance":-800,"accountCredit":0,"accountOutstanding":800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-02-13 20:44:58.267389] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-13 20:44:58.267426] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-02-13 20:44:58.267468] [debug] No hubo cambio de true a false en el campo isLead -[2025-02-13 20:44:58.267503] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-02-13 20:44:58.267539] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-02-13 20:44:58.267574] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-02-13 20:44:58.267608] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-02-13 20:44:58.267668] [debug] {"uuid":"3e95ea1a-4f19-48e8-aab3-644720de509c","changeType":"edit","entity":"client","entityId":146,"message":null,"clientId":146,"eventName":"client.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"4188897415","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true}],"accountBalance":-800,"accountCredit":0,"accountOutstanding":800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":4,"name":"EQUIPO A CREDITO","colorBackground":"#fed74a","colorText":"#444"}],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-02-13 20:44:58.267761] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-13 20:44:58.267801] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-02-13 20:44:58.267883] [info] Se proceso los contactos - -[2025-02-13 20:44:58.268193] [info] Se actualizara el correo del cliente en Stripe: mariscoselsietemares@gmail.com - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Delfino De los Mares - -UUID: - -JSON con los datos a actualizar: {"name":"Delfino De los Mares","custom_fields":{"Cliente":146,"Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Delfino De los Mares","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/146","Saldo Actual":"\ud83d\udcb2800 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"146\",\"Domicilio\": \"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Delfino De los Mares\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2800 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 \",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 13\/02\/2025 20:44 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/02\/2025 14:44\",\"Clabe Interbancaria\": \"002180695453333629\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/02\/2025 20:44 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/02\/2025 14:44","Clabe Interbancaria":"002180695453333629"}} - -Response Patch CallBell: - -[2025-02-13 20:46:01.678514] [notice] Logging level set to:debug -[2025-02-13 20:46:01.880052] [debug] valor el evento recibido por webhook: invoice.edit - -[2025-02-13 20:46:01.880213] [debug] Valor de JSON: {"uuid":"7330406e-937c-47cb-9911-0e2094dabe8b","changeType":"edit","entity":"invoice","entityId":"1554","eventName":"invoice.edit","extraData":{"entity":{"id":1554,"clientId":146,"number":"001518","createdDate":"2025-02-13T14:40:25-0600","dueDate":"2025-02-27T14:40:25-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-13T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1557,"type":"product","label":"EXTENSOR DE SE\u00d1AL","price":500,"quantity":1,"total":500,"unit":"1","tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":3,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"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":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":true,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":1554,"clientId":146,"number":"001518","createdDate":"2025-02-13T14:40:25-0600","dueDate":"2025-02-27T14:40:25-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-13T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1557,"type":"product","label":"EXTENSOR DE SE\u00d1AL","price":500,"quantity":1,"total":500,"unit":"1","tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":3,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"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":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false}}} - -[2025-02-13 20:46:01.880451] [debug] Edición de Factura - -[2025-02-13 20:46:01.880546] [debug] {"uuid":"7330406e-937c-47cb-9911-0e2094dabe8b","changeType":"edit","entity":"invoice","entityId":1554,"message":null,"clientId":146,"eventName":"invoice.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"4188897415","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true}],"accountBalance":-800,"accountCredit":0,"accountOutstanding":800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":4,"name":"EQUIPO A CREDITO","colorBackground":"#fed74a","colorText":"#444"}],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1554,"clientId":146,"number":"001518","createdDate":"2025-02-13T14:40:25-0600","dueDate":"2025-02-27T14:40:25-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-13T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1557,"type":"product","label":"EXTENSOR DE SE\u00d1AL","price":500,"quantity":1,"total":500,"unit":"1","tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":3,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"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":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":true,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-13 20:46:01.880649] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-13 20:46:01.880690] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-02-13 20:46:01.880763] [info] Se proceso los contactos - -[2025-02-13 20:46:01.881020] [info] Se actualizara el correo del cliente en Stripe: mariscoselsietemares@gmail.com - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Delfino De los Mares - -UUID: - -JSON con los datos a actualizar: {"name":"Delfino De los Mares","custom_fields":{"Cliente":146,"Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Delfino De los Mares","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/146","Saldo Actual":"\ud83d\udcb2800 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"146\",\"Domicilio\": \"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Delfino De los Mares\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2800 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 \",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 13\/02\/2025 20:46 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/02\/2025 14:46\",\"Clabe Interbancaria\": \"002180695453333629\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/02\/2025 20:46 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/02\/2025 14:46","Clabe Interbancaria":"002180695453333629"}} - -Response Patch CallBell: - -[2025-02-13 20:51:02.648117] [notice] Logging level set to:debug -[2025-02-13 20:51:02.693509] [debug] valor el evento recibido por webhook: credit_note.add - -[2025-02-13 20:51:02.693685] [debug] Valor de JSON: {"uuid":"b4a5fadd-c5fe-456a-b935-9af1ff9676ad","changeType":"insert","entity":"creditNote","entityId":"2","eventName":"credit_note.add","extraData":{"entity":{"id":2,"clientId":146,"number":"000001","createdDate":"2024-12-04T14:48:00-0600","emailSentDate":null,"notes":null,"adminNotes":null,"items":[{"id":2,"type":"other","label":"Router","price":-500,"quantity":1,"total":-500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":-500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":-500,"totalUntaxed":-500,"totalDiscount":0,"totalTaxAmount":0,"currencyCode":"MXN","paymentCovers":[],"creditNoteTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800"},"entityBeforeEdit":null}} - -[2025-02-13 20:53:39.660958] [notice] Logging level set to:debug -[2025-02-13 20:53:39.728096] [error] Error for request http://localhost/crm/api/v1.0/invoices/1554. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-13 20:54:27.125020] [notice] Logging level set to:debug -[2025-02-13 20:54:27.154572] [debug] valor el evento recibido por webhook: credit_note.delete - -[2025-02-13 20:54:27.154727] [debug] Valor de JSON: {"uuid":"e3faf56a-d7eb-44eb-8fc0-89080c9c8277","changeType":"delete","entity":"creditNote","entityId":"2","eventName":"credit_note.delete","extraData":{"entity":{"id":2,"clientId":146,"number":"000001","createdDate":"2024-12-04T14:48:00-0600","emailSentDate":null,"notes":null,"adminNotes":null,"items":[{"id":null,"type":"other","label":"Router","price":-500,"quantity":1,"total":-500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":-500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":-500,"totalUntaxed":-500,"totalDiscount":0,"totalTaxAmount":0,"currencyCode":"MXN","paymentCovers":[],"creditNoteTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800"},"entityBeforeEdit":null}} - -[2025-02-13 20:59:35.403563] [notice] Logging level set to:debug -[2025-02-13 20:59:35.430888] [debug] valor el evento recibido por webhook: quote.add - -[2025-02-13 20:59:35.431041] [debug] Valor de JSON: {"uuid":"daaa95a2-61b5-4152-830c-a51134ec1558","changeType":"insert","entity":"quote","entityId":"2","eventName":"quote.add","extraData":{"entity":{"id":2,"clientId":146,"number":"000001","createdDate":"2025-02-13T14:57:58-0600","invoiceId":null,"notes":null,"adminNotes":null,"items":[{"id":2,"type":"product","label":"EXTENSOR DE SE\u00d1AL","price":500,"quantity":1,"total":500,"unit":"1","tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":3,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"currencyCode":"MXN","status":0,"quoteTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","isAppliedVatReverseCharge":false},"entityBeforeEdit":null}} - -[2025-02-13 21:15:21.100086] [notice] Logging level set to:debug -[2025-02-13 21:15:21.238245] [debug] valor el evento recibido por webhook: invoice.add - -[2025-02-13 21:15:21.238395] [debug] Valor de JSON: {"uuid":"40ac1755-e0d6-45e8-8f7b-7c23f19d2245","changeType":"insert","entity":"invoice","entityId":"1557","eventName":"invoice.add","extraData":{"entity":{"id":1557,"clientId":146,"number":"001520","createdDate":"2025-08-13T15:08:00-0600","dueDate":"2025-08-27T15:08:00-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-08-13T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1560,"type":"product","label":"EXTENSOR DE SE\u00d1AL","price":500,"quantity":1,"total":500,"unit":"1","tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":3,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"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":1,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-13 21:15:21.238626] [debug] Adición de Factura - -[2025-02-13 21:15:21.238682] [debug] datos del notification para el invoice add:{"uuid":"40ac1755-e0d6-45e8-8f7b-7c23f19d2245","changeType":"insert","entity":"invoice","entityId":1557,"message":null,"clientId":146,"eventName":"invoice.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"4188897415","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true}],"accountBalance":-800,"accountCredit":0,"accountOutstanding":800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":4,"name":"EQUIPO A CREDITO","colorBackground":"#fed74a","colorText":"#444"}],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1557,"clientId":146,"number":"001520","createdDate":"2025-08-13T15:08:00-0600","dueDate":"2025-08-27T15:08:00-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-08-13T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1560,"type":"product","label":"EXTENSOR DE SE\u00d1AL","price":500,"quantity":1,"total":500,"unit":"1","tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":3,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"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":1,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-13 21:15:21.238709] [debug] Account Balance: -800 - -[2025-02-13 21:15:21.238718] [debug] Pago hecho con la factura: 0 - -[2025-02-13 21:15:21.238759] [debug] {"uuid":"40ac1755-e0d6-45e8-8f7b-7c23f19d2245","changeType":"insert","entity":"invoice","entityId":1557,"message":null,"clientId":146,"eventName":"invoice.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"4188897415","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true}],"accountBalance":-800,"accountCredit":0,"accountOutstanding":800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":4,"name":"EQUIPO A CREDITO","colorBackground":"#fed74a","colorText":"#444"}],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1557,"clientId":146,"number":"001520","createdDate":"2025-08-13T15:08:00-0600","dueDate":"2025-08-27T15:08:00-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-08-13T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1560,"type":"product","label":"EXTENSOR DE SE\u00d1AL","price":500,"quantity":1,"total":500,"unit":"1","tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":3,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"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":1,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-13 21:15:21.238828] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-13 21:15:21.238842] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-02-13 21:15:21.238888] [info] Se proceso los contactos - -[2025-02-13 21:15:21.239120] [info] Se actualizara el correo del cliente en Stripe: mariscoselsietemares@gmail.com - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Delfino De los Mares - -UUID: - -JSON con los datos a actualizar: {"name":"Delfino De los Mares","custom_fields":{"Cliente":146,"Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Delfino De los Mares","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/146","Saldo Actual":"\ud83d\udcb2800 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"146\",\"Domicilio\": \"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Delfino De los Mares\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2800 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 \",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 13\/02\/2025 21:15 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/02\/2025 15:15\",\"Clabe Interbancaria\": \"002180695453333629\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/02\/2025 21:15 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/02\/2025 15:15","Clabe Interbancaria":"002180695453333629"}} - -Response Patch CallBell: - -[2025-02-14 19:10:42.387417] [notice] Logging level set to:debug -[2025-02-14 19:10:42.543971] [debug] valor el evento recibido por webhook: payment.add - -[2025-02-14 19:10:42.544137] [debug] Valor de JSON: {"uuid":"a7c6ccab-3e32-4053-9804-d0f863c67a3f","changeType":"insert","entity":"payment","entityId":"577","eventName":"payment.add","extraData":{"entity":{"id":577,"clientId":1,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:08:45-0600","amount":300,"currencyCode":"MXN","note":"febrero","receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]},"entityBeforeEdit":null}} - -[2025-02-14 19:10:42.544411] [debug] Notification encodificado en JSON:{"uuid":"a7c6ccab-3e32-4053-9804-d0f863c67a3f","changeType":"insert","entity":"payment","entityId":577,"message":null,"clientId":1,"eventName":"payment.add","clientData":{"id":1,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true}],"accountBalance":1480,"accountCredit":1480,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"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":577,"clientId":1,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:08:45-0600","amount":300,"currencyCode":"MXN","note":"febrero","receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]}} - -[2025-02-14 19:10:42.544466] [debug] valor del payment data: {"id":577,"clientId":1,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:08:45-0600","amount":300,"currencyCode":"MXN","note":"febrero","receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]} - -[2025-02-14 19:10:42.544568] [info] {"WhatsApp":["5214181148554"]} -[2025-02-14 19:10:42.544606] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-14 19:10:42.544640] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-02-14 19:10:42.544680] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -Eviando comprobante de pago al cliente: 1 con número: 5214181148554 - -El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Don_Miguel_Ángel_Guerrero_González.pdf - -El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Don_Miguel_Ángel_Guerrero_González.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Don_Miguel_Ángel_Guerrero_González.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Don_Miguel_Ángel_Guerrero_González.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Don_Miguel_Ángel_Guerrero_González.png - -Archivos eliminados - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181148554", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Don_Miguel_Ángel_Guerrero_González.png" - }, - "template_values": ["Don Miguel Ángel Guerrero González", "$300", "$1480 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"2624e14b49694b9b8226724857991559","status":"enqueued"}} -Hay menos de 100 archivos en el directorio. No se eliminarán archivos. - -La notificación fue enviada correctamente con estado: enqueued - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":577,"clientId":1,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:08:45-0600","amount":300,"currencyCode":"MXN","note":"febrero","receiptSentDate":"2025-02-14T13:10:43-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"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":{"Cliente":1,"Domicilio":"\ud83d\udccd Calle Morelos 34, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/1","Saldo Actual":"\ud83d\udcb21480 a favor","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\ud83d\udccd Calle Morelos 34, Dolores Hidalgo, 37800\",\"Nombre\": \"\ud83d\udc64 Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/1\",\"Saldo Actual\": \"\ud83d\udcb21480 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 300\",\"Estado\": \"\ud83d\udd34 Suspendido\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 14\/02\/2025 13:08 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/02\/2025 13:10\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/02\/2025 13:08 con Personalizado \ud83d\udcdd\ud83d\udcb8","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/02\/2025 13:10","Clabe Interbancaria":null}} - -[2025-02-14 19:10:52.535366] [notice] Logging level set to:debug -[2025-02-14 19:10:52.673448] [debug] valor el evento recibido por webhook: payment.add - -[2025-02-14 19:10:52.673584] [debug] Valor de JSON: {"uuid":"902bcecd-dd85-4fd6-ab6e-43b541b9a8e9","changeType":"insert","entity":"payment","entityId":"578","eventName":"payment.add","extraData":{"entity":{"id":578,"clientId":2,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:08:45-0600","amount":300,"currencyCode":"MXN","note":"febrero","receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]},"entityBeforeEdit":null}} - -[2025-02-14 19:10:52.673840] [debug] Notification encodificado en JSON:{"uuid":"902bcecd-dd85-4fd6-ab6e-43b541b9a8e9","changeType":"insert","entity":"payment","entityId":578,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas El may","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":3764,"accountCredit":3764,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":578,"clientId":2,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:08:45-0600","amount":300,"currencyCode":"MXN","note":"febrero","receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]}} - -[2025-02-14 19:10:52.673906] [debug] valor del payment data: {"id":578,"clientId":2,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:08:45-0600","amount":300,"currencyCode":"MXN","note":"febrero","receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]} - -[2025-02-14 19:10:52.673999] [info] {"WhatsApp":["5214181878106","5214181817609"]} -[2025-02-14 19:10:52.674040] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-14 19:10:52.674076] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-02-14 19:10:52.674117] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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_El_may.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_El_may.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_El_may.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_El_may.png - -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-02-14T18:38:10Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https://dash.callbell.eu/chat/f017e454a6b94ab297509274216c6795","tags":["SIIP","Suspendido"],"assignedUser":"mangelgg@gmail.com","customFields":{"URL":"🌐 https://172.16.5.120/crm/client/1","user entry point":"inbound_message","Clientes Relacionados":"oxxo","Cliente":"1","Estado":"🔴 Suspendido","Nombre":"👤 Don Miguel Ángel Guerrero González","Clabe Interbancaria":"124180650741039816","Fecha Ultima Actualizacion":"📆🔄️ 14/02/2025 13:10","Monto Ultimo Pago":"💲 300","Acciones":"1","Fecha Ultimo Pago":"📆💸 14/02/2025 13:08 con Personalizado 📝💸","Domicilio":"📍 Calle Morelos 34, Dolores Hidalgo, 37800","Saldo Actual":"💲1480 a favor","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"📍 Calle Morelos 34, Dolores Hidalgo, 37800\",\"Nombre\": \"👤 Don Miguel Ángel Guerrero González\",\"URL\": \"🌐 https://172.16.5.120/crm/client/1\",\"Saldo Actual\": \"💲1480 a favor\",\"Monto Ultimo Pago\": \"💲 300\",\"Estado\": \"🔴 Suspendido\",\"Fecha Ultimo Pago\": \"📆💰 14/02/2025 13:08 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 14/02/2025 13:10\",\"Clabe Interbancaria\": \"\"}","user name":"Angel"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_El_may.png - -Archivos eliminados - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_El_may.png" - }, - "template_values": ["Daniel Humberto Soto Villegas El may", "$300", "$3764 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"61123d795e2c48d6ad91057629b14caa","status":"enqueued"}} -Hay menos de 100 archivos en el directorio. No se eliminarán archivos. - -La notificación fue enviada correctamente con estado: enqueued - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":578,"clientId":2,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:08:45-0600","amount":300,"currencyCode":"MXN","note":"febrero","receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas El may - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas El may","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas El may","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb23764 a favor","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas El may\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb23764 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 300\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 14\/02\/2025 13:08 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/02\/2025 13:11\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/02\/2025 13:08 con Personalizado \ud83d\udcdd\ud83d\udcb8","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/02\/2025 13:11","Clabe Interbancaria":null}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas El may","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"0021804341999569810","Cliente":"2","user entry point":"inbound_message","Fecha Ultima Actualizacion":"📆🔄️ 14/02/2025 13:11","Estado":"🟢 Activo ","Saldo Actual":"💲3764 a favor","Fecha Ultimo Pago":"📆💸 14/02/2025 13:08 con Personalizado 📝💸","URL":"🌐 https://172.16.5.120/crm/client/2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 300","user name":"Daniel Humberto 🐁","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas El may\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲3764 a favor\",\"Monto Ultimo Pago\": \"💲 300\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 14/02/2025 13:08 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 14/02/2025 13:11\",\"Clabe Interbancaria\": \"\"}","Nombre":"👤 Daniel Humberto Soto Villegas El may"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-14 19:11:02.929796] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -Eviando comprobante de pago al cliente: 2 con número: 5214181817609 - -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_El_may.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_El_may.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_El_may.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_El_may.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_El_may.png - -[2025-02-14 19:11:05.002067] [notice] Logging level set to:debug -[2025-02-14 19:11:05.133275] [debug] valor el evento recibido por webhook: payment.add - -[2025-02-14 19:11:05.133325] [debug] Valor de JSON: {"uuid":"a537b3b8-cfac-4bac-83c4-9c4fd9bba771","changeType":"insert","entity":"payment","entityId":"579","eventName":"payment.add","extraData":{"entity":{"id":579,"clientId":167,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:08:45-0600","amount":300,"currencyCode":"MXN","note":"febrero","receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]},"entityBeforeEdit":null}} - -[2025-02-14 19:11:05.133562] [debug] Notification encodificado en JSON:{"uuid":"a537b3b8-cfac-4bac-83c4-9c4fd9bba771","changeType":"insert","entity":"payment","entityId":579,"message":null,"clientId":167,"eventName":"payment.add","clientData":{"id":167,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":174,"clientId":167,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Rkh9CoRTpjlZUu","clientZoneVisible":true},{"id":175,"clientId":167,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180228993431717","clientZoneVisible":true}],"accountBalance":300,"accountCredit":300,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":579,"clientId":167,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:08:45-0600","amount":300,"currencyCode":"MXN","note":"febrero","receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]}} - -[2025-02-14 19:11:05.133584] [debug] valor del payment data: {"id":579,"clientId":167,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:08:45-0600","amount":300,"currencyCode":"MXN","note":"febrero","receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]} - -[2025-02-14 19:11:05.133649] [info] [] -[2025-02-14 19:11:05.270781] [notice] Logging level set to:debug -[2025-02-14 19:11:05.418355] [debug] valor el evento recibido por webhook: invoice.edit - -[2025-02-14 19:11:05.418638] [debug] Valor de JSON: {"uuid":"5e8d715e-686c-4c12-bd0e-fbf518055814","changeType":"edit","entity":"invoice","entityId":"183","eventName":"invoice.edit","extraData":{"entity":{"id":183,"clientId":71,"number":"000182","createdDate":"2024-02-29T10:00:01-0600","dueDate":"2024-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2024-02-27T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":184,"type":"service","label":"plan300 31\/01\/2024 \u2013 28\/02\/2024","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":300,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":627,"invoiceId":183,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"My Company","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":null,"organizationStreet2":null,"organizationCity":null,"organizationStateId":null,"organizationCountryId":173,"organizationZipCode":null,"organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":183,"clientId":71,"number":"000182","createdDate":"2024-02-29T10:00:01-0600","dueDate":"2024-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2024-02-27T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":184,"type":"service","label":"plan300 31\/01\/2024 \u2013 28\/02\/2024","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":[{"id":627,"invoiceId":183,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"My Company","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":null,"organizationStreet2":null,"organizationCity":null,"organizationStateId":null,"organizationCountryId":173,"organizationZipCode":null,"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}}} - -[2025-02-14 19:11:05.418812] [debug] Edición de Factura - -[2025-02-14 19:11:05.418910] [debug] {"uuid":"5e8d715e-686c-4c12-bd0e-fbf518055814","changeType":"edit","entity":"invoice","entityId":183,"message":null,"clientId":71,"eventName":"invoice.edit","clientData":{"id":71,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MNARIA","lastName":"ALVAREZ","username":"malvarez71","contacts":[{"id":72,"clientId":71,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":300,"accountCredit":300,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4caf50","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":183,"clientId":71,"number":"000182","createdDate":"2024-02-29T10:00:01-0600","dueDate":"2024-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2024-02-27T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":184,"type":"service","label":"plan300 31\/01\/2024 \u2013 28\/02\/2024","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":300,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":627,"invoiceId":183,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"My Company","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":null,"organizationStreet2":null,"organizationCity":null,"organizationStateId":null,"organizationCountryId":173,"organizationZipCode":null,"organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-14 19:11:05.538574] [notice] Logging level set to:debug -[2025-02-14 19:11:05.676403] [debug] valor el evento recibido por webhook: invoice.edit - -[2025-02-14 19:11:05.676476] [debug] Valor de JSON: {"uuid":"b6f1e8f3-1974-49b1-b85e-a0cd0f51aa77","changeType":"edit","entity":"invoice","entityId":"274","eventName":"invoice.edit","extraData":{"entity":{"id":274,"clientId":71,"number":"000273","createdDate":"2024-03-31T10:00:01-0600","dueDate":"2024-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2024-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":275,"type":"service","label":"plan300 29\/02\/2024 \u2013 30\/03\/2024","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":300,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":628,"invoiceId":274,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"My Company","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":null,"organizationStreet2":null,"organizationCity":null,"organizationStateId":null,"organizationCountryId":173,"organizationZipCode":null,"organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":274,"clientId":71,"number":"000273","createdDate":"2024-03-31T10:00:01-0600","dueDate":"2024-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2024-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":275,"type":"service","label":"plan300 29\/02\/2024 \u2013 30\/03\/2024","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":[{"id":628,"invoiceId":274,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"My Company","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":null,"organizationStreet2":null,"organizationCity":null,"organizationStateId":null,"organizationCountryId":173,"organizationZipCode":null,"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}}} - -[2025-02-14 19:11:05.676583] [debug] Edición de Factura - -[2025-02-14 19:11:05.676634] [debug] {"uuid":"b6f1e8f3-1974-49b1-b85e-a0cd0f51aa77","changeType":"edit","entity":"invoice","entityId":274,"message":null,"clientId":71,"eventName":"invoice.edit","clientData":{"id":71,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MNARIA","lastName":"ALVAREZ","username":"malvarez71","contacts":[{"id":72,"clientId":71,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":300,"accountCredit":300,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4caf50","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":274,"clientId":71,"number":"000273","createdDate":"2024-03-31T10:00:01-0600","dueDate":"2024-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2024-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":275,"type":"service","label":"plan300 29\/02\/2024 \u2013 30\/03\/2024","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":300,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":628,"invoiceId":274,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"My Company","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":null,"organizationStreet2":null,"organizationCity":null,"organizationStateId":null,"organizationCountryId":173,"organizationZipCode":null,"organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-14 19:11:05.793127] [notice] Logging level set to:debug -[2025-02-14 19:11:05.925393] [debug] valor el evento recibido por webhook: invoice.edit - -[2025-02-14 19:11:05.925463] [debug] Valor de JSON: {"uuid":"3e39bdcb-177f-4376-ab8f-815b00c8ae48","changeType":"edit","entity":"invoice","entityId":"412","eventName":"invoice.edit","extraData":{"entity":{"id":412,"clientId":71,"number":"000411","createdDate":"2024-04-30T10:00:01-0600","dueDate":"2024-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2024-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":413,"type":"service","label":"plan300 31\/03\/2024 \u2013 29\/04\/2024","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":300,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":629,"invoiceId":412,"paymentId":580,"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":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":412,"clientId":71,"number":"000411","createdDate":"2024-04-30T10:00:01-0600","dueDate":"2024-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2024-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":413,"type":"service","label":"plan300 31\/03\/2024 \u2013 29\/04\/2024","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":[{"id":629,"invoiceId":412,"paymentId":580,"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":"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}}} - -[2025-02-14 19:11:05.925566] [debug] Edición de Factura - -[2025-02-14 19:11:05.925616] [debug] {"uuid":"3e39bdcb-177f-4376-ab8f-815b00c8ae48","changeType":"edit","entity":"invoice","entityId":412,"message":null,"clientId":71,"eventName":"invoice.edit","clientData":{"id":71,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MNARIA","lastName":"ALVAREZ","username":"malvarez71","contacts":[{"id":72,"clientId":71,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":300,"accountCredit":300,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4caf50","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":412,"clientId":71,"number":"000411","createdDate":"2024-04-30T10:00:01-0600","dueDate":"2024-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2024-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":413,"type":"service","label":"plan300 31\/03\/2024 \u2013 29\/04\/2024","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":300,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":629,"invoiceId":412,"paymentId":580,"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":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-14 19:11:06.043138] [notice] Logging level set to:debug -[2025-02-14 19:11:06.180108] [debug] valor el evento recibido por webhook: invoice.edit - -[2025-02-14 19:11:06.180315] [debug] Valor de JSON: {"uuid":"b3882a0b-2435-4757-89e4-0863bd45ab18","changeType":"edit","entity":"invoice","entityId":"537","eventName":"invoice.edit","extraData":{"entity":{"id":537,"clientId":71,"number":"000504","createdDate":"2024-05-31T10:00:02-0600","dueDate":"2024-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2024-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":539,"type":"service","label":"plan300 30\/04\/2024 \u2013 30\/05\/2024","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":300,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":630,"invoiceId":537,"paymentId":580,"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":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":537,"clientId":71,"number":"000504","createdDate":"2024-05-31T10:00:02-0600","dueDate":"2024-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2024-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":539,"type":"service","label":"plan300 30\/04\/2024 \u2013 30\/05\/2024","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":[{"id":630,"invoiceId":537,"paymentId":580,"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":"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}}} - -[2025-02-14 19:11:06.180521] [debug] Edición de Factura - -[2025-02-14 19:11:06.180644] [debug] {"uuid":"b3882a0b-2435-4757-89e4-0863bd45ab18","changeType":"edit","entity":"invoice","entityId":537,"message":null,"clientId":71,"eventName":"invoice.edit","clientData":{"id":71,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MNARIA","lastName":"ALVAREZ","username":"malvarez71","contacts":[{"id":72,"clientId":71,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":300,"accountCredit":300,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4caf50","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":537,"clientId":71,"number":"000504","createdDate":"2024-05-31T10:00:02-0600","dueDate":"2024-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2024-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":539,"type":"service","label":"plan300 30\/04\/2024 \u2013 30\/05\/2024","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":300,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":630,"invoiceId":537,"paymentId":580,"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":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-14 19:11:06.299551] [notice] Logging level set to:debug -[2025-02-14 19:11:06.432065] [debug] valor el evento recibido por webhook: invoice.edit - -[2025-02-14 19:11:06.432137] [debug] Valor de JSON: {"uuid":"503b684a-6b73-400c-bb5e-4bb4c6120497","changeType":"edit","entity":"invoice","entityId":"716","eventName":"invoice.edit","extraData":{"entity":{"id":716,"clientId":71,"number":"000683","createdDate":"2024-06-30T10:00:01-0600","dueDate":"2024-07-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2024-06-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":718,"type":"service","label":"plan300 31\/05\/2024 \u2013 29\/06\/2024","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":300,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":631,"invoiceId":716,"paymentId":580,"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":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":716,"clientId":71,"number":"000683","createdDate":"2024-06-30T10:00:01-0600","dueDate":"2024-07-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2024-06-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":718,"type":"service","label":"plan300 31\/05\/2024 \u2013 29\/06\/2024","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":[{"id":631,"invoiceId":716,"paymentId":580,"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":"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}}} - -[2025-02-14 19:11:06.432244] [debug] Edición de Factura - -[2025-02-14 19:11:06.432296] [debug] {"uuid":"503b684a-6b73-400c-bb5e-4bb4c6120497","changeType":"edit","entity":"invoice","entityId":716,"message":null,"clientId":71,"eventName":"invoice.edit","clientData":{"id":71,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MNARIA","lastName":"ALVAREZ","username":"malvarez71","contacts":[{"id":72,"clientId":71,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":300,"accountCredit":300,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4caf50","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":716,"clientId":71,"number":"000683","createdDate":"2024-06-30T10:00:01-0600","dueDate":"2024-07-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2024-06-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":718,"type":"service","label":"plan300 31\/05\/2024 \u2013 29\/06\/2024","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":300,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":631,"invoiceId":716,"paymentId":580,"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":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-14 19:11:06.547578] [notice] Logging level set to:debug -[2025-02-14 19:11:06.682835] [debug] valor el evento recibido por webhook: invoice.edit - -[2025-02-14 19:11:06.683022] [debug] Valor de JSON: {"uuid":"ae440dac-62f6-4b20-b02c-eb0c033408f8","changeType":"edit","entity":"invoice","entityId":"796","eventName":"invoice.edit","extraData":{"entity":{"id":796,"clientId":71,"number":"000763","createdDate":"2024-07-31T10:00:01-0600","dueDate":"2024-08-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2024-07-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":798,"type":"service","label":"plan300 30\/06\/2024 \u2013 30\/07\/2024","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":300,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":632,"invoiceId":796,"paymentId":580,"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":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":796,"clientId":71,"number":"000763","createdDate":"2024-07-31T10:00:01-0600","dueDate":"2024-08-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2024-07-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":798,"type":"service","label":"plan300 30\/06\/2024 \u2013 30\/07\/2024","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":[{"id":632,"invoiceId":796,"paymentId":580,"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":"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}}} - -[2025-02-14 19:11:06.683193] [debug] Edición de Factura - -[2025-02-14 19:11:06.683299] [debug] {"uuid":"ae440dac-62f6-4b20-b02c-eb0c033408f8","changeType":"edit","entity":"invoice","entityId":796,"message":null,"clientId":71,"eventName":"invoice.edit","clientData":{"id":71,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MNARIA","lastName":"ALVAREZ","username":"malvarez71","contacts":[{"id":72,"clientId":71,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":300,"accountCredit":300,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4caf50","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":796,"clientId":71,"number":"000763","createdDate":"2024-07-31T10:00:01-0600","dueDate":"2024-08-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2024-07-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":798,"type":"service","label":"plan300 30\/06\/2024 \u2013 30\/07\/2024","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":300,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":632,"invoiceId":796,"paymentId":580,"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":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-14 19:11:06.798249] [notice] Logging level set to:debug -[2025-02-14 19:11:06.935832] [debug] valor el evento recibido por webhook: invoice.edit - -[2025-02-14 19:11:06.936022] [debug] Valor de JSON: {"uuid":"963c1c27-da1a-43f9-a6d8-71c93b18a2c0","changeType":"edit","entity":"invoice","entityId":"932","eventName":"invoice.edit","extraData":{"entity":{"id":932,"clientId":71,"number":"000899","createdDate":"2024-08-31T10:00:01-0600","dueDate":"2024-09-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2024-08-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":934,"type":"service","label":"plan300 31\/07\/2024 \u2013 30\/08\/2024","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":300,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":633,"invoiceId":932,"paymentId":580,"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":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":932,"clientId":71,"number":"000899","createdDate":"2024-08-31T10:00:01-0600","dueDate":"2024-09-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2024-08-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":934,"type":"service","label":"plan300 31\/07\/2024 \u2013 30\/08\/2024","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":[{"id":633,"invoiceId":932,"paymentId":580,"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":"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}}} - -[2025-02-14 19:11:06.936165] [debug] Edición de Factura - -[2025-02-14 19:11:06.936239] [debug] {"uuid":"963c1c27-da1a-43f9-a6d8-71c93b18a2c0","changeType":"edit","entity":"invoice","entityId":932,"message":null,"clientId":71,"eventName":"invoice.edit","clientData":{"id":71,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MNARIA","lastName":"ALVAREZ","username":"malvarez71","contacts":[{"id":72,"clientId":71,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":300,"accountCredit":300,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4caf50","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":932,"clientId":71,"number":"000899","createdDate":"2024-08-31T10:00:01-0600","dueDate":"2024-09-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2024-08-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":934,"type":"service","label":"plan300 31\/07\/2024 \u2013 30\/08\/2024","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":300,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":633,"invoiceId":932,"paymentId":580,"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":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-14 19:11:07.052560] [notice] Logging level set to:debug -[2025-02-14 19:11:07.184902] [debug] valor el evento recibido por webhook: invoice.edit - -[2025-02-14 19:11:07.184973] [debug] Valor de JSON: {"uuid":"b10555f7-115e-4beb-8c7c-6ab0429164e8","changeType":"edit","entity":"invoice","entityId":"1054","eventName":"invoice.edit","extraData":{"entity":{"id":1054,"clientId":71,"number":"001019","createdDate":"2024-09-30T10:00:02-0600","dueDate":"2024-10-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2024-09-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1056,"type":"service","label":"plan300 31\/08\/2024 \u2013 29\/09\/2024","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":300,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":634,"invoiceId":1054,"paymentId":580,"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":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":1054,"clientId":71,"number":"001019","createdDate":"2024-09-30T10:00:02-0600","dueDate":"2024-10-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2024-09-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1056,"type":"service","label":"plan300 31\/08\/2024 \u2013 29\/09\/2024","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":[{"id":634,"invoiceId":1054,"paymentId":580,"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":"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}}} - -[2025-02-14 19:11:07.185082] [debug] Edición de Factura - -[2025-02-14 19:11:07.185132] [debug] {"uuid":"b10555f7-115e-4beb-8c7c-6ab0429164e8","changeType":"edit","entity":"invoice","entityId":1054,"message":null,"clientId":71,"eventName":"invoice.edit","clientData":{"id":71,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MNARIA","lastName":"ALVAREZ","username":"malvarez71","contacts":[{"id":72,"clientId":71,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":300,"accountCredit":300,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4caf50","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1054,"clientId":71,"number":"001019","createdDate":"2024-09-30T10:00:02-0600","dueDate":"2024-10-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2024-09-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1056,"type":"service","label":"plan300 31\/08\/2024 \u2013 29\/09\/2024","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":300,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":634,"invoiceId":1054,"paymentId":580,"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":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-14 19:11:07.301906] [notice] Logging level set to:debug -[2025-02-14 19:11:07.443999] [debug] valor el evento recibido por webhook: invoice.edit - -[2025-02-14 19:11:07.444204] [debug] Valor de JSON: {"uuid":"d767742f-c1e5-45e5-a64c-057312b6380d","changeType":"edit","entity":"invoice","entityId":"1148","eventName":"invoice.edit","extraData":{"entity":{"id":1148,"clientId":71,"number":"001112","createdDate":"2024-10-31T10:00:02-0600","dueDate":"2024-11-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2024-10-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1150,"type":"service","label":"plan300 30\/09\/2024 \u2013 30\/10\/2024","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":300,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":635,"invoiceId":1148,"paymentId":580,"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":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":1148,"clientId":71,"number":"001112","createdDate":"2024-10-31T10:00:02-0600","dueDate":"2024-11-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2024-10-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1150,"type":"service","label":"plan300 30\/09\/2024 \u2013 30\/10\/2024","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":[{"id":635,"invoiceId":1148,"paymentId":580,"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":"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}}} - -[2025-02-14 19:11:07.444359] [debug] Edición de Factura - -[2025-02-14 19:11:07.444439] [debug] {"uuid":"d767742f-c1e5-45e5-a64c-057312b6380d","changeType":"edit","entity":"invoice","entityId":1148,"message":null,"clientId":71,"eventName":"invoice.edit","clientData":{"id":71,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MNARIA","lastName":"ALVAREZ","username":"malvarez71","contacts":[{"id":72,"clientId":71,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":300,"accountCredit":300,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4caf50","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1148,"clientId":71,"number":"001112","createdDate":"2024-10-31T10:00:02-0600","dueDate":"2024-11-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2024-10-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1150,"type":"service","label":"plan300 30\/09\/2024 \u2013 30\/10\/2024","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":300,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":635,"invoiceId":1148,"paymentId":580,"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":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-14 19:11:07.558651] [notice] Logging level set to:debug -[2025-02-14 19:11:07.671698] [debug] valor el evento recibido por webhook: payment.edit - -[2025-02-14 19:11:07.671904] [debug] Valor de JSON: {"uuid":"f90a971b-3508-4db0-af2f-f509bc9e8406","changeType":"edit","entity":"payment","entityId":"577","eventName":"payment.edit","extraData":{"entity":{"id":577,"clientId":1,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:08:45-0600","amount":300,"currencyCode":"MXN","note":"febrero","receiptSentDate":"2025-02-14T13:10:43-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]},"entityBeforeEdit":{"id":577,"clientId":1,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:08:45-0600","amount":300,"currencyCode":"MXN","note":"febrero","receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]}}} - -[2025-02-14 19:11:07.788347] [notice] Logging level set to:debug -[2025-02-14 19:11:07.926913] [debug] valor el evento recibido por webhook: invoice.edit - -[2025-02-14 19:11:07.927119] [debug] Valor de JSON: {"uuid":"56fa0648-fe82-4ae5-a6c1-3102031e0c6c","changeType":"edit","entity":"invoice","entityId":"1209","eventName":"invoice.edit","extraData":{"entity":{"id":1209,"clientId":71,"number":"001173","createdDate":"2024-11-30T10:00:01-0600","dueDate":"2024-12-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2024-11-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1211,"type":"service","label":"plan300 31\/10\/2024 \u2013 29\/11\/2024","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":300,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":636,"invoiceId":1209,"paymentId":580,"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":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":1209,"clientId":71,"number":"001173","createdDate":"2024-11-30T10:00:01-0600","dueDate":"2024-12-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2024-11-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1211,"type":"service","label":"plan300 31\/10\/2024 \u2013 29\/11\/2024","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":[{"id":636,"invoiceId":1209,"paymentId":580,"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":"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}}} - -[2025-02-14 19:11:07.927258] [debug] Edición de Factura - -[2025-02-14 19:11:07.927347] [debug] {"uuid":"56fa0648-fe82-4ae5-a6c1-3102031e0c6c","changeType":"edit","entity":"invoice","entityId":1209,"message":null,"clientId":71,"eventName":"invoice.edit","clientData":{"id":71,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MNARIA","lastName":"ALVAREZ","username":"malvarez71","contacts":[{"id":72,"clientId":71,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":300,"accountCredit":300,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4caf50","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1209,"clientId":71,"number":"001173","createdDate":"2024-11-30T10:00:01-0600","dueDate":"2024-12-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2024-11-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1211,"type":"service","label":"plan300 31\/10\/2024 \u2013 29\/11\/2024","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":300,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":636,"invoiceId":1209,"paymentId":580,"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":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-14 19:11:08.042639] [notice] Logging level set to:debug -[2025-02-14 19:11:08.207107] [debug] valor el evento recibido por webhook: invoice.edit - -[2025-02-14 19:11:08.207182] [debug] Valor de JSON: {"uuid":"dd014857-5fa7-4ee4-91a6-980d586415d5","changeType":"edit","entity":"invoice","entityId":"1392","eventName":"invoice.edit","extraData":{"entity":{"id":1392,"clientId":71,"number":"001356","createdDate":"2024-12-31T10:00:01-0600","dueDate":"2025-01-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2024-12-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1395,"type":"service","label":"plan300 30\/11\/2024 \u2013 30\/12\/2024","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":300,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":637,"invoiceId":1392,"paymentId":580,"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":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":1392,"clientId":71,"number":"001356","createdDate":"2024-12-31T10:00:01-0600","dueDate":"2025-01-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2024-12-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1395,"type":"service","label":"plan300 30\/11\/2024 \u2013 30\/12\/2024","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":[{"id":637,"invoiceId":1392,"paymentId":580,"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":"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}}} - -[2025-02-14 19:11:08.207288] [debug] Edición de Factura - -[2025-02-14 19:11:08.207335] [debug] {"uuid":"dd014857-5fa7-4ee4-91a6-980d586415d5","changeType":"edit","entity":"invoice","entityId":1392,"message":null,"clientId":71,"eventName":"invoice.edit","clientData":{"id":71,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MNARIA","lastName":"ALVAREZ","username":"malvarez71","contacts":[{"id":72,"clientId":71,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":300,"accountCredit":300,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4caf50","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1392,"clientId":71,"number":"001356","createdDate":"2024-12-31T10:00:01-0600","dueDate":"2025-01-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2024-12-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1395,"type":"service","label":"plan300 30\/11\/2024 \u2013 30\/12\/2024","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":300,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":637,"invoiceId":1392,"paymentId":580,"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":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-14 19:11:08.324158] [notice] Logging level set to:debug -[2025-02-14 19:11:08.456114] [debug] valor el evento recibido por webhook: invoice.edit - -[2025-02-14 19:11:08.456187] [debug] Valor de JSON: {"uuid":"c9001b9b-8d3f-49a5-adfe-51bff8b51dcb","changeType":"edit","entity":"invoice","entityId":"1514","eventName":"invoice.edit","extraData":{"entity":{"id":1514,"clientId":71,"number":"001478","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1517,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":70,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":300,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":638,"invoiceId":1514,"paymentId":580,"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":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":1514,"clientId":71,"number":"001478","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1517,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":70,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[{"id":638,"invoiceId":1514,"paymentId":580,"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":"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}}} - -[2025-02-14 19:11:08.456291] [debug] Edición de Factura - -[2025-02-14 19:11:08.456342] [debug] {"uuid":"c9001b9b-8d3f-49a5-adfe-51bff8b51dcb","changeType":"edit","entity":"invoice","entityId":1514,"message":null,"clientId":71,"eventName":"invoice.edit","clientData":{"id":71,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MNARIA","lastName":"ALVAREZ","username":"malvarez71","contacts":[{"id":72,"clientId":71,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":300,"accountCredit":300,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4caf50","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1514,"clientId":71,"number":"001478","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1517,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":70,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":300,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":638,"invoiceId":1514,"paymentId":580,"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":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-14 19:11:08.572793] [notice] Logging level set to:debug -[2025-02-14 19:11:08.687155] [debug] valor el evento recibido por webhook: payment.add - -[2025-02-14 19:11:08.687217] [debug] Valor de JSON: {"uuid":"bc4dd62f-4ccf-4ea0-9bca-6fd81071c08b","changeType":"insert","entity":"payment","entityId":"580","eventName":"payment.add","extraData":{"entity":{"id":580,"clientId":71,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:08:45-0600","amount":3600,"currencyCode":"MXN","note":"febrero","receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":627,"invoiceId":183,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":628,"invoiceId":274,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":629,"invoiceId":412,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":630,"invoiceId":537,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":631,"invoiceId":716,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":632,"invoiceId":796,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":633,"invoiceId":932,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":634,"invoiceId":1054,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":635,"invoiceId":1148,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":636,"invoiceId":1209,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":637,"invoiceId":1392,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":638,"invoiceId":1514,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1015,"attributes":[]},"entityBeforeEdit":null}} - -[2025-02-14 19:11:08.687352] [debug] Notification encodificado en JSON:{"uuid":"bc4dd62f-4ccf-4ea0-9bca-6fd81071c08b","changeType":"insert","entity":"payment","entityId":580,"message":null,"clientId":71,"eventName":"payment.add","clientData":{"id":71,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MNARIA","lastName":"ALVAREZ","username":"malvarez71","contacts":[{"id":72,"clientId":71,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":300,"accountCredit":300,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4caf50","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":580,"clientId":71,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:08:45-0600","amount":3600,"currencyCode":"MXN","note":"febrero","receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":627,"invoiceId":183,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":628,"invoiceId":274,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":629,"invoiceId":412,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":630,"invoiceId":537,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":631,"invoiceId":716,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":632,"invoiceId":796,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":633,"invoiceId":932,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":634,"invoiceId":1054,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":635,"invoiceId":1148,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":636,"invoiceId":1209,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":637,"invoiceId":1392,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":638,"invoiceId":1514,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1015,"attributes":[]}} - -[2025-02-14 19:11:08.687381] [debug] valor del payment data: {"id":580,"clientId":71,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:08:45-0600","amount":3600,"currencyCode":"MXN","note":"febrero","receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":627,"invoiceId":183,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":628,"invoiceId":274,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":629,"invoiceId":412,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":630,"invoiceId":537,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":631,"invoiceId":716,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":632,"invoiceId":796,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":633,"invoiceId":932,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":634,"invoiceId":1054,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":635,"invoiceId":1148,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":636,"invoiceId":1209,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":637,"invoiceId":1392,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":638,"invoiceId":1514,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1015,"attributes":[]} - -[2025-02-14 19:11:08.687449] [info] [] -[2025-02-14 19:11:08.796303] [notice] Logging level set to:debug -[2025-02-14 19:11:08.900995] [debug] valor el evento recibido por webhook: payment.add - -[2025-02-14 19:11:08.901045] [debug] Valor de JSON: {"uuid":"21fb7c8b-5ee6-46d1-b0d0-59f078d64e15","changeType":"insert","entity":"payment","entityId":"581","eventName":"payment.add","extraData":{"entity":{"id":581,"clientId":71,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:08:45-0600","amount":300,"currencyCode":"MXN","note":"febrero","receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]},"entityBeforeEdit":null}} - -[2025-02-14 19:11:08.901160] [debug] Notification encodificado en JSON:{"uuid":"21fb7c8b-5ee6-46d1-b0d0-59f078d64e15","changeType":"insert","entity":"payment","entityId":581,"message":null,"clientId":71,"eventName":"payment.add","clientData":{"id":71,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MNARIA","lastName":"ALVAREZ","username":"malvarez71","contacts":[{"id":72,"clientId":71,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":300,"accountCredit":300,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4caf50","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":581,"clientId":71,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:08:45-0600","amount":300,"currencyCode":"MXN","note":"febrero","receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]}} - -[2025-02-14 19:11:08.901187] [debug] valor del payment data: {"id":581,"clientId":71,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:08:45-0600","amount":300,"currencyCode":"MXN","note":"febrero","receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]} - -[2025-02-14 19:11:08.901216] [info] [] -[2025-02-14 19:11:09.016593] [notice] Logging level set to:debug -[2025-02-14 19:11:09.124777] [debug] valor el evento recibido por webhook: payment.edit - -[2025-02-14 19:11:09.124835] [debug] Valor de JSON: {"uuid":"bf860c16-c2fa-4684-8bb4-54c23af945e7","changeType":"edit","entity":"payment","entityId":"578","eventName":"payment.edit","extraData":{"entity":{"id":578,"clientId":2,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:08:45-0600","amount":300,"currencyCode":"MXN","note":"febrero","receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]},"entityBeforeEdit":{"id":578,"clientId":2,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:08:45-0600","amount":300,"currencyCode":"MXN","note":"febrero","receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]}}} - -[2025-02-14 19:11:09.240345] [notice] Logging level set to:debug -[2025-02-14 19:11:09.353712] [debug] valor el evento recibido por webhook: payment.edit - -[2025-02-14 19:11:09.353849] [debug] Valor de JSON: {"uuid":"4f4ad185-dcf5-4962-b276-5f43b2f75b6d","changeType":"edit","entity":"payment","entityId":"579","eventName":"payment.edit","extraData":{"entity":{"id":579,"clientId":167,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:08:45-0600","amount":300,"currencyCode":"MXN","note":"febrero","receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]},"entityBeforeEdit":{"id":579,"clientId":167,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:08:45-0600","amount":300,"currencyCode":"MXN","note":"febrero","receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]}}} - -[2025-02-14 19:11:09.471163] [notice] Logging level set to:debug -[2025-02-14 19:11:09.587640] [debug] valor el evento recibido por webhook: payment.edit - -[2025-02-14 19:11:09.587714] [debug] Valor de JSON: {"uuid":"26195f0a-6d2f-4e79-b443-cb271e4b05e2","changeType":"edit","entity":"payment","entityId":"580","eventName":"payment.edit","extraData":{"entity":{"id":580,"clientId":71,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:08:45-0600","amount":3600,"currencyCode":"MXN","note":"febrero","receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":627,"invoiceId":183,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":628,"invoiceId":274,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":629,"invoiceId":412,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":630,"invoiceId":537,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":631,"invoiceId":716,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":632,"invoiceId":796,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":633,"invoiceId":932,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":634,"invoiceId":1054,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":635,"invoiceId":1148,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":636,"invoiceId":1209,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":637,"invoiceId":1392,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":638,"invoiceId":1514,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1015,"attributes":[]},"entityBeforeEdit":{"id":580,"clientId":71,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:08:45-0600","amount":3600,"currencyCode":"MXN","note":"febrero","receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":627,"invoiceId":183,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":628,"invoiceId":274,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":629,"invoiceId":412,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":630,"invoiceId":537,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":631,"invoiceId":716,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":632,"invoiceId":796,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":633,"invoiceId":932,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":634,"invoiceId":1054,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":635,"invoiceId":1148,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":636,"invoiceId":1209,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":637,"invoiceId":1392,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300},{"id":638,"invoiceId":1514,"paymentId":580,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1015,"attributes":[]}}} - -[2025-02-14 19:11:09.704164] [notice] Logging level set to:debug -[2025-02-14 19:11:09.813863] [debug] valor el evento recibido por webhook: payment.edit - -[2025-02-14 19:11:09.813930] [debug] Valor de JSON: {"uuid":"d4dec9c5-210f-4da8-88e0-95a25a26a5e6","changeType":"edit","entity":"payment","entityId":"581","eventName":"payment.edit","extraData":{"entity":{"id":581,"clientId":71,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:08:45-0600","amount":300,"currencyCode":"MXN","note":"febrero","receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]},"entityBeforeEdit":{"id":581,"clientId":71,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:08:45-0600","amount":300,"currencyCode":"MXN","note":"febrero","receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]}}} - -[2025-02-14 19:11:09.931854] [notice] Logging level set to:debug -[2025-02-14 19:11:10.068185] [debug] valor el evento recibido por webhook: service.suspend_cancel - -[2025-02-14 19:11:10.068259] [debug] Valor de JSON: {"uuid":"5434bb72-8de6-490e-bbc6-f25d8eab1472","changeType":"unsuspend","entity":"service","entityId":"70","eventName":"service.suspend_cancel","extraData":{"entity":{"id":70,"prepaid":false,"clientId":71,"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":"2025-01-30T00:00:00-0600","unmsClientSiteId":"00f355f9-588f-4b69-befa-846a40a42c6a","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":77,"startDate":"2024-03-15T00:00:00-0600","endDate":"2025-02-14T13:10:56-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":70,"prepaid":false,"clientId":71,"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":"2025-01-30T00:00:00-0600","unmsClientSiteId":"00f355f9-588f-4b69-befa-846a40a42c6a","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":77,"startDate":"2024-03-15T00:00:00-0600","endDate":"2025-02-14T13:10:56-0600"}],"surcharges":[]}}} - -[2025-02-14 19:11:10.068376] [debug] Se reactivó el servicio a un cliente - -[2025-02-14 19:11:10.188359] [notice] Logging level set to:debug -Archivos eliminados - -[2025-02-14 19:11:10.321643] [debug] valor el evento recibido por webhook: service.edit - -[2025-02-14 19:11:10.321854] [debug] Valor de JSON: {"uuid":"7cc31855-5db0-49ad-a5eb-58720505b2ee","changeType":"edit","entity":"service","entityId":"70","eventName":"service.edit","extraData":{"entity":{"id":70,"prepaid":false,"clientId":71,"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":"2025-01-30T00:00:00-0600","unmsClientSiteId":"00f355f9-588f-4b69-befa-846a40a42c6a","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":77,"startDate":"2024-03-15T00:00:00-0600","endDate":"2025-02-14T13:10:56-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":70,"prepaid":false,"clientId":71,"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":"2025-01-30T00:00:00-0600","unmsClientSiteId":"00f355f9-588f-4b69-befa-846a40a42c6a","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":77,"startDate":"2024-03-15T00:00:00-0600","endDate":"2025-02-14T13:10:56-0600"}],"surcharges":[]}}} - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181817609", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_El_may.png" - }, - "template_values": ["Daniel Humberto Soto Villegas El may", "$300", "$3764 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"087f184e064e44f6a21969a26464f5d9","status":"enqueued"}} -Hay menos de 100 archivos en el directorio. No se eliminarán archivos. - -La notificación fue enviada correctamente con estado: enqueued - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":578,"clientId":2,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:08:45-0600","amount":300,"currencyCode":"MXN","note":"febrero","receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas El may - -UUID: 2038d2d99ae543f3b56f1ae54f4cc82b - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas El may","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas El may","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb23764 a favor","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas El may\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb23764 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 300\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 14\/02\/2025 13:08 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/02\/2025 13:11\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/02\/2025 13:08 con Personalizado \ud83d\udcdd\ud83d\udcb8","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/02\/2025 13:11","Clabe Interbancaria":null}} - -Response Patch CallBell: {"contact":{"uuid":"2038d2d99ae543f3b56f1ae54f4cc82b","name":"Daniel Humberto Soto Villegas El may","phoneNumber":"5214181817609","avatarUrl":null,"createdAt":"2024-01-26T18:16:09Z","closedAt":"2025-02-13T19:42:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/2038d2d99ae543f3b56f1ae54f4cc82b","conversationHref":"https://dash.callbell.eu/chat/90611886ac204c56a75240f951c53874","tags":[],"assignedUser":null,"customFields":{"Estado":"🟢 Activo ","Nombre":"👤 Daniel Humberto Soto Villegas El may","Cliente":"2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","URL":"🌐 https://172.16.5.120/crm/client/2","Monto Ultimo Pago":"💲 300","Clabe Interbancaria":"0021804341999569810","Fecha Ultima Actualizacion":"📆🔄️ 14/02/2025 13:11","user entry point":"inbound_message","user name":"Grisel","Fecha Ultimo Pago":"📆💸 14/02/2025 13:08 con Personalizado 📝💸","Saldo Actual":"💲3764 a favor","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas El may\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲3764 a favor\",\"Monto Ultimo Pago\": \"💲 300\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 14/02/2025 13:08 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 14/02/2025 13:11\",\"Clabe Interbancaria\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-14 19:13:11.109240] [notice] Logging level set to:debug -[2025-02-14 19:13:11.251657] [debug] valor el evento recibido por webhook: payment.add - -[2025-02-14 19:13:11.251827] [debug] Valor de JSON: {"uuid":"0acc7841-ced4-4119-9b9f-bee295ae4c42","changeType":"insert","entity":"payment","entityId":"582","eventName":"payment.add","extraData":{"entity":{"id":582,"clientId":1,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:12:19-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]},"entityBeforeEdit":null}} - -[2025-02-14 19:13:11.252090] [debug] Notification encodificado en JSON:{"uuid":"0acc7841-ced4-4119-9b9f-bee295ae4c42","changeType":"insert","entity":"payment","entityId":582,"message":null,"clientId":1,"eventName":"payment.add","clientData":{"id":1,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true}],"accountBalance":1780,"accountCredit":1780,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"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":582,"clientId":1,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:12:19-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]}} - -[2025-02-14 19:13:11.252157] [debug] valor del payment data: {"id":582,"clientId":1,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:12:19-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]} - -[2025-02-14 19:13:11.252264] [info] {"WhatsApp":["5214181148554"]} -[2025-02-14 19:13:11.252305] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-14 19:13:11.252341] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-02-14 19:13:11.252382] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -Eviando comprobante de pago al cliente: 1 con número: 5214181148554 - -El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Don_Miguel_Ángel_Guerrero_González.pdf - -El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Don_Miguel_Ángel_Guerrero_González.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Don_Miguel_Ángel_Guerrero_González.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Don_Miguel_Ángel_Guerrero_González.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Don_Miguel_Ángel_Guerrero_González.png - -Archivos eliminados - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181148554", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Don_Miguel_Ángel_Guerrero_González.png" - }, - "template_values": ["Don Miguel Ángel Guerrero González", "$300", "$1780 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"b25cf7f373d242f982d1bedf18210550","status":"enqueued"}} -Hay menos de 100 archivos en el directorio. No se eliminarán archivos. - -La notificación fue enviada correctamente con estado: enqueued - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":582,"clientId":1,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:12:19-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-02-14T13:13:11-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"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":{"Cliente":1,"Domicilio":"\ud83d\udccd Calle Morelos 34, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/1","Saldo Actual":"\ud83d\udcb21780 a favor","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\ud83d\udccd Calle Morelos 34, Dolores Hidalgo, 37800\",\"Nombre\": \"\ud83d\udc64 Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/1\",\"Saldo Actual\": \"\ud83d\udcb21780 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 300\",\"Estado\": \"\ud83d\udd34 Suspendido\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 14\/02\/2025 13:12 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/02\/2025 13:13\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/02\/2025 13:12 con Personalizado \ud83d\udcdd\ud83d\udcb8","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/02\/2025 13:13","Clabe Interbancaria":null}} - -[2025-02-14 19:13:21.236167] [notice] Logging level set to:debug -[2025-02-14 19:13:21.382652] [debug] valor el evento recibido por webhook: payment.add - -[2025-02-14 19:13:21.382930] [debug] Valor de JSON: {"uuid":"53dd6ce2-3a3b-4fb5-856a-947c85fecac8","changeType":"insert","entity":"payment","entityId":"583","eventName":"payment.add","extraData":{"entity":{"id":583,"clientId":167,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:12:19-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]},"entityBeforeEdit":null}} - -[2025-02-14 19:13:21.383248] [debug] Notification encodificado en JSON:{"uuid":"53dd6ce2-3a3b-4fb5-856a-947c85fecac8","changeType":"insert","entity":"payment","entityId":583,"message":null,"clientId":167,"eventName":"payment.add","clientData":{"id":167,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Avenida Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Sur 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-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Javier","lastName":"Alatorre","username":null,"contacts":[{"id":173,"clientId":167,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":174,"clientId":167,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Rkh9CoRTpjlZUu","clientZoneVisible":true},{"id":175,"clientId":167,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180228993431717","clientZoneVisible":true}],"accountBalance":600,"accountCredit":600,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1519382,"addressGpsLon":-100.9371879,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":583,"clientId":167,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:12:19-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]}} - -[2025-02-14 19:13:21.383322] [debug] valor del payment data: {"id":583,"clientId":167,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:12:19-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]} - -[2025-02-14 19:13:21.383419] [info] [] -[2025-02-14 19:13:21.503355] [notice] Logging level set to:debug -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-02-14T18:38:10Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https://dash.callbell.eu/chat/f017e454a6b94ab297509274216c6795","tags":["SIIP","Suspendido"],"assignedUser":"mangelgg@gmail.com","customFields":{"URL":"🌐 https://172.16.5.120/crm/client/1","user entry point":"inbound_message","Clientes Relacionados":"oxxo","Cliente":"1","Estado":"🔴 Suspendido","Nombre":"👤 Don Miguel Ángel Guerrero González","Clabe Interbancaria":"124180650741039816","Fecha Ultima Actualizacion":"📆🔄️ 14/02/2025 13:13","Monto Ultimo Pago":"💲 300","Acciones":"1","Fecha Ultimo Pago":"📆💸 14/02/2025 13:12 con Personalizado 📝💸","Domicilio":"📍 Calle Morelos 34, Dolores Hidalgo, 37800","Saldo Actual":"💲1780 a favor","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"📍 Calle Morelos 34, Dolores Hidalgo, 37800\",\"Nombre\": \"👤 Don Miguel Ángel Guerrero González\",\"URL\": \"🌐 https://172.16.5.120/crm/client/1\",\"Saldo Actual\": \"💲1780 a favor\",\"Monto Ultimo Pago\": \"💲 300\",\"Estado\": \"🔴 Suspendido\",\"Fecha Ultimo Pago\": \"📆💰 14/02/2025 13:12 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 14/02/2025 13:13\",\"Clabe Interbancaria\": \"\"}","user name":"Angel"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-14 19:13:21.679306] [debug] valor el evento recibido por webhook: payment.add - -[2025-02-14 19:13:21.679491] [debug] Valor de JSON: {"uuid":"9f57b06e-9446-46de-877c-8b4b00920c45","changeType":"insert","entity":"payment","entityId":"584","eventName":"payment.add","extraData":{"entity":{"id":584,"clientId":138,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:12:19-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]},"entityBeforeEdit":null}} - -[2025-02-14 19:13:21.679653] [debug] Notification encodificado en JSON:{"uuid":"9f57b06e-9446-46de-877c-8b4b00920c45","changeType":"insert","entity":"payment","entityId":584,"message":null,"clientId":138,"eventName":"payment.add","clientData":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":380,"accountCredit":380,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":584,"clientId":138,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:12:19-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-02-14T13:13:16-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]}} - -[2025-02-14 19:13:21.679712] [debug] valor del payment data: {"id":584,"clientId":138,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:12:19-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-02-14T13:13:16-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]} - -[2025-02-14 19:13:21.679774] [info] {"WhatsApp":["4181878106"]} -[2025-02-14 19:13:21.679811] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-14 19:13:21.679847] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-02-14 19:13:21.679892] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -Eviando comprobante de pago al cliente: 138 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_Mofles_El_Ruco_Lopez.pdf - -El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Mofles_El_Ruco_Lopez.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Mofles_El_Ruco_Lopez.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Mofles_El_Ruco_Lopez.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Mofles_El_Ruco_Lopez.png - -Comprobante eliminado de Wordpress: Comprobante_Manolo_Mendoza.png - -Archivos eliminados - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Mofles_El_Ruco_Lopez.png" - }, - "template_values": ["Mofles El Ruco Lopez", "$300", "$380 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"1ce7aa58e3854ae296611220e9dbc1c5","status":"enqueued"}} -Hay menos de 100 archivos en el directorio. No se eliminarán archivos. - -La notificación fue enviada correctamente con estado: enqueued - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":584,"clientId":138,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:12:19-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-02-14T13:13:16-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]}] - -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":{"Cliente":138,"Domicilio":"\ud83d\udccd Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Mofles El Ruco Lopez","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/138","Saldo Actual":"\ud83d\udcb2380 a favor","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"138\",\"Domicilio\": \"\ud83d\udccd Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Mofles El Ruco Lopez\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/138\",\"Saldo Actual\": \"\ud83d\udcb2380 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 300\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 14\/02\/2025 13:12 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/02\/2025 13:13\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/02\/2025 13:12 con Personalizado \ud83d\udcdd\ud83d\udcb8","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/02\/2025 13:13","Clabe Interbancaria":null}} - -[2025-02-14 19:13:31.627836] [notice] Logging level set to:debug -[2025-02-14 19:13:31.737843] [debug] valor el evento recibido por webhook: payment.edit - -[2025-02-14 19:13:31.737899] [debug] Valor de JSON: {"uuid":"093cb7e4-9922-4cc0-a832-7ceae725041e","changeType":"edit","entity":"payment","entityId":"582","eventName":"payment.edit","extraData":{"entity":{"id":582,"clientId":1,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:12:19-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-02-14T13:13:11-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]},"entityBeforeEdit":{"id":582,"clientId":1,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:12:19-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]}}} - -[2025-02-14 19:13:31.853576] [notice] Logging level set to:debug -[2025-02-14 19:13:31.964539] [debug] valor el evento recibido por webhook: payment.edit - -[2025-02-14 19:13:31.964598] [debug] Valor de JSON: {"uuid":"17e9a24e-8c36-446d-ba52-c94b234c65a4","changeType":"edit","entity":"payment","entityId":"583","eventName":"payment.edit","extraData":{"entity":{"id":583,"clientId":167,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:12:19-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]},"entityBeforeEdit":{"id":583,"clientId":167,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:12:19-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]}}} - -[2025-02-14 19:13:32.083431] [notice] Logging level set to:debug -[2025-02-14 19:13:32.209605] [debug] valor el evento recibido por webhook: payment.edit - -[2025-02-14 19:13:32.209665] [debug] Valor de JSON: {"uuid":"8774045b-b938-4b0e-9266-c32f76c8eaab","changeType":"edit","entity":"payment","entityId":"584","eventName":"payment.edit","extraData":{"entity":{"id":584,"clientId":138,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:12:19-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-02-14T13:13:16-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]},"entityBeforeEdit":{"id":584,"clientId":138,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:12:19-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]}}} - -[2025-02-15 6:25:07.193761] [notice] Logging level set to:debug -[2025-02-15 6:25:07.542880] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:07.542938] [debug] Valor de JSON: {"uuid":"627b5f2a-1154-4d06-b692-27dfc72f3b8e","changeType":"overdue","entity":"invoice","entityId":"1478","eventName":"invoice.overdue","extraData":{"entity":{"id":1478,"clientId":7,"number":"001442","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1481,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":7,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JESUS","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:07.543167] [debug] Factura vencida - -[2025-02-15 6:25:07.543210] [debug] datos del notification para el invoice overdue:{"uuid":"627b5f2a-1154-4d06-b692-27dfc72f3b8e","changeType":"overdue","entity":"invoice","entityId":1478,"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":[],"accountBalance":-3600,"accountCredit":0,"accountOutstanding":3600,"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":1478,"clientId":7,"number":"001442","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1481,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":7,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JESUS","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:07.543236] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:07.543338] [debug] Numero de cel obtenido - -[2025-02-15 6:25:07.543349] [warning] No se encontró un teléfono celular válido para el cliente: 7 -[2025-02-15 6:25:07.787115] [notice] Logging level set to:debug -[2025-02-15 6:25:08.025453] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:08.025506] [debug] Valor de JSON: {"uuid":"3761a721-169a-444f-b7d2-7605db42ce41","changeType":"overdue","entity":"invoice","entityId":"1524","eventName":"invoice.overdue","extraData":{"entity":{"id":1524,"clientId":52,"number":"001488","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1527,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":51,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RODRIGO","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL CARMEN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:08.025600] [debug] Factura vencida - -[2025-02-15 6:25:08.025638] [debug] datos del notification para el invoice overdue:{"uuid":"3761a721-169a-444f-b7d2-7605db42ce41","changeType":"overdue","entity":"invoice","entityId":1524,"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":[],"accountBalance":-3600,"accountCredit":0,"accountOutstanding":3600,"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":1524,"clientId":52,"number":"001488","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1527,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":51,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RODRIGO","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL CARMEN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:08.025659] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:08.025713] [debug] Numero de cel obtenido - -[2025-02-15 6:25:08.025724] [warning] No se encontró un teléfono celular válido para el cliente: 52 -[2025-02-15 6:25:08.158449] [notice] Logging level set to:debug -[2025-02-15 6:25:08.436988] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:08.437046] [debug] Valor de JSON: {"uuid":"0960787c-0bd7-45f1-877e-00f4daf81505","changeType":"overdue","entity":"invoice","entityId":"1453","eventName":"invoice.overdue","extraData":{"entity":{"id":1453,"clientId":102,"number":"001417","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1456,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":101,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"XX","clientLastName":"XX","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:08.437150] [debug] Factura vencida - -[2025-02-15 6:25:08.437186] [debug] datos del notification para el invoice overdue:{"uuid":"0960787c-0bd7-45f1-877e-00f4daf81505","changeType":"overdue","entity":"invoice","entityId":1453,"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":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1453,"clientId":102,"number":"001417","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1456,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":101,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"XX","clientLastName":"XX","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:08.437203] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:08.437257] [debug] Numero de cel obtenido - -[2025-02-15 6:25:08.437268] [warning] No se encontró un teléfono celular válido para el cliente: 102 -[2025-02-15 6:25:08.587085] [notice] Logging level set to:debug -[2025-02-15 6:25:08.860743] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:08.860790] [debug] Valor de JSON: {"uuid":"f5e70454-02c8-42fe-bbaa-40720fdfe417","changeType":"overdue","entity":"invoice","entityId":"1454","eventName":"invoice.overdue","extraData":{"entity":{"id":1454,"clientId":33,"number":"001418","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1457,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":32,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURELIA","clientLastName":"BARAJAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA CECILIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:08.860888] [debug] Factura vencida - -[2025-02-15 6:25:08.860924] [debug] datos del notification para el invoice overdue:{"uuid":"f5e70454-02c8-42fe-bbaa-40720fdfe417","changeType":"overdue","entity":"invoice","entityId":1454,"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":[],"accountBalance":-4150,"accountCredit":0,"accountOutstanding":4150,"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":1454,"clientId":33,"number":"001418","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1457,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":32,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURELIA","clientLastName":"BARAJAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA CECILIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:08.860945] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:08.860999] [debug] Numero de cel obtenido - -[2025-02-15 6:25:08.861008] [warning] No se encontró un teléfono celular válido para el cliente: 33 -[2025-02-15 6:25:08.980653] [notice] Logging level set to:debug -[2025-02-15 6:25:09.265474] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:09.265527] [debug] Valor de JSON: {"uuid":"b9574f0b-815b-47a1-ba39-7f8b69c07a26","changeType":"overdue","entity":"invoice","entityId":"1455","eventName":"invoice.overdue","extraData":{"entity":{"id":1455,"clientId":18,"number":"001419","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1458,"type":"service","label":"PREMIUM 31\/12\/2024 \u2013 30\/01\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":17,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"INGRID","clientLastName":"CORONADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:09.265635] [debug] Factura vencida - -[2025-02-15 6:25:09.265672] [debug] datos del notification para el invoice overdue:{"uuid":"b9574f0b-815b-47a1-ba39-7f8b69c07a26","changeType":"overdue","entity":"invoice","entityId":1455,"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":[],"accountBalance":-9100,"accountCredit":0,"accountOutstanding":9100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#039be5","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1455,"clientId":18,"number":"001419","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1458,"type":"service","label":"PREMIUM 31\/12\/2024 \u2013 30\/01\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":17,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"INGRID","clientLastName":"CORONADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:09.265688] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:09.265743] [debug] Numero de cel obtenido - -[2025-02-15 6:25:09.265753] [warning] No se encontró un teléfono celular válido para el cliente: 18 -[2025-02-15 6:25:09.385755] [notice] Logging level set to:debug -[2025-02-15 6:25:09.625483] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:09.625534] [debug] Valor de JSON: {"uuid":"aeed2a18-4d33-4381-97ee-8f2edcec8b84","changeType":"overdue","entity":"invoice","entityId":"1456","eventName":"invoice.overdue","extraData":{"entity":{"id":1456,"clientId":61,"number":"001420","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1459,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":60,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LUIS","clientLastName":"AGULAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:09.625627] [debug] Factura vencida - -[2025-02-15 6:25:09.625663] [debug] datos del notification para el invoice overdue:{"uuid":"aeed2a18-4d33-4381-97ee-8f2edcec8b84","changeType":"overdue","entity":"invoice","entityId":1456,"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":[],"accountBalance":-3600,"accountCredit":0,"accountOutstanding":3600,"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":1456,"clientId":61,"number":"001420","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1459,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":60,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LUIS","clientLastName":"AGULAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:09.625683] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:09.625734] [debug] Numero de cel obtenido - -[2025-02-15 6:25:09.625745] [warning] No se encontró un teléfono celular válido para el cliente: 61 -[2025-02-15 6:25:09.744227] [notice] Logging level set to:debug -[2025-02-15 6:25:09.973197] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:09.973251] [debug] Valor de JSON: {"uuid":"cff48aec-ac64-4f68-93c4-a44a207e44ff","changeType":"overdue","entity":"invoice","entityId":"1457","eventName":"invoice.overdue","extraData":{"entity":{"id":1457,"clientId":53,"number":"001421","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1460,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":52,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONIO","clientLastName":"CHAVEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:09.973355] [debug] Factura vencida - -[2025-02-15 6:25:09.973392] [debug] datos del notification para el invoice overdue:{"uuid":"cff48aec-ac64-4f68-93c4-a44a207e44ff","changeType":"overdue","entity":"invoice","entityId":1457,"message":null,"clientId":53,"eventName":"invoice.overdue","clientData":{"id":53,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA VENTA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA VENTA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANTONIO","lastName":"CHAVEZ","username":"achavez53","contacts":[{"id":54,"clientId":53,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3600,"accountCredit":0,"accountOutstanding":3600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1197222,"addressGpsLon":-100.7872222,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1457,"clientId":53,"number":"001421","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1460,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":52,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONIO","clientLastName":"CHAVEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:09.973403] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:09.973460] [debug] Numero de cel obtenido - -[2025-02-15 6:25:09.973472] [warning] No se encontró un teléfono celular válido para el cliente: 53 -[2025-02-15 6:25:10.091969] [notice] Logging level set to:debug -[2025-02-15 6:25:10.387654] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:10.387706] [debug] Valor de JSON: {"uuid":"da50ccb5-1ce1-4735-a80e-425227502f3d","changeType":"overdue","entity":"invoice","entityId":"1458","eventName":"invoice.overdue","extraData":{"entity":{"id":1458,"clientId":24,"number":"001422","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1461,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":23,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JACIEL","clientLastName":"CERVANTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTO NI\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:10.387809] [debug] Factura vencida - -[2025-02-15 6:25:10.387842] [debug] datos del notification para el invoice overdue:{"uuid":"da50ccb5-1ce1-4735-a80e-425227502f3d","changeType":"overdue","entity":"invoice","entityId":1458,"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":[],"accountBalance":-3880,"accountCredit":0,"accountOutstanding":3880,"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":1458,"clientId":24,"number":"001422","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1461,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":23,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JACIEL","clientLastName":"CERVANTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTO NI\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:10.387862] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:10.387928] [debug] Numero de cel obtenido - -[2025-02-15 6:25:10.387938] [warning] No se encontró un teléfono celular válido para el cliente: 24 -[2025-02-15 6:25:10.503876] [notice] Logging level set to:debug -[2025-02-15 6:25:10.732903] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:10.732952] [debug] Valor de JSON: {"uuid":"fe34e116-43b7-496e-b997-3b35155d7f31","changeType":"overdue","entity":"invoice","entityId":"1459","eventName":"invoice.overdue","extraData":{"entity":{"id":1459,"clientId":21,"number":"001423","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1462,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":20,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NATALIA","clientLastName":"JUAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:10.733048] [debug] Factura vencida - -[2025-02-15 6:25:10.733083] [debug] datos del notification para el invoice overdue:{"uuid":"fe34e116-43b7-496e-b997-3b35155d7f31","changeType":"overdue","entity":"invoice","entityId":1459,"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":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1459,"clientId":21,"number":"001423","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1462,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":20,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NATALIA","clientLastName":"JUAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:10.733097] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -contac vacio -[2025-02-15 6:25:10.733186] [debug] Numero de cel obtenido - -[2025-02-15 6:25:10.733201] [warning] No se encontró un teléfono celular válido para el cliente: 21 -[2025-02-15 6:25:10.846782] [notice] Logging level set to:debug -[2025-02-15 6:25:11.070522] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:11.070578] [debug] Valor de JSON: {"uuid":"299232bc-6445-4133-8888-10ada84e6437","changeType":"overdue","entity":"invoice","entityId":"1460","eventName":"invoice.overdue","extraData":{"entity":{"id":1460,"clientId":77,"number":"001424","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1463,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":76,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARGARITO","clientLastName":"ESTRADA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:11.070679] [debug] Factura vencida - -[2025-02-15 6:25:11.070719] [debug] datos del notification para el invoice overdue:{"uuid":"299232bc-6445-4133-8888-10ada84e6437","changeType":"overdue","entity":"invoice","entityId":1460,"message":null,"clientId":77,"eventName":"invoice.overdue","clientData":{"id":77,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA VENTILLA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA VENTILLA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARGARITO","lastName":"ESTRADA","username":"mestrada77","contacts":[{"id":78,"clientId":77,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3600,"accountCredit":0,"accountOutstanding":3600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#039be5","addressGpsLat":21.1145736,"addressGpsLon":-100.933729,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1460,"clientId":77,"number":"001424","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1463,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":76,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARGARITO","clientLastName":"ESTRADA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:11.070743] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:11.070797] [debug] Numero de cel obtenido - -[2025-02-15 6:25:11.070808] [warning] No se encontró un teléfono celular válido para el cliente: 77 -[2025-02-15 6:25:11.180197] [notice] Logging level set to:debug -[2025-02-15 6:25:11.430222] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:11.430275] [debug] Valor de JSON: {"uuid":"8866a9e4-9d91-43ec-8fff-f8e2d60d89aa","changeType":"overdue","entity":"invoice","entityId":"1461","eventName":"invoice.overdue","extraData":{"entity":{"id":1461,"clientId":76,"number":"001425","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1464,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":75,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"RANGEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:11.430398] [debug] Factura vencida - -[2025-02-15 6:25:11.430438] [debug] datos del notification para el invoice overdue:{"uuid":"8866a9e4-9d91-43ec-8fff-f8e2d60d89aa","changeType":"overdue","entity":"invoice","entityId":1461,"message":null,"clientId":76,"eventName":"invoice.overdue","clientData":{"id":76,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TRANCAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TRANCAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDGAR","lastName":"RANGEL","username":"erangel76","contacts":[{"id":77,"clientId":76,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3600,"accountCredit":0,"accountOutstanding":3600,"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":1461,"clientId":76,"number":"001425","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1464,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":75,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"RANGEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:11.430449] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:11.430510] [debug] Numero de cel obtenido - -[2025-02-15 6:25:11.430521] [warning] No se encontró un teléfono celular válido para el cliente: 76 -[2025-02-15 6:25:11.546892] [notice] Logging level set to:debug -[2025-02-15 6:25:11.752088] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:11.752142] [debug] Valor de JSON: {"uuid":"86d87bff-6b3e-44c3-8a60-68f4283ffd6c","changeType":"overdue","entity":"invoice","entityId":"1462","eventName":"invoice.overdue","extraData":{"entity":{"id":1462,"clientId":78,"number":"001426","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1465,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":77,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDER","clientLastName":"ROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:11.752235] [debug] Factura vencida - -[2025-02-15 6:25:11.752273] [debug] datos del notification para el invoice overdue:{"uuid":"86d87bff-6b3e-44c3-8a60-68f4283ffd6c","changeType":"overdue","entity":"invoice","entityId":1462,"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":[],"accountBalance":-3600,"accountCredit":0,"accountOutstanding":3600,"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":1462,"clientId":78,"number":"001426","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1465,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":77,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDER","clientLastName":"ROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:11.752295] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:11.752357] [debug] Numero de cel obtenido - -[2025-02-15 6:25:11.752370] [warning] No se encontró un teléfono celular válido para el cliente: 78 -[2025-02-15 6:25:11.865468] [notice] Logging level set to:debug -[2025-02-15 6:25:12.079013] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:12.079065] [debug] Valor de JSON: {"uuid":"0bb69f85-8666-48a5-94ea-8ec5acdc06a2","changeType":"overdue","entity":"invoice","entityId":"1463","eventName":"invoice.overdue","extraData":{"entity":{"id":1463,"clientId":30,"number":"001427","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1466,"type":"service","label":"PREMIUM 31\/12\/2024 \u2013 30\/01\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":29,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUANA","clientLastName":"MONTES DE OCA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:12.079168] [debug] Factura vencida - -[2025-02-15 6:25:12.079205] [debug] datos del notification para el invoice overdue:{"uuid":"0bb69f85-8666-48a5-94ea-8ec5acdc06a2","changeType":"overdue","entity":"invoice","entityId":1463,"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":[],"accountBalance":-9800,"accountCredit":0,"accountOutstanding":9800,"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":1463,"clientId":30,"number":"001427","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1466,"type":"service","label":"PREMIUM 31\/12\/2024 \u2013 30\/01\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":29,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUANA","clientLastName":"MONTES DE OCA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:12.079217] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:12.079271] [debug] Numero de cel obtenido - -[2025-02-15 6:25:12.079281] [warning] No se encontró un teléfono celular válido para el cliente: 30 -[2025-02-15 6:25:12.189436] [notice] Logging level set to:debug -[2025-02-15 6:25:12.406774] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:12.406827] [debug] Valor de JSON: {"uuid":"b5ed0d6e-fd73-4c27-8fa0-7f72ce19efbb","changeType":"overdue","entity":"invoice","entityId":"1464","eventName":"invoice.overdue","extraData":{"entity":{"id":1464,"clientId":49,"number":"001428","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1467,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":48,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"ARGOTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:12.406922] [debug] Factura vencida - -[2025-02-15 6:25:12.406960] [debug] datos del notification para el invoice overdue:{"uuid":"b5ed0d6e-fd73-4c27-8fa0-7f72ce19efbb","changeType":"overdue","entity":"invoice","entityId":1464,"message":null,"clientId":49,"eventName":"invoice.overdue","clientData":{"id":49,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"HUMBERTO","lastName":"ARGOTE","username":"hargote49","contacts":[{"id":50,"clientId":49,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":106,"clientId":49,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1TKNidnkizX4","clientZoneVisible":true},{"id":107,"clientId":49,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"5239864893662909","clientZoneVisible":true}],"accountBalance":-3610,"accountCredit":0,"accountOutstanding":3610,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.0502031,"addressGpsLon":-101.0096832,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1464,"clientId":49,"number":"001428","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1467,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":48,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"ARGOTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:12.406982] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:12.407040] [debug] Numero de cel obtenido - -[2025-02-15 6:25:12.407051] [warning] No se encontró un teléfono celular válido para el cliente: 49 -[2025-02-15 6:25:12.520380] [notice] Logging level set to:debug -[2025-02-15 6:25:12.738444] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:12.738497] [debug] Valor de JSON: {"uuid":"99e6883f-dffd-4cb3-8d9d-c25b7aaea23b","changeType":"overdue","entity":"invoice","entityId":"1465","eventName":"invoice.overdue","extraData":{"entity":{"id":1465,"clientId":63,"number":"001429","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1468,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":62,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONELA","clientLastName":"ROBLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:12.738605] [debug] Factura vencida - -[2025-02-15 6:25:12.738642] [debug] datos del notification para el invoice overdue:{"uuid":"99e6883f-dffd-4cb3-8d9d-c25b7aaea23b","changeType":"overdue","entity":"invoice","entityId":1465,"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":[],"accountBalance":-3600,"accountCredit":0,"accountOutstanding":3600,"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":1465,"clientId":63,"number":"001429","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1468,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":62,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONELA","clientLastName":"ROBLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:12.738656] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:12.738717] [debug] Numero de cel obtenido - -[2025-02-15 6:25:12.738728] [warning] No se encontró un teléfono celular válido para el cliente: 63 -[2025-02-15 6:25:12.851320] [notice] Logging level set to:debug -[2025-02-15 6:25:13.133881] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:13.133930] [debug] Valor de JSON: {"uuid":"587ae5cd-29f4-4634-bfc3-edfb9168b202","changeType":"overdue","entity":"invoice","entityId":"1466","eventName":"invoice.overdue","extraData":{"entity":{"id":1466,"clientId":31,"number":"001430","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1469,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":30,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANA","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SIETE REALES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:13.134021] [debug] Factura vencida - -[2025-02-15 6:25:13.134057] [debug] datos del notification para el invoice overdue:{"uuid":"587ae5cd-29f4-4634-bfc3-edfb9168b202","changeType":"overdue","entity":"invoice","entityId":1466,"message":null,"clientId":31,"eventName":"invoice.overdue","clientData":{"id":31,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SIETE REALES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SIETE REALES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANA","lastName":"CASTILLO","username":"acastillo31","contacts":[{"id":32,"clientId":31,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3580,"accountCredit":0,"accountOutstanding":3580,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4caf50","addressGpsLat":21.2302531,"addressGpsLon":-100.7594666,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1466,"clientId":31,"number":"001430","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1469,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":30,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANA","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SIETE REALES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:13.134077] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:13.134129] [debug] Numero de cel obtenido - -[2025-02-15 6:25:13.134140] [warning] No se encontró un teléfono celular válido para el cliente: 31 -[2025-02-15 6:25:13.251017] [notice] Logging level set to:debug -[2025-02-15 6:25:13.465106] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:13.465159] [debug] Valor de JSON: {"uuid":"98a1eb34-6bc3-4987-a356-3e8d9500478f","changeType":"overdue","entity":"invoice","entityId":"1467","eventName":"invoice.overdue","extraData":{"entity":{"id":1467,"clientId":40,"number":"001431","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1470,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":39,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"PADRON","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RANCHO GUADALUPE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:13.465289] [debug] Factura vencida - -[2025-02-15 6:25:13.465327] [debug] datos del notification para el invoice overdue:{"uuid":"98a1eb34-6bc3-4987-a356-3e8d9500478f","changeType":"overdue","entity":"invoice","entityId":1467,"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":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3610,"accountCredit":0,"accountOutstanding":3610,"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":1467,"clientId":40,"number":"001431","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1470,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":39,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"PADRON","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RANCHO GUADALUPE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:13.465344] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:13.465415] [debug] Numero de cel obtenido - -[2025-02-15 6:25:13.465425] [warning] No se encontró un teléfono celular válido para el cliente: 40 -[2025-02-15 6:25:13.592116] [notice] Logging level set to:debug -[2025-02-15 6:25:13.835196] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:13.835251] [debug] Valor de JSON: {"uuid":"9d63c055-f432-40ed-b688-4adb1171dd5a","changeType":"overdue","entity":"invoice","entityId":"1468","eventName":"invoice.overdue","extraData":{"entity":{"id":1468,"clientId":70,"number":"001432","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1471,"type":"service","label":"PREMIUM 31\/12\/2024 \u2013 30\/01\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":69,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"TRUJILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:13.835350] [debug] Factura vencida - -[2025-02-15 6:25:13.835387] [debug] datos del notification para el invoice overdue:{"uuid":"9d63c055-f432-40ed-b688-4adb1171dd5a","changeType":"overdue","entity":"invoice","entityId":1468,"message":null,"clientId":70,"eventName":"invoice.overdue","clientData":{"id":70,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALBERTO","lastName":"TRUJILLO","username":"atrujillo70","contacts":[{"id":71,"clientId":70,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-8400,"accountCredit":0,"accountOutstanding":8400,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef6c00","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1468,"clientId":70,"number":"001432","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1471,"type":"service","label":"PREMIUM 31\/12\/2024 \u2013 30\/01\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":69,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"TRUJILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:13.835410] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:13.835467] [debug] Numero de cel obtenido - -[2025-02-15 6:25:13.835478] [warning] No se encontró un teléfono celular válido para el cliente: 70 -[2025-02-15 6:25:13.947254] [notice] Logging level set to:debug -[2025-02-15 6:25:14.162609] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:14.162662] [debug] Valor de JSON: {"uuid":"ba5b02c9-2614-4add-a709-06473bf0be74","changeType":"overdue","entity":"invoice","entityId":"1469","eventName":"invoice.overdue","extraData":{"entity":{"id":1469,"clientId":64,"number":"001433","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1472,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":63,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"LANDEROS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:14.162777] [debug] Factura vencida - -[2025-02-15 6:25:14.162817] [debug] datos del notification para el invoice overdue:{"uuid":"ba5b02c9-2614-4add-a709-06473bf0be74","changeType":"overdue","entity":"invoice","entityId":1469,"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":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1469,"clientId":64,"number":"001433","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1472,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":63,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"LANDEROS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:14.162830] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:14.162880] [debug] Numero de cel obtenido - -[2025-02-15 6:25:14.162892] [warning] No se encontró un teléfono celular válido para el cliente: 64 -[2025-02-15 6:25:14.287488] [notice] Logging level set to:debug -[2025-02-15 6:25:14.533557] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:14.533608] [debug] Valor de JSON: {"uuid":"70dfb10d-3d48-4ae3-a118-df2aba62d6a6","changeType":"overdue","entity":"invoice","entityId":"1470","eventName":"invoice.overdue","extraData":{"entity":{"id":1470,"clientId":17,"number":"001434","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1473,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":16,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUAN","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CIENEGUILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:14.533703] [debug] Factura vencida - -[2025-02-15 6:25:14.533739] [debug] datos del notification para el invoice overdue:{"uuid":"70dfb10d-3d48-4ae3-a118-df2aba62d6a6","changeType":"overdue","entity":"invoice","entityId":1470,"message":null,"clientId":17,"eventName":"invoice.overdue","clientData":{"id":17,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"CIENEGUILLA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"CIENEGUILLA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JUAN","lastName":"LOPEZ","username":"jlopez17","contacts":[{"id":18,"clientId":17,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4490,"accountCredit":0,"accountOutstanding":4490,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.0749852,"addressGpsLon":-100.937613,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1470,"clientId":17,"number":"001434","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1473,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":16,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUAN","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CIENEGUILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:14.533761] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:14.533816] [debug] Numero de cel obtenido - -[2025-02-15 6:25:14.533827] [warning] No se encontró un teléfono celular válido para el cliente: 17 -[2025-02-15 6:25:14.646745] [notice] Logging level set to:debug -[2025-02-15 6:25:14.872453] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:14.872508] [debug] Valor de JSON: {"uuid":"a7ad9d76-41c2-422e-aa4b-5b064a9557b2","changeType":"overdue","entity":"invoice","entityId":"1471","eventName":"invoice.overdue","extraData":{"entity":{"id":1471,"clientId":101,"number":"001435","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1474,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":100,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OCTAVIO","clientLastName":"VIDAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ESTA\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:14.872601] [debug] Factura vencida - -[2025-02-15 6:25:14.872713] [debug] datos del notification para el invoice overdue:{"uuid":"a7ad9d76-41c2-422e-aa4b-5b064a9557b2","changeType":"overdue","entity":"invoice","entityId":1471,"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":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1471,"clientId":101,"number":"001435","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1474,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":100,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OCTAVIO","clientLastName":"VIDAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ESTA\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:14.872729] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:14.872788] [debug] Numero de cel obtenido - -[2025-02-15 6:25:14.872800] [warning] No se encontró un teléfono celular válido para el cliente: 101 -[2025-02-15 6:25:14.988646] [notice] Logging level set to:debug -[2025-02-15 6:25:15.232742] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:15.232801] [debug] Valor de JSON: {"uuid":"20440e0b-f641-4756-84d0-53947ae4b2d5","changeType":"overdue","entity":"invoice","entityId":"1472","eventName":"invoice.overdue","extraData":{"entity":{"id":1472,"clientId":51,"number":"001436","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1475,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":50,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"MORENO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PADRE HIDALGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:15.232897] [debug] Factura vencida - -[2025-02-15 6:25:15.232933] [debug] datos del notification para el invoice overdue:{"uuid":"20440e0b-f641-4756-84d0-53947ae4b2d5","changeType":"overdue","entity":"invoice","entityId":1472,"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":[],"accountBalance":-7150,"accountCredit":0,"accountOutstanding":7150,"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":1472,"clientId":51,"number":"001436","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1475,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":50,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"MORENO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PADRE HIDALGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:15.232952] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:15.233005] [debug] Numero de cel obtenido - -[2025-02-15 6:25:15.233015] [warning] No se encontró un teléfono celular válido para el cliente: 51 -[2025-02-15 6:25:15.348243] [notice] Logging level set to:debug -[2025-02-15 6:25:15.580470] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:15.580523] [debug] Valor de JSON: {"uuid":"ae6bb40a-00db-4446-835c-ccb88383630e","changeType":"overdue","entity":"invoice","entityId":"1473","eventName":"invoice.overdue","extraData":{"entity":{"id":1473,"clientId":58,"number":"001437","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1476,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":57,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"DOMINGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MOLINO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:15.580616] [debug] Factura vencida - -[2025-02-15 6:25:15.580653] [debug] datos del notification para el invoice overdue:{"uuid":"ae6bb40a-00db-4446-835c-ccb88383630e","changeType":"overdue","entity":"invoice","entityId":1473,"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":[],"accountBalance":-3600,"accountCredit":0,"accountOutstanding":3600,"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":1473,"clientId":58,"number":"001437","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1476,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":57,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"DOMINGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MOLINO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:15.580676] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:15.580729] [debug] Numero de cel obtenido - -[2025-02-15 6:25:15.580739] [warning] No se encontró un teléfono celular válido para el cliente: 58 -[2025-02-15 6:25:15.695770] [notice] Logging level set to:debug -[2025-02-15 6:25:15.830391] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:15.830446] [debug] Valor de JSON: {"uuid":"837ff805-fd68-41c5-9074-a02ff873f12d","changeType":"overdue","entity":"invoice","entityId":"1474","eventName":"invoice.overdue","extraData":{"entity":{"id":1474,"clientId":8,"number":"001438","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1477,"type":"service","label":"INTERMEDIO 31\/12\/2024 \u2013 30\/01\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":8,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALFREDO","clientLastName":"GUTIERREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:15.830553] [debug] Factura vencida - -[2025-02-15 6:25:15.830615] [debug] datos del notification para el invoice overdue:{"uuid":"837ff805-fd68-41c5-9074-a02ff873f12d","changeType":"overdue","entity":"invoice","entityId":1474,"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":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-6530,"accountCredit":0,"accountOutstanding":6530,"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":1474,"clientId":8,"number":"001438","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1477,"type":"service","label":"INTERMEDIO 31\/12\/2024 \u2013 30\/01\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":8,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALFREDO","clientLastName":"GUTIERREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:15.830634] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:15.830689] [debug] Numero de cel obtenido - -[2025-02-15 6:25:15.830701] [warning] No se encontró un teléfono celular válido para el cliente: 8 -[2025-02-15 6:25:15.940588] [notice] Logging level set to:debug -[2025-02-15 6:25:16.095495] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:16.095549] [debug] Valor de JSON: {"uuid":"fc453ab2-7113-4ef1-9b88-7773c2ca96b9","changeType":"overdue","entity":"invoice","entityId":"1475","eventName":"invoice.overdue","extraData":{"entity":{"id":1475,"clientId":48,"number":"001439","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1478,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":47,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISELA","clientLastName":"AZPEITIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:16.095643] [debug] Factura vencida - -[2025-02-15 6:25:16.095681] [debug] datos del notification para el invoice overdue:{"uuid":"fc453ab2-7113-4ef1-9b88-7773c2ca96b9","changeType":"overdue","entity":"invoice","entityId":1475,"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":104,"clientId":48,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1VUj6JXVCcUu","clientZoneVisible":true},{"id":105,"clientId":48,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"4896043950637164","clientZoneVisible":true}],"accountBalance":-6600,"accountCredit":0,"accountOutstanding":6600,"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":1475,"clientId":48,"number":"001439","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1478,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":47,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISELA","clientLastName":"AZPEITIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:16.095706] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:16.095761] [debug] Numero de cel obtenido - -[2025-02-15 6:25:16.095772] [warning] No se encontró un teléfono celular válido para el cliente: 48 -[2025-02-15 6:25:16.204164] [notice] Logging level set to:debug -[2025-02-15 6:25:16.355139] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:16.355202] [debug] Valor de JSON: {"uuid":"e514ce2b-45e7-45d9-b756-4a99a5b65499","changeType":"overdue","entity":"invoice","entityId":"1476","eventName":"invoice.overdue","extraData":{"entity":{"id":1476,"clientId":94,"number":"001440","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1479,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":93,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARTIN","clientLastName":"TREJO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:16.355315] [debug] Factura vencida - -[2025-02-15 6:25:16.355351] [debug] datos del notification para el invoice overdue:{"uuid":"e514ce2b-45e7-45d9-b756-4a99a5b65499","changeType":"overdue","entity":"invoice","entityId":1476,"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":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1476,"clientId":94,"number":"001440","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1479,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":93,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARTIN","clientLastName":"TREJO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:16.355437] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:16.355513] [debug] Numero de cel obtenido - -[2025-02-15 6:25:16.355525] [warning] No se encontró un teléfono celular válido para el cliente: 94 -[2025-02-15 6:25:16.463443] [notice] Logging level set to:debug -[2025-02-15 6:25:16.604016] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:16.604074] [debug] Valor de JSON: {"uuid":"ad9bc04d-a614-4a55-a671-aeb9acc34261","changeType":"overdue","entity":"invoice","entityId":"1477","eventName":"invoice.overdue","extraData":{"entity":{"id":1477,"clientId":47,"number":"001441","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1480,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":46,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ASRAEL","clientLastName":"PONCE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:16.604170] [debug] Factura vencida - -[2025-02-15 6:25:16.604207] [debug] datos del notification para el invoice overdue:{"uuid":"ad9bc04d-a614-4a55-a671-aeb9acc34261","changeType":"overdue","entity":"invoice","entityId":1477,"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":102,"clientId":47,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1ERR1n4E6GPk","clientZoneVisible":true},{"id":103,"clientId":47,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"8205258963078605","clientZoneVisible":true}],"accountBalance":-3580,"accountCredit":0,"accountOutstanding":3580,"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":1477,"clientId":47,"number":"001441","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1480,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":46,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ASRAEL","clientLastName":"PONCE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:16.604226] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:16.604279] [debug] Numero de cel obtenido - -[2025-02-15 6:25:16.604289] [warning] No se encontró un teléfono celular válido para el cliente: 47 -[2025-02-15 6:25:16.713777] [notice] Logging level set to:debug -[2025-02-15 6:25:16.840972] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:16.841036] [debug] Valor de JSON: {"uuid":"0d192780-6baa-4fec-88cf-6d0b7066a8e5","changeType":"overdue","entity":"invoice","entityId":"1479","eventName":"invoice.overdue","extraData":{"entity":{"id":1479,"clientId":59,"number":"001443","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1482,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":58,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAMSES","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:16.841129] [debug] Factura vencida - -[2025-02-15 6:25:16.841165] [debug] datos del notification para el invoice overdue:{"uuid":"0d192780-6baa-4fec-88cf-6d0b7066a8e5","changeType":"overdue","entity":"invoice","entityId":1479,"message":null,"clientId":59,"eventName":"invoice.overdue","clientData":{"id":59,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"GUSANO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"GUSANO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"RAMSES","lastName":"HERRERA","username":"rherrera59","contacts":[{"id":60,"clientId":59,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1479,"clientId":59,"number":"001443","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1482,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":58,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAMSES","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:16.841181] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:16.841236] [debug] Numero de cel obtenido - -[2025-02-15 6:25:16.841245] [warning] No se encontró un teléfono celular válido para el cliente: 59 -[2025-02-15 6:25:16.950423] [notice] Logging level set to:debug -[2025-02-15 6:25:17.090673] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:17.090727] [debug] Valor de JSON: {"uuid":"fc836872-8160-4792-ac41-f213b2298484","changeType":"overdue","entity":"invoice","entityId":"1480","eventName":"invoice.overdue","extraData":{"entity":{"id":1480,"clientId":43,"number":"001444","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1483,"type":"service","label":"PREMIUM 31\/12\/2024 \u2013 30\/01\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":42,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"VICTORIO","clientLastName":"DIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:17.090821] [debug] Factura vencida - -[2025-02-15 6:25:17.090857] [debug] datos del notification para el invoice overdue:{"uuid":"fc836872-8160-4792-ac41-f213b2298484","changeType":"overdue","entity":"invoice","entityId":1480,"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":[],"accountBalance":-8423.33,"accountCredit":0,"accountOutstanding":8423.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":1480,"clientId":43,"number":"001444","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1483,"type":"service","label":"PREMIUM 31\/12\/2024 \u2013 30\/01\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":42,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"VICTORIO","clientLastName":"DIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:17.090878] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:17.090933] [debug] Numero de cel obtenido - -[2025-02-15 6:25:17.090944] [warning] No se encontró un teléfono celular válido para el cliente: 43 -[2025-02-15 6:25:17.205667] [notice] Logging level set to:debug -[2025-02-15 6:25:17.340054] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:17.340106] [debug] Valor de JSON: {"uuid":"e6b1a3b5-6e9c-4800-add0-be0001647107","changeType":"overdue","entity":"invoice","entityId":"1481","eventName":"invoice.overdue","extraData":{"entity":{"id":1481,"clientId":54,"number":"001445","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1484,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":53,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORETO","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"COLORADO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:17.340209] [debug] Factura vencida - -[2025-02-15 6:25:17.340245] [debug] datos del notification para el invoice overdue:{"uuid":"e6b1a3b5-6e9c-4800-add0-be0001647107","changeType":"overdue","entity":"invoice","entityId":1481,"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":[],"accountBalance":-3600,"accountCredit":0,"accountOutstanding":3600,"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":1481,"clientId":54,"number":"001445","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1484,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":53,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORETO","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"COLORADO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:17.340262] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:17.340317] [debug] Numero de cel obtenido - -[2025-02-15 6:25:17.340327] [warning] No se encontró un teléfono celular válido para el cliente: 54 -[2025-02-15 6:25:17.452603] [notice] Logging level set to:debug -[2025-02-15 6:25:17.602864] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:17.602917] [debug] Valor de JSON: {"uuid":"321a3335-27ba-4726-a2d3-a0e0400565c9","changeType":"overdue","entity":"invoice","entityId":"1482","eventName":"invoice.overdue","extraData":{"entity":{"id":1482,"clientId":38,"number":"001446","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1485,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":37,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGELICA","clientLastName":"ROMAN","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:17.605984] [debug] Factura vencida - -[2025-02-15 6:25:17.606044] [debug] datos del notification para el invoice overdue:{"uuid":"321a3335-27ba-4726-a2d3-a0e0400565c9","changeType":"overdue","entity":"invoice","entityId":1482,"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":[],"accountBalance":-3610,"accountCredit":0,"accountOutstanding":3610,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.22987,"addressGpsLon":-101.0648115,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1482,"clientId":38,"number":"001446","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1485,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":37,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGELICA","clientLastName":"ROMAN","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:17.606070] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:17.606149] [debug] Numero de cel obtenido - -[2025-02-15 6:25:17.606162] [warning] No se encontró un teléfono celular válido para el cliente: 38 -[2025-02-15 6:25:17.723397] [notice] Logging level set to:debug -[2025-02-15 6:25:17.861740] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:17.861798] [debug] Valor de JSON: {"uuid":"1de90d05-7965-4414-8bfd-7c5a92a0a93c","changeType":"overdue","entity":"invoice","entityId":"1484","eventName":"invoice.overdue","extraData":{"entity":{"id":1484,"clientId":62,"number":"001448","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1487,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":61,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"BERNAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:17.861896] [debug] Factura vencida - -[2025-02-15 6:25:17.861932] [debug] datos del notification para el invoice overdue:{"uuid":"1de90d05-7965-4414-8bfd-7c5a92a0a93c","changeType":"overdue","entity":"invoice","entityId":1484,"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":[],"accountBalance":-3600,"accountCredit":0,"accountOutstanding":3600,"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":1484,"clientId":62,"number":"001448","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1487,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":61,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"BERNAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:17.861948] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:17.862004] [debug] Numero de cel obtenido - -[2025-02-15 6:25:17.862015] [warning] No se encontró un teléfono celular válido para el cliente: 62 -[2025-02-15 6:25:17.976211] [notice] Logging level set to:debug -[2025-02-15 6:25:18.107716] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:18.107774] [debug] Valor de JSON: {"uuid":"65d5e92b-042d-4c55-b053-9f6e0726d8c9","changeType":"overdue","entity":"invoice","entityId":"1485","eventName":"invoice.overdue","extraData":{"entity":{"id":1485,"clientId":37,"number":"001449","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1488,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":36,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA SOLEDAD","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:18.107877] [debug] Factura vencida - -[2025-02-15 6:25:18.107919] [debug] datos del notification para el invoice overdue:{"uuid":"65d5e92b-042d-4c55-b053-9f6e0726d8c9","changeType":"overdue","entity":"invoice","entityId":1485,"message":null,"clientId":37,"eventName":"invoice.overdue","clientData":{"id":37,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA SOLEDAD","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA SOLEDAD, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANGEL","lastName":"ARVIZU","username":"aarvizu37","contacts":[{"id":38,"clientId":37,"email":null,"phone":"4181818706","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3610,"accountCredit":0,"accountOutstanding":3610,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1485,"clientId":37,"number":"001449","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1488,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":36,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA SOLEDAD","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:18.107945] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:18.108007] [debug] Numero de cel obtenido - -[2025-02-15 6:25:18.108021] [warning] No se encontró un teléfono celular válido para el cliente: 37 -[2025-02-15 6:25:18.221415] [notice] Logging level set to:debug -[2025-02-15 6:25:18.358517] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:18.358577] [debug] Valor de JSON: {"uuid":"40efb181-c2e7-455c-92ae-4304c9ff03a9","changeType":"overdue","entity":"invoice","entityId":"1486","eventName":"invoice.overdue","extraData":{"entity":{"id":1486,"clientId":27,"number":"001450","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1489,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":26,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXIS","clientLastName":"DIAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA RITA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:18.358690] [debug] Factura vencida - -[2025-02-15 6:25:18.358726] [debug] datos del notification para el invoice overdue:{"uuid":"40efb181-c2e7-455c-92ae-4304c9ff03a9","changeType":"overdue","entity":"invoice","entityId":1486,"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":[],"accountBalance":-3610,"accountCredit":0,"accountOutstanding":3610,"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":1486,"clientId":27,"number":"001450","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1489,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":26,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXIS","clientLastName":"DIAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA RITA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:18.358742] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:18.358804] [debug] Numero de cel obtenido - -[2025-02-15 6:25:18.358819] [warning] No se encontró un teléfono celular válido para el cliente: 27 -[2025-02-15 6:25:18.470788] [notice] Logging level set to:debug -[2025-02-15 6:25:18.617958] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:18.618012] [debug] Valor de JSON: {"uuid":"9bba5b5a-1214-4210-929e-aa9238846a5d","changeType":"overdue","entity":"invoice","entityId":"1487","eventName":"invoice.overdue","extraData":{"entity":{"id":1487,"clientId":97,"number":"001451","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1490,"type":"service","label":"INTERMEDIO 31\/12\/2024 \u2013 30\/01\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":96,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"YOLANDA","clientLastName":"CANO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AVILES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:18.618105] [debug] Factura vencida - -[2025-02-15 6:25:18.618140] [debug] datos del notification para el invoice overdue:{"uuid":"9bba5b5a-1214-4210-929e-aa9238846a5d","changeType":"overdue","entity":"invoice","entityId":1487,"message":null,"clientId":97,"eventName":"invoice.overdue","clientData":{"id":97,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS AVILES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS AVILES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"YOLANDA","lastName":"CANO","username":"ycano97","contacts":[{"id":98,"clientId":97,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-6500,"accountCredit":0,"accountOutstanding":6500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.151597,"addressGpsLon":-100.9367183,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1487,"clientId":97,"number":"001451","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1490,"type":"service","label":"INTERMEDIO 31\/12\/2024 \u2013 30\/01\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":96,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"YOLANDA","clientLastName":"CANO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AVILES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:18.618161] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:18.618216] [debug] Numero de cel obtenido - -[2025-02-15 6:25:18.618227] [warning] No se encontró un teléfono celular válido para el cliente: 97 -[2025-02-15 6:25:18.731354] [notice] Logging level set to:debug -[2025-02-15 6:25:18.871424] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:18.871476] [debug] Valor de JSON: {"uuid":"0d7ab2cf-f4ce-4637-937a-5b7b97716b5d","changeType":"overdue","entity":"invoice","entityId":"1488","eventName":"invoice.overdue","extraData":{"entity":{"id":1488,"clientId":67,"number":"001452","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1491,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":66,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TOMAS","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:18.871579] [debug] Factura vencida - -[2025-02-15 6:25:18.871617] [debug] datos del notification para el invoice overdue:{"uuid":"0d7ab2cf-f4ce-4637-937a-5b7b97716b5d","changeType":"overdue","entity":"invoice","entityId":1488,"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":[],"accountBalance":-3600,"accountCredit":0,"accountOutstanding":3600,"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":1488,"clientId":67,"number":"001452","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1491,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":66,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TOMAS","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:18.871634] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:18.871706] [debug] Numero de cel obtenido - -[2025-02-15 6:25:18.871717] [warning] No se encontró un teléfono celular válido para el cliente: 67 -[2025-02-15 6:25:18.980664] [notice] Logging level set to:debug -[2025-02-15 6:25:19.129800] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:19.129853] [debug] Valor de JSON: {"uuid":"762a8f78-29a5-4542-add5-89cf9770dcc0","changeType":"overdue","entity":"invoice","entityId":"1489","eventName":"invoice.overdue","extraData":{"entity":{"id":1489,"clientId":80,"number":"001453","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1492,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":79,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AXEL","clientLastName":"FERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:19.129946] [debug] Factura vencida - -[2025-02-15 6:25:19.129983] [debug] datos del notification para el invoice overdue:{"uuid":"762a8f78-29a5-4542-add5-89cf9770dcc0","changeType":"overdue","entity":"invoice","entityId":1489,"message":null,"clientId":80,"eventName":"invoice.overdue","clientData":{"id":80,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN SEBASTIAN","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN SEBASTIAN, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"AXEL","lastName":"FERNANDEZ","username":"afernandez80","contacts":[{"id":81,"clientId":80,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3600,"accountCredit":0,"accountOutstanding":3600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1489,"clientId":80,"number":"001453","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1492,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":79,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AXEL","clientLastName":"FERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:19.130007] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:19.130062] [debug] Numero de cel obtenido - -[2025-02-15 6:25:19.130073] [warning] No se encontró un teléfono celular válido para el cliente: 80 -[2025-02-15 6:25:19.244534] [notice] Logging level set to:debug -[2025-02-15 6:25:19.375905] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:19.375958] [debug] Valor de JSON: {"uuid":"e6aff896-9aba-45a0-bff5-60d13212c929","changeType":"overdue","entity":"invoice","entityId":"1490","eventName":"invoice.overdue","extraData":{"entity":{"id":1490,"clientId":79,"number":"001454","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1493,"type":"service","label":"INTERMEDIO 31\/12\/2024 \u2013 30\/01\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":78,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"ESPONIZA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:19.376091] [debug] Factura vencida - -[2025-02-15 6:25:19.376128] [debug] datos del notification para el invoice overdue:{"uuid":"e6aff896-9aba-45a0-bff5-60d13212c929","changeType":"overdue","entity":"invoice","entityId":1490,"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":[],"accountBalance":-6000,"accountCredit":0,"accountOutstanding":6000,"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":1490,"clientId":79,"number":"001454","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1493,"type":"service","label":"INTERMEDIO 31\/12\/2024 \u2013 30\/01\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":78,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"ESPONIZA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:19.376147] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:19.376219] [debug] Numero de cel obtenido - -[2025-02-15 6:25:19.376231] [warning] No se encontró un teléfono celular válido para el cliente: 79 -[2025-02-15 6:25:19.492219] [notice] Logging level set to:debug -[2025-02-15 6:25:19.623141] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:19.623192] [debug] Valor de JSON: {"uuid":"f9c9e4a5-f2e5-463c-a775-91723280ce47","changeType":"overdue","entity":"invoice","entityId":"1491","eventName":"invoice.overdue","extraData":{"entity":{"id":1491,"clientId":66,"number":"001455","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1494,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":65,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LAURA","clientLastName":"CRUCES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:19.623281] [debug] Factura vencida - -[2025-02-15 6:25:19.623318] [debug] datos del notification para el invoice overdue:{"uuid":"f9c9e4a5-f2e5-463c-a775-91723280ce47","changeType":"overdue","entity":"invoice","entityId":1491,"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":[],"accountBalance":-3600,"accountCredit":0,"accountOutstanding":3600,"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":1491,"clientId":66,"number":"001455","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1494,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":65,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LAURA","clientLastName":"CRUCES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:19.623338] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:19.623393] [debug] Numero de cel obtenido - -[2025-02-15 6:25:19.623404] [warning] No se encontró un teléfono celular válido para el cliente: 66 -[2025-02-15 6:25:19.737401] [notice] Logging level set to:debug -[2025-02-15 6:25:19.881093] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:19.881155] [debug] Valor de JSON: {"uuid":"6995626d-bebe-4bd5-a4bd-3b693de2aaf7","changeType":"overdue","entity":"invoice","entityId":"1492","eventName":"invoice.overdue","extraData":{"entity":{"id":1492,"clientId":82,"number":"001456","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1495,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":81,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AGUSTINA","clientLastName":"PERICLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:19.881272] [debug] Factura vencida - -[2025-02-15 6:25:19.881315] [debug] datos del notification para el invoice overdue:{"uuid":"6995626d-bebe-4bd5-a4bd-3b693de2aaf7","changeType":"overdue","entity":"invoice","entityId":1492,"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":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1492,"clientId":82,"number":"001456","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1495,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":81,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AGUSTINA","clientLastName":"PERICLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:19.881335] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:19.881397] [debug] Numero de cel obtenido - -[2025-02-15 6:25:19.881409] [warning] No se encontró un teléfono celular válido para el cliente: 82 -[2025-02-15 6:25:19.991864] [notice] Logging level set to:debug -[2025-02-15 6:25:20.123548] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:20.123610] [debug] Valor de JSON: {"uuid":"d84cf4e7-6e7e-404e-8bed-7f1dd88f3ad0","changeType":"overdue","entity":"invoice","entityId":"1493","eventName":"invoice.overdue","extraData":{"entity":{"id":1493,"clientId":39,"number":"001457","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1496,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":38,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FRANCISCO","clientLastName":"BALDERAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PIEDRA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:20.123711] [debug] Factura vencida - -[2025-02-15 6:25:20.123748] [debug] datos del notification para el invoice overdue:{"uuid":"d84cf4e7-6e7e-404e-8bed-7f1dd88f3ad0","changeType":"overdue","entity":"invoice","entityId":1493,"message":null,"clientId":39,"eventName":"invoice.overdue","clientData":{"id":39,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA PIEDRA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA PIEDRA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"FRANCISCO","lastName":"BALDERAS","username":"fbalderas39","contacts":[{"id":40,"clientId":39,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3910,"accountCredit":0,"accountOutstanding":3910,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#546e7a","addressGpsLat":21.2708978,"addressGpsLon":-100.7973281,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1493,"clientId":39,"number":"001457","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1496,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":38,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FRANCISCO","clientLastName":"BALDERAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PIEDRA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:20.123770] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:20.123826] [debug] Numero de cel obtenido - -[2025-02-15 6:25:20.123836] [warning] No se encontró un teléfono celular válido para el cliente: 39 -[2025-02-15 6:25:20.237664] [notice] Logging level set to:debug -[2025-02-15 6:25:20.372725] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:20.372781] [debug] Valor de JSON: {"uuid":"b819cfaf-bdb4-44f6-be10-3b8d3b429ce3","changeType":"overdue","entity":"invoice","entityId":"1494","eventName":"invoice.overdue","extraData":{"entity":{"id":1494,"clientId":26,"number":"001458","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1497,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":25,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SAMANTA","clientLastName":"FUENTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:20.372889] [debug] Factura vencida - -[2025-02-15 6:25:20.372926] [debug] datos del notification para el invoice overdue:{"uuid":"b819cfaf-bdb4-44f6-be10-3b8d3b429ce3","changeType":"overdue","entity":"invoice","entityId":1494,"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":[],"accountBalance":-4480,"accountCredit":0,"accountOutstanding":4480,"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":1494,"clientId":26,"number":"001458","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1497,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":25,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SAMANTA","clientLastName":"FUENTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:20.372944] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:20.372996] [debug] Numero de cel obtenido - -[2025-02-15 6:25:20.373011] [warning] No se encontró un teléfono celular válido para el cliente: 26 -[2025-02-15 6:25:20.485033] [notice] Logging level set to:debug -[2025-02-15 6:25:20.614598] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:20.614650] [debug] Valor de JSON: {"uuid":"d6a8c6bc-42b7-4ba6-940a-a7cec6446f5a","changeType":"overdue","entity":"invoice","entityId":"1495","eventName":"invoice.overdue","extraData":{"entity":{"id":1495,"clientId":14,"number":"001459","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1498,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":14,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDRO","clientLastName":"ARIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:20.614742] [debug] Factura vencida - -[2025-02-15 6:25:20.614779] [debug] datos del notification para el invoice overdue:{"uuid":"d6a8c6bc-42b7-4ba6-940a-a7cec6446f5a","changeType":"overdue","entity":"invoice","entityId":1495,"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":[],"accountBalance":-2400,"accountCredit":0,"accountOutstanding":2400,"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":1495,"clientId":14,"number":"001459","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1498,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":14,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDRO","clientLastName":"ARIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:20.614801] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:20.614854] [debug] Numero de cel obtenido - -[2025-02-15 6:25:20.614866] [warning] No se encontró un teléfono celular válido para el cliente: 14 -[2025-02-15 6:25:20.727777] [notice] Logging level set to:debug -[2025-02-15 6:25:20.870594] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:20.870649] [debug] Valor de JSON: {"uuid":"32496b02-107c-4ac2-92fb-c718c6bd15b5","changeType":"overdue","entity":"invoice","entityId":"1496","eventName":"invoice.overdue","extraData":{"entity":{"id":1496,"clientId":15,"number":"001460","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1499,"type":"service","label":"PREMIUM 31\/12\/2024 \u2013 30\/01\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":15,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"VILLEGAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:20.870754] [debug] Factura vencida - -[2025-02-15 6:25:20.870793] [debug] datos del notification para el invoice overdue:{"uuid":"32496b02-107c-4ac2-92fb-c718c6bd15b5","changeType":"overdue","entity":"invoice","entityId":1496,"message":null,"clientId":15,"eventName":"invoice.overdue","clientData":{"id":15,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDUARDO","lastName":"VILLEGAZ","username":"evillegaz15","contacts":[{"id":16,"clientId":15,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-9800,"accountCredit":0,"accountOutstanding":9800,"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":1496,"clientId":15,"number":"001460","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1499,"type":"service","label":"PREMIUM 31\/12\/2024 \u2013 30\/01\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":15,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"VILLEGAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:20.870814] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:20.870867] [debug] Numero de cel obtenido - -[2025-02-15 6:25:20.870878] [warning] No se encontró un teléfono celular válido para el cliente: 15 -[2025-02-15 6:25:20.983241] [notice] Logging level set to:debug -[2025-02-15 6:25:21.118213] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:21.118271] [debug] Valor de JSON: {"uuid":"ddcef02b-ca7d-479f-9faa-6b98205516d4","changeType":"overdue","entity":"invoice","entityId":"1497","eventName":"invoice.overdue","extraData":{"entity":{"id":1497,"clientId":65,"number":"001461","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1500,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":64,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS MONCADA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:21.118380] [debug] Factura vencida - -[2025-02-15 6:25:21.118418] [debug] datos del notification para el invoice overdue:{"uuid":"ddcef02b-ca7d-479f-9faa-6b98205516d4","changeType":"overdue","entity":"invoice","entityId":1497,"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":[],"accountBalance":-3600,"accountCredit":0,"accountOutstanding":3600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1497,"clientId":65,"number":"001461","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1500,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":64,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS MONCADA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:21.118439] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:21.118494] [debug] Numero de cel obtenido - -[2025-02-15 6:25:21.118505] [warning] No se encontró un teléfono celular válido para el cliente: 65 -[2025-02-15 6:25:21.229717] [notice] Logging level set to:debug -[2025-02-15 6:25:21.362375] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:21.362435] [debug] Valor de JSON: {"uuid":"d9b4194a-53b7-48fa-9681-c3875ec2302f","changeType":"overdue","entity":"invoice","entityId":"1498","eventName":"invoice.overdue","extraData":{"entity":{"id":1498,"clientId":83,"number":"001462","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1501,"type":"service","label":"PREMIUM 31\/12\/2024 \u2013 30\/01\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":82,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"SOLIS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL VERGEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:21.362538] [debug] Factura vencida - -[2025-02-15 6:25:21.362576] [debug] datos del notification para el invoice overdue:{"uuid":"d9b4194a-53b7-48fa-9681-c3875ec2302f","changeType":"overdue","entity":"invoice","entityId":1498,"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":[],"accountBalance":-7800,"accountCredit":0,"accountOutstanding":7800,"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":1498,"clientId":83,"number":"001462","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1501,"type":"service","label":"PREMIUM 31\/12\/2024 \u2013 30\/01\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":82,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"SOLIS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL VERGEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:21.362592] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:21.362644] [debug] Numero de cel obtenido - -[2025-02-15 6:25:21.362656] [warning] No se encontró un teléfono celular válido para el cliente: 83 -[2025-02-15 6:25:21.474939] [notice] Logging level set to:debug -[2025-02-15 6:25:21.621500] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:21.621555] [debug] Valor de JSON: {"uuid":"10c8c92a-d789-49d8-b4b8-d021204ebb5b","changeType":"overdue","entity":"invoice","entityId":"1499","eventName":"invoice.overdue","extraData":{"entity":{"id":1499,"clientId":36,"number":"001463","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1502,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":35,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURORA","clientLastName":"FLORES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:21.621650] [debug] Factura vencida - -[2025-02-15 6:25:21.621687] [debug] datos del notification para el invoice overdue:{"uuid":"10c8c92a-d789-49d8-b4b8-d021204ebb5b","changeType":"overdue","entity":"invoice","entityId":1499,"message":null,"clientId":36,"eventName":"invoice.overdue","clientData":{"id":36,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LAS FLORES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LAS FLORES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"AURORA","lastName":"FLORES","username":"aflores36","contacts":[{"id":37,"clientId":36,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5390,"accountCredit":0,"accountOutstanding":5390,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00695c","addressGpsLat":21.1511969,"addressGpsLon":-100.9132525,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1499,"clientId":36,"number":"001463","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1502,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":35,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURORA","clientLastName":"FLORES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:21.621711] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:21.621767] [debug] Numero de cel obtenido - -[2025-02-15 6:25:21.621778] [warning] No se encontró un teléfono celular válido para el cliente: 36 -[2025-02-15 6:25:21.733835] [notice] Logging level set to:debug -[2025-02-15 6:25:21.859340] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:21.859395] [debug] Valor de JSON: {"uuid":"dbb90f96-1a36-4722-934e-5d6d2e6969e1","changeType":"overdue","entity":"invoice","entityId":"1500","eventName":"invoice.overdue","extraData":{"entity":{"id":1500,"clientId":98,"number":"001464","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1503,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":97,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JULIO","clientLastName":"OLACHIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:21.859522] [debug] Factura vencida - -[2025-02-15 6:25:21.859559] [debug] datos del notification para el invoice overdue:{"uuid":"dbb90f96-1a36-4722-934e-5d6d2e6969e1","changeType":"overdue","entity":"invoice","entityId":1500,"message":null,"clientId":98,"eventName":"invoice.overdue","clientData":{"id":98,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS AGUILAR","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS AGUILAR, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JULIO","lastName":"OLACHIA","username":"jolachia98","contacts":[{"id":99,"clientId":98,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1500,"clientId":98,"number":"001464","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1503,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":97,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JULIO","clientLastName":"OLACHIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:21.859658] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:21.859723] [debug] Numero de cel obtenido - -[2025-02-15 6:25:21.859734] [warning] No se encontró un teléfono celular válido para el cliente: 98 -[2025-02-15 6:25:21.973270] [notice] Logging level set to:debug -[2025-02-15 6:25:22.131979] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:22.132033] [debug] Valor de JSON: {"uuid":"2c50fcad-d6a4-4981-9bc9-32ee11aa2c4a","changeType":"overdue","entity":"invoice","entityId":"1501","eventName":"invoice.overdue","extraData":{"entity":{"id":1501,"clientId":20,"number":"001465","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1504,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":19,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEFANIA","clientLastName":"BUENROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN PABLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:22.132128] [debug] Factura vencida - -[2025-02-15 6:25:22.132165] [debug] datos del notification para el invoice overdue:{"uuid":"2c50fcad-d6a4-4981-9bc9-32ee11aa2c4a","changeType":"overdue","entity":"invoice","entityId":1501,"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":[],"accountBalance":-3580,"accountCredit":0,"accountOutstanding":3580,"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":1501,"clientId":20,"number":"001465","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1504,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":19,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEFANIA","clientLastName":"BUENROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN PABLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:22.132186] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:22.132244] [debug] Numero de cel obtenido - -[2025-02-15 6:25:22.132255] [warning] No se encontró un teléfono celular válido para el cliente: 20 -[2025-02-15 6:25:22.248598] [notice] Logging level set to:debug -[2025-02-15 6:25:22.380562] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:22.380614] [debug] Valor de JSON: {"uuid":"f316c090-6fb1-4d66-a417-77fa81c2c476","changeType":"overdue","entity":"invoice","entityId":"1502","eventName":"invoice.overdue","extraData":{"entity":{"id":1502,"clientId":6,"number":"001466","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1505,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":6,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEJANDRO","clientLastName":"MOCTEZUMA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:22.380742] [debug] Factura vencida - -[2025-02-15 6:25:22.380779] [debug] datos del notification para el invoice overdue:{"uuid":"f316c090-6fb1-4d66-a417-77fa81c2c476","changeType":"overdue","entity":"invoice","entityId":1502,"message":null,"clientId":6,"eventName":"invoice.overdue","clientData":{"id":6,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"ALEJANDRO","lastName":"MOCTEZUMA","username":"amoctezuma06","contacts":[{"id":7,"clientId":6,"email":null,"phone":"5214181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-3580,"accountCredit":0,"accountOutstanding":3580,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574,"addressGpsLon":-100.934617,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1502,"clientId":6,"number":"001466","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1505,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":6,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEJANDRO","clientLastName":"MOCTEZUMA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:22.380796] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:22.380871] [debug] Numero de cel obtenido - -[2025-02-15 6:25:22.380884] [warning] No se encontró un teléfono celular válido para el cliente: 6 -[2025-02-15 6:25:24.796669] [notice] Logging level set to:debug -[2025-02-15 6:25:24.931441] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:24.931502] [debug] Valor de JSON: {"uuid":"2c76556d-7c4d-4a46-bc4b-d6ecfa27c9c6","changeType":"overdue","entity":"invoice","entityId":"1503","eventName":"invoice.overdue","extraData":{"entity":{"id":1503,"clientId":23,"number":"001467","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1506,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":22,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSCAR","clientLastName":"GUERRERO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TABASCO #45, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:24.931596] [debug] Factura vencida - -[2025-02-15 6:25:24.931633] [debug] datos del notification para el invoice overdue:{"uuid":"2c76556d-7c4d-4a46-bc4b-d6ecfa27c9c6","changeType":"overdue","entity":"invoice","entityId":1503,"message":null,"clientId":23,"eventName":"invoice.overdue","clientData":{"id":23,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TABASCO #45, ZONA CENTRO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TABASCO #45, ZONA CENTRO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OSCAR","lastName":"GUERRERO","username":"oguerrero23","contacts":[{"id":24,"clientId":23,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#283593","addressGpsLat":21.1550814,"addressGpsLon":-100.9341575,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1503,"clientId":23,"number":"001467","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1506,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":22,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSCAR","clientLastName":"GUERRERO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TABASCO #45, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:24.931655] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:24.931709] [debug] Numero de cel obtenido - -[2025-02-15 6:25:24.931720] [warning] No se encontró un teléfono celular válido para el cliente: 23 -[2025-02-15 6:25:25.087445] [notice] Logging level set to:debug -[2025-02-15 6:25:25.232039] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:25.232114] [debug] Valor de JSON: {"uuid":"bd527d20-9624-4318-9b74-0d55e17ea71a","changeType":"overdue","entity":"invoice","entityId":"1504","eventName":"invoice.overdue","extraData":{"entity":{"id":1504,"clientId":81,"number":"001468","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1507,"type":"service","label":"PREMIUM 31\/12\/2024 \u2013 30\/01\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":80,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FERNANDO","clientLastName":"ALCAZAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:25.232235] [debug] Factura vencida - -[2025-02-15 6:25:25.232273] [debug] datos del notification para el invoice overdue:{"uuid":"bd527d20-9624-4318-9b74-0d55e17ea71a","changeType":"overdue","entity":"invoice","entityId":1504,"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":[],"accountBalance":-9100,"accountCredit":0,"accountOutstanding":9100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d81b60","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1504,"clientId":81,"number":"001468","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1507,"type":"service","label":"PREMIUM 31\/12\/2024 \u2013 30\/01\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":80,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FERNANDO","clientLastName":"ALCAZAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:25.232290] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:25.232362] [debug] Numero de cel obtenido - -[2025-02-15 6:25:25.232372] [warning] No se encontró un teléfono celular válido para el cliente: 81 -[2025-02-15 6:25:25.346885] [notice] Logging level set to:debug -[2025-02-15 6:25:25.479500] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:25.479554] [debug] Valor de JSON: {"uuid":"507f6717-82fd-4d81-a846-6583518d4190","changeType":"overdue","entity":"invoice","entityId":"1505","eventName":"invoice.overdue","extraData":{"entity":{"id":1505,"clientId":41,"number":"001469","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1508,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":40,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"CUELLAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:25.479644] [debug] Factura vencida - -[2025-02-15 6:25:25.479681] [debug] datos del notification para el invoice overdue:{"uuid":"507f6717-82fd-4d81-a846-6583518d4190","changeType":"overdue","entity":"invoice","entityId":1505,"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":[],"accountBalance":-3610,"accountCredit":0,"accountOutstanding":3610,"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":1505,"clientId":41,"number":"001469","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1508,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":40,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"CUELLAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:25.479702] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:25.479757] [debug] Numero de cel obtenido - -[2025-02-15 6:25:25.479767] [warning] No se encontró un teléfono celular válido para el cliente: 41 -[2025-02-15 6:25:25.593655] [notice] Logging level set to:debug -[2025-02-15 6:25:25.761912] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:25.761966] [debug] Valor de JSON: {"uuid":"1c667b7e-8988-43dd-a00f-cdca4efc126f","changeType":"overdue","entity":"invoice","entityId":"1506","eventName":"invoice.overdue","extraData":{"entity":{"id":1506,"clientId":25,"number":"001470","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1509,"type":"service","label":"PREMIUM 31\/12\/2024 \u2013 30\/01\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":24,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ARIEL","clientLastName":"CORTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL DURAZNO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:25.762074] [debug] Factura vencida - -[2025-02-15 6:25:25.762111] [debug] datos del notification para el invoice overdue:{"uuid":"1c667b7e-8988-43dd-a00f-cdca4efc126f","changeType":"overdue","entity":"invoice","entityId":1506,"message":null,"clientId":25,"eventName":"invoice.overdue","clientData":{"id":25,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL DURAZNO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL DURAZNO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ARIEL","lastName":"CORTES","username":"acortes25","contacts":[{"id":26,"clientId":25,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-11200,"accountCredit":0,"accountOutstanding":11200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1506,"clientId":25,"number":"001470","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1509,"type":"service","label":"PREMIUM 31\/12\/2024 \u2013 30\/01\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":24,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ARIEL","clientLastName":"CORTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL DURAZNO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:25.762129] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:25.762181] [debug] Numero de cel obtenido - -[2025-02-15 6:25:25.762192] [warning] No se encontró un teléfono celular válido para el cliente: 25 -[2025-02-15 6:25:25.871648] [notice] Logging level set to:debug -[2025-02-15 6:25:26.021166] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:26.021224] [debug] Valor de JSON: {"uuid":"3fc6d803-79f8-4f11-95b9-968bf02f1d62","changeType":"overdue","entity":"invoice","entityId":"1507","eventName":"invoice.overdue","extraData":{"entity":{"id":1507,"clientId":46,"number":"001471","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1510,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":45,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISMAEL","clientLastName":"PUGA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:26.021317] [debug] Factura vencida - -[2025-02-15 6:25:26.021354] [debug] datos del notification para el invoice overdue:{"uuid":"3fc6d803-79f8-4f11-95b9-968bf02f1d62","changeType":"overdue","entity":"invoice","entityId":1507,"message":null,"clientId":46,"eventName":"invoice.overdue","clientData":{"id":46,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL ROSILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL ROSILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ISMAEL","lastName":"PUGA","username":"ipuga46","contacts":[{"id":47,"clientId":46,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":100,"clientId":46,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtMzv6GBcULCcTh","clientZoneVisible":true},{"id":101,"clientId":46,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"6881305189499928","clientZoneVisible":true}],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1507,"clientId":46,"number":"001471","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1510,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":45,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISMAEL","clientLastName":"PUGA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:26.021378] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:26.021433] [debug] Numero de cel obtenido - -[2025-02-15 6:25:26.021444] [warning] No se encontró un teléfono celular válido para el cliente: 46 -[2025-02-15 6:25:26.134849] [notice] Logging level set to:debug -[2025-02-15 6:25:26.271344] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:26.271409] [debug] Valor de JSON: {"uuid":"a06afddd-d085-47a1-a1b3-8f969388b906","changeType":"overdue","entity":"invoice","entityId":"1508","eventName":"invoice.overdue","extraData":{"entity":{"id":1508,"clientId":86,"number":"001472","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1511,"type":"service","label":"PREMIUM 31\/12\/2024 \u2013 30\/01\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":85,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PALMITAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:26.271528] [debug] Factura vencida - -[2025-02-15 6:25:26.274329] [debug] datos del notification para el invoice overdue:{"uuid":"a06afddd-d085-47a1-a1b3-8f969388b906","changeType":"overdue","entity":"invoice","entityId":1508,"message":null,"clientId":86,"eventName":"invoice.overdue","clientData":{"id":86,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"PALMITAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"PALMITAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"HUMBERTO","lastName":"CASTILLO","username":"hcastillo86","contacts":[{"id":87,"clientId":86,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5400,"accountCredit":0,"accountOutstanding":5400,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#c62828","addressGpsLat":21.2394677,"addressGpsLon":-100.9803471,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1508,"clientId":86,"number":"001472","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1511,"type":"service","label":"PREMIUM 31\/12\/2024 \u2013 30\/01\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":85,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PALMITAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:26.274377] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:26.274462] [debug] Numero de cel obtenido - -[2025-02-15 6:25:26.274475] [warning] No se encontró un teléfono celular válido para el cliente: 86 -[2025-02-15 6:25:26.389487] [notice] Logging level set to:debug -[2025-02-15 6:25:26.545205] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:26.545264] [debug] Valor de JSON: {"uuid":"f4951e1e-44bc-4d7f-b236-698f3b9c49d7","changeType":"overdue","entity":"invoice","entityId":"1509","eventName":"invoice.overdue","extraData":{"entity":{"id":1509,"clientId":35,"number":"001473","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1512,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":34,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GABRIELA","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CANTERA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:26.545356] [debug] Factura vencida - -[2025-02-15 6:25:26.545409] [debug] datos del notification para el invoice overdue:{"uuid":"f4951e1e-44bc-4d7f-b236-698f3b9c49d7","changeType":"overdue","entity":"invoice","entityId":1509,"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":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1509,"clientId":35,"number":"001473","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1512,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":34,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GABRIELA","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CANTERA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:26.545433] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:26.545486] [debug] Numero de cel obtenido - -[2025-02-15 6:25:26.545497] [warning] No se encontró un teléfono celular válido para el cliente: 35 -[2025-02-15 6:25:26.659172] [notice] Logging level set to:debug -[2025-02-15 6:25:26.823122] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:26.823175] [debug] Valor de JSON: {"uuid":"4d92b4f5-a34e-4207-a032-7595f980f7e7","changeType":"overdue","entity":"invoice","entityId":"1510","eventName":"invoice.overdue","extraData":{"entity":{"id":1510,"clientId":68,"number":"001474","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1513,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":67,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DOLORES","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:26.823273] [debug] Factura vencida - -[2025-02-15 6:25:26.823308] [debug] datos del notification para el invoice overdue:{"uuid":"4d92b4f5-a34e-4207-a032-7595f980f7e7","changeType":"overdue","entity":"invoice","entityId":1510,"message":null,"clientId":68,"eventName":"invoice.overdue","clientData":{"id":68,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DOLORES","lastName":"GARCIA","username":"dgarcia68","contacts":[{"id":69,"clientId":68,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3600,"accountCredit":0,"accountOutstanding":3600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#9e9d24","addressGpsLat":21.2516667,"addressGpsLon":-101.0924998,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1510,"clientId":68,"number":"001474","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1513,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":67,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DOLORES","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:26.823324] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:26.823374] [debug] Numero de cel obtenido - -[2025-02-15 6:25:26.823385] [warning] No se encontró un teléfono celular válido para el cliente: 68 -[2025-02-15 6:25:26.935549] [notice] Logging level set to:debug -[2025-02-15 6:25:27.100059] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:27.100122] [debug] Valor de JSON: {"uuid":"e19de60b-4620-4d31-98f4-96be42da52a9","changeType":"overdue","entity":"invoice","entityId":"1511","eventName":"invoice.overdue","extraData":{"entity":{"id":1511,"clientId":73,"number":"001475","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1514,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":72,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ERICK","clientLastName":"VAZQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:27.100233] [debug] Factura vencida - -[2025-02-15 6:25:27.100281] [debug] datos del notification para el invoice overdue:{"uuid":"e19de60b-4620-4d31-98f4-96be42da52a9","changeType":"overdue","entity":"invoice","entityId":1511,"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":[],"accountBalance":-3600,"accountCredit":0,"accountOutstanding":3600,"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":1511,"clientId":73,"number":"001475","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1514,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":72,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ERICK","clientLastName":"VAZQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:27.100307] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:27.100374] [debug] Numero de cel obtenido - -[2025-02-15 6:25:27.100389] [warning] No se encontró un teléfono celular válido para el cliente: 73 -[2025-02-15 6:25:27.213450] [notice] Logging level set to:debug -[2025-02-15 6:25:27.348839] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:27.348898] [debug] Valor de JSON: {"uuid":"94a4bd33-f12c-425b-b81e-023ed804e054","changeType":"overdue","entity":"invoice","entityId":"1512","eventName":"invoice.overdue","extraData":{"entity":{"id":1512,"clientId":29,"number":"001476","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1515,"type":"service","label":"INTERMEDIO 31\/12\/2024 \u2013 30\/01\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":28,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTELA","clientLastName":"ORTIZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EJIDO DOLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:27.349010] [debug] Factura vencida - -[2025-02-15 6:25:27.349056] [debug] datos del notification para el invoice overdue:{"uuid":"94a4bd33-f12c-425b-b81e-023ed804e054","changeType":"overdue","entity":"invoice","entityId":1512,"message":null,"clientId":29,"eventName":"invoice.overdue","clientData":{"id":29,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EJIDO DOLORES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EJIDO DOLORES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ESTELA","lastName":"ORTIZ","username":"eortiz29","contacts":[{"id":30,"clientId":29,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-6316.67,"accountCredit":0,"accountOutstanding":6316.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1512,"clientId":29,"number":"001476","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1515,"type":"service","label":"INTERMEDIO 31\/12\/2024 \u2013 30\/01\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":28,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTELA","clientLastName":"ORTIZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EJIDO DOLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:27.349076] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:27.349138] [debug] Numero de cel obtenido - -[2025-02-15 6:25:27.349149] [warning] No se encontró un teléfono celular válido para el cliente: 29 -[2025-02-15 6:25:27.461636] [notice] Logging level set to:debug -[2025-02-15 6:25:27.608809] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:27.608865] [debug] Valor de JSON: {"uuid":"c480c759-cff0-475d-b2ba-9c9d4e31dbcc","changeType":"overdue","entity":"invoice","entityId":"1513","eventName":"invoice.overdue","extraData":{"entity":{"id":1513,"clientId":69,"number":"001477","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1516,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":68,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CIRILA","clientLastName":"AVILES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:27.608958] [debug] Factura vencida - -[2025-02-15 6:25:27.608995] [debug] datos del notification para el invoice overdue:{"uuid":"c480c759-cff0-475d-b2ba-9c9d4e31dbcc","changeType":"overdue","entity":"invoice","entityId":1513,"message":null,"clientId":69,"eventName":"invoice.overdue","clientData":{"id":69,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"CIRILA","lastName":"AVILES","username":"caviles69","contacts":[{"id":70,"clientId":69,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3600,"accountCredit":0,"accountOutstanding":3600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#8bc34a","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1513,"clientId":69,"number":"001477","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1516,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":68,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CIRILA","clientLastName":"AVILES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:27.609019] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:27.609071] [debug] Numero de cel obtenido - -[2025-02-15 6:25:27.609081] [warning] No se encontró un teléfono celular válido para el cliente: 69 -[2025-02-15 6:25:27.719436] [notice] Logging level set to:debug -[2025-02-15 6:25:27.846472] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:27.846523] [debug] Valor de JSON: {"uuid":"fd1dfdcb-5156-4e14-b895-b3ee59876ead","changeType":"overdue","entity":"invoice","entityId":"1515","eventName":"invoice.overdue","extraData":{"entity":{"id":1515,"clientId":100,"number":"001479","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1518,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":99,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RENE","clientLastName":"BUSTOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:27.846620] [debug] Factura vencida - -[2025-02-15 6:25:27.846667] [debug] datos del notification para el invoice overdue:{"uuid":"fd1dfdcb-5156-4e14-b895-b3ee59876ead","changeType":"overdue","entity":"invoice","entityId":1515,"message":null,"clientId":100,"eventName":"invoice.overdue","clientData":{"id":100,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"RENE","lastName":"BUSTOS","username":"rbustos00","contacts":[{"id":101,"clientId":100,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#0277bd","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1515,"clientId":100,"number":"001479","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1518,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":99,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RENE","clientLastName":"BUSTOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:27.846683] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:27.846733] [debug] Numero de cel obtenido - -[2025-02-15 6:25:27.846744] [warning] No se encontró un teléfono celular válido para el cliente: 100 -[2025-02-15 6:25:27.956142] [notice] Logging level set to:debug -[2025-02-15 6:25:28.109247] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:28.109364] [debug] Valor de JSON: {"uuid":"479cfe20-63b9-4083-8905-2101d5dfe037","changeType":"overdue","entity":"invoice","entityId":"1516","eventName":"invoice.overdue","extraData":{"entity":{"id":1516,"clientId":84,"number":"001480","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1519,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":83,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ROLANDO","clientLastName":"CALVILLLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:28.109570] [debug] Factura vencida - -[2025-02-15 6:25:28.109672] [debug] datos del notification para el invoice overdue:{"uuid":"479cfe20-63b9-4083-8905-2101d5dfe037","changeType":"overdue","entity":"invoice","entityId":1516,"message":null,"clientId":84,"eventName":"invoice.overdue","clientData":{"id":84,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ROLANDO","lastName":"CALVILLLO","username":"rcalvilllo84","contacts":[{"id":85,"clientId":84,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2196f3","addressGpsLat":21.2516667,"addressGpsLon":-101.0924998,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1516,"clientId":84,"number":"001480","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1519,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":83,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ROLANDO","clientLastName":"CALVILLLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:28.109723] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:28.109863] [debug] Numero de cel obtenido - -[2025-02-15 6:25:28.109894] [warning] No se encontró un teléfono celular válido para el cliente: 84 -[2025-02-15 6:25:28.224378] [notice] Logging level set to:debug -[2025-02-15 6:25:28.350492] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:28.350547] [debug] Valor de JSON: {"uuid":"c0b4641b-abcf-41a9-9379-b2326006a019","changeType":"overdue","entity":"invoice","entityId":"1517","eventName":"invoice.overdue","extraData":{"entity":{"id":1517,"clientId":89,"number":"001481","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1520,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":88,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RIO LAJA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:28.350666] [debug] Factura vencida - -[2025-02-15 6:25:28.350706] [debug] datos del notification para el invoice overdue:{"uuid":"c0b4641b-abcf-41a9-9379-b2326006a019","changeType":"overdue","entity":"invoice","entityId":1517,"message":null,"clientId":89,"eventName":"invoice.overdue","clientData":{"id":89,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"RIO LAJA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"RIO LAJA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"TERESA","lastName":"SANCHEZ","username":"tsanchez89","contacts":[{"id":90,"clientId":89,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3600,"accountCredit":0,"accountOutstanding":3600,"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":1517,"clientId":89,"number":"001481","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1520,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":88,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RIO LAJA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:28.350723] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:28.350789] [debug] Numero de cel obtenido - -[2025-02-15 6:25:28.350800] [warning] No se encontró un teléfono celular válido para el cliente: 89 -[2025-02-15 6:25:28.464816] [notice] Logging level set to:debug -[2025-02-15 6:25:28.602344] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:28.602402] [debug] Valor de JSON: {"uuid":"4594dcc8-4b73-4c92-bbf9-454930b332f8","changeType":"overdue","entity":"invoice","entityId":"1518","eventName":"invoice.overdue","extraData":{"entity":{"id":1518,"clientId":45,"number":"001482","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1521,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":44,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"GRANADOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:28.602499] [debug] Factura vencida - -[2025-02-15 6:25:28.602540] [debug] datos del notification para el invoice overdue:{"uuid":"4594dcc8-4b73-4c92-bbf9-454930b332f8","changeType":"overdue","entity":"invoice","entityId":1518,"message":null,"clientId":45,"eventName":"invoice.overdue","clientData":{"id":45,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALBERTO","lastName":"GRANADOS","username":"agranados45","contacts":[{"id":46,"clientId":45,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":98,"clientId":45,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1E1ePcRAA689","clientZoneVisible":true},{"id":99,"clientId":45,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"9271357829475893","clientZoneVisible":true}],"accountBalance":-3610,"accountCredit":0,"accountOutstanding":3610,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ff9800","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1518,"clientId":45,"number":"001482","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1521,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":44,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"GRANADOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:28.602564] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:28.602618] [debug] Numero de cel obtenido - -[2025-02-15 6:25:28.602631] [warning] No se encontró un teléfono celular válido para el cliente: 45 -[2025-02-15 6:25:28.731432] [notice] Logging level set to:debug -[2025-02-15 6:25:28.883557] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:28.883615] [debug] Valor de JSON: {"uuid":"5c418f03-d706-4952-b8fe-733a038415ab","changeType":"overdue","entity":"invoice","entityId":"1519","eventName":"invoice.overdue","extraData":{"entity":{"id":1519,"clientId":57,"number":"001483","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1522,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":56,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SANDRO","clientLastName":"MARQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:28.883718] [debug] Factura vencida - -[2025-02-15 6:25:28.883754] [debug] datos del notification para el invoice overdue:{"uuid":"5c418f03-d706-4952-b8fe-733a038415ab","changeType":"overdue","entity":"invoice","entityId":1519,"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":[],"accountBalance":-3600,"accountCredit":0,"accountOutstanding":3600,"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":1519,"clientId":57,"number":"001483","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1522,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":56,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SANDRO","clientLastName":"MARQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:28.883771] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:28.883825] [debug] Numero de cel obtenido - -[2025-02-15 6:25:28.883836] [warning] No se encontró un teléfono celular válido para el cliente: 57 -[2025-02-15 6:25:28.997971] [notice] Logging level set to:debug -[2025-02-15 6:25:29.138617] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:29.138670] [debug] Valor de JSON: {"uuid":"33f970b9-b1bc-4166-af3c-097f7bd56d58","changeType":"overdue","entity":"invoice","entityId":"1520","eventName":"invoice.overdue","extraData":{"entity":{"id":1520,"clientId":44,"number":"001484","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1523,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":43,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JAVIER","clientLastName":"BRIONES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ESTANCIA DE ZAMARRIPA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:29.138776] [debug] Factura vencida - -[2025-02-15 6:25:29.138812] [debug] datos del notification para el invoice overdue:{"uuid":"33f970b9-b1bc-4166-af3c-097f7bd56d58","changeType":"overdue","entity":"invoice","entityId":1520,"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":[],"accountBalance":-3610,"accountCredit":0,"accountOutstanding":3610,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#c0ca33","addressGpsLat":21.2370877,"addressGpsLon":-101.116799,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1520,"clientId":44,"number":"001484","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1523,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":43,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JAVIER","clientLastName":"BRIONES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ESTANCIA DE ZAMARRIPA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:29.138833] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:29.138886] [debug] Numero de cel obtenido - -[2025-02-15 6:25:29.138897] [warning] No se encontró un teléfono celular válido para el cliente: 44 -[2025-02-15 6:25:29.251060] [notice] Logging level set to:debug -[2025-02-15 6:25:29.387610] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:29.387659] [debug] Valor de JSON: {"uuid":"f815c213-89a1-402e-8249-62d06fe25c29","changeType":"overdue","entity":"invoice","entityId":"1521","eventName":"invoice.overdue","extraData":{"entity":{"id":1521,"clientId":42,"number":"001485","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1524,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":41,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORENA","clientLastName":"MARTINEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:29.387753] [debug] Factura vencida - -[2025-02-15 6:25:29.387789] [debug] datos del notification para el invoice overdue:{"uuid":"f815c213-89a1-402e-8249-62d06fe25c29","changeType":"overdue","entity":"invoice","entityId":1521,"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":[],"accountBalance":-3910,"accountCredit":0,"accountOutstanding":3910,"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":1521,"clientId":42,"number":"001485","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1524,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":41,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORENA","clientLastName":"MARTINEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:29.387805] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:29.387856] [debug] Numero de cel obtenido - -[2025-02-15 6:25:29.387866] [warning] No se encontró un teléfono celular válido para el cliente: 42 -[2025-02-15 6:25:29.501152] [notice] Logging level set to:debug -[2025-02-15 6:25:29.630426] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:29.630486] [debug] Valor de JSON: {"uuid":"88bb361f-a05c-4f0e-941d-a2628aa38224","changeType":"overdue","entity":"invoice","entityId":"1522","eventName":"invoice.overdue","extraData":{"entity":{"id":1522,"clientId":91,"number":"001486","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1525,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":90,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CAROLINA","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:29.630572] [debug] Factura vencida - -[2025-02-15 6:25:29.630606] [debug] datos del notification para el invoice overdue:{"uuid":"88bb361f-a05c-4f0e-941d-a2628aa38224","changeType":"overdue","entity":"invoice","entityId":1522,"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":[],"accountBalance":-6800,"accountCredit":0,"accountOutstanding":6800,"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":1522,"clientId":91,"number":"001486","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1525,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":90,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CAROLINA","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:29.630625] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:29.630675] [debug] Numero de cel obtenido - -[2025-02-15 6:25:29.630686] [warning] No se encontró un teléfono celular válido para el cliente: 91 -[2025-02-15 6:25:29.743515] [notice] Logging level set to:debug -[2025-02-15 6:25:29.870316] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:29.870372] [debug] Valor de JSON: {"uuid":"b9bc389c-f579-4012-82f4-8a92d15fa265","changeType":"overdue","entity":"invoice","entityId":"1525","eventName":"invoice.overdue","extraData":{"entity":{"id":1525,"clientId":74,"number":"001489","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1528,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":73,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARCELO","clientLastName":"PALACIOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:29.870479] [debug] Factura vencida - -[2025-02-15 6:25:29.870518] [debug] datos del notification para el invoice overdue:{"uuid":"b9bc389c-f579-4012-82f4-8a92d15fa265","changeType":"overdue","entity":"invoice","entityId":1525,"message":null,"clientId":74,"eventName":"invoice.overdue","clientData":{"id":74,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARCELO","lastName":"PALACIOS","username":"mpalacios74","contacts":[{"id":75,"clientId":74,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3600,"accountCredit":0,"accountOutstanding":3600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2e7d32","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1525,"clientId":74,"number":"001489","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1528,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":73,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARCELO","clientLastName":"PALACIOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:29.870537] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:29.870594] [debug] Numero de cel obtenido - -[2025-02-15 6:25:29.870605] [warning] No se encontró un teléfono celular válido para el cliente: 74 -[2025-02-15 6:25:29.981870] [notice] Logging level set to:debug -[2025-02-15 6:25:30.128578] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:30.128635] [debug] Valor de JSON: {"uuid":"2593a77b-eb00-49ba-95c3-1e08ec43bdcd","changeType":"overdue","entity":"invoice","entityId":"1526","eventName":"invoice.overdue","extraData":{"entity":{"id":1526,"clientId":60,"number":"001490","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1529,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":59,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MANUEL","clientLastName":"CORENEO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:30.128726] [debug] Factura vencida - -[2025-02-15 6:25:30.128763] [debug] datos del notification para el invoice overdue:{"uuid":"2593a77b-eb00-49ba-95c3-1e08ec43bdcd","changeType":"overdue","entity":"invoice","entityId":1526,"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":[],"accountBalance":-3600,"accountCredit":0,"accountOutstanding":3600,"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":1526,"clientId":60,"number":"001490","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1529,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":59,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MANUEL","clientLastName":"CORENEO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:30.128786] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:30.128839] [debug] Numero de cel obtenido - -[2025-02-15 6:25:30.128849] [warning] No se encontró un teléfono celular válido para el cliente: 60 -[2025-02-15 6:25:30.241605] [notice] Logging level set to:debug -[2025-02-15 6:25:30.377085] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:30.377137] [debug] Valor de JSON: {"uuid":"62b2b235-866e-40b9-9377-8cf920f316e2","changeType":"overdue","entity":"invoice","entityId":"1527","eventName":"invoice.overdue","extraData":{"entity":{"id":1527,"clientId":28,"number":"001491","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1530,"type":"service","label":"INTERMEDIO 31\/12\/2024 \u2013 30\/01\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":27,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSVALDO","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN GABRIEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:30.377242] [debug] Factura vencida - -[2025-02-15 6:25:30.377279] [debug] datos del notification para el invoice overdue:{"uuid":"62b2b235-866e-40b9-9377-8cf920f316e2","changeType":"overdue","entity":"invoice","entityId":1527,"message":null,"clientId":28,"eventName":"invoice.overdue","clientData":{"id":28,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN GABRIEL","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN GABRIEL, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OSVALDO","lastName":"GONZALEZ","username":"ogonzalez28","contacts":[{"id":29,"clientId":28,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-6483.33,"accountCredit":0,"accountOutstanding":6483.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#03a9f4","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1527,"clientId":28,"number":"001491","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1530,"type":"service","label":"INTERMEDIO 31\/12\/2024 \u2013 30\/01\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":27,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSVALDO","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN GABRIEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:30.377300] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:30.377352] [debug] Numero de cel obtenido - -[2025-02-15 6:25:30.377363] [warning] No se encontró un teléfono celular válido para el cliente: 28 -[2025-02-15 6:25:30.491199] [notice] Logging level set to:debug -[2025-02-15 6:25:30.639381] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:30.639436] [debug] Valor de JSON: {"uuid":"6e6e42f8-07e4-4a61-997c-843a1e85e7c3","changeType":"overdue","entity":"invoice","entityId":"1528","eventName":"invoice.overdue","extraData":{"entity":{"id":1528,"clientId":90,"number":"001492","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1531,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":89,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PEDRO","clientLastName":"HORNEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:30.639523] [debug] Factura vencida - -[2025-02-15 6:25:30.639559] [debug] datos del notification para el invoice overdue:{"uuid":"6e6e42f8-07e4-4a61-997c-843a1e85e7c3","changeType":"overdue","entity":"invoice","entityId":1528,"message":null,"clientId":90,"eventName":"invoice.overdue","clientData":{"id":90,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"ADJUNTAS DEL RIO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"ADJUNTAS DEL RIO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"PEDRO","lastName":"HORNEDO","username":"phornedo90","contacts":[{"id":91,"clientId":90,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1528,"clientId":90,"number":"001492","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1531,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":89,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PEDRO","clientLastName":"HORNEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:30.639580] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:30.639628] [debug] Numero de cel obtenido - -[2025-02-15 6:25:30.639638] [warning] No se encontró un teléfono celular válido para el cliente: 90 -[2025-02-15 6:25:30.750896] [notice] Logging level set to:debug -[2025-02-15 6:25:30.884054] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:30.884109] [debug] Valor de JSON: {"uuid":"a6d6667f-633e-4eb2-8439-f292094b9d71","changeType":"overdue","entity":"invoice","entityId":"1529","eventName":"invoice.overdue","extraData":{"entity":{"id":1529,"clientId":87,"number":"001493","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1532,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":86,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:30.884207] [debug] Factura vencida - -[2025-02-15 6:25:30.884243] [debug] datos del notification para el invoice overdue:{"uuid":"a6d6667f-633e-4eb2-8439-f292094b9d71","changeType":"overdue","entity":"invoice","entityId":1529,"message":null,"clientId":87,"eventName":"invoice.overdue","clientData":{"id":87,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ANTON","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ANTON, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"TERESA","lastName":"REYES","username":"treyes87","contacts":[{"id":88,"clientId":87,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1565c0","addressGpsLat":21.1473165,"addressGpsLon":-100.9333759,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1529,"clientId":87,"number":"001493","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1532,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":86,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:30.884260] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:30.884313] [debug] Numero de cel obtenido - -[2025-02-15 6:25:30.884324] [warning] No se encontró un teléfono celular válido para el cliente: 87 -[2025-02-15 6:25:30.993439] [notice] Logging level set to:debug -[2025-02-15 6:25:31.172754] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:31.172807] [debug] Valor de JSON: {"uuid":"ddebdfe7-9eeb-4c88-93b8-0f58f0c35745","changeType":"overdue","entity":"invoice","entityId":"1530","eventName":"invoice.overdue","extraData":{"entity":{"id":1530,"clientId":9,"number":"001494","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1533,"type":"service","label":"INTERMEDIO 31\/12\/2024 \u2013 30\/01\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":9,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JHOVANY","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GALLINERO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:31.172902] [debug] Factura vencida - -[2025-02-15 6:25:31.172939] [debug] datos del notification para el invoice overdue:{"uuid":"ddebdfe7-9eeb-4c88-93b8-0f58f0c35745","changeType":"overdue","entity":"invoice","entityId":1530,"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":[],"accountBalance":-3500,"accountCredit":0,"accountOutstanding":3500,"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":1530,"clientId":9,"number":"001494","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1533,"type":"service","label":"INTERMEDIO 31\/12\/2024 \u2013 30\/01\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":9,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JHOVANY","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GALLINERO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:31.172960] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:31.173012] [debug] Numero de cel obtenido - -[2025-02-15 6:25:31.173023] [warning] No se encontró un teléfono celular válido para el cliente: 9 -[2025-02-15 6:25:31.283297] [notice] Logging level set to:debug -[2025-02-15 6:25:31.420249] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:31.420304] [debug] Valor de JSON: {"uuid":"e8557bf5-8948-4f2a-b032-18172b0c8abd","changeType":"overdue","entity":"invoice","entityId":"1531","eventName":"invoice.overdue","extraData":{"entity":{"id":1531,"clientId":5,"number":"001495","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1534,"type":"service","label":"INTERMEDIO 31\/12\/2024 \u2013 30\/01\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":5,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MUCIO","clientLastName":"ROBLEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CORREGIDORA #61, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:31.420424] [debug] Factura vencida - -[2025-02-15 6:25:31.420463] [debug] datos del notification para el invoice overdue:{"uuid":"e8557bf5-8948-4f2a-b032-18172b0c8abd","changeType":"overdue","entity":"invoice","entityId":1531,"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":[],"accountBalance":-10533.33,"accountCredit":0,"accountOutstanding":10533.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.158357169062,"addressGpsLon":-100.93191261001,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1531,"clientId":5,"number":"001495","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1534,"type":"service","label":"INTERMEDIO 31\/12\/2024 \u2013 30\/01\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":5,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MUCIO","clientLastName":"ROBLEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CORREGIDORA #61, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:31.420475] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:31.420542] [debug] Numero de cel obtenido - -[2025-02-15 6:25:31.420553] [warning] No se encontró un teléfono celular válido para el cliente: 5 -[2025-02-15 6:25:31.537976] [notice] Logging level set to:debug -[2025-02-15 6:25:31.668602] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:31.668653] [debug] Valor de JSON: {"uuid":"db443d60-37a8-4035-a562-f61c583c7569","changeType":"overdue","entity":"invoice","entityId":"1532","eventName":"invoice.overdue","extraData":{"entity":{"id":1532,"clientId":22,"number":"001496","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1535,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":21,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEBAN","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PUERTA DE SAN FRANCISCO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:31.668740] [debug] Factura vencida - -[2025-02-15 6:25:31.668775] [debug] datos del notification para el invoice overdue:{"uuid":"db443d60-37a8-4035-a562-f61c583c7569","changeType":"overdue","entity":"invoice","entityId":1532,"message":null,"clientId":22,"eventName":"invoice.overdue","clientData":{"id":22,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA PUERTA DE SAN FRANCISCO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA PUERTA DE SAN FRANCISCO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ESTEBAN","lastName":"GARCIA","username":"egarcia22","contacts":[{"id":23,"clientId":22,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4230,"accountCredit":0,"accountOutstanding":4230,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#7cb342","addressGpsLat":21.2091666,"addressGpsLon":-100.76,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1532,"clientId":22,"number":"001496","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1535,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":21,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEBAN","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PUERTA DE SAN FRANCISCO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:31.668796] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:31.668847] [debug] Numero de cel obtenido - -[2025-02-15 6:25:31.668857] [warning] No se encontró un teléfono celular válido para el cliente: 22 -[2025-02-15 6:25:31.776592] [notice] Logging level set to:debug -[2025-02-15 6:25:31.935894] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:31.935955] [debug] Valor de JSON: {"uuid":"55403d6d-9113-4c41-9788-4ee3c137636c","changeType":"overdue","entity":"invoice","entityId":"1533","eventName":"invoice.overdue","extraData":{"entity":{"id":1533,"clientId":34,"number":"001497","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1536,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":33,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NORMA","clientLastName":"ALMAGUER","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSALITO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:31.936068] [debug] Factura vencida - -[2025-02-15 6:25:31.936106] [debug] datos del notification para el invoice overdue:{"uuid":"55403d6d-9113-4c41-9788-4ee3c137636c","changeType":"overdue","entity":"invoice","entityId":1533,"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":[],"accountBalance":-4210,"accountCredit":0,"accountOutstanding":4210,"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":1533,"clientId":34,"number":"001497","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1536,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":33,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NORMA","clientLastName":"ALMAGUER","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSALITO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:31.936120] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:31.936175] [debug] Numero de cel obtenido - -[2025-02-15 6:25:31.936186] [warning] No se encontró un teléfono celular válido para el cliente: 34 -[2025-02-15 6:25:32.050810] [notice] Logging level set to:debug -[2025-02-15 6:25:32.187500] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:32.187551] [debug] Valor de JSON: {"uuid":"26610212-8751-4410-ae0a-c89030fc4daa","changeType":"overdue","entity":"invoice","entityId":"1534","eventName":"invoice.overdue","extraData":{"entity":{"id":1534,"clientId":95,"number":"001498","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1537,"type":"service","label":"INTERMEDIO 31\/12\/2024 \u2013 30\/01\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":94,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SOFIA","clientLastName":"VALENCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:32.187640] [debug] Factura vencida - -[2025-02-15 6:25:32.187674] [debug] datos del notification para el invoice overdue:{"uuid":"26610212-8751-4410-ae0a-c89030fc4daa","changeType":"overdue","entity":"invoice","entityId":1534,"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":[],"accountBalance":-6500,"accountCredit":0,"accountOutstanding":6500,"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":1534,"clientId":95,"number":"001498","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1537,"type":"service","label":"INTERMEDIO 31\/12\/2024 \u2013 30\/01\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":94,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SOFIA","clientLastName":"VALENCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:32.187695] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:32.187747] [debug] Numero de cel obtenido - -[2025-02-15 6:25:32.187757] [warning] No se encontró un teléfono celular válido para el cliente: 95 -[2025-02-15 6:25:32.301719] [notice] Logging level set to:debug -[2025-02-15 6:25:32.437593] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:32.437649] [debug] Valor de JSON: {"uuid":"c761187c-9f29-4a9f-b2f7-6bfc6c55a06c","changeType":"overdue","entity":"invoice","entityId":"1535","eventName":"invoice.overdue","extraData":{"entity":{"id":1535,"clientId":50,"number":"001499","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1538,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":49,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GLORIA","clientLastName":"DELGADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:32.437741] [debug] Factura vencida - -[2025-02-15 6:25:32.437791] [debug] datos del notification para el invoice overdue:{"uuid":"c761187c-9f29-4a9f-b2f7-6bfc6c55a06c","changeType":"overdue","entity":"invoice","entityId":1535,"message":null,"clientId":50,"eventName":"invoice.overdue","clientData":{"id":50,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL BOBO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"GLORIA","lastName":"DELGADO","username":"gdelgado50","contacts":[{"id":51,"clientId":50,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":108,"clientId":50,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN2hegnjiQhR7M","clientZoneVisible":true},{"id":109,"clientId":50,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"1847644339402745","clientZoneVisible":true}],"accountBalance":-3610,"accountCredit":0,"accountOutstanding":3610,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1535,"clientId":50,"number":"001499","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1538,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":49,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GLORIA","clientLastName":"DELGADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:32.437803] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:32.437855] [debug] Numero de cel obtenido - -[2025-02-15 6:25:32.437870] [warning] No se encontró un teléfono celular válido para el cliente: 50 -[2025-02-15 6:25:32.547724] [notice] Logging level set to:debug -[2025-02-15 6:25:32.683024] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:32.683077] [debug] Valor de JSON: {"uuid":"f0ab57d3-6df8-431c-b50a-8bfc9ce68937","changeType":"overdue","entity":"invoice","entityId":"1536","eventName":"invoice.overdue","extraData":{"entity":{"id":1536,"clientId":72,"number":"001500","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1539,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":71,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BRANDOM","clientLastName":"EZQUIVEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:32.683168] [debug] Factura vencida - -[2025-02-15 6:25:32.683206] [debug] datos del notification para el invoice overdue:{"uuid":"f0ab57d3-6df8-431c-b50a-8bfc9ce68937","changeType":"overdue","entity":"invoice","entityId":1536,"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":[],"accountBalance":-3600,"accountCredit":0,"accountOutstanding":3600,"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":1536,"clientId":72,"number":"001500","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1539,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":71,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BRANDOM","clientLastName":"EZQUIVEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:32.683228] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:32.683281] [debug] Numero de cel obtenido - -[2025-02-15 6:25:32.683293] [warning] No se encontró un teléfono celular válido para el cliente: 72 -[2025-02-15 6:25:32.792700] [notice] Logging level set to:debug -[2025-02-15 6:25:32.933082] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:32.933135] [debug] Valor de JSON: {"uuid":"d89f0dae-2b4b-4b69-adb4-6251ab33b876","changeType":"overdue","entity":"invoice","entityId":"1537","eventName":"invoice.overdue","extraData":{"entity":{"id":1537,"clientId":32,"number":"001501","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1540,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":31,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EMILIO","clientLastName":"PEREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON DE LAS MINAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:32.933264] [debug] Factura vencida - -[2025-02-15 6:25:32.933300] [debug] datos del notification para el invoice overdue:{"uuid":"d89f0dae-2b4b-4b69-adb4-6251ab33b876","changeType":"overdue","entity":"invoice","entityId":1537,"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":[],"accountBalance":-4840,"accountCredit":0,"accountOutstanding":4840,"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":1537,"clientId":32,"number":"001501","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1540,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":31,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EMILIO","clientLastName":"PEREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON DE LAS MINAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:32.933312] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:32.933365] [debug] Numero de cel obtenido - -[2025-02-15 6:25:32.933377] [warning] No se encontró un teléfono celular válido para el cliente: 32 -[2025-02-15 6:25:33.042798] [notice] Logging level set to:debug -[2025-02-15 6:25:33.187263] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:33.187325] [debug] Valor de JSON: {"uuid":"4f79efcf-9395-40d3-9cdf-b31976402f57","changeType":"overdue","entity":"invoice","entityId":"1538","eventName":"invoice.overdue","extraData":{"entity":{"id":1538,"clientId":55,"number":"001502","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1541,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":54,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JOSE","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:33.187426] [debug] Factura vencida - -[2025-02-15 6:25:33.187463] [debug] datos del notification para el invoice overdue:{"uuid":"4f79efcf-9395-40d3-9cdf-b31976402f57","changeType":"overdue","entity":"invoice","entityId":1538,"message":null,"clientId":55,"eventName":"invoice.overdue","clientData":{"id":55,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL MEZQUITAL","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL MEZQUITAL, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JOSE","lastName":"SANCHEZ","username":"jsanchez55","contacts":[{"id":56,"clientId":55,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3600,"accountCredit":0,"accountOutstanding":3600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#8e24aa","addressGpsLat":21.1081412,"addressGpsLon":-100.9422033,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1538,"clientId":55,"number":"001502","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1541,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":54,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JOSE","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:33.187486] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:33.187542] [debug] Numero de cel obtenido - -[2025-02-15 6:25:33.187555] [warning] No se encontró un teléfono celular válido para el cliente: 55 -[2025-02-15 6:25:33.297972] [notice] Logging level set to:debug -[2025-02-15 6:25:33.430197] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:33.430249] [debug] Valor de JSON: {"uuid":"d307dfc5-4a46-47b4-89ae-82e595de88bf","changeType":"overdue","entity":"invoice","entityId":"1539","eventName":"invoice.overdue","extraData":{"entity":{"id":1539,"clientId":75,"number":"001503","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1542,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":74,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAUL","clientLastName":"AYALA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:33.430375] [debug] Factura vencida - -[2025-02-15 6:25:33.430413] [debug] datos del notification para el invoice overdue:{"uuid":"d307dfc5-4a46-47b4-89ae-82e595de88bf","changeType":"overdue","entity":"invoice","entityId":1539,"message":null,"clientId":75,"eventName":"invoice.overdue","clientData":{"id":75,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"RAUL","lastName":"AYALA","username":"rayala75","contacts":[{"id":76,"clientId":75,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3600,"accountCredit":0,"accountOutstanding":3600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.2516667,"addressGpsLon":-101.0924998,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1539,"clientId":75,"number":"001503","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1542,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":74,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAUL","clientLastName":"AYALA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:33.430424] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:33.430478] [debug] Numero de cel obtenido - -[2025-02-15 6:25:33.430489] [warning] No se encontró un teléfono celular válido para el cliente: 75 -[2025-02-15 6:25:33.541580] [notice] Logging level set to:debug -[2025-02-15 6:25:33.675317] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:33.675367] [debug] Valor de JSON: {"uuid":"4123798c-56f1-4fb6-a49e-f3199bd5b6e0","changeType":"overdue","entity":"invoice","entityId":"1540","eventName":"invoice.overdue","extraData":{"entity":{"id":1540,"clientId":85,"number":"001504","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1543,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":84,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GISELLE","clientLastName":"ARREDONDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GARABATILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:33.675453] [debug] Factura vencida - -[2025-02-15 6:25:33.675487] [debug] datos del notification para el invoice overdue:{"uuid":"4123798c-56f1-4fb6-a49e-f3199bd5b6e0","changeType":"overdue","entity":"invoice","entityId":1540,"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":[],"accountBalance":-7100,"accountCredit":0,"accountOutstanding":7100,"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":1540,"clientId":85,"number":"001504","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1543,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":84,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GISELLE","clientLastName":"ARREDONDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GARABATILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:33.675509] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:33.675580] [debug] Numero de cel obtenido - -[2025-02-15 6:25:33.675591] [warning] No se encontró un teléfono celular válido para el cliente: 85 -[2025-02-15 6:25:33.784853] [notice] Logging level set to:debug -[2025-02-15 6:25:33.925195] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:33.925246] [debug] Valor de JSON: {"uuid":"9522de5d-91a6-4db9-b1f7-45b8f3e4bd76","changeType":"overdue","entity":"invoice","entityId":"1542","eventName":"invoice.overdue","extraData":{"entity":{"id":1542,"clientId":99,"number":"001506","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1545,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":98,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BELINDA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:33.925335] [debug] Factura vencida - -[2025-02-15 6:25:33.925380] [debug] datos del notification para el invoice overdue:{"uuid":"9522de5d-91a6-4db9-b1f7-45b8f3e4bd76","changeType":"overdue","entity":"invoice","entityId":1542,"message":null,"clientId":99,"eventName":"invoice.overdue","clientData":{"id":99,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"MONTELONGO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"MONTELONGO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"BELINDA","lastName":"REYES","username":"breyes99","contacts":[{"id":100,"clientId":99,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5100,"accountCredit":0,"accountOutstanding":5100,"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":1542,"clientId":99,"number":"001506","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1545,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":98,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BELINDA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:33.925391] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:33.925441] [debug] Numero de cel obtenido - -[2025-02-15 6:25:33.925451] [warning] No se encontró un teléfono celular válido para el cliente: 99 -[2025-02-15 6:25:34.036716] [notice] Logging level set to:debug -[2025-02-15 6:25:34.199677] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:34.199740] [debug] Valor de JSON: {"uuid":"1bb01db6-08e5-4786-b5d7-11d83e19e454","changeType":"overdue","entity":"invoice","entityId":"1543","eventName":"invoice.overdue","extraData":{"entity":{"id":1543,"clientId":88,"number":"001507","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1546,"type":"service","label":"PREMIUM 31\/12\/2024 \u2013 30\/01\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":87,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CECILIA","clientLastName":"GRANDE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIFORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:34.199851] [debug] Factura vencida - -[2025-02-15 6:25:34.199898] [debug] datos del notification para el invoice overdue:{"uuid":"1bb01db6-08e5-4786-b5d7-11d83e19e454","changeType":"overdue","entity":"invoice","entityId":1543,"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":[],"accountBalance":-8900,"accountCredit":0,"accountOutstanding":8900,"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":1543,"clientId":88,"number":"001507","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1546,"type":"service","label":"PREMIUM 31\/12\/2024 \u2013 30\/01\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":87,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CECILIA","clientLastName":"GRANDE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIFORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:34.199914] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:34.199980] [debug] Numero de cel obtenido - -[2025-02-15 6:25:34.199990] [warning] No se encontró un teléfono celular válido para el cliente: 88 -[2025-02-15 6:25:34.308284] [notice] Logging level set to:debug -[2025-02-15 6:25:34.450737] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:34.450790] [debug] Valor de JSON: {"uuid":"277a7f13-c2c3-4a74-bf2f-e1ce05f6b0cf","changeType":"overdue","entity":"invoice","entityId":"1544","eventName":"invoice.overdue","extraData":{"entity":{"id":1544,"clientId":56,"number":"001508","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1547,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":55,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NOE","clientLastName":"SANDOVAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:34.450886] [debug] Factura vencida - -[2025-02-15 6:25:34.450922] [debug] datos del notification para el invoice overdue:{"uuid":"277a7f13-c2c3-4a74-bf2f-e1ce05f6b0cf","changeType":"overdue","entity":"invoice","entityId":1544,"message":null,"clientId":56,"eventName":"invoice.overdue","clientData":{"id":56,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTIAGUILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":null,"fullAddress":"SANTIAGUILLO, Dolores Hidalgo Cuna de la Independencia Nacional","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"NOE","lastName":"SANDOVAL","username":"nsandoval56","contacts":[{"id":57,"clientId":56,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3600,"accountCredit":0,"accountOutstanding":3600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#039be5","addressGpsLat":21.0165209,"addressGpsLon":-100.9831731,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1544,"clientId":56,"number":"001508","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1547,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":55,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NOE","clientLastName":"SANDOVAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:34.450944] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:34.450997] [debug] Numero de cel obtenido - -[2025-02-15 6:25:34.451009] [warning] No se encontró un teléfono celular válido para el cliente: 56 -[2025-02-15 6:25:34.564995] [notice] Logging level set to:debug -[2025-02-15 6:25:34.703742] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:34.703797] [debug] Valor de JSON: {"uuid":"c934efce-f85e-4661-9e2e-cf96a42e5f20","changeType":"overdue","entity":"invoice","entityId":"1545","eventName":"invoice.overdue","extraData":{"entity":{"id":1545,"clientId":10,"number":"001509","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1548,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":10,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CARLOS","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:34.703903] [debug] Factura vencida - -[2025-02-15 6:25:34.703947] [debug] datos del notification para el invoice overdue:{"uuid":"c934efce-f85e-4661-9e2e-cf96a42e5f20","changeType":"overdue","entity":"invoice","entityId":1545,"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":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1545,"clientId":10,"number":"001509","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1548,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":10,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CARLOS","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:34.703963] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:34.704019] [debug] Numero de cel obtenido - -[2025-02-15 6:25:34.704030] [warning] No se encontró un teléfono celular válido para el cliente: 10 -[2025-02-15 6:25:34.817843] [notice] Logging level set to:debug -[2025-02-15 6:25:34.946867] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:34.946928] [debug] Valor de JSON: {"uuid":"accb834b-4ed3-42ed-a9b7-54ca502a0958","changeType":"overdue","entity":"invoice","entityId":"1546","eventName":"invoice.overdue","extraData":{"entity":{"id":1546,"clientId":19,"number":"001510","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1549,"type":"service","label":"INTERMEDIO 31\/12\/2024 \u2013 30\/01\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":18,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARIA","clientLastName":"RODRIGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:34.947026] [debug] Factura vencida - -[2025-02-15 6:25:34.947063] [debug] datos del notification para el invoice overdue:{"uuid":"accb834b-4ed3-42ed-a9b7-54ca502a0958","changeType":"overdue","entity":"invoice","entityId":1546,"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":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7933.33,"accountCredit":0,"accountOutstanding":7933.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":1546,"clientId":19,"number":"001510","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1549,"type":"service","label":"INTERMEDIO 31\/12\/2024 \u2013 30\/01\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":18,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARIA","clientLastName":"RODRIGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:34.947087] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:34.947139] [debug] Numero de cel obtenido - -[2025-02-15 6:25:34.947151] [warning] No se encontró un teléfono celular válido para el cliente: 19 -[2025-02-15 6:25:35.060468] [notice] Logging level set to:debug -[2025-02-15 6:25:35.197475] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:35.197527] [debug] Valor de JSON: {"uuid":"9530be25-0d6b-41b5-a165-9ba817e935ed","changeType":"overdue","entity":"invoice","entityId":"1483","eventName":"invoice.overdue","extraData":{"entity":{"id":1483,"clientId":12,"number":"001447","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":"2025-01-31T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1486,"type":"service","label":"INTERMEDIO 31\/12\/2024 \u2013 30\/01\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":12,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MIRIAM","clientLastName":"ZURITA RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:35.197633] [debug] Factura vencida - -[2025-02-15 6:25:35.197669] [debug] datos del notification para el invoice overdue:{"uuid":"9530be25-0d6b-41b5-a165-9ba817e935ed","changeType":"overdue","entity":"invoice","entityId":1483,"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":[],"accountBalance":-7933.33,"accountCredit":0,"accountOutstanding":7933.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":1483,"clientId":12,"number":"001447","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":"2025-01-31T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1486,"type":"service","label":"INTERMEDIO 31\/12\/2024 \u2013 30\/01\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":12,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MIRIAM","clientLastName":"ZURITA RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:35.197686] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:35.197740] [debug] Numero de cel obtenido - -[2025-02-15 6:25:35.197751] [warning] No se encontró un teléfono celular válido para el cliente: 12 -[2025-02-15 6:25:35.312427] [notice] Logging level set to:debug -[2025-02-15 6:25:35.444147] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-15 6:25:35.444197] [debug] Valor de JSON: {"uuid":"23ddfab3-d632-4779-8dfa-cb879d0da9ca","changeType":"overdue","entity":"invoice","entityId":"1523","eventName":"invoice.overdue","extraData":{"entity":{"id":1523,"clientId":11,"number":"001487","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":"2025-01-31T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1526,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":11,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"KARIME","clientLastName":"QUINTERO HERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-15 6:25:35.444286] [debug] Factura vencida - -[2025-02-15 6:25:35.444320] [debug] datos del notification para el invoice overdue:{"uuid":"23ddfab3-d632-4779-8dfa-cb879d0da9ca","changeType":"overdue","entity":"invoice","entityId":1523,"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":[],"accountBalance":-2700,"accountCredit":0,"accountOutstanding":2700,"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":1523,"clientId":11,"number":"001487","createdDate":"2025-01-31T10:00:01-0600","dueDate":"2025-02-14T10:00:01-0600","emailSentDate":"2025-01-31T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1526,"type":"service","label":"plan300 31\/12\/2024 \u2013 30\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":11,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"KARIME","clientLastName":"QUINTERO HERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-15 6:25:35.444343] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-15 6:25:35.444395] [debug] Numero de cel obtenido - -[2025-02-15 6:25:35.444406] [warning] No se encontró un teléfono celular válido para el cliente: 11 -[2025-02-15 16:25:08.605544] [notice] Logging level set to:debug -[2025-02-15 16:25:08.605648] [info] No UUID found in the webhook data -[2025-02-15 16:25:08.605699] [info] Evento de referencia de oxxo recibido - -[2025-02-15 16:25:08.605710] [info] Referencia persnoalizada, Valor del monto: 300 - -[2025-02-15 16:25:08.605721] [info] Creando referencia del cliente para OXXO: - -[2025-02-15 16:25:08.744932] [info] Monto proporcionado directamente: 300 - -[2025-02-15 16:25:08.744971] [info] Creando referencia en Stripe por: 30000 para el cliente cus_PdQvAvQ2wipl5k - -[2025-02-15 16:25:09.392932] [info] El nombre del cliente es: Don Miguel Ángel Guerrero González - -[2025-02-15 16:25:09.392997] [info] Creando payment methods del voucher - -[2025-02-15 16:25:09.669850] [info] Confirmando el paymentIntent - -[2025-02-15 16:25:10.415059] [info] Se terminó de confirmar el paymentIntent - -[2025-02-15 16:25:10.415108] [info] Referencia OXXO: 12345678901234657890123456789012 - -[2025-02-15 16:25:10.415118] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9SbU11RUdxUU9NWms0cTAwQ2haYWp2U0VUTXFIOWlr0100efLVJyMC - -[2025-02-15 16:25:10.415375] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9SbU11RUdxUU9NWms0cTAwQ2haYWp2U0VUTXFIOWlr0100efLVJyMC"} -[2025-02-15 16:28:13.884007] [notice] Logging level set to:debug -[2025-02-15 16:28:14.011796] [debug] valor el evento recibido por webhook: payment.add - -[2025-02-15 16:28:14.011850] [debug] Valor de JSON: {"uuid":"74ec139d-8c40-4594-86de-bca24c2fcb52","changeType":"insert","entity":"payment","entityId":"585","eventName":"payment.add","extraData":{"entity":{"id":585,"clientId":1,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-15T10:28:13-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]},"entityBeforeEdit":null}} - -[2025-02-15 16:28:14.012082] [debug] Notification encodificado en JSON:{"uuid":"74ec139d-8c40-4594-86de-bca24c2fcb52","changeType":"insert","entity":"payment","entityId":585,"message":null,"clientId":1,"eventName":"payment.add","clientData":{"id":1,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true}],"accountBalance":2080,"accountCredit":2080,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"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":585,"clientId":1,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-15T10:28:13-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}} - -[2025-02-15 16:28:14.012098] [debug] valor del payment data: {"id":585,"clientId":1,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-15T10:28:13-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]} - -[2025-02-15 16:28:14.012172] [info] {"WhatsApp":["5214181148554"]} -[2025-02-15 16:28:14.012181] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-15 16:28:14.012190] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-02-15 16:28:14.012204] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -Eviando comprobante de pago al cliente: 1 con número: 5214181148554 - -El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Don_Miguel_Ángel_Guerrero_González.pdf - -El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Don_Miguel_Ángel_Guerrero_González.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Don_Miguel_Ángel_Guerrero_González.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Don_Miguel_Ángel_Guerrero_González.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Don_Miguel_Ángel_Guerrero_González.png - -Archivos eliminados - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181148554", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Don_Miguel_Ángel_Guerrero_González.png" - }, - "template_values": ["Don Miguel Ángel Guerrero González", "$300", "$2080 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"90d58129e3d64b29b07394ce779b0395","status":"enqueued"}} -Hay menos de 100 archivos en el directorio. No se eliminarán archivos. - -La notificación fue enviada correctamente con estado: enqueued - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":585,"clientId":1,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-15T10:28:13-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-02-15T10:28:14-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Don Miguel Ángel Guerrero González - -UUID: 0e53e926ce424db5b9284a75915d24fe - -JSON con los datos a actualizar: {"name":"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","custom_fields":{"Cliente":1,"Domicilio":"\ud83d\udccd Calle Morelos 34, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/1","Saldo Actual":"\ud83d\udcb22080 a favor","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\ud83d\udccd Calle Morelos 34, Dolores Hidalgo, 37800\",\"Nombre\": \"\ud83d\udc64 Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/1\",\"Saldo Actual\": \"\ud83d\udcb22080 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 300\",\"Estado\": \"\ud83d\udd34 Suspendido\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 15\/02\/2025 10:28 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 15\/02\/2025 10:28\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 15\/02\/2025 10:28 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 15\/02\/2025 10:28","Clabe Interbancaria":null}} - -[2025-02-15 16:28:24.036072] [notice] Logging level set to:debug -[2025-02-15 16:28:24.145369] [debug] valor el evento recibido por webhook: payment.edit - -[2025-02-15 16:28:24.145421] [debug] Valor de JSON: {"uuid":"29cefc2f-19f4-4bd8-8a5d-8c1660c55329","changeType":"edit","entity":"payment","entityId":"585","eventName":"payment.edit","extraData":{"entity":{"id":585,"clientId":1,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-15T10:28:13-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-02-15T10:28:14-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":585,"clientId":1,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-15T10:28:13-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}}} - -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-02-15T16:25:11Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https://dash.callbell.eu/chat/f017e454a6b94ab297509274216c6795","tags":["SIIP","Suspendido"],"assignedUser":null,"customFields":{"URL":"🌐 https://172.16.5.120/crm/client/1","user entry point":"inbound_message","Clientes Relacionados":"oxxo","Cliente":"1","Estado":"🔴 Suspendido","Nombre":"👤 Don Miguel Ángel Guerrero González","Clabe Interbancaria":"124180650741039816","Fecha Ultima Actualizacion":"📆🔄️ 15/02/2025 10:28","Monto Ultimo Pago":"💲 300","Acciones":"1","Fecha Ultimo Pago":"📆💸 15/02/2025 10:28 con Tarjeta de crédito Stripe 💳","Domicilio":"📍 Calle Morelos 34, Dolores Hidalgo, 37800","Saldo Actual":"💲2080 a favor","user name":"Angel","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"📍 Calle Morelos 34, Dolores Hidalgo, 37800\",\"Nombre\": \"👤 Don Miguel Ángel Guerrero González\",\"URL\": \"🌐 https://172.16.5.120/crm/client/1\",\"Saldo Actual\": \"💲2080 a favor\",\"Monto Ultimo Pago\": \"💲 300\",\"Estado\": \"🔴 Suspendido\",\"Fecha Ultimo Pago\": \"📆💰 15/02/2025 10:28 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 15/02/2025 10:28\",\"Clabe Interbancaria\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-15 17:16:10.347340] [notice] Logging level set to:debug -[2025-02-15 17:16:10.347434] [info] No UUID found in the webhook data -[2025-02-15 17:16:10.347450] [info] Evento de referencia de oxxo recibido - -[2025-02-15 17:16:10.347464] [info] Creando referencia del cliente para OXXO: - -[2025-02-15 17:16:10.503117] [info] Se obtuvieron los datos del cliente y Stripe Customer ID: cus_PdQvAvQ2wipl5k - -[2025-02-15 17:16:10.503154] [info] Este cliente no tiene adeudos por lo tanto no se puede generar su referencia de OXXO. - -[2025-02-15 17:16:10.503395] [info] Creando referencia del cliente para OXXO: - -[2025-02-15 17:16:10.609078] [info] Se obtuvieron los datos del cliente y Stripe Customer ID: cus_PdQvAvQ2wipl5k - -[2025-02-15 17:16:10.609117] [info] Este cliente no tiene adeudos por lo tanto no se puede generar su referencia de OXXO. - -[2025-02-15 17:16:10.610534] [info] Creando referencia del cliente para OXXO: - -[2025-02-15 17:16:10.707014] [info] Se obtuvieron los datos del cliente y Stripe Customer ID: cus_PdQvAvQ2wipl5k - -[2025-02-15 17:16:10.707047] [info] Este cliente no tiene adeudos por lo tanto no se puede generar su referencia de OXXO. - -[2025-02-15 17:16:10.707283] [info] Creando referencia del cliente para OXXO: - -[2025-02-15 17:16:10.806623] [info] Se obtuvieron los datos del cliente y Stripe Customer ID: cus_PdQvAvQ2wipl5k - -[2025-02-15 17:16:10.806660] [info] Este cliente no tiene adeudos por lo tanto no se puede generar su referencia de OXXO. - -[2025-02-15 17:16:10.806960] [info] Creando referencia del cliente para OXXO: - -[2025-02-15 17:16:10.901253] [info] Se obtuvieron los datos del cliente y Stripe Customer ID: cus_PdQvAvQ2wipl5k - -[2025-02-15 17:16:10.901285] [info] Este cliente no tiene adeudos por lo tanto no se puede generar su referencia de OXXO. - -[2025-02-15 17:16:10.901545] [debug] Reponse que se envía a CallBell: {"url": "errorsinadeudo"} -[2025-02-16 6:25:04.004338] [notice] Logging level set to:debug -[2025-02-16 6:25:04.202580] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-16 6:25:04.202637] [debug] Valor de JSON: {"uuid":"187d7022-cf59-4eec-9431-7577be9920fb","changeType":"overdue","entity":"invoice","entityId":"1547","eventName":"invoice.overdue","extraData":{"entity":{"id":1547,"clientId":132,"number":"001511","createdDate":"2025-02-01T10:00:01-0600","dueDate":"2025-02-15T10:00:01-0600","emailSentDate":"2025-02-16T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-01-30T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1550,"type":"service","label":"plan300 01\/01\/2025 \u2013 31\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":115,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Marto","clientLastName":"Vago Payaso","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"20 Avenida Norte","clientStreet2":null,"clientCity":"Guanajuato","clientCountryId":173,"clientStateId":null,"clientZipCode":"37807","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-16 6:25:04.202928] [debug] Factura vencida - -[2025-02-16 6:25:04.202976] [debug] datos del notification para el invoice overdue:{"uuid":"187d7022-cf59-4eec-9431-7577be9920fb","changeType":"overdue","entity":"invoice","entityId":1547,"message":null,"clientId":132,"eventName":"invoice.overdue","clientData":{"id":132,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"20 Avenida Norte","street2":null,"city":"Guanajuato","countryId":173,"stateId":null,"zipCode":"37807","fullAddress":"Avenida Norte 20, Dolores, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Marto","lastName":"Vago Payaso","username":null,"contacts":[{"id":136,"clientId":132,"email":"vagopayaso@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-2100,"accountCredit":0,"accountOutstanding":2100,"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":1547,"clientId":132,"number":"001511","createdDate":"2025-02-01T10:00:01-0600","dueDate":"2025-02-15T10:00:01-0600","emailSentDate":"2025-02-16T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-01-30T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1550,"type":"service","label":"plan300 01\/01\/2025 \u2013 31\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":115,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Marto","clientLastName":"Vago Payaso","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"20 Avenida Norte","clientStreet2":null,"clientCity":"Guanajuato","clientCountryId":173,"clientStateId":null,"clientZipCode":"37807","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-16 6:25:04.203005] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -contac vacio -[2025-02-16 6:25:04.203150] [debug] Numero de cel obtenido - -[2025-02-16 6:25:04.203161] [warning] No se encontró un teléfono celular válido para el cliente: 132 -[2025-02-18 2:38:38.895260] [notice] Logging level set to:debug -[2025-02-18 2:38:39.065295] [debug] valor el evento recibido por webhook: invoice.add - -[2025-02-18 2:38:39.065367] [debug] Valor de JSON: {"uuid":"222a34a9-5ec2-4f19-864e-610d7e36269a","changeType":"insert","entity":"invoice","entityId":"1558","eventName":"invoice.add","extraData":{"entity":{"id":1558,"clientId":2,"number":"001521","createdDate":"2025-02-17T20:38:10-0600","dueDate":"2025-03-03T20:38:10-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-17T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1561,"type":"other","label":"saldar toda la cuenta","price":3764,"quantity":1,"total":3764,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3764,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3764,"amountPaid":3764,"totalUntaxed":3764,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":639,"invoiceId":1558,"paymentId":557,"creditNoteId":null,"refundId":null,"amount":100},{"id":640,"invoiceId":1558,"paymentId":558,"creditNoteId":null,"refundId":null,"amount":384},{"id":641,"invoiceId":1558,"paymentId":559,"creditNoteId":null,"refundId":null,"amount":260},{"id":642,"invoiceId":1558,"paymentId":560,"creditNoteId":null,"refundId":null,"amount":40},{"id":643,"invoiceId":1558,"paymentId":561,"creditNoteId":null,"refundId":null,"amount":300},{"id":644,"invoiceId":1558,"paymentId":562,"creditNoteId":null,"refundId":null,"amount":300},{"id":645,"invoiceId":1558,"paymentId":563,"creditNoteId":null,"refundId":null,"amount":200},{"id":646,"invoiceId":1558,"paymentId":564,"creditNoteId":null,"refundId":null,"amount":30},{"id":647,"invoiceId":1558,"paymentId":565,"creditNoteId":null,"refundId":null,"amount":300},{"id":648,"invoiceId":1558,"paymentId":566,"creditNoteId":null,"refundId":null,"amount":200},{"id":649,"invoiceId":1558,"paymentId":567,"creditNoteId":null,"refundId":null,"amount":120},{"id":650,"invoiceId":1558,"paymentId":568,"creditNoteId":null,"refundId":null,"amount":130},{"id":651,"invoiceId":1558,"paymentId":569,"creditNoteId":null,"refundId":null,"amount":140},{"id":652,"invoiceId":1558,"paymentId":570,"creditNoteId":null,"refundId":null,"amount":150},{"id":653,"invoiceId":1558,"paymentId":571,"creditNoteId":null,"refundId":null,"amount":160},{"id":654,"invoiceId":1558,"paymentId":572,"creditNoteId":null,"refundId":null,"amount":170},{"id":655,"invoiceId":1558,"paymentId":573,"creditNoteId":null,"refundId":null,"amount":180},{"id":656,"invoiceId":1558,"paymentId":575,"creditNoteId":null,"refundId":null,"amount":300},{"id":657,"invoiceId":1558,"paymentId":578,"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":"Daniel Humberto","clientLastName":"Soto Villegas El may","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-18 2:38:39.065597] [debug] Adición de Factura - -[2025-02-18 2:38:39.065665] [debug] datos del notification para el invoice add:{"uuid":"222a34a9-5ec2-4f19-864e-610d7e36269a","changeType":"insert","entity":"invoice","entityId":1558,"message":null,"clientId":2,"eventName":"invoice.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas El may","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1558,"clientId":2,"number":"001521","createdDate":"2025-02-17T20:38:10-0600","dueDate":"2025-03-03T20:38:10-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-17T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1561,"type":"other","label":"saldar toda la cuenta","price":3764,"quantity":1,"total":3764,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3764,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3764,"amountPaid":3764,"totalUntaxed":3764,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":639,"invoiceId":1558,"paymentId":557,"creditNoteId":null,"refundId":null,"amount":100},{"id":640,"invoiceId":1558,"paymentId":558,"creditNoteId":null,"refundId":null,"amount":384},{"id":641,"invoiceId":1558,"paymentId":559,"creditNoteId":null,"refundId":null,"amount":260},{"id":642,"invoiceId":1558,"paymentId":560,"creditNoteId":null,"refundId":null,"amount":40},{"id":643,"invoiceId":1558,"paymentId":561,"creditNoteId":null,"refundId":null,"amount":300},{"id":644,"invoiceId":1558,"paymentId":562,"creditNoteId":null,"refundId":null,"amount":300},{"id":645,"invoiceId":1558,"paymentId":563,"creditNoteId":null,"refundId":null,"amount":200},{"id":646,"invoiceId":1558,"paymentId":564,"creditNoteId":null,"refundId":null,"amount":30},{"id":647,"invoiceId":1558,"paymentId":565,"creditNoteId":null,"refundId":null,"amount":300},{"id":648,"invoiceId":1558,"paymentId":566,"creditNoteId":null,"refundId":null,"amount":200},{"id":649,"invoiceId":1558,"paymentId":567,"creditNoteId":null,"refundId":null,"amount":120},{"id":650,"invoiceId":1558,"paymentId":568,"creditNoteId":null,"refundId":null,"amount":130},{"id":651,"invoiceId":1558,"paymentId":569,"creditNoteId":null,"refundId":null,"amount":140},{"id":652,"invoiceId":1558,"paymentId":570,"creditNoteId":null,"refundId":null,"amount":150},{"id":653,"invoiceId":1558,"paymentId":571,"creditNoteId":null,"refundId":null,"amount":160},{"id":654,"invoiceId":1558,"paymentId":572,"creditNoteId":null,"refundId":null,"amount":170},{"id":655,"invoiceId":1558,"paymentId":573,"creditNoteId":null,"refundId":null,"amount":180},{"id":656,"invoiceId":1558,"paymentId":575,"creditNoteId":null,"refundId":null,"amount":300},{"id":657,"invoiceId":1558,"paymentId":578,"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":"Daniel Humberto","clientLastName":"Soto Villegas El may","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-18 2:38:39.065690] [debug] Account Balance: 0 - -[2025-02-18 2:38:39.065697] [debug] Pago hecho con la factura: 3764 - -[2025-02-18 2:38:39.065752] [debug] {"uuid":"222a34a9-5ec2-4f19-864e-610d7e36269a","changeType":"insert","entity":"invoice","entityId":1558,"message":null,"clientId":2,"eventName":"invoice.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas El may","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1558,"clientId":2,"number":"001521","createdDate":"2025-02-17T20:38:10-0600","dueDate":"2025-03-03T20:38:10-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-17T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1561,"type":"other","label":"saldar toda la cuenta","price":3764,"quantity":1,"total":3764,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3764,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3764,"amountPaid":3764,"totalUntaxed":3764,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":639,"invoiceId":1558,"paymentId":557,"creditNoteId":null,"refundId":null,"amount":100},{"id":640,"invoiceId":1558,"paymentId":558,"creditNoteId":null,"refundId":null,"amount":384},{"id":641,"invoiceId":1558,"paymentId":559,"creditNoteId":null,"refundId":null,"amount":260},{"id":642,"invoiceId":1558,"paymentId":560,"creditNoteId":null,"refundId":null,"amount":40},{"id":643,"invoiceId":1558,"paymentId":561,"creditNoteId":null,"refundId":null,"amount":300},{"id":644,"invoiceId":1558,"paymentId":562,"creditNoteId":null,"refundId":null,"amount":300},{"id":645,"invoiceId":1558,"paymentId":563,"creditNoteId":null,"refundId":null,"amount":200},{"id":646,"invoiceId":1558,"paymentId":564,"creditNoteId":null,"refundId":null,"amount":30},{"id":647,"invoiceId":1558,"paymentId":565,"creditNoteId":null,"refundId":null,"amount":300},{"id":648,"invoiceId":1558,"paymentId":566,"creditNoteId":null,"refundId":null,"amount":200},{"id":649,"invoiceId":1558,"paymentId":567,"creditNoteId":null,"refundId":null,"amount":120},{"id":650,"invoiceId":1558,"paymentId":568,"creditNoteId":null,"refundId":null,"amount":130},{"id":651,"invoiceId":1558,"paymentId":569,"creditNoteId":null,"refundId":null,"amount":140},{"id":652,"invoiceId":1558,"paymentId":570,"creditNoteId":null,"refundId":null,"amount":150},{"id":653,"invoiceId":1558,"paymentId":571,"creditNoteId":null,"refundId":null,"amount":160},{"id":654,"invoiceId":1558,"paymentId":572,"creditNoteId":null,"refundId":null,"amount":170},{"id":655,"invoiceId":1558,"paymentId":573,"creditNoteId":null,"refundId":null,"amount":180},{"id":656,"invoiceId":1558,"paymentId":575,"creditNoteId":null,"refundId":null,"amount":300},{"id":657,"invoiceId":1558,"paymentId":578,"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":"Daniel Humberto","clientLastName":"Soto Villegas El may","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-18 2:38:39.065817] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-18 2:38:39.065828] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-02-18 2:38:39.065871] [info] Se proceso los contactos - -[2025-02-18 2:38:39.066102] [info] Se actualizara el correo del cliente en Stripe: chavoloco@homail.com - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":578,"clientId":2,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:08:45-0600","amount":300,"currencyCode":"MXN","note":"febrero","receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":657,"invoiceId":1558,"paymentId":578,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas El may - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas El may","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas El may","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas El may\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 300\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 14\/02\/2025 13:08 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/02\/2025 20:38\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/02\/2025 13:08 con Personalizado \ud83d\udcdd\ud83d\udcb8","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/02\/2025 20:38","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas El may","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"0021804341999569810","user entry point":"inbound_message","Fecha Ultima Actualizacion":"📆🔄️ 17/02/2025 20:38","Estado":"🟢 Activo ","Saldo Actual":"💲0 está al corriente","Fecha Ultimo Pago":"📆💸 14/02/2025 13:08 con Personalizado 📝💸","URL":"🌐 https://172.16.5.120/crm/client/2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 300","user name":"Daniel Humberto 🐁","Nombre":"👤 Daniel Humberto Soto Villegas El may","Cliente":"2","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas El may\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"💲 300\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 14/02/2025 13:08 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 17/02/2025 20:38\",\"Clabe Interbancaria\": \"0021804341999569810\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-18 2:38:41.551824] [info] Se proceso los contactos - -[2025-02-18 2:38:41.551933] [info] Se actualizara el correo del cliente en Stripe: chavoloco@homail.com - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":578,"clientId":2,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:08:45-0600","amount":300,"currencyCode":"MXN","note":"febrero","receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":657,"invoiceId":1558,"paymentId":578,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas El may - -UUID: 2038d2d99ae543f3b56f1ae54f4cc82b - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas El may","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas El may","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas El may\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 300\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 14\/02\/2025 13:08 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/02\/2025 20:38\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/02\/2025 13:08 con Personalizado \ud83d\udcdd\ud83d\udcb8","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/02\/2025 20:38","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"2038d2d99ae543f3b56f1ae54f4cc82b","name":"Daniel Humberto Soto Villegas El may","phoneNumber":"5214181817609","avatarUrl":null,"createdAt":"2024-01-26T18:16:09Z","closedAt":"2025-02-17T19:00:45Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/2038d2d99ae543f3b56f1ae54f4cc82b","conversationHref":"https://dash.callbell.eu/chat/90611886ac204c56a75240f951c53874","tags":[],"assignedUser":null,"customFields":{"Estado":"🟢 Activo ","Nombre":"👤 Daniel Humberto Soto Villegas El may","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Fecha Ultima Actualizacion":"📆🔄️ 17/02/2025 20:38","user entry point":"inbound_message","Fecha Ultimo Pago":"📆💸 14/02/2025 13:08 con Personalizado 📝💸","Saldo Actual":"💲0 está al corriente","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 300","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas El may\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"💲 300\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 14/02/2025 13:08 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 17/02/2025 20:38\",\"Clabe Interbancaria\": \"0021804341999569810\"}","URL":"🌐 https://172.16.5.120/crm/client/2","user name":"Grisel"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-18 2:41:16.427489] [notice] Logging level set to:debug -[2025-02-18 2:41:16.596506] [debug] valor el evento recibido por webhook: invoice.add - -[2025-02-18 2:41:16.596712] [debug] Valor de JSON: {"uuid":"5fa05c5e-dfd2-4a20-a101-e35e09cc4718","changeType":"insert","entity":"invoice","entityId":"1559","eventName":"invoice.add","extraData":{"entity":{"id":1559,"clientId":2,"number":"001522","createdDate":"2025-02-17T20:41:09-0600","dueDate":"2025-03-03T20:41:09-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-17T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1562,"type":"service","label":"PREMIUM 27\/07\/2026 \u2013 26\/08\/2026","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":125,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"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 Humberto","clientLastName":"Soto Villegas El may","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-18 2:41:16.596998] [debug] Adición de Factura - -[2025-02-18 2:41:16.597101] [debug] datos del notification para el invoice add:{"uuid":"5fa05c5e-dfd2-4a20-a101-e35e09cc4718","changeType":"insert","entity":"invoice","entityId":1559,"message":null,"clientId":2,"eventName":"invoice.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas El may","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-700,"accountCredit":0,"accountOutstanding":700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1559,"clientId":2,"number":"001522","createdDate":"2025-02-17T20:41:09-0600","dueDate":"2025-03-03T20:41:09-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-17T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1562,"type":"service","label":"PREMIUM 27\/07\/2026 \u2013 26\/08\/2026","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":125,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"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 Humberto","clientLastName":"Soto Villegas El may","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-18 2:41:16.597161] [debug] Account Balance: -700 - -[2025-02-18 2:41:16.597198] [debug] Pago hecho con la factura: 0 - -[2025-02-18 2:41:16.597270] [debug] {"uuid":"5fa05c5e-dfd2-4a20-a101-e35e09cc4718","changeType":"insert","entity":"invoice","entityId":1559,"message":null,"clientId":2,"eventName":"invoice.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas El may","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-700,"accountCredit":0,"accountOutstanding":700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1559,"clientId":2,"number":"001522","createdDate":"2025-02-17T20:41:09-0600","dueDate":"2025-03-03T20:41:09-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-17T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1562,"type":"service","label":"PREMIUM 27\/07\/2026 \u2013 26\/08\/2026","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":125,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"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 Humberto","clientLastName":"Soto Villegas El may","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-18 2:41:16.597372] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-18 2:41:16.597414] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-02-18 2:41:16.597493] [info] Se proceso los contactos - -[2025-02-18 2:41:16.597765] [info] Se actualizara el correo del cliente en Stripe: chavoloco@homail.com - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":578,"clientId":2,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:08:45-0600","amount":300,"currencyCode":"MXN","note":"febrero","receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":657,"invoiceId":1558,"paymentId":578,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas El may - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas El may","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas El may","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2700 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas El may\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2700 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 300\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 14\/02\/2025 13:08 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/02\/2025 20:41\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/02\/2025 13:08 con Personalizado \ud83d\udcdd\ud83d\udcb8","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/02\/2025 20:41","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas El may","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"0021804341999569810","user entry point":"inbound_message","Fecha Ultima Actualizacion":"📆🔄️ 17/02/2025 20:41","Estado":"🟢 Activo ","Saldo Actual":"💲700 pendientes","Fecha Ultimo Pago":"📆💸 14/02/2025 13:08 con Personalizado 📝💸","URL":"🌐 https://172.16.5.120/crm/client/2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 300","user name":"Daniel Humberto 🐁","Nombre":"👤 Daniel Humberto Soto Villegas El may","Cliente":"2","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas El may\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲700 pendientes\",\"Monto Ultimo Pago\": \"💲 300\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 14/02/2025 13:08 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 17/02/2025 20:41\",\"Clabe Interbancaria\": \"0021804341999569810\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-18 2:41:19.964926] [info] Se proceso los contactos - -[2025-02-18 2:41:19.964988] [info] Se actualizara el correo del cliente en Stripe: chavoloco@homail.com - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":578,"clientId":2,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:08:45-0600","amount":300,"currencyCode":"MXN","note":"febrero","receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":657,"invoiceId":1558,"paymentId":578,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas El may - -UUID: 2038d2d99ae543f3b56f1ae54f4cc82b - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas El may","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas El may","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2700 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas El may\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2700 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 300\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 14\/02\/2025 13:08 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/02\/2025 20:41\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/02\/2025 13:08 con Personalizado \ud83d\udcdd\ud83d\udcb8","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/02\/2025 20:41","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"2038d2d99ae543f3b56f1ae54f4cc82b","name":"Daniel Humberto Soto Villegas El may","phoneNumber":"5214181817609","avatarUrl":null,"createdAt":"2024-01-26T18:16:09Z","closedAt":"2025-02-17T19:00:45Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/2038d2d99ae543f3b56f1ae54f4cc82b","conversationHref":"https://dash.callbell.eu/chat/90611886ac204c56a75240f951c53874","tags":[],"assignedUser":null,"customFields":{"Estado":"🟢 Activo ","Nombre":"👤 Daniel Humberto Soto Villegas El may","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Fecha Ultima Actualizacion":"📆🔄️ 17/02/2025 20:41","user entry point":"inbound_message","Fecha Ultimo Pago":"📆💸 14/02/2025 13:08 con Personalizado 📝💸","Saldo Actual":"💲700 pendientes","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 300","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas El may\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲700 pendientes\",\"Monto Ultimo Pago\": \"💲 300\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 14/02/2025 13:08 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 17/02/2025 20:41\",\"Clabe Interbancaria\": \"0021804341999569810\"}","URL":"🌐 https://172.16.5.120/crm/client/2","user name":"Grisel"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-18 3:43:06.016952] [notice] Logging level set to:debug -[2025-02-18 3:43:06.158726] [debug] valor el evento recibido por webhook: client.edit - -[2025-02-18 3:43:06.158839] [debug] Valor de JSON: {"uuid":"19287a35-12e9-464d-9ae5-632cac093efa","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas El may","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-700,"accountCredit":0,"accountOutstanding":700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas El may","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-700,"accountCredit":0,"accountOutstanding":700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-02-18 3:43:06.159070] [debug] Se actualiza a un cliente -[2025-02-18 3:43:06.159130] [debug] Valor de json_data: {"uuid":"19287a35-12e9-464d-9ae5-632cac093efa","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas El may","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-700,"accountCredit":0,"accountOutstanding":700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas El may","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":"chavoloco@homail.com","phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-700,"accountCredit":0,"accountOutstanding":700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-02-18 3:43:06.159148] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-18 3:43:06.159158] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-02-18 3:43:06.159168] [debug] No hubo cambio de true a false en el campo isLead -[2025-02-18 3:43:06.159174] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-02-18 3:43:06.159183] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-02-18 3:43:06.159189] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-02-18 3:43:06.159198] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-02-18 3:43:06.159229] [debug] {"uuid":"19287a35-12e9-464d-9ae5-632cac093efa","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas El may","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-700,"accountCredit":0,"accountOutstanding":700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-02-18 3:43:06.159303] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-18 3:43:06.159317] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":578,"clientId":2,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:08:45-0600","amount":300,"currencyCode":"MXN","note":"febrero","receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":657,"invoiceId":1558,"paymentId":578,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas El may - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas El may","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas El may","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2700 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas El may\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2700 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 300\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 14\/02\/2025 13:08 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/02\/2025 21:43\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/02\/2025 13:08 con Personalizado \ud83d\udcdd\ud83d\udcb8","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/02\/2025 21:43","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas El may","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"0021804341999569810","user entry point":"inbound_message","Fecha Ultima Actualizacion":"📆🔄️ 17/02/2025 21:43","Estado":"🟢 Activo ","Saldo Actual":"💲700 pendientes","Fecha Ultimo Pago":"📆💸 14/02/2025 13:08 con Personalizado 📝💸","URL":"🌐 https://172.16.5.120/crm/client/2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 300","user name":"Daniel Humberto 🐁","Nombre":"👤 Daniel Humberto Soto Villegas El may","Cliente":"2","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas El may\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲700 pendientes\",\"Monto Ultimo Pago\": \"💲 300\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 14/02/2025 13:08 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 17/02/2025 21:43\",\"Clabe Interbancaria\": \"0021804341999569810\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":578,"clientId":2,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:08:45-0600","amount":300,"currencyCode":"MXN","note":"febrero","receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":657,"invoiceId":1558,"paymentId":578,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas El may - -UUID: 2038d2d99ae543f3b56f1ae54f4cc82b - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas El may","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas El may","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2700 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas El may\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2700 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 300\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 14\/02\/2025 13:08 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/02\/2025 21:43\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/02\/2025 13:08 con Personalizado \ud83d\udcdd\ud83d\udcb8","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/02\/2025 21:43","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"2038d2d99ae543f3b56f1ae54f4cc82b","name":"Daniel Humberto Soto Villegas El may","phoneNumber":"5214181817609","avatarUrl":null,"createdAt":"2024-01-26T18:16:09Z","closedAt":"2025-02-17T19:00:45Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/2038d2d99ae543f3b56f1ae54f4cc82b","conversationHref":"https://dash.callbell.eu/chat/90611886ac204c56a75240f951c53874","tags":[],"assignedUser":null,"customFields":{"Estado":"🟢 Activo ","Nombre":"👤 Daniel Humberto Soto Villegas El may","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Fecha Ultima Actualizacion":"📆🔄️ 17/02/2025 21:43","user entry point":"inbound_message","Fecha Ultimo Pago":"📆💸 14/02/2025 13:08 con Personalizado 📝💸","Saldo Actual":"💲700 pendientes","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 300","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas El may\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲700 pendientes\",\"Monto Ultimo Pago\": \"💲 300\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 14/02/2025 13:08 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 17/02/2025 21:43\",\"Clabe Interbancaria\": \"0021804341999569810\"}","URL":"🌐 https://172.16.5.120/crm/client/2","user name":"Grisel"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-18 3:43:50.885931] [notice] Logging level set to:debug -[2025-02-18 3:43:51.027993] [debug] valor el evento recibido por webhook: client.edit - -[2025-02-18 3:43:51.028188] [debug] Valor de JSON: {"uuid":"9a4f0779-c4c9-466f-b787-9089e1a294d0","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-700,"accountCredit":0,"accountOutstanding":700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas El may","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-700,"accountCredit":0,"accountOutstanding":700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-02-18 3:43:51.028453] [debug] Se actualiza a un cliente -[2025-02-18 3:43:51.028548] [debug] Valor de json_data: {"uuid":"9a4f0779-c4c9-466f-b787-9089e1a294d0","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-700,"accountCredit":0,"accountOutstanding":700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas El may","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-700,"accountCredit":0,"accountOutstanding":700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-02-18 3:43:51.028597] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-18 3:43:51.028634] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-02-18 3:43:51.028669] [debug] No hubo cambio de true a false en el campo isLead -[2025-02-18 3:43:51.028703] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-02-18 3:43:51.028737] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-02-18 3:43:51.028770] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-02-18 3:43:51.028805] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-02-18 3:43:51.028861] [debug] {"uuid":"9a4f0779-c4c9-466f-b787-9089e1a294d0","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-700,"accountCredit":0,"accountOutstanding":700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-02-18 3:43:51.028958] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-18 3:43:51.028997] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":578,"clientId":2,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:08:45-0600","amount":300,"currencyCode":"MXN","note":"febrero","receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":657,"invoiceId":1558,"paymentId":578,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1015,"attributes":[]}] - -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":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2700 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2700 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 300\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 14\/02\/2025 13:08 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/02\/2025 21:43\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/02\/2025 13:08 con Personalizado \ud83d\udcdd\ud83d\udcb8","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/02\/2025 21:43","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"0021804341999569810","user entry point":"inbound_message","Fecha Ultima Actualizacion":"📆🔄️ 17/02/2025 21:43","Estado":"🟢 Activo ","Saldo Actual":"💲700 pendientes","Fecha Ultimo Pago":"📆💸 14/02/2025 13:08 con Personalizado 📝💸","URL":"🌐 https://172.16.5.120/crm/client/2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 300","user name":"Daniel Humberto 🐁","Nombre":"👤 Daniel Humberto Soto Villegas","Cliente":"2","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲700 pendientes\",\"Monto Ultimo Pago\": \"💲 300\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 14/02/2025 13:08 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 17/02/2025 21:43\",\"Clabe Interbancaria\": \"0021804341999569810\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":578,"clientId":2,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:08:45-0600","amount":300,"currencyCode":"MXN","note":"febrero","receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":657,"invoiceId":1558,"paymentId":578,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas - -UUID: 2038d2d99ae543f3b56f1ae54f4cc82b - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2700 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2700 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 300\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 14\/02\/2025 13:08 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/02\/2025 21:43\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/02\/2025 13:08 con Personalizado \ud83d\udcdd\ud83d\udcb8","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/02\/2025 21:43","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"2038d2d99ae543f3b56f1ae54f4cc82b","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181817609","avatarUrl":null,"createdAt":"2024-01-26T18:16:09Z","closedAt":"2025-02-17T19:00:45Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/2038d2d99ae543f3b56f1ae54f4cc82b","conversationHref":"https://dash.callbell.eu/chat/90611886ac204c56a75240f951c53874","tags":[],"assignedUser":null,"customFields":{"Estado":"🟢 Activo ","Nombre":"👤 Daniel Humberto Soto Villegas","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Fecha Ultima Actualizacion":"📆🔄️ 17/02/2025 21:43","user entry point":"inbound_message","Fecha Ultimo Pago":"📆💸 14/02/2025 13:08 con Personalizado 📝💸","Saldo Actual":"💲700 pendientes","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 300","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲700 pendientes\",\"Monto Ultimo Pago\": \"💲 300\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 14/02/2025 13:08 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 17/02/2025 21:43\",\"Clabe Interbancaria\": \"0021804341999569810\"}","URL":"🌐 https://172.16.5.120/crm/client/2","user name":"Grisel"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-18 3:44:32.101869] [notice] Logging level set to:debug -[2025-02-18 3:44:32.317846] [debug] valor el evento recibido por webhook: invoice.edit - -[2025-02-18 3:44:32.318043] [debug] Valor de JSON: {"uuid":"08a389ca-6fc4-4178-9a3f-61a91d7e4ace","changeType":"edit","entity":"invoice","entityId":"1559","eventName":"invoice.edit","extraData":{"entity":{"id":1559,"clientId":2,"number":"001522","createdDate":"2025-02-17T20:41:09-0600","dueDate":"2025-03-03T20:41:09-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-17T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1562,"type":"service","label":"PREMIUM 27\/07\/2026 \u2013 26\/08\/2026","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":125,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":700,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":658,"invoiceId":1559,"paymentId":586,"creditNoteId":null,"refundId":null,"amount":700}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas El may","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":1559,"clientId":2,"number":"001522","createdDate":"2025-02-17T20:41:09-0600","dueDate":"2025-03-03T20:41:09-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-17T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1562,"type":"service","label":"PREMIUM 27\/07\/2026 \u2013 26\/08\/2026","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":125,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[{"id":658,"invoiceId":1559,"paymentId":586,"creditNoteId":null,"refundId":null,"amount":700}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas El may","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false}}} - -[2025-02-18 3:44:32.318326] [debug] Edición de Factura - -[2025-02-18 3:44:32.318433] [debug] {"uuid":"08a389ca-6fc4-4178-9a3f-61a91d7e4ace","changeType":"edit","entity":"invoice","entityId":1559,"message":null,"clientId":2,"eventName":"invoice.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1559,"clientId":2,"number":"001522","createdDate":"2025-02-17T20:41:09-0600","dueDate":"2025-03-03T20:41:09-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-17T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1562,"type":"service","label":"PREMIUM 27\/07\/2026 \u2013 26\/08\/2026","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":125,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":700,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":658,"invoiceId":1559,"paymentId":586,"creditNoteId":null,"refundId":null,"amount":700}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas El may","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-18 3:44:32.318538] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-18 3:44:32.318578] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":586,"clientId":2,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-17T21:44:29-0600","amount":700,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":658,"invoiceId":1559,"paymentId":586,"creditNoteId":null,"refundId":null,"amount":700}],"creditAmount":0,"userId":1015,"attributes":[]}] - -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":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","Monto Ultimo Pago":"\ud83d\udcb2 700","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 700\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 17\/02\/2025 21:44 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/02\/2025 21:44\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 17\/02\/2025 21:44 con Personalizado \ud83d\udcdd\ud83d\udcb8","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/02\/2025 21:44","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"0021804341999569810","user entry point":"inbound_message","Fecha Ultima Actualizacion":"📆🔄️ 17/02/2025 21:44","Estado":"🟢 Activo ","Saldo Actual":"💲0 está al corriente","Fecha Ultimo Pago":"📆💸 17/02/2025 21:44 con Personalizado 📝💸","URL":"🌐 https://172.16.5.120/crm/client/2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 700","user name":"Daniel Humberto 🐁","Nombre":"👤 Daniel Humberto Soto Villegas","Cliente":"2","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"💲 700\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 17/02/2025 21:44 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 17/02/2025 21:44\",\"Clabe Interbancaria\": \"0021804341999569810\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":586,"clientId":2,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-17T21:44:29-0600","amount":700,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":658,"invoiceId":1559,"paymentId":586,"creditNoteId":null,"refundId":null,"amount":700}],"creditAmount":0,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas - -UUID: 2038d2d99ae543f3b56f1ae54f4cc82b - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","Monto Ultimo Pago":"\ud83d\udcb2 700","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 700\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 17\/02\/2025 21:44 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/02\/2025 21:44\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 17\/02\/2025 21:44 con Personalizado \ud83d\udcdd\ud83d\udcb8","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/02\/2025 21:44","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"2038d2d99ae543f3b56f1ae54f4cc82b","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181817609","avatarUrl":null,"createdAt":"2024-01-26T18:16:09Z","closedAt":"2025-02-17T19:00:45Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/2038d2d99ae543f3b56f1ae54f4cc82b","conversationHref":"https://dash.callbell.eu/chat/90611886ac204c56a75240f951c53874","tags":[],"assignedUser":null,"customFields":{"Estado":"🟢 Activo ","Nombre":"👤 Daniel Humberto Soto Villegas","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Fecha Ultima Actualizacion":"📆🔄️ 17/02/2025 21:44","user entry point":"inbound_message","Fecha Ultimo Pago":"📆💸 17/02/2025 21:44 con Personalizado 📝💸","Saldo Actual":"💲0 está al corriente","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 700","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"💲 700\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 17/02/2025 21:44 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 17/02/2025 21:44\",\"Clabe Interbancaria\": \"0021804341999569810\"}","URL":"🌐 https://172.16.5.120/crm/client/2","user name":"Grisel"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-18 3:44:36.001672] [notice] Logging level set to:debug -[2025-02-18 3:44:36.118254] [debug] valor el evento recibido por webhook: payment.add - -[2025-02-18 3:44:36.118372] [debug] Valor de JSON: {"uuid":"593e69a7-7257-4d37-80db-9087ff86a971","changeType":"insert","entity":"payment","entityId":"586","eventName":"payment.add","extraData":{"entity":{"id":586,"clientId":2,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-17T21:44:29-0600","amount":700,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":658,"invoiceId":1559,"paymentId":586,"creditNoteId":null,"refundId":null,"amount":700}],"creditAmount":0,"userId":1015,"attributes":[]},"entityBeforeEdit":null}} - -[2025-02-18 3:44:36.118530] [debug] Notification encodificado en JSON:{"uuid":"593e69a7-7257-4d37-80db-9087ff86a971","changeType":"insert","entity":"payment","entityId":586,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":586,"clientId":2,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-17T21:44:29-0600","amount":700,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":658,"invoiceId":1559,"paymentId":586,"creditNoteId":null,"refundId":null,"amount":700}],"creditAmount":0,"userId":1015,"attributes":[]}} - -[2025-02-18 3:44:36.118563] [debug] valor del payment data: {"id":586,"clientId":2,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-17T21:44:29-0600","amount":700,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":658,"invoiceId":1559,"paymentId":586,"creditNoteId":null,"refundId":null,"amount":700}],"creditAmount":0,"userId":1015,"attributes":[]} - -[2025-02-18 3:44:36.118611] [info] {"WhatsApp":["5214181878106","5214181817609"]} -[2025-02-18 3:44:36.118623] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-18 3:44:36.118633] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-02-18 3:44:36.118642] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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 - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Comprobante eliminado de Wordpress: Comprobante_PREESCOLAR_PABLO_NERUDA_(LA_CAZUELA).png - -Archivos eliminados - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png" - }, - "template_values": ["Daniel Humberto Soto Villegas", "$700", "$0 está al corriente"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"a516bc9ba6aa4bb8a038aa4c3cc8cbd4","status":"enqueued"}} -Hay menos de 100 archivos en el directorio. No se eliminarán archivos. - -La notificación fue enviada correctamente con estado: enqueued - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":586,"clientId":2,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-17T21:44:29-0600","amount":700,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":658,"invoiceId":1559,"paymentId":586,"creditNoteId":null,"refundId":null,"amount":700}],"creditAmount":0,"userId":1015,"attributes":[]}] - -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":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","Monto Ultimo Pago":"\ud83d\udcb2 700","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 700\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 17\/02\/2025 21:44 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/02\/2025 21:44\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 17\/02\/2025 21:44 con Personalizado \ud83d\udcdd\ud83d\udcb8","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/02\/2025 21:44","Clabe Interbancaria":null}} - -[2025-02-18 3:44:46.122273] [notice] Logging level set to:debug -[2025-02-18 3:44:46.241544] [debug] valor el evento recibido por webhook: payment.edit - -[2025-02-18 3:44:46.241605] [debug] Valor de JSON: {"uuid":"8c9355ba-c676-4ee5-a852-a0ab8b73432b","changeType":"edit","entity":"payment","entityId":"586","eventName":"payment.edit","extraData":{"entity":{"id":586,"clientId":2,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-17T21:44:29-0600","amount":700,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":658,"invoiceId":1559,"paymentId":586,"creditNoteId":null,"refundId":null,"amount":700}],"creditAmount":0,"userId":1015,"attributes":[]},"entityBeforeEdit":{"id":586,"clientId":2,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-17T21:44:29-0600","amount":700,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":658,"invoiceId":1559,"paymentId":586,"creditNoteId":null,"refundId":null,"amount":700}],"creditAmount":0,"userId":1015,"attributes":[]}}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"0021804341999569810","user entry point":"inbound_message","Fecha Ultima Actualizacion":"📆🔄️ 17/02/2025 21:44","Estado":"🟢 Activo ","Saldo Actual":"💲0 está al corriente","Fecha Ultimo Pago":"📆💸 17/02/2025 21:44 con Personalizado 📝💸","URL":"🌐 https://172.16.5.120/crm/client/2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 700","user name":"Daniel Humberto 🐁","Nombre":"👤 Daniel Humberto Soto Villegas","Cliente":"2","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"💲 700\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 17/02/2025 21:44 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 17/02/2025 21:44\",\"Clabe Interbancaria\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-18 3:44:46.595393] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -Eviando comprobante de pago al cliente: 2 con número: 5214181817609 - -El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf - -El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Archivos eliminados - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181817609", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png" - }, - "template_values": ["Daniel Humberto Soto Villegas", "$700", "$0 está al corriente"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"5f47264e655448f3a5c137058689ab91","status":"enqueued"}} -Hay menos de 100 archivos en el directorio. No se eliminarán archivos. - -La notificación fue enviada correctamente con estado: enqueued - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":586,"clientId":2,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-17T21:44:29-0600","amount":700,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":658,"invoiceId":1559,"paymentId":586,"creditNoteId":null,"refundId":null,"amount":700}],"creditAmount":0,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas - -UUID: 2038d2d99ae543f3b56f1ae54f4cc82b - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","Monto Ultimo Pago":"\ud83d\udcb2 700","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 700\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 17\/02\/2025 21:44 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/02\/2025 21:44\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 17\/02\/2025 21:44 con Personalizado \ud83d\udcdd\ud83d\udcb8","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/02\/2025 21:44","Clabe Interbancaria":null}} - -Response Patch CallBell: {"contact":{"uuid":"2038d2d99ae543f3b56f1ae54f4cc82b","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181817609","avatarUrl":null,"createdAt":"2024-01-26T18:16:09Z","closedAt":"2025-02-17T19:00:45Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/2038d2d99ae543f3b56f1ae54f4cc82b","conversationHref":"https://dash.callbell.eu/chat/90611886ac204c56a75240f951c53874","tags":[],"assignedUser":null,"customFields":{"Estado":"🟢 Activo ","Nombre":"👤 Daniel Humberto Soto Villegas","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Fecha Ultima Actualizacion":"📆🔄️ 17/02/2025 21:44","user entry point":"inbound_message","Fecha Ultimo Pago":"📆💸 17/02/2025 21:44 con Personalizado 📝💸","Saldo Actual":"💲0 está al corriente","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 700","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"💲 700\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 17/02/2025 21:44 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 17/02/2025 21:44\",\"Clabe Interbancaria\": \"\"}","URL":"🌐 https://172.16.5.120/crm/client/2","user name":"Grisel"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-18 3:45:23.100914] [notice] Logging level set to:debug -[2025-02-18 3:45:23.239203] [debug] valor el evento recibido por webhook: invoice.add - -[2025-02-18 3:45:23.239270] [debug] Valor de JSON: {"uuid":"50ef286d-1ca4-44eb-adf9-a6dd365972e3","changeType":"insert","entity":"invoice","entityId":"1560","eventName":"invoice.add","extraData":{"entity":{"id":1560,"clientId":2,"number":"001523","createdDate":"2025-02-17T21:45:07-0600","dueDate":"2025-03-03T21:45:07-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-17T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1563,"type":"service","label":"PREMIUM 27\/08\/2026 \u2013 26\/09\/2026","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":125,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"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 Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-18 3:45:23.239464] [debug] Adición de Factura - -[2025-02-18 3:45:23.239545] [debug] datos del notification para el invoice add:{"uuid":"50ef286d-1ca4-44eb-adf9-a6dd365972e3","changeType":"insert","entity":"invoice","entityId":1560,"message":null,"clientId":2,"eventName":"invoice.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-700,"accountCredit":0,"accountOutstanding":700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1560,"clientId":2,"number":"001523","createdDate":"2025-02-17T21:45:07-0600","dueDate":"2025-03-03T21:45:07-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-17T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1563,"type":"service","label":"PREMIUM 27\/08\/2026 \u2013 26\/09\/2026","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":125,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"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 Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-18 3:45:23.239578] [debug] Account Balance: -700 - -[2025-02-18 3:45:23.239619] [debug] {"uuid":"50ef286d-1ca4-44eb-adf9-a6dd365972e3","changeType":"insert","entity":"invoice","entityId":1560,"message":null,"clientId":2,"eventName":"invoice.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-700,"accountCredit":0,"accountOutstanding":700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1560,"clientId":2,"number":"001523","createdDate":"2025-02-17T21:45:07-0600","dueDate":"2025-03-03T21:45:07-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-17T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1563,"type":"service","label":"PREMIUM 27\/08\/2026 \u2013 26\/09\/2026","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":125,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"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 Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-18 3:45:23.239686] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-18 3:45:23.239701] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":586,"clientId":2,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-17T21:44:29-0600","amount":700,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":658,"invoiceId":1559,"paymentId":586,"creditNoteId":null,"refundId":null,"amount":700}],"creditAmount":0,"userId":1015,"attributes":[]}] - -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":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2700 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 700","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2700 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 700\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 17\/02\/2025 21:44 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/02\/2025 21:45\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 17\/02\/2025 21:44 con Personalizado \ud83d\udcdd\ud83d\udcb8","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/02\/2025 21:45","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"0021804341999569810","user entry point":"inbound_message","Fecha Ultima Actualizacion":"📆🔄️ 17/02/2025 21:45","Estado":"🟢 Activo ","Saldo Actual":"💲700 pendientes","Fecha Ultimo Pago":"📆💸 17/02/2025 21:44 con Personalizado 📝💸","URL":"🌐 https://172.16.5.120/crm/client/2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 700","user name":"Daniel Humberto 🐁","Nombre":"👤 Daniel Humberto Soto Villegas","Cliente":"2","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲700 pendientes\",\"Monto Ultimo Pago\": \"💲 700\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 17/02/2025 21:44 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 17/02/2025 21:45\",\"Clabe Interbancaria\": \"0021804341999569810\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":586,"clientId":2,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-17T21:44:29-0600","amount":700,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":658,"invoiceId":1559,"paymentId":586,"creditNoteId":null,"refundId":null,"amount":700}],"creditAmount":0,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas - -UUID: 2038d2d99ae543f3b56f1ae54f4cc82b - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2700 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 700","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2700 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 700\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 17\/02\/2025 21:44 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/02\/2025 21:45\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 17\/02\/2025 21:44 con Personalizado \ud83d\udcdd\ud83d\udcb8","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/02\/2025 21:45","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"2038d2d99ae543f3b56f1ae54f4cc82b","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181817609","avatarUrl":null,"createdAt":"2024-01-26T18:16:09Z","closedAt":"2025-02-17T19:00:45Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/2038d2d99ae543f3b56f1ae54f4cc82b","conversationHref":"https://dash.callbell.eu/chat/90611886ac204c56a75240f951c53874","tags":[],"assignedUser":null,"customFields":{"Estado":"🟢 Activo ","Nombre":"👤 Daniel Humberto Soto Villegas","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Fecha Ultima Actualizacion":"📆🔄️ 17/02/2025 21:45","user entry point":"inbound_message","Fecha Ultimo Pago":"📆💸 17/02/2025 21:44 con Personalizado 📝💸","Saldo Actual":"💲700 pendientes","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 700","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲700 pendientes\",\"Monto Ultimo Pago\": \"💲 700\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 17/02/2025 21:44 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 17/02/2025 21:45\",\"Clabe Interbancaria\": \"0021804341999569810\"}","URL":"🌐 https://172.16.5.120/crm/client/2","user name":"Grisel"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-18 10:34:29.132499] [notice] Logging level set to:debug -[2025-02-18 10:34:29.165819] [debug] valor el evento recibido por webhook: test - -[2025-02-18 10:34:29.165868] [debug] Valor de JSON: {"uuid":"d9159da9-567a-4b6b-abf9-b1430bc66d27","changeType":"test","entity":"webhook","entityId":"3","eventName":"test","extraData":{"entity":null,"entityBeforeEdit":null}} - -[2025-02-18 10:34:29.166131] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-02-18 10:34:29.166148] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-02-18 10:34:29.166157] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-02-18 10:34:29.166166] [debug] La etiqueta STRIPE se agregó al cliente -[2025-02-18 16:40:13.637958] [notice] Logging level set to:debug -[2025-02-18 16:40:13.732793] [debug] valor el evento recibido por webhook: client.edit - -[2025-02-18 16:40:13.732986] [debug] Valor de JSON: {"uuid":"95e19dde-f00c-4355-a0ec-a6aa9be2637a","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-700,"accountCredit":0,"accountOutstanding":700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-700,"accountCredit":0,"accountOutstanding":700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-02-18 16:40:13.733262] [debug] Se actualiza a un cliente -[2025-02-18 16:40:13.733347] [debug] Valor de json_data: {"uuid":"95e19dde-f00c-4355-a0ec-a6aa9be2637a","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-700,"accountCredit":0,"accountOutstanding":700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-700,"accountCredit":0,"accountOutstanding":700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-02-18 16:40:13.733397] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-18 16:40:13.733434] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-02-18 16:40:13.733470] [debug] No hubo cambio de true a false en el campo isLead -[2025-02-18 16:40:13.733505] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-02-18 16:40:13.733541] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-02-18 16:40:13.733575] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-02-18 16:40:13.733613] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-02-18 16:40:13.733676] [debug] {"uuid":"95e19dde-f00c-4355-a0ec-a6aa9be2637a","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-700,"accountCredit":0,"accountOutstanding":700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-02-18 16:40:13.733778] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-18 16:40:13.733819] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":586,"clientId":2,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-17T21:44:29-0600","amount":700,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":658,"invoiceId":1559,"paymentId":586,"creditNoteId":null,"refundId":null,"amount":700}],"creditAmount":0,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2700 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 700","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2700 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 700\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 17\/02\/2025 21:44 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 18\/02\/2025 10:40\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 17\/02\/2025 21:44 con Personalizado \ud83d\udcdd\ud83d\udcb8","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 18\/02\/2025 10:40","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas el boy","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"0021804341999569810","user entry point":"inbound_message","Fecha Ultima Actualizacion":"📆🔄️ 18/02/2025 10:40","Estado":"🟢 Activo ","Saldo Actual":"💲700 pendientes","Fecha Ultimo Pago":"📆💸 17/02/2025 21:44 con Personalizado 📝💸","URL":"🌐 https://172.16.5.120/crm/client/2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 700","user name":"Daniel Humberto 🐁","Nombre":"👤 Daniel Humberto Soto Villegas el boy","Cliente":"2","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas el boy\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲700 pendientes\",\"Monto Ultimo Pago\": \"💲 700\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 17/02/2025 21:44 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 18/02/2025 10:40\",\"Clabe Interbancaria\": \"0021804341999569810\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":586,"clientId":2,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-17T21:44:29-0600","amount":700,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":658,"invoiceId":1559,"paymentId":586,"creditNoteId":null,"refundId":null,"amount":700}],"creditAmount":0,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 2038d2d99ae543f3b56f1ae54f4cc82b - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2700 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 700","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2700 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 700\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 17\/02\/2025 21:44 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 18\/02\/2025 10:40\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 17\/02\/2025 21:44 con Personalizado \ud83d\udcdd\ud83d\udcb8","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 18\/02\/2025 10:40","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"2038d2d99ae543f3b56f1ae54f4cc82b","name":"Daniel Humberto Soto Villegas el boy","phoneNumber":"5214181817609","avatarUrl":null,"createdAt":"2024-01-26T18:16:09Z","closedAt":"2025-02-17T19:00:45Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/2038d2d99ae543f3b56f1ae54f4cc82b","conversationHref":"https://dash.callbell.eu/chat/90611886ac204c56a75240f951c53874","tags":[],"assignedUser":null,"customFields":{"Estado":"🟢 Activo ","Nombre":"👤 Daniel Humberto Soto Villegas el boy","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Fecha Ultima Actualizacion":"📆🔄️ 18/02/2025 10:40","user entry point":"inbound_message","Fecha Ultimo Pago":"📆💸 17/02/2025 21:44 con Personalizado 📝💸","Saldo Actual":"💲700 pendientes","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 700","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas el boy\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲700 pendientes\",\"Monto Ultimo Pago\": \"💲 700\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 17/02/2025 21:44 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 18/02/2025 10:40\",\"Clabe Interbancaria\": \"0021804341999569810\"}","URL":"🌐 https://172.16.5.120/crm/client/2","user name":"Grisel"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-18 17:25:43.889441] [notice] Logging level set to:debug -[2025-02-18 17:25:44.032037] [debug] valor el evento recibido por webhook: invoice.add - -[2025-02-18 17:25:44.032191] [debug] Valor de JSON: {"uuid":"ad972aa4-576f-4aad-bab6-d4509de6a5c0","changeType":"insert","entity":"invoice","entityId":"1561","eventName":"invoice.add","extraData":{"entity":{"id":1561,"clientId":2,"number":"001524","createdDate":"2025-02-18T11:25:37-0600","dueDate":"2025-03-04T11:25:37-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-18T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1564,"type":"service","label":"PREMIUM 27\/09\/2026 \u2013 26\/10\/2026","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":125,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"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 Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-18 17:25:44.032424] [debug] Adición de Factura - -[2025-02-18 17:25:44.032511] [debug] datos del notification para el invoice add:{"uuid":"ad972aa4-576f-4aad-bab6-d4509de6a5c0","changeType":"insert","entity":"invoice","entityId":1561,"message":null,"clientId":2,"eventName":"invoice.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-1400,"accountCredit":0,"accountOutstanding":1400,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1561,"clientId":2,"number":"001524","createdDate":"2025-02-18T11:25:37-0600","dueDate":"2025-03-04T11:25:37-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-18T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1564,"type":"service","label":"PREMIUM 27\/09\/2026 \u2013 26\/10\/2026","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":125,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"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 Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-18 17:25:44.032571] [debug] Account Balance: -1400 - -[2025-02-18 17:25:44.032638] [debug] {"uuid":"ad972aa4-576f-4aad-bab6-d4509de6a5c0","changeType":"insert","entity":"invoice","entityId":1561,"message":null,"clientId":2,"eventName":"invoice.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-1400,"accountCredit":0,"accountOutstanding":1400,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1561,"clientId":2,"number":"001524","createdDate":"2025-02-18T11:25:37-0600","dueDate":"2025-03-04T11:25:37-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-18T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1564,"type":"service","label":"PREMIUM 27\/09\/2026 \u2013 26\/10\/2026","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":125,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"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 Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-18 17:25:44.032749] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-18 17:25:44.032793] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":586,"clientId":2,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-17T21:44:29-0600","amount":700,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":658,"invoiceId":1559,"paymentId":586,"creditNoteId":null,"refundId":null,"amount":700}],"creditAmount":0,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb21400 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 700","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb21400 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 700\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 17\/02\/2025 21:44 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 18\/02\/2025 11:25\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 17\/02\/2025 21:44 con Personalizado \ud83d\udcdd\ud83d\udcb8","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 18\/02\/2025 11:25","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas el boy","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"0021804341999569810","user entry point":"inbound_message","Fecha Ultima Actualizacion":"📆🔄️ 18/02/2025 11:25","Estado":"🟢 Activo ","Saldo Actual":"💲1400 pendientes","Fecha Ultimo Pago":"📆💸 17/02/2025 21:44 con Personalizado 📝💸","URL":"🌐 https://172.16.5.120/crm/client/2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 700","user name":"Daniel Humberto 🐁","Nombre":"👤 Daniel Humberto Soto Villegas el boy","Cliente":"2","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas el boy\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲1400 pendientes\",\"Monto Ultimo Pago\": \"💲 700\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 17/02/2025 21:44 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 18/02/2025 11:25\",\"Clabe Interbancaria\": \"0021804341999569810\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":586,"clientId":2,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-17T21:44:29-0600","amount":700,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":658,"invoiceId":1559,"paymentId":586,"creditNoteId":null,"refundId":null,"amount":700}],"creditAmount":0,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 2038d2d99ae543f3b56f1ae54f4cc82b - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb21400 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 700","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb21400 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 700\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 17\/02\/2025 21:44 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 18\/02\/2025 11:25\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 17\/02\/2025 21:44 con Personalizado \ud83d\udcdd\ud83d\udcb8","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 18\/02\/2025 11:25","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"2038d2d99ae543f3b56f1ae54f4cc82b","name":"Daniel Humberto Soto Villegas el boy","phoneNumber":"5214181817609","avatarUrl":null,"createdAt":"2024-01-26T18:16:09Z","closedAt":"2025-02-17T19:00:45Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/2038d2d99ae543f3b56f1ae54f4cc82b","conversationHref":"https://dash.callbell.eu/chat/90611886ac204c56a75240f951c53874","tags":[],"assignedUser":null,"customFields":{"Estado":"🟢 Activo ","Nombre":"👤 Daniel Humberto Soto Villegas el boy","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Fecha Ultima Actualizacion":"📆🔄️ 18/02/2025 11:25","user entry point":"inbound_message","Fecha Ultimo Pago":"📆💸 17/02/2025 21:44 con Personalizado 📝💸","Saldo Actual":"💲1400 pendientes","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 700","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas el boy\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲1400 pendientes\",\"Monto Ultimo Pago\": \"💲 700\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 17/02/2025 21:44 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 18/02/2025 11:25\",\"Clabe Interbancaria\": \"0021804341999569810\"}","URL":"🌐 https://172.16.5.120/crm/client/2","user name":"Grisel"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-18 17:36:05.861529] [notice] Logging level set to:debug -[2025-02-18 17:36:06.003418] [debug] valor el evento recibido por webhook: service.edit - -[2025-02-18 17:36:06.003587] [debug] Valor de JSON: {"uuid":"1368a998-dcb8-472c-84bc-a15941382f3f","changeType":"edit","entity":"service","entityId":"128","eventName":"service.edit","extraData":{"entity":{"id":128,"prepaid":false,"clientId":162,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-18T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-18T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"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":null,"unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":{"id":128,"prepaid":false,"clientId":162,"status":7,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":null,"activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":null,"invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"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":null,"unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}} - -[2025-02-18 17:36:06.141819] [notice] Logging level set to:debug -[2025-02-18 17:36:06.276925] [debug] valor el evento recibido por webhook: service.activate - -[2025-02-18 17:36:06.277084] [debug] Valor de JSON: {"uuid":"d825f1ff-32fc-465d-bd55-b846c9ccd020","changeType":"activate","entity":"service","entityId":"128","eventName":"service.activate","extraData":{"entity":{"id":128,"prepaid":false,"clientId":162,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-18T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-18T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"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":null,"unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":{"id":128,"prepaid":false,"clientId":162,"status":7,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":null,"activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":null,"invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"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":null,"unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}} - -[2025-02-18 17:36:21.131623] [notice] Logging level set to:debug -[2025-02-18 17:36:21.267802] [debug] valor el evento recibido por webhook: service.edit - -[2025-02-18 17:36:21.268018] [debug] Valor de JSON: {"uuid":"393c6a83-276c-4c75-9631-3f333eefbb02","changeType":"edit","entity":"service","entityId":"128","eventName":"service.edit","extraData":{"entity":{"id":128,"prepaid":false,"clientId":162,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-18T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-18T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"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":null,"unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":{"id":128,"prepaid":false,"clientId":162,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-18T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-18T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"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":null,"unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}} - -[2025-02-18 17:37:26.814639] [notice] Logging level set to:debug -[2025-02-18 17:37:26.953562] [debug] valor el evento recibido por webhook: service.edit - -[2025-02-18 17:37:26.953641] [debug] Valor de JSON: {"uuid":"66618952-f6bf-4834-88ae-ec59504b1ae1","changeType":"edit","entity":"service","entityId":"128","eventName":"service.edit","extraData":{"entity":{"id":128,"prepaid":false,"clientId":162,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-12T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"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":null,"unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":{"id":128,"prepaid":false,"clientId":162,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-18T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-18T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"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":null,"unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}} - -[2025-02-18 17:38:24.579030] [notice] Logging level set to:debug -[2025-02-18 17:38:24.721327] [debug] valor el evento recibido por webhook: service.suspend_cancel - -[2025-02-18 17:38:24.721492] [debug] Valor de JSON: {"uuid":"ded099c9-47c3-491e-9ea9-a61e7f22f04c","changeType":"unsuspend","entity":"service","entityId":"103","eventName":"service.suspend_cancel","extraData":{"entity":{"id":103,"prepaid":false,"clientId":1,"status":1,"name":"plan300","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-03-25T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2024-03-25T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":25,"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":"2025-01-24T00:00:00-0600","unmsClientSiteId":"4e9a790b-b72c-4082-a58d-da7760848f95","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":101,"startDate":"2024-07-06T00:00:00-0600","endDate":"2024-12-11T00:00:00-0600"},{"id":116,"startDate":"2024-12-11T00:00:00-0600","endDate":"2025-02-18T11:38:24-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":103,"prepaid":false,"clientId":1,"status":3,"name":"plan300","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-03-25T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2024-03-25T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":25,"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":"2025-01-24T00:00:00-0600","unmsClientSiteId":"4e9a790b-b72c-4082-a58d-da7760848f95","attributes":[],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":101,"startDate":"2024-07-06T00:00:00-0600","endDate":"2024-12-11T00:00:00-0600"},{"id":116,"startDate":"2024-12-11T00:00:00-0600","endDate":"2025-02-18T11:38:24-0600"}],"surcharges":[]}}} - -[2025-02-18 17:38:24.721836] [debug] Se reactivó el servicio a un cliente - -[2025-02-18 17:38:24.721982] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-18 17:38:24.722033] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-02-18 17:38:24.722111] [info] {"uuid":"ded099c9-47c3-491e-9ea9-a61e7f22f04c","changeType":"unsuspend","entity":"service","entityId":103,"message":null,"clientId":1,"eventName":"service.suspend_cancel","clientData":{"id":1,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true}],"accountBalance":2080,"accountCredit":2080,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":103,"prepaid":false,"clientId":1,"status":1,"name":"plan300","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-03-25T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2024-03-25T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":25,"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":"2025-01-24T00:00:00-0600","unmsClientSiteId":"4e9a790b-b72c-4082-a58d-da7760848f95","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":101,"startDate":"2024-07-06T00:00:00-0600","endDate":"2024-12-11T00:00:00-0600"},{"id":116,"startDate":"2024-12-11T00:00:00-0600","endDate":"2025-02-18T00:00:00-0600"}],"surcharges":[]},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Don Miguel Ángel Guerrero González - -UUID: 0e53e926ce424db5b9284a75915d24fe - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 18\/02\/2025 11:38"}} - -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-02-15T17:17:12Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https://dash.callbell.eu/chat/f017e454a6b94ab297509274216c6795","tags":["SIIP","Suspendido"],"assignedUser":null,"customFields":{"URL":"🌐 https://172.16.5.120/crm/client/1","user entry point":"inbound_message","Clientes Relacionados":"oxxo","Cliente":"1","Nombre":"👤 Don Miguel Ángel Guerrero González","Clabe Interbancaria":"124180650741039816","Estado":"🟢 Activo","Fecha Ultima Actualizacion":"📆🔄️ 18/02/2025 11:38","Monto Ultimo Pago":"💲 300","Acciones":"1","Fecha Ultimo Pago":"📆💸 15/02/2025 10:28 con Tarjeta de crédito Stripe 💳","Domicilio":"📍 Calle Morelos 34, Dolores Hidalgo, 37800","Saldo Actual":"💲2080 a favor","user name":"Angel","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"📍 Calle Morelos 34, Dolores Hidalgo, 37800\",\"Nombre\": \"👤 Don Miguel Ángel Guerrero González\",\"URL\": \"🌐 https://172.16.5.120/crm/client/1\",\"Saldo Actual\": \"💲2080 a favor\",\"Monto Ultimo Pago\": \"💲 300\",\"Estado\": \"🔴 Suspendido\",\"Fecha Ultimo Pago\": \"📆💰 15/02/2025 10:28 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 15/02/2025 10:28\",\"Clabe Interbancaria\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-18 17:38:26.690062] [notice] Logging level set to:debug -[2025-02-18 17:38:26.824596] [debug] valor el evento recibido por webhook: service.edit - -[2025-02-18 17:38:26.824687] [debug] Valor de JSON: {"uuid":"81327175-819f-4525-b712-e9df6abdc581","changeType":"edit","entity":"service","entityId":"103","eventName":"service.edit","extraData":{"entity":{"id":103,"prepaid":false,"clientId":1,"status":1,"name":"plan300","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-03-25T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2024-03-25T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":25,"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":"2025-01-24T00:00:00-0600","unmsClientSiteId":"4e9a790b-b72c-4082-a58d-da7760848f95","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":101,"startDate":"2024-07-06T00:00:00-0600","endDate":"2024-12-11T00:00:00-0600"},{"id":116,"startDate":"2024-12-11T00:00:00-0600","endDate":"2025-02-18T11:38:24-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":103,"prepaid":false,"clientId":1,"status":3,"name":"plan300","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-03-25T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2024-03-25T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":25,"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":"2025-01-24T00:00:00-0600","unmsClientSiteId":"4e9a790b-b72c-4082-a58d-da7760848f95","attributes":[],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":101,"startDate":"2024-07-06T00:00:00-0600","endDate":"2024-12-11T00:00:00-0600"},{"id":116,"startDate":"2024-12-11T00:00:00-0600","endDate":"2025-02-18T11:38:24-0600"}],"surcharges":[]}}} - -[2025-02-18 17:38:49.052923] [notice] Logging level set to:debug -[2025-02-18 17:38:49.155966] [error] Error for request http://localhost/crm/api/v1.0/clients/services/103. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 17:38:49.274563] [notice] Logging level set to:debug -[2025-02-18 17:38:49.417957] [debug] valor el evento recibido por webhook: service.add - -[2025-02-18 17:38:49.418045] [debug] Valor de JSON: {"uuid":"ed4a5384-d7bd-46e3-b5d7-c2043230c14f","changeType":"insert","entity":"service","entityId":"132","eventName":"service.add","extraData":{"entity":{"id":132,"prepaid":false,"clientId":1,"status":1,"name":"PREMIUM","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-03-25T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-18T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":25,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"4e9a790b-b72c-4082-a58d-da7760848f95","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":101,"startDate":"2024-07-06T00:00:00-0600","endDate":"2024-12-11T00:00:00-0600"},{"id":116,"startDate":"2024-12-11T00:00:00-0600","endDate":"2025-02-18T00:00:00-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":103,"prepaid":false,"clientId":1,"status":5,"name":"plan300","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-03-25T00:00:00-0600","activeTo":"2025-02-17T00:00:00-0600","contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2024-03-25T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":25,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"plan300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":6,"uploadSpeed":6,"hasOutage":null,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-01-24T00:00:00-0600","unmsClientSiteId":null,"attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}} - -[2025-02-18 17:40:27.727814] [notice] Logging level set to:debug -[2025-02-18 17:40:27.808597] [error] Error for request http://localhost/crm/api/v1.0/clients/services/1. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 17:40:27.927150] [notice] Logging level set to:debug -[2025-02-18 17:40:27.993741] [error] Error for request http://localhost/crm/api/v1.0/clients/services/1. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 17:40:28.109709] [notice] Logging level set to:debug -[2025-02-18 17:40:28.235450] [debug] valor el evento recibido por webhook: service.suspend_cancel - -[2025-02-18 17:40:28.235666] [debug] Valor de JSON: {"uuid":"022eb000-4fbe-4a36-8377-0df8638b0ce9","changeType":"unsuspend","entity":"service","entityId":"133","eventName":"service.suspend_cancel","extraData":{"entity":{"id":133,"prepaid":false,"clientId":1,"status":1,"name":"plan300","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-18T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-18T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":27,"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":null,"unmsClientSiteId":"1d383fcc-c1a7-45e3-931f-01fe93376cf6","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":{"id":1,"prepaid":false,"clientId":1,"status":2,"name":"plan300","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-27T00:00:00-0600","activeTo":"2024-02-08T00:00:00-0600","contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2024-01-27T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":27,"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":"2024-02-08T00:00:00-0600","unmsClientSiteId":"1d383fcc-c1a7-45e3-931f-01fe93376cf6","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}} - -[2025-02-18 17:40:28.235954] [debug] Se reactivó el servicio a un cliente - -[2025-02-18 17:40:28.236099] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-18 17:40:28.236150] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-02-18 17:40:28.236236] [info] {"uuid":"022eb000-4fbe-4a36-8377-0df8638b0ce9","changeType":"unsuspend","entity":"service","entityId":133,"message":null,"clientId":1,"eventName":"service.suspend_cancel","clientData":{"id":1,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true}],"accountBalance":2080,"accountCredit":2080,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":133,"prepaid":false,"clientId":1,"status":1,"name":"plan300","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-18T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-18T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":27,"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":null,"unmsClientSiteId":"1d383fcc-c1a7-45e3-931f-01fe93376cf6","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Don Miguel Ángel Guerrero González - -UUID: 0e53e926ce424db5b9284a75915d24fe - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 18\/02\/2025 11:40"}} - -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-02-15T17:17:12Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https://dash.callbell.eu/chat/f017e454a6b94ab297509274216c6795","tags":["SIIP","Suspendido"],"assignedUser":null,"customFields":{"URL":"🌐 https://172.16.5.120/crm/client/1","user entry point":"inbound_message","Clientes Relacionados":"oxxo","Cliente":"1","Nombre":"👤 Don Miguel Ángel Guerrero González","Clabe Interbancaria":"124180650741039816","Estado":"🟢 Activo","Fecha Ultima Actualizacion":"📆🔄️ 18/02/2025 11:40","Monto Ultimo Pago":"💲 300","Acciones":"1","Fecha Ultimo Pago":"📆💸 15/02/2025 10:28 con Tarjeta de crédito Stripe 💳","Domicilio":"📍 Calle Morelos 34, Dolores Hidalgo, 37800","Saldo Actual":"💲2080 a favor","user name":"Angel","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"📍 Calle Morelos 34, Dolores Hidalgo, 37800\",\"Nombre\": \"👤 Don Miguel Ángel Guerrero González\",\"URL\": \"🌐 https://172.16.5.120/crm/client/1\",\"Saldo Actual\": \"💲2080 a favor\",\"Monto Ultimo Pago\": \"💲 300\",\"Estado\": \"🔴 Suspendido\",\"Fecha Ultimo Pago\": \"📆💰 15/02/2025 10:28 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 15/02/2025 10:28\",\"Clabe Interbancaria\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-18 17:40:29.955843] [notice] Logging level set to:debug -[2025-02-18 17:40:30.105201] [debug] valor el evento recibido por webhook: service.add - -[2025-02-18 17:40:30.105412] [debug] Valor de JSON: {"uuid":"9797a218-978a-4359-93cb-e9fe1a830e95","changeType":"insert","entity":"service","entityId":"133","eventName":"service.add","extraData":{"entity":{"id":133,"prepaid":false,"clientId":1,"status":1,"name":"plan300","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-18T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-18T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":27,"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":null,"unmsClientSiteId":"1d383fcc-c1a7-45e3-931f-01fe93376cf6","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":{"id":1,"prepaid":false,"clientId":1,"status":5,"name":"plan300","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-27T00:00:00-0600","activeTo":"2024-02-08T00:00:00-0600","contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2024-01-27T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":27,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"plan300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":6,"uploadSpeed":6,"hasOutage":null,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2024-02-08T00:00:00-0600","unmsClientSiteId":null,"attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}} - -[2025-02-18 18:03:54.036536] [notice] Logging level set to:debug -[2025-02-18 18:03:54.172624] [debug] valor el evento recibido por webhook: invoice.add - -[2025-02-18 18:03:54.172689] [debug] Valor de JSON: {"uuid":"7379e486-bf7b-4d07-9aa3-2fa9e0cc196a","changeType":"insert","entity":"invoice","entityId":"1562","eventName":"invoice.add","extraData":{"entity":{"id":1562,"clientId":2,"number":"001525","createdDate":"2025-02-18T12:03:31-0600","dueDate":"2025-03-04T12:03:31-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-18T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1565,"type":"service","label":"PREMIUM 27\/10\/2026 \u2013 26\/11\/2026","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":125,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"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 Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-18 18:03:54.172894] [debug] Adición de Factura - -[2025-02-18 18:03:54.172945] [debug] datos del notification para el invoice add:{"uuid":"7379e486-bf7b-4d07-9aa3-2fa9e0cc196a","changeType":"insert","entity":"invoice","entityId":1562,"message":null,"clientId":2,"eventName":"invoice.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-2100,"accountCredit":0,"accountOutstanding":2100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1562,"clientId":2,"number":"001525","createdDate":"2025-02-18T12:03:31-0600","dueDate":"2025-03-04T12:03:31-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-18T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1565,"type":"service","label":"PREMIUM 27\/10\/2026 \u2013 26\/11\/2026","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":125,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"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 Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-18 18:03:54.172974] [debug] Account Balance: -2100 - -[2025-02-18 18:03:54.173011] [debug] {"uuid":"7379e486-bf7b-4d07-9aa3-2fa9e0cc196a","changeType":"insert","entity":"invoice","entityId":1562,"message":null,"clientId":2,"eventName":"invoice.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-2100,"accountCredit":0,"accountOutstanding":2100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1562,"clientId":2,"number":"001525","createdDate":"2025-02-18T12:03:31-0600","dueDate":"2025-03-04T12:03:31-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-18T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1565,"type":"service","label":"PREMIUM 27\/10\/2026 \u2013 26\/11\/2026","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":125,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"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 Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-18 18:03:54.173080] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-18 18:03:54.173094] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":586,"clientId":2,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-17T21:44:29-0600","amount":700,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":658,"invoiceId":1559,"paymentId":586,"creditNoteId":null,"refundId":null,"amount":700}],"creditAmount":0,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb22100 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 700","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb22100 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 700\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 17\/02\/2025 21:44 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 18\/02\/2025 12:03\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 17\/02\/2025 21:44 con Personalizado \ud83d\udcdd\ud83d\udcb8","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 18\/02\/2025 12:03","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas el boy","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"0021804341999569810","user entry point":"inbound_message","Fecha Ultima Actualizacion":"📆🔄️ 18/02/2025 12:03","Estado":"🟢 Activo ","Saldo Actual":"💲2100 pendientes","Fecha Ultimo Pago":"📆💸 17/02/2025 21:44 con Personalizado 📝💸","URL":"🌐 https://172.16.5.120/crm/client/2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 700","user name":"Daniel Humberto 🐁","Nombre":"👤 Daniel Humberto Soto Villegas el boy","Cliente":"2","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas el boy\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲2100 pendientes\",\"Monto Ultimo Pago\": \"💲 700\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 17/02/2025 21:44 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 18/02/2025 12:03\",\"Clabe Interbancaria\": \"0021804341999569810\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":586,"clientId":2,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-17T21:44:29-0600","amount":700,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":658,"invoiceId":1559,"paymentId":586,"creditNoteId":null,"refundId":null,"amount":700}],"creditAmount":0,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 2038d2d99ae543f3b56f1ae54f4cc82b - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb22100 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 700","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb22100 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 700\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 17\/02\/2025 21:44 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 18\/02\/2025 12:03\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 17\/02\/2025 21:44 con Personalizado \ud83d\udcdd\ud83d\udcb8","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 18\/02\/2025 12:03","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"2038d2d99ae543f3b56f1ae54f4cc82b","name":"Daniel Humberto Soto Villegas el boy","phoneNumber":"5214181817609","avatarUrl":null,"createdAt":"2024-01-26T18:16:09Z","closedAt":"2025-02-17T19:00:45Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/2038d2d99ae543f3b56f1ae54f4cc82b","conversationHref":"https://dash.callbell.eu/chat/90611886ac204c56a75240f951c53874","tags":[],"assignedUser":null,"customFields":{"Estado":"🟢 Activo ","Nombre":"👤 Daniel Humberto Soto Villegas el boy","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Fecha Ultima Actualizacion":"📆🔄️ 18/02/2025 12:03","user entry point":"inbound_message","Fecha Ultimo Pago":"📆💸 17/02/2025 21:44 con Personalizado 📝💸","Saldo Actual":"💲2100 pendientes","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 700","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas el boy\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲2100 pendientes\",\"Monto Ultimo Pago\": \"💲 700\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 17/02/2025 21:44 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 18/02/2025 12:03\",\"Clabe Interbancaria\": \"0021804341999569810\"}","URL":"🌐 https://172.16.5.120/crm/client/2","user name":"Grisel"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-18 18:05:02.161463] [notice] Logging level set to:debug -[2025-02-18 18:05:02.225260] [error] Error for request http://localhost/crm/api/v1.0/invoices/1560. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:05:03.423028] [notice] Logging level set to:debug -[2025-02-18 18:05:03.491069] [error] Error for request http://localhost/crm/api/v1.0/invoices/1561. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:05:04.575475] [notice] Logging level set to:debug -[2025-02-18 18:05:04.643987] [error] Error for request http://localhost/crm/api/v1.0/invoices/1562. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:09:00.499849] [notice] Logging level set to:debug -[2025-02-18 18:09:00.638676] [error] Error for request http://localhost/crm/api/v1.0/invoices/1333. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:09:01.944143] [notice] Logging level set to:debug -[2025-02-18 18:09:02.014795] [error] Error for request http://localhost/crm/api/v1.0/invoices/1334. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:09:03.187510] [notice] Logging level set to:debug -[2025-02-18 18:09:03.263523] [error] Error for request http://localhost/crm/api/v1.0/invoices/1335. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:09:04.422385] [notice] Logging level set to:debug -[2025-02-18 18:09:04.484602] [error] Error for request http://localhost/crm/api/v1.0/invoices/1449. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:09:05.541796] [notice] Logging level set to:debug -[2025-02-18 18:09:05.616765] [error] Error for request http://localhost/crm/api/v1.0/invoices/1450. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:09:06.755227] [notice] Logging level set to:debug -[2025-02-18 18:09:06.821866] [error] Error for request http://localhost/crm/api/v1.0/invoices/1548. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:09:07.946595] [notice] Logging level set to:debug -[2025-02-18 18:09:08.010550] [error] Error for request http://localhost/crm/api/v1.0/invoices/1549. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:09:09.106647] [notice] Logging level set to:debug -[2025-02-18 18:09:09.189750] [error] Error for request http://localhost/crm/api/v1.0/invoices/1552. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:09:10.343679] [notice] Logging level set to:debug -[2025-02-18 18:09:10.408255] [error] Error for request http://localhost/crm/api/v1.0/invoices/1558. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:09:11.516881] [notice] Logging level set to:debug -[2025-02-18 18:09:11.589143] [error] Error for request http://localhost/crm/api/v1.0/invoices/1559. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:10:27.580343] [notice] Logging level set to:debug -[2025-02-18 18:10:27.648464] [error] Error for request http://localhost/crm/api/v1.0/invoices/115. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:10:28.755115] [notice] Logging level set to:debug -[2025-02-18 18:10:28.826422] [error] Error for request http://localhost/crm/api/v1.0/invoices/213. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:10:29.893419] [notice] Logging level set to:debug -[2025-02-18 18:10:29.970216] [error] Error for request http://localhost/crm/api/v1.0/invoices/214. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:10:31.101819] [notice] Logging level set to:debug -[2025-02-18 18:10:31.169559] [error] Error for request http://localhost/crm/api/v1.0/invoices/215. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:10:32.248236] [notice] Logging level set to:debug -[2025-02-18 18:10:32.326780] [error] Error for request http://localhost/crm/api/v1.0/invoices/216. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:10:33.417282] [notice] Logging level set to:debug -[2025-02-18 18:10:33.483345] [error] Error for request http://localhost/crm/api/v1.0/invoices/217. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:10:34.608236] [notice] Logging level set to:debug -[2025-02-18 18:10:34.683144] [error] Error for request http://localhost/crm/api/v1.0/invoices/218. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:10:35.801369] [notice] Logging level set to:debug -[2025-02-18 18:10:35.870583] [error] Error for request http://localhost/crm/api/v1.0/invoices/219. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:10:37.004769] [notice] Logging level set to:debug -[2025-02-18 18:10:37.062138] [error] Error for request http://localhost/crm/api/v1.0/invoices/224. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:10:38.188076] [notice] Logging level set to:debug -[2025-02-18 18:10:38.269687] [error] Error for request http://localhost/crm/api/v1.0/invoices/225. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:10:39.425203] [notice] Logging level set to:debug -[2025-02-18 18:10:39.499758] [error] Error for request http://localhost/crm/api/v1.0/invoices/226. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:10:40.674468] [notice] Logging level set to:debug -[2025-02-18 18:10:40.738082] [error] Error for request http://localhost/crm/api/v1.0/invoices/227. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:10:41.994812] [notice] Logging level set to:debug -[2025-02-18 18:10:42.061050] [error] Error for request http://localhost/crm/api/v1.0/invoices/229. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:10:43.408449] [notice] Logging level set to:debug -[2025-02-18 18:10:43.535789] [error] Error for request http://localhost/crm/api/v1.0/invoices/230. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:10:44.962447] [notice] Logging level set to:debug -[2025-02-18 18:10:45.076395] [error] Error for request http://localhost/crm/api/v1.0/invoices/231. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:10:46.814918] [notice] Logging level set to:debug -[2025-02-18 18:10:46.917686] [error] Error for request http://localhost/crm/api/v1.0/invoices/232. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:10:48.287985] [notice] Logging level set to:debug -[2025-02-18 18:10:48.403636] [error] Error for request http://localhost/crm/api/v1.0/invoices/233. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:10:51.179562] [notice] Logging level set to:debug -[2025-02-18 18:10:51.284569] [error] Error for request http://localhost/crm/api/v1.0/invoices/426. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:10:53.250971] [notice] Logging level set to:debug -[2025-02-18 18:10:53.379530] [error] Error for request http://localhost/crm/api/v1.0/invoices/427. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:10:55.568264] [notice] Logging level set to:debug -[2025-02-18 18:10:55.684946] [error] Error for request http://localhost/crm/api/v1.0/invoices/428. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:10:57.433352] [notice] Logging level set to:debug -[2025-02-18 18:10:57.536401] [error] Error for request http://localhost/crm/api/v1.0/invoices/429. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:10:59.320518] [notice] Logging level set to:debug -[2025-02-18 18:10:59.462403] [error] Error for request http://localhost/crm/api/v1.0/invoices/430. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:02.555527] [notice] Logging level set to:debug -[2025-02-18 18:11:02.735157] [error] Error for request http://localhost/crm/api/v1.0/invoices/431. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:04.190160] [notice] Logging level set to:debug -[2025-02-18 18:11:04.282414] [error] Error for request http://localhost/crm/api/v1.0/invoices/432. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:05.720256] [notice] Logging level set to:debug -[2025-02-18 18:11:05.849546] [error] Error for request http://localhost/crm/api/v1.0/invoices/433. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:06.954037] [notice] Logging level set to:debug -[2025-02-18 18:11:07.016846] [error] Error for request http://localhost/crm/api/v1.0/invoices/434. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:08.248635] [notice] Logging level set to:debug -[2025-02-18 18:11:08.328301] [error] Error for request http://localhost/crm/api/v1.0/invoices/435. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:09.635648] [notice] Logging level set to:debug -[2025-02-18 18:11:09.702076] [error] Error for request http://localhost/crm/api/v1.0/invoices/436. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:10.930267] [notice] Logging level set to:debug -[2025-02-18 18:11:10.991691] [error] Error for request http://localhost/crm/api/v1.0/invoices/437. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:12.186188] [notice] Logging level set to:debug -[2025-02-18 18:11:12.261157] [error] Error for request http://localhost/crm/api/v1.0/invoices/438. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:13.437700] [notice] Logging level set to:debug -[2025-02-18 18:11:13.509264] [error] Error for request http://localhost/crm/api/v1.0/invoices/439. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:14.736089] [notice] Logging level set to:debug -[2025-02-18 18:11:14.800656] [error] Error for request http://localhost/crm/api/v1.0/invoices/442. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:16.057262] [notice] Logging level set to:debug -[2025-02-18 18:11:16.129643] [error] Error for request http://localhost/crm/api/v1.0/invoices/443. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:17.377580] [notice] Logging level set to:debug -[2025-02-18 18:11:17.450793] [error] Error for request http://localhost/crm/api/v1.0/invoices/444. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:18.671694] [notice] Logging level set to:debug -[2025-02-18 18:11:18.743079] [error] Error for request http://localhost/crm/api/v1.0/invoices/445. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:19.948684] [notice] Logging level set to:debug -[2025-02-18 18:11:20.022255] [error] Error for request http://localhost/crm/api/v1.0/invoices/446. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:21.318578] [notice] Logging level set to:debug -[2025-02-18 18:11:21.393776] [error] Error for request http://localhost/crm/api/v1.0/invoices/447. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:22.580931] [notice] Logging level set to:debug -[2025-02-18 18:11:22.647475] [error] Error for request http://localhost/crm/api/v1.0/invoices/449. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:23.847178] [notice] Logging level set to:debug -[2025-02-18 18:11:23.943192] [error] Error for request http://localhost/crm/api/v1.0/invoices/450. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:25.276741] [notice] Logging level set to:debug -[2025-02-18 18:11:25.349288] [error] Error for request http://localhost/crm/api/v1.0/invoices/483. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:26.665697] [notice] Logging level set to:debug -[2025-02-18 18:11:26.730242] [error] Error for request http://localhost/crm/api/v1.0/invoices/484. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:27.929219] [notice] Logging level set to:debug -[2025-02-18 18:11:28.015532] [error] Error for request http://localhost/crm/api/v1.0/invoices/485. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:29.240098] [notice] Logging level set to:debug -[2025-02-18 18:11:29.306807] [error] Error for request http://localhost/crm/api/v1.0/invoices/486. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:30.599178] [notice] Logging level set to:debug -[2025-02-18 18:11:30.672981] [error] Error for request http://localhost/crm/api/v1.0/invoices/487. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:31.892055] [notice] Logging level set to:debug -[2025-02-18 18:11:31.962929] [error] Error for request http://localhost/crm/api/v1.0/invoices/488. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:33.157211] [notice] Logging level set to:debug -[2025-02-18 18:11:33.234381] [error] Error for request http://localhost/crm/api/v1.0/invoices/489. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:34.489799] [notice] Logging level set to:debug -[2025-02-18 18:11:34.568952] [error] Error for request http://localhost/crm/api/v1.0/invoices/493. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:35.928417] [notice] Logging level set to:debug -[2025-02-18 18:11:35.998380] [error] Error for request http://localhost/crm/api/v1.0/invoices/494. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:37.220488] [notice] Logging level set to:debug -[2025-02-18 18:11:37.297048] [error] Error for request http://localhost/crm/api/v1.0/invoices/592. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:38.499660] [notice] Logging level set to:debug -[2025-02-18 18:11:38.564734] [error] Error for request http://localhost/crm/api/v1.0/invoices/593. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:39.861294] [notice] Logging level set to:debug -[2025-02-18 18:11:39.934278] [error] Error for request http://localhost/crm/api/v1.0/invoices/594. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:41.143769] [notice] Logging level set to:debug -[2025-02-18 18:11:41.212837] [error] Error for request http://localhost/crm/api/v1.0/invoices/595. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:42.470875] [notice] Logging level set to:debug -[2025-02-18 18:11:42.532201] [error] Error for request http://localhost/crm/api/v1.0/invoices/596. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:43.749767] [notice] Logging level set to:debug -[2025-02-18 18:11:43.819147] [error] Error for request http://localhost/crm/api/v1.0/invoices/597. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:45.185754] [notice] Logging level set to:debug -[2025-02-18 18:11:45.255507] [error] Error for request http://localhost/crm/api/v1.0/invoices/598. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:46.599464] [notice] Logging level set to:debug -[2025-02-18 18:11:46.671293] [error] Error for request http://localhost/crm/api/v1.0/invoices/599. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:47.907257] [notice] Logging level set to:debug -[2025-02-18 18:11:47.971777] [error] Error for request http://localhost/crm/api/v1.0/invoices/600. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:49.222609] [notice] Logging level set to:debug -[2025-02-18 18:11:49.297215] [error] Error for request http://localhost/crm/api/v1.0/invoices/601. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:50.692009] [notice] Logging level set to:debug -[2025-02-18 18:11:50.759613] [error] Error for request http://localhost/crm/api/v1.0/invoices/602. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:51.972708] [notice] Logging level set to:debug -[2025-02-18 18:11:52.054712] [error] Error for request http://localhost/crm/api/v1.0/invoices/603. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:53.302073] [notice] Logging level set to:debug -[2025-02-18 18:11:53.370896] [error] Error for request http://localhost/crm/api/v1.0/invoices/604. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:54.585189] [notice] Logging level set to:debug -[2025-02-18 18:11:54.652858] [error] Error for request http://localhost/crm/api/v1.0/invoices/605. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:55.892849] [notice] Logging level set to:debug -[2025-02-18 18:11:55.969464] [error] Error for request http://localhost/crm/api/v1.0/invoices/606. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:57.204786] [notice] Logging level set to:debug -[2025-02-18 18:11:57.271693] [error] Error for request http://localhost/crm/api/v1.0/invoices/607. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:58.516061] [notice] Logging level set to:debug -[2025-02-18 18:11:58.589179] [error] Error for request http://localhost/crm/api/v1.0/invoices/608. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:11:59.929037] [notice] Logging level set to:debug -[2025-02-18 18:11:59.989619] [error] Error for request http://localhost/crm/api/v1.0/invoices/609. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:01.598118] [notice] Logging level set to:debug -[2025-02-18 18:12:01.679488] [error] Error for request http://localhost/crm/api/v1.0/invoices/610. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:02.915358] [notice] Logging level set to:debug -[2025-02-18 18:12:02.976795] [error] Error for request http://localhost/crm/api/v1.0/invoices/611. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:04.217822] [notice] Logging level set to:debug -[2025-02-18 18:12:04.291681] [error] Error for request http://localhost/crm/api/v1.0/invoices/612. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:05.507908] [notice] Logging level set to:debug -[2025-02-18 18:12:05.572932] [error] Error for request http://localhost/crm/api/v1.0/invoices/618. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:06.770134] [notice] Logging level set to:debug -[2025-02-18 18:12:06.842396] [error] Error for request http://localhost/crm/api/v1.0/invoices/619. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:08.217295] [notice] Logging level set to:debug -[2025-02-18 18:12:08.358727] [error] Error for request http://localhost/crm/api/v1.0/invoices/620. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:09.529428] [notice] Logging level set to:debug -[2025-02-18 18:12:09.592874] [error] Error for request http://localhost/crm/api/v1.0/invoices/621. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:10.848418] [notice] Logging level set to:debug -[2025-02-18 18:12:10.911393] [error] Error for request http://localhost/crm/api/v1.0/invoices/622. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:12.091208] [notice] Logging level set to:debug -[2025-02-18 18:12:12.165502] [error] Error for request http://localhost/crm/api/v1.0/invoices/625. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:13.356703] [notice] Logging level set to:debug -[2025-02-18 18:12:13.423489] [error] Error for request http://localhost/crm/api/v1.0/invoices/626. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:14.603998] [notice] Logging level set to:debug -[2025-02-18 18:12:14.669611] [error] Error for request http://localhost/crm/api/v1.0/invoices/627. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:15.961720] [notice] Logging level set to:debug -[2025-02-18 18:12:16.050044] [error] Error for request http://localhost/crm/api/v1.0/invoices/628. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:17.255772] [notice] Logging level set to:debug -[2025-02-18 18:12:17.318856] [error] Error for request http://localhost/crm/api/v1.0/invoices/629. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:18.542654] [notice] Logging level set to:debug -[2025-02-18 18:12:18.656944] [error] Error for request http://localhost/crm/api/v1.0/invoices/631. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:19.918077] [notice] Logging level set to:debug -[2025-02-18 18:12:19.985733] [error] Error for request http://localhost/crm/api/v1.0/invoices/634. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:21.255788] [notice] Logging level set to:debug -[2025-02-18 18:12:21.340301] [error] Error for request http://localhost/crm/api/v1.0/invoices/635. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:22.669497] [notice] Logging level set to:debug -[2025-02-18 18:12:22.731827] [error] Error for request http://localhost/crm/api/v1.0/invoices/636. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:23.982147] [notice] Logging level set to:debug -[2025-02-18 18:12:24.056138] [error] Error for request http://localhost/crm/api/v1.0/invoices/637. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:25.287906] [notice] Logging level set to:debug -[2025-02-18 18:12:25.356323] [error] Error for request http://localhost/crm/api/v1.0/invoices/638. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:26.563035] [notice] Logging level set to:debug -[2025-02-18 18:12:26.628843] [error] Error for request http://localhost/crm/api/v1.0/invoices/639. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:27.854095] [notice] Logging level set to:debug -[2025-02-18 18:12:27.934053] [error] Error for request http://localhost/crm/api/v1.0/invoices/640. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:29.172883] [notice] Logging level set to:debug -[2025-02-18 18:12:29.237195] [error] Error for request http://localhost/crm/api/v1.0/invoices/735. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:30.468691] [notice] Logging level set to:debug -[2025-02-18 18:12:30.553282] [error] Error for request http://localhost/crm/api/v1.0/invoices/736. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:31.800333] [notice] Logging level set to:debug -[2025-02-18 18:12:31.861937] [error] Error for request http://localhost/crm/api/v1.0/invoices/737. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:33.312520] [notice] Logging level set to:debug -[2025-02-18 18:12:33.397617] [error] Error for request http://localhost/crm/api/v1.0/invoices/738. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:34.696460] [notice] Logging level set to:debug -[2025-02-18 18:12:34.763686] [error] Error for request http://localhost/crm/api/v1.0/invoices/739. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:36.054856] [notice] Logging level set to:debug -[2025-02-18 18:12:36.132920] [error] Error for request http://localhost/crm/api/v1.0/invoices/740. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:37.349934] [notice] Logging level set to:debug -[2025-02-18 18:12:37.414774] [error] Error for request http://localhost/crm/api/v1.0/invoices/1293. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:38.722587] [notice] Logging level set to:debug -[2025-02-18 18:12:38.855865] [error] Error for request http://localhost/crm/api/v1.0/invoices/1294. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:40.297298] [notice] Logging level set to:debug -[2025-02-18 18:12:40.374651] [error] Error for request http://localhost/crm/api/v1.0/invoices/1296. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:41.623433] [notice] Logging level set to:debug -[2025-02-18 18:12:41.689194] [error] Error for request http://localhost/crm/api/v1.0/invoices/1297. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:42.928172] [notice] Logging level set to:debug -[2025-02-18 18:12:43.003654] [error] Error for request http://localhost/crm/api/v1.0/invoices/1298. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:44.248230] [notice] Logging level set to:debug -[2025-02-18 18:12:44.316921] [error] Error for request http://localhost/crm/api/v1.0/invoices/1299. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:45.594593] [notice] Logging level set to:debug -[2025-02-18 18:12:45.670691] [error] Error for request http://localhost/crm/api/v1.0/invoices/1300. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:46.947845] [notice] Logging level set to:debug -[2025-02-18 18:12:47.013627] [error] Error for request http://localhost/crm/api/v1.0/invoices/1301. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:48.303678] [notice] Logging level set to:debug -[2025-02-18 18:12:48.387267] [error] Error for request http://localhost/crm/api/v1.0/invoices/1302. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:49.645642] [notice] Logging level set to:debug -[2025-02-18 18:12:49.712591] [error] Error for request http://localhost/crm/api/v1.0/invoices/1303. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:50.997400] [notice] Logging level set to:debug -[2025-02-18 18:12:51.083756] [error] Error for request http://localhost/crm/api/v1.0/invoices/1312. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:52.366204] [notice] Logging level set to:debug -[2025-02-18 18:12:52.433456] [error] Error for request http://localhost/crm/api/v1.0/invoices/1313. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:53.712445] [notice] Logging level set to:debug -[2025-02-18 18:12:53.783217] [error] Error for request http://localhost/crm/api/v1.0/invoices/1314. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:55.078002] [notice] Logging level set to:debug -[2025-02-18 18:12:55.187922] [error] Error for request http://localhost/crm/api/v1.0/invoices/1315. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:56.406677] [notice] Logging level set to:debug -[2025-02-18 18:12:56.500730] [error] Error for request http://localhost/crm/api/v1.0/invoices/1316. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:57.820421] [notice] Logging level set to:debug -[2025-02-18 18:12:57.889811] [error] Error for request http://localhost/crm/api/v1.0/invoices/1317. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:12:59.258150] [notice] Logging level set to:debug -[2025-02-18 18:12:59.355920] [error] Error for request http://localhost/crm/api/v1.0/invoices/1318. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:00.746414] [notice] Logging level set to:debug -[2025-02-18 18:13:00.846612] [error] Error for request http://localhost/crm/api/v1.0/invoices/1319. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:02.449886] [notice] Logging level set to:debug -[2025-02-18 18:13:02.521812] [error] Error for request http://localhost/crm/api/v1.0/invoices/1320. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:03.792423] [notice] Logging level set to:debug -[2025-02-18 18:13:03.858709] [error] Error for request http://localhost/crm/api/v1.0/invoices/1321. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:05.183599] [notice] Logging level set to:debug -[2025-02-18 18:13:05.253276] [error] Error for request http://localhost/crm/api/v1.0/invoices/1322. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:06.567189] [notice] Logging level set to:debug -[2025-02-18 18:13:06.642221] [error] Error for request http://localhost/crm/api/v1.0/invoices/1323. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:07.961787] [notice] Logging level set to:debug -[2025-02-18 18:13:08.033756] [error] Error for request http://localhost/crm/api/v1.0/invoices/1324. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:09.330219] [notice] Logging level set to:debug -[2025-02-18 18:13:09.393500] [error] Error for request http://localhost/crm/api/v1.0/invoices/1325. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:10.745655] [notice] Logging level set to:debug -[2025-02-18 18:13:10.843389] [error] Error for request http://localhost/crm/api/v1.0/invoices/1326. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:12.039432] [notice] Logging level set to:debug -[2025-02-18 18:13:12.114490] [error] Error for request http://localhost/crm/api/v1.0/invoices/1327. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:13.393345] [notice] Logging level set to:debug -[2025-02-18 18:13:13.474601] [error] Error for request http://localhost/crm/api/v1.0/invoices/1328. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:14.734285] [notice] Logging level set to:debug -[2025-02-18 18:13:14.801182] [error] Error for request http://localhost/crm/api/v1.0/invoices/1329. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:16.114645] [notice] Logging level set to:debug -[2025-02-18 18:13:16.196598] [error] Error for request http://localhost/crm/api/v1.0/invoices/1330. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:17.485656] [notice] Logging level set to:debug -[2025-02-18 18:13:17.560621] [error] Error for request http://localhost/crm/api/v1.0/invoices/1331. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:18.809179] [notice] Logging level set to:debug -[2025-02-18 18:13:18.880383] [error] Error for request http://localhost/crm/api/v1.0/invoices/1332. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:20.104429] [notice] Logging level set to:debug -[2025-02-18 18:13:20.171101] [error] Error for request http://localhost/crm/api/v1.0/payments/37. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:21.376806] [notice] Logging level set to:debug -[2025-02-18 18:13:21.436417] [error] Error for request http://localhost/crm/api/v1.0/payments/38. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:22.809015] [notice] Logging level set to:debug -[2025-02-18 18:13:22.867098] [error] Error for request http://localhost/crm/api/v1.0/payments/39. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:24.316530] [notice] Logging level set to:debug -[2025-02-18 18:13:24.443882] [error] Error for request http://localhost/crm/api/v1.0/payments/40. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:26.031454] [notice] Logging level set to:debug -[2025-02-18 18:13:26.172668] [error] Error for request http://localhost/crm/api/v1.0/payments/41. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:28.438463] [notice] Logging level set to:debug -[2025-02-18 18:13:28.556196] [error] Error for request http://localhost/crm/api/v1.0/payments/42. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:30.006511] [notice] Logging level set to:debug -[2025-02-18 18:13:30.066682] [error] Error for request http://localhost/crm/api/v1.0/payments/43. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:31.266105] [notice] Logging level set to:debug -[2025-02-18 18:13:31.333482] [error] Error for request http://localhost/crm/api/v1.0/payments/44. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:32.517951] [notice] Logging level set to:debug -[2025-02-18 18:13:32.572366] [error] Error for request http://localhost/crm/api/v1.0/payments/45. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:33.764076] [notice] Logging level set to:debug -[2025-02-18 18:13:33.821249] [error] Error for request http://localhost/crm/api/v1.0/payments/46. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:35.034780] [notice] Logging level set to:debug -[2025-02-18 18:13:35.099745] [error] Error for request http://localhost/crm/api/v1.0/payments/47. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:36.365158] [notice] Logging level set to:debug -[2025-02-18 18:13:36.425183] [error] Error for request http://localhost/crm/api/v1.0/payments/48. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:37.593578] [notice] Logging level set to:debug -[2025-02-18 18:13:37.649364] [error] Error for request http://localhost/crm/api/v1.0/payments/49. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:38.854399] [notice] Logging level set to:debug -[2025-02-18 18:13:38.933434] [error] Error for request http://localhost/crm/api/v1.0/payments/50. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:40.121673] [notice] Logging level set to:debug -[2025-02-18 18:13:40.183111] [error] Error for request http://localhost/crm/api/v1.0/payments/51. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:41.403652] [notice] Logging level set to:debug -[2025-02-18 18:13:41.479110] [error] Error for request http://localhost/crm/api/v1.0/payments/52. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:42.865947] [notice] Logging level set to:debug -[2025-02-18 18:13:42.921314] [error] Error for request http://localhost/crm/api/v1.0/payments/53. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:43.994551] [notice] Logging level set to:debug -[2025-02-18 18:13:44.062477] [error] Error for request http://localhost/crm/api/v1.0/payments/54. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:45.329703] [notice] Logging level set to:debug -[2025-02-18 18:13:45.391002] [error] Error for request http://localhost/crm/api/v1.0/payments/55. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:46.614990] [notice] Logging level set to:debug -[2025-02-18 18:13:46.676855] [error] Error for request http://localhost/crm/api/v1.0/payments/56. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:47.932220] [notice] Logging level set to:debug -[2025-02-18 18:13:47.996635] [error] Error for request http://localhost/crm/api/v1.0/payments/57. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:49.201874] [notice] Logging level set to:debug -[2025-02-18 18:13:49.259980] [error] Error for request http://localhost/crm/api/v1.0/payments/58. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:50.484292] [notice] Logging level set to:debug -[2025-02-18 18:13:50.557367] [error] Error for request http://localhost/crm/api/v1.0/payments/59. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:51.795808] [notice] Logging level set to:debug -[2025-02-18 18:13:51.858911] [error] Error for request http://localhost/crm/api/v1.0/payments/60. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:53.082192] [notice] Logging level set to:debug -[2025-02-18 18:13:53.148619] [error] Error for request http://localhost/crm/api/v1.0/payments/61. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:54.434381] [notice] Logging level set to:debug -[2025-02-18 18:13:54.494102] [error] Error for request http://localhost/crm/api/v1.0/payments/62. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:55.742925] [notice] Logging level set to:debug -[2025-02-18 18:13:55.809660] [error] Error for request http://localhost/crm/api/v1.0/payments/63. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:57.031034] [notice] Logging level set to:debug -[2025-02-18 18:13:57.096492] [error] Error for request http://localhost/crm/api/v1.0/payments/64. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:58.432179] [notice] Logging level set to:debug -[2025-02-18 18:13:58.493531] [error] Error for request http://localhost/crm/api/v1.0/payments/65. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:13:59.855204] [notice] Logging level set to:debug -[2025-02-18 18:13:59.918725] [error] Error for request http://localhost/crm/api/v1.0/payments/66. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:01.187685] [notice] Logging level set to:debug -[2025-02-18 18:14:01.302086] [error] Error for request http://localhost/crm/api/v1.0/payments/67. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:02.855444] [notice] Logging level set to:debug -[2025-02-18 18:14:02.912893] [error] Error for request http://localhost/crm/api/v1.0/payments/68. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:04.170780] [notice] Logging level set to:debug -[2025-02-18 18:14:04.252916] [error] Error for request http://localhost/crm/api/v1.0/payments/69. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:05.504853] [notice] Logging level set to:debug -[2025-02-18 18:14:05.561650] [error] Error for request http://localhost/crm/api/v1.0/payments/70. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:06.766824] [notice] Logging level set to:debug -[2025-02-18 18:14:06.822740] [error] Error for request http://localhost/crm/api/v1.0/payments/71. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:08.004129] [notice] Logging level set to:debug -[2025-02-18 18:14:08.074704] [error] Error for request http://localhost/crm/api/v1.0/payments/72. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:09.266067] [notice] Logging level set to:debug -[2025-02-18 18:14:09.328574] [error] Error for request http://localhost/crm/api/v1.0/payments/73. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:10.511821] [notice] Logging level set to:debug -[2025-02-18 18:14:10.597134] [error] Error for request http://localhost/crm/api/v1.0/payments/74. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:11.950984] [notice] Logging level set to:debug -[2025-02-18 18:14:12.039004] [error] Error for request http://localhost/crm/api/v1.0/payments/75. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:13.240977] [notice] Logging level set to:debug -[2025-02-18 18:14:13.307192] [error] Error for request http://localhost/crm/api/v1.0/payments/76. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:14.783102] [notice] Logging level set to:debug -[2025-02-18 18:14:14.854415] [error] Error for request http://localhost/crm/api/v1.0/payments/77. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:16.092127] [notice] Logging level set to:debug -[2025-02-18 18:14:16.176505] [error] Error for request http://localhost/crm/api/v1.0/payments/78. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:17.418598] [notice] Logging level set to:debug -[2025-02-18 18:14:17.488620] [error] Error for request http://localhost/crm/api/v1.0/payments/79. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:18.710237] [notice] Logging level set to:debug -[2025-02-18 18:14:18.770551] [error] Error for request http://localhost/crm/api/v1.0/payments/80. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:19.955300] [notice] Logging level set to:debug -[2025-02-18 18:14:20.019711] [error] Error for request http://localhost/crm/api/v1.0/payments/81. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:21.246637] [notice] Logging level set to:debug -[2025-02-18 18:14:21.311826] [error] Error for request http://localhost/crm/api/v1.0/payments/82. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:22.495609] [notice] Logging level set to:debug -[2025-02-18 18:14:22.556572] [error] Error for request http://localhost/crm/api/v1.0/payments/83. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:23.827785] [notice] Logging level set to:debug -[2025-02-18 18:14:23.890810] [error] Error for request http://localhost/crm/api/v1.0/payments/84. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:25.091842] [notice] Logging level set to:debug -[2025-02-18 18:14:25.164727] [error] Error for request http://localhost/crm/api/v1.0/payments/85. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:26.377378] [notice] Logging level set to:debug -[2025-02-18 18:14:26.434277] [error] Error for request http://localhost/crm/api/v1.0/payments/86. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:27.586877] [notice] Logging level set to:debug -[2025-02-18 18:14:27.649094] [error] Error for request http://localhost/crm/api/v1.0/payments/87. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:28.836376] [notice] Logging level set to:debug -[2025-02-18 18:14:28.904687] [error] Error for request http://localhost/crm/api/v1.0/payments/88. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:30.030718] [notice] Logging level set to:debug -[2025-02-18 18:14:30.090280] [error] Error for request http://localhost/crm/api/v1.0/payments/89. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:31.273327] [notice] Logging level set to:debug -[2025-02-18 18:14:31.338176] [error] Error for request http://localhost/crm/api/v1.0/payments/90. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:32.480714] [notice] Logging level set to:debug -[2025-02-18 18:14:32.549211] [error] Error for request http://localhost/crm/api/v1.0/payments/91. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:33.725853] [notice] Logging level set to:debug -[2025-02-18 18:14:33.783184] [error] Error for request http://localhost/crm/api/v1.0/payments/92. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:34.980585] [notice] Logging level set to:debug -[2025-02-18 18:14:35.048765] [error] Error for request http://localhost/crm/api/v1.0/payments/94. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:36.237907] [notice] Logging level set to:debug -[2025-02-18 18:14:36.300103] [error] Error for request http://localhost/crm/api/v1.0/payments/95. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:37.520266] [notice] Logging level set to:debug -[2025-02-18 18:14:37.591859] [error] Error for request http://localhost/crm/api/v1.0/payments/96. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:38.868042] [notice] Logging level set to:debug -[2025-02-18 18:14:38.942641] [error] Error for request http://localhost/crm/api/v1.0/payments/97. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:40.124460] [notice] Logging level set to:debug -[2025-02-18 18:14:40.196324] [error] Error for request http://localhost/crm/api/v1.0/payments/98. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:41.403348] [notice] Logging level set to:debug -[2025-02-18 18:14:41.463651] [error] Error for request http://localhost/crm/api/v1.0/payments/99. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:42.693294] [notice] Logging level set to:debug -[2025-02-18 18:14:42.750833] [error] Error for request http://localhost/crm/api/v1.0/payments/100. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:43.921830] [notice] Logging level set to:debug -[2025-02-18 18:14:43.987622] [error] Error for request http://localhost/crm/api/v1.0/payments/101. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:45.440665] [notice] Logging level set to:debug -[2025-02-18 18:14:45.510732] [error] Error for request http://localhost/crm/api/v1.0/payments/102. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:46.702833] [notice] Logging level set to:debug -[2025-02-18 18:14:46.770665] [error] Error for request http://localhost/crm/api/v1.0/payments/103. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:48.429789] [notice] Logging level set to:debug -[2025-02-18 18:14:48.527626] [error] Error for request http://localhost/crm/api/v1.0/payments/104. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:49.809953] [notice] Logging level set to:debug -[2025-02-18 18:14:49.875988] [error] Error for request http://localhost/crm/api/v1.0/payments/105. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:51.065922] [notice] Logging level set to:debug -[2025-02-18 18:14:51.216778] [error] Error for request http://localhost/crm/api/v1.0/payments/107. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:52.505405] [notice] Logging level set to:debug -[2025-02-18 18:14:52.571822] [error] Error for request http://localhost/crm/api/v1.0/payments/108. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:53.729854] [notice] Logging level set to:debug -[2025-02-18 18:14:53.787787] [error] Error for request http://localhost/crm/api/v1.0/payments/109. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:55.038675] [notice] Logging level set to:debug -[2025-02-18 18:14:55.112823] [error] Error for request http://localhost/crm/api/v1.0/payments/110. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:56.320683] [notice] Logging level set to:debug -[2025-02-18 18:14:56.382143] [error] Error for request http://localhost/crm/api/v1.0/payments/111. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:57.583915] [notice] Logging level set to:debug -[2025-02-18 18:14:57.640616] [error] Error for request http://localhost/crm/api/v1.0/payments/112. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:14:58.796138] [notice] Logging level set to:debug -[2025-02-18 18:14:58.877589] [error] Error for request http://localhost/crm/api/v1.0/payments/113. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:00.149214] [notice] Logging level set to:debug -[2025-02-18 18:15:00.216039] [error] Error for request http://localhost/crm/api/v1.0/payments/114. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:04.088584] [notice] Logging level set to:debug -[2025-02-18 18:15:04.191880] [error] Error for request http://localhost/crm/api/v1.0/payments/115. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:06.057363] [notice] Logging level set to:debug -[2025-02-18 18:15:06.118058] [error] Error for request http://localhost/crm/api/v1.0/payments/116. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:07.327827] [notice] Logging level set to:debug -[2025-02-18 18:15:07.406363] [error] Error for request http://localhost/crm/api/v1.0/payments/117. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:08.757030] [notice] Logging level set to:debug -[2025-02-18 18:15:08.817593] [error] Error for request http://localhost/crm/api/v1.0/payments/118. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:09.966078] [notice] Logging level set to:debug -[2025-02-18 18:15:10.027065] [error] Error for request http://localhost/crm/api/v1.0/payments/119. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:11.245682] [notice] Logging level set to:debug -[2025-02-18 18:15:11.323210] [error] Error for request http://localhost/crm/api/v1.0/payments/120. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:12.504939] [notice] Logging level set to:debug -[2025-02-18 18:15:12.562871] [error] Error for request http://localhost/crm/api/v1.0/payments/121. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:13.710041] [notice] Logging level set to:debug -[2025-02-18 18:15:13.768068] [error] Error for request http://localhost/crm/api/v1.0/payments/122. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:15.015280] [notice] Logging level set to:debug -[2025-02-18 18:15:15.084897] [error] Error for request http://localhost/crm/api/v1.0/payments/123. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:16.286010] [notice] Logging level set to:debug -[2025-02-18 18:15:16.345926] [error] Error for request http://localhost/crm/api/v1.0/payments/124. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:17.494074] [notice] Logging level set to:debug -[2025-02-18 18:15:17.558264] [error] Error for request http://localhost/crm/api/v1.0/payments/125. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:18.779897] [notice] Logging level set to:debug -[2025-02-18 18:15:18.849061] [error] Error for request http://localhost/crm/api/v1.0/payments/126. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:20.100795] [notice] Logging level set to:debug -[2025-02-18 18:15:20.158364] [error] Error for request http://localhost/crm/api/v1.0/payments/127. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:21.322494] [notice] Logging level set to:debug -[2025-02-18 18:15:21.380593] [error] Error for request http://localhost/crm/api/v1.0/payments/128. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:22.605118] [notice] Logging level set to:debug -[2025-02-18 18:15:22.665504] [error] Error for request http://localhost/crm/api/v1.0/payments/129. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:23.832772] [notice] Logging level set to:debug -[2025-02-18 18:15:23.892822] [error] Error for request http://localhost/crm/api/v1.0/payments/130. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:25.060512] [notice] Logging level set to:debug -[2025-02-18 18:15:25.122010] [error] Error for request http://localhost/crm/api/v1.0/payments/131. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:26.279449] [notice] Logging level set to:debug -[2025-02-18 18:15:26.337440] [error] Error for request http://localhost/crm/api/v1.0/payments/132. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:27.546016] [notice] Logging level set to:debug -[2025-02-18 18:15:27.613068] [error] Error for request http://localhost/crm/api/v1.0/payments/133. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:28.829214] [notice] Logging level set to:debug -[2025-02-18 18:15:28.888320] [error] Error for request http://localhost/crm/api/v1.0/payments/134. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:30.028486] [notice] Logging level set to:debug -[2025-02-18 18:15:30.103411] [error] Error for request http://localhost/crm/api/v1.0/payments/135. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:31.317846] [notice] Logging level set to:debug -[2025-02-18 18:15:31.380325] [error] Error for request http://localhost/crm/api/v1.0/payments/136. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:32.487951] [notice] Logging level set to:debug -[2025-02-18 18:15:32.545548] [error] Error for request http://localhost/crm/api/v1.0/payments/137. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:33.673600] [notice] Logging level set to:debug -[2025-02-18 18:15:33.743093] [error] Error for request http://localhost/crm/api/v1.0/payments/138. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:34.902996] [notice] Logging level set to:debug -[2025-02-18 18:15:34.965087] [error] Error for request http://localhost/crm/api/v1.0/payments/139. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:36.204858] [notice] Logging level set to:debug -[2025-02-18 18:15:36.269184] [error] Error for request http://localhost/crm/api/v1.0/payments/140. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:37.415887] [notice] Logging level set to:debug -[2025-02-18 18:15:37.485230] [error] Error for request http://localhost/crm/api/v1.0/payments/141. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:38.656742] [notice] Logging level set to:debug -[2025-02-18 18:15:38.748986] [error] Error for request http://localhost/crm/api/v1.0/payments/142. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:39.927115] [notice] Logging level set to:debug -[2025-02-18 18:15:40.014169] [error] Error for request http://localhost/crm/api/v1.0/payments/143. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:41.212327] [notice] Logging level set to:debug -[2025-02-18 18:15:41.272438] [error] Error for request http://localhost/crm/api/v1.0/payments/144. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:42.423814] [notice] Logging level set to:debug -[2025-02-18 18:15:42.493472] [error] Error for request http://localhost/crm/api/v1.0/payments/145. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:43.671895] [notice] Logging level set to:debug -[2025-02-18 18:15:43.729957] [error] Error for request http://localhost/crm/api/v1.0/payments/146. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:44.877077] [notice] Logging level set to:debug -[2025-02-18 18:15:44.944747] [error] Error for request http://localhost/crm/api/v1.0/payments/147. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:46.117047] [notice] Logging level set to:debug -[2025-02-18 18:15:46.186614] [error] Error for request http://localhost/crm/api/v1.0/payments/148. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:47.328769] [notice] Logging level set to:debug -[2025-02-18 18:15:47.394196] [error] Error for request http://localhost/crm/api/v1.0/payments/149. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:48.629977] [notice] Logging level set to:debug -[2025-02-18 18:15:48.686970] [error] Error for request http://localhost/crm/api/v1.0/payments/150. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:49.913254] [notice] Logging level set to:debug -[2025-02-18 18:15:50.044908] [error] Error for request http://localhost/crm/api/v1.0/payments/151. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:51.327714] [notice] Logging level set to:debug -[2025-02-18 18:15:51.386282] [error] Error for request http://localhost/crm/api/v1.0/payments/152. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:52.687560] [notice] Logging level set to:debug -[2025-02-18 18:15:52.757148] [error] Error for request http://localhost/crm/api/v1.0/payments/153. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:53.936605] [notice] Logging level set to:debug -[2025-02-18 18:15:54.000850] [error] Error for request http://localhost/crm/api/v1.0/payments/154. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:55.523266] [notice] Logging level set to:debug -[2025-02-18 18:15:55.592416] [error] Error for request http://localhost/crm/api/v1.0/payments/155. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:56.881232] [notice] Logging level set to:debug -[2025-02-18 18:15:56.951971] [error] Error for request http://localhost/crm/api/v1.0/payments/156. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:58.138942] [notice] Logging level set to:debug -[2025-02-18 18:15:58.204113] [error] Error for request http://localhost/crm/api/v1.0/payments/157. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:15:59.661515] [notice] Logging level set to:debug -[2025-02-18 18:15:59.721828] [error] Error for request http://localhost/crm/api/v1.0/payments/158. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:00.939342] [notice] Logging level set to:debug -[2025-02-18 18:16:01.185995] [error] Error for request http://localhost/crm/api/v1.0/payments/159. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:03.207238] [notice] Logging level set to:debug -[2025-02-18 18:16:03.269361] [error] Error for request http://localhost/crm/api/v1.0/payments/160. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:04.527482] [notice] Logging level set to:debug -[2025-02-18 18:16:04.582621] [error] Error for request http://localhost/crm/api/v1.0/payments/161. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:06.047087] [notice] Logging level set to:debug -[2025-02-18 18:16:06.196568] [error] Error for request http://localhost/crm/api/v1.0/payments/162. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:07.234899] [notice] Logging level set to:debug -[2025-02-18 18:16:07.320197] [error] Error for request http://localhost/crm/api/v1.0/payments/163. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:08.681585] [notice] Logging level set to:debug -[2025-02-18 18:16:08.812128] [error] Error for request http://localhost/crm/api/v1.0/payments/164. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:10.147144] [notice] Logging level set to:debug -[2025-02-18 18:16:10.280960] [error] Error for request http://localhost/crm/api/v1.0/payments/165. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:11.609019] [notice] Logging level set to:debug -[2025-02-18 18:16:11.717744] [error] Error for request http://localhost/crm/api/v1.0/payments/166. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:13.117167] [notice] Logging level set to:debug -[2025-02-18 18:16:13.232580] [error] Error for request http://localhost/crm/api/v1.0/payments/167. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:14.354783] [notice] Logging level set to:debug -[2025-02-18 18:16:14.409390] [error] Error for request http://localhost/crm/api/v1.0/payments/168. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:15.586263] [notice] Logging level set to:debug -[2025-02-18 18:16:15.646579] [error] Error for request http://localhost/crm/api/v1.0/payments/169. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:16.761116] [notice] Logging level set to:debug -[2025-02-18 18:16:16.826036] [error] Error for request http://localhost/crm/api/v1.0/payments/170. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:17.971012] [notice] Logging level set to:debug -[2025-02-18 18:16:18.031572] [error] Error for request http://localhost/crm/api/v1.0/payments/171. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:19.166179] [notice] Logging level set to:debug -[2025-02-18 18:16:19.233656] [error] Error for request http://localhost/crm/api/v1.0/payments/172. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:20.383521] [notice] Logging level set to:debug -[2025-02-18 18:16:20.439771] [error] Error for request http://localhost/crm/api/v1.0/payments/173. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:21.587584] [notice] Logging level set to:debug -[2025-02-18 18:16:21.642189] [error] Error for request http://localhost/crm/api/v1.0/payments/174. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:22.780344] [notice] Logging level set to:debug -[2025-02-18 18:16:22.847673] [error] Error for request http://localhost/crm/api/v1.0/payments/175. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:23.980609] [notice] Logging level set to:debug -[2025-02-18 18:16:24.041910] [error] Error for request http://localhost/crm/api/v1.0/payments/176. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:25.252751] [notice] Logging level set to:debug -[2025-02-18 18:16:25.319107] [error] Error for request http://localhost/crm/api/v1.0/payments/177. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:26.460819] [notice] Logging level set to:debug -[2025-02-18 18:16:26.524626] [error] Error for request http://localhost/crm/api/v1.0/payments/178. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:27.646924] [notice] Logging level set to:debug -[2025-02-18 18:16:27.704452] [error] Error for request http://localhost/crm/api/v1.0/payments/179. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:28.863831] [notice] Logging level set to:debug -[2025-02-18 18:16:28.929335] [error] Error for request http://localhost/crm/api/v1.0/payments/180. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:30.067045] [notice] Logging level set to:debug -[2025-02-18 18:16:30.126900] [error] Error for request http://localhost/crm/api/v1.0/payments/181. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:31.267978] [notice] Logging level set to:debug -[2025-02-18 18:16:31.337420] [error] Error for request http://localhost/crm/api/v1.0/payments/182. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:32.474987] [notice] Logging level set to:debug -[2025-02-18 18:16:32.531799] [error] Error for request http://localhost/crm/api/v1.0/payments/183. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:33.622252] [notice] Logging level set to:debug -[2025-02-18 18:16:33.679419] [error] Error for request http://localhost/crm/api/v1.0/payments/184. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:34.761681] [notice] Logging level set to:debug -[2025-02-18 18:16:34.831013] [error] Error for request http://localhost/crm/api/v1.0/payments/185. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:35.982379] [notice] Logging level set to:debug -[2025-02-18 18:16:36.042243] [error] Error for request http://localhost/crm/api/v1.0/payments/186. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:37.158822] [notice] Logging level set to:debug -[2025-02-18 18:16:37.223895] [error] Error for request http://localhost/crm/api/v1.0/payments/187. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:38.369879] [notice] Logging level set to:debug -[2025-02-18 18:16:38.527378] [error] Error for request http://localhost/crm/api/v1.0/payments/188. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:39.820112] [notice] Logging level set to:debug -[2025-02-18 18:16:39.880747] [error] Error for request http://localhost/crm/api/v1.0/payments/189. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:41.050194] [notice] Logging level set to:debug -[2025-02-18 18:16:41.124459] [error] Error for request http://localhost/crm/api/v1.0/payments/190. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:42.311793] [notice] Logging level set to:debug -[2025-02-18 18:16:42.373126] [error] Error for request http://localhost/crm/api/v1.0/payments/191. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:43.500577] [notice] Logging level set to:debug -[2025-02-18 18:16:43.566420] [error] Error for request http://localhost/crm/api/v1.0/payments/192. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:44.626358] [notice] Logging level set to:debug -[2025-02-18 18:16:44.709299] [error] Error for request http://localhost/crm/api/v1.0/payments/193. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:45.809067] [notice] Logging level set to:debug -[2025-02-18 18:16:45.864959] [error] Error for request http://localhost/crm/api/v1.0/payments/194. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:46.996434] [notice] Logging level set to:debug -[2025-02-18 18:16:47.057614] [error] Error for request http://localhost/crm/api/v1.0/payments/195. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:48.205620] [notice] Logging level set to:debug -[2025-02-18 18:16:48.260023] [error] Error for request http://localhost/crm/api/v1.0/payments/196. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:49.394785] [notice] Logging level set to:debug -[2025-02-18 18:16:49.453922] [error] Error for request http://localhost/crm/api/v1.0/payments/197. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:50.647403] [notice] Logging level set to:debug -[2025-02-18 18:16:50.726505] [error] Error for request http://localhost/crm/api/v1.0/payments/199. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:51.884990] [notice] Logging level set to:debug -[2025-02-18 18:16:51.942172] [error] Error for request http://localhost/crm/api/v1.0/payments/200. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:53.198204] [notice] Logging level set to:debug -[2025-02-18 18:16:53.272010] [error] Error for request http://localhost/crm/api/v1.0/payments/201. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:54.436830] [notice] Logging level set to:debug -[2025-02-18 18:16:54.499654] [error] Error for request http://localhost/crm/api/v1.0/payments/202. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:55.636769] [notice] Logging level set to:debug -[2025-02-18 18:16:55.694933] [error] Error for request http://localhost/crm/api/v1.0/payments/203. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:56.871639] [notice] Logging level set to:debug -[2025-02-18 18:16:56.938314] [error] Error for request http://localhost/crm/api/v1.0/payments/204. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:58.082365] [notice] Logging level set to:debug -[2025-02-18 18:16:58.140117] [error] Error for request http://localhost/crm/api/v1.0/payments/205. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:16:59.412602] [notice] Logging level set to:debug -[2025-02-18 18:16:59.480046] [error] Error for request http://localhost/crm/api/v1.0/payments/206. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:00.663012] [notice] Logging level set to:debug -[2025-02-18 18:17:00.727333] [error] Error for request http://localhost/crm/api/v1.0/payments/207. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:02.284915] [notice] Logging level set to:debug -[2025-02-18 18:17:02.353096] [error] Error for request http://localhost/crm/api/v1.0/payments/208. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:03.468801] [notice] Logging level set to:debug -[2025-02-18 18:17:03.525404] [error] Error for request http://localhost/crm/api/v1.0/payments/209. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:04.662097] [notice] Logging level set to:debug -[2025-02-18 18:17:04.721261] [error] Error for request http://localhost/crm/api/v1.0/payments/210. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:05.809613] [notice] Logging level set to:debug -[2025-02-18 18:17:05.886054] [error] Error for request http://localhost/crm/api/v1.0/payments/211. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:07.009671] [notice] Logging level set to:debug -[2025-02-18 18:17:07.065681] [error] Error for request http://localhost/crm/api/v1.0/payments/212. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:08.195868] [notice] Logging level set to:debug -[2025-02-18 18:17:08.378494] [error] Error for request http://localhost/crm/api/v1.0/payments/213. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:09.624603] [notice] Logging level set to:debug -[2025-02-18 18:17:09.684901] [error] Error for request http://localhost/crm/api/v1.0/payments/214. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:10.807286] [notice] Logging level set to:debug -[2025-02-18 18:17:10.876302] [error] Error for request http://localhost/crm/api/v1.0/payments/215. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:11.973494] [notice] Logging level set to:debug -[2025-02-18 18:17:12.046808] [error] Error for request http://localhost/crm/api/v1.0/payments/216. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:13.186836] [notice] Logging level set to:debug -[2025-02-18 18:17:13.240717] [error] Error for request http://localhost/crm/api/v1.0/payments/217. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:14.389158] [notice] Logging level set to:debug -[2025-02-18 18:17:14.466046] [error] Error for request http://localhost/crm/api/v1.0/payments/218. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:15.569427] [notice] Logging level set to:debug -[2025-02-18 18:17:15.630681] [error] Error for request http://localhost/crm/api/v1.0/payments/219. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:16.797841] [notice] Logging level set to:debug -[2025-02-18 18:17:16.867568] [error] Error for request http://localhost/crm/api/v1.0/payments/220. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:17.992158] [notice] Logging level set to:debug -[2025-02-18 18:17:18.059464] [error] Error for request http://localhost/crm/api/v1.0/payments/221. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:19.269431] [notice] Logging level set to:debug -[2025-02-18 18:17:19.323201] [error] Error for request http://localhost/crm/api/v1.0/payments/222. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:20.453413] [notice] Logging level set to:debug -[2025-02-18 18:17:20.512406] [error] Error for request http://localhost/crm/api/v1.0/payments/223. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:21.629575] [notice] Logging level set to:debug -[2025-02-18 18:17:21.685731] [error] Error for request http://localhost/crm/api/v1.0/payments/224. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:22.764961] [notice] Logging level set to:debug -[2025-02-18 18:17:22.819077] [error] Error for request http://localhost/crm/api/v1.0/payments/225. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:23.920509] [notice] Logging level set to:debug -[2025-02-18 18:17:24.126887] [error] Error for request http://localhost/crm/api/v1.0/payments/227. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:25.537928] [notice] Logging level set to:debug -[2025-02-18 18:17:25.594935] [error] Error for request http://localhost/crm/api/v1.0/payments/228. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:26.707026] [notice] Logging level set to:debug -[2025-02-18 18:17:26.780767] [error] Error for request http://localhost/crm/api/v1.0/payments/229. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:28.097341] [notice] Logging level set to:debug -[2025-02-18 18:17:28.196269] [error] Error for request http://localhost/crm/api/v1.0/payments/230. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:30.008985] [notice] Logging level set to:debug -[2025-02-18 18:17:30.130178] [error] Error for request http://localhost/crm/api/v1.0/payments/231. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:31.326203] [notice] Logging level set to:debug -[2025-02-18 18:17:31.391252] [error] Error for request http://localhost/crm/api/v1.0/payments/232. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:32.507281] [notice] Logging level set to:debug -[2025-02-18 18:17:32.564408] [error] Error for request http://localhost/crm/api/v1.0/payments/234. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:33.647913] [notice] Logging level set to:debug -[2025-02-18 18:17:33.708791] [error] Error for request http://localhost/crm/api/v1.0/payments/235. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:34.883176] [notice] Logging level set to:debug -[2025-02-18 18:17:34.942723] [error] Error for request http://localhost/crm/api/v1.0/payments/268. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:36.005373] [notice] Logging level set to:debug -[2025-02-18 18:17:36.066860] [error] Error for request http://localhost/crm/api/v1.0/payments/269. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:37.137176] [notice] Logging level set to:debug -[2025-02-18 18:17:37.203218] [error] Error for request http://localhost/crm/api/v1.0/payments/270. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:38.308197] [notice] Logging level set to:debug -[2025-02-18 18:17:38.366604] [error] Error for request http://localhost/crm/api/v1.0/payments/271. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:39.462743] [notice] Logging level set to:debug -[2025-02-18 18:17:39.520414] [error] Error for request http://localhost/crm/api/v1.0/payments/272. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:40.670213] [notice] Logging level set to:debug -[2025-02-18 18:17:40.733211] [error] Error for request http://localhost/crm/api/v1.0/payments/273. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:41.815565] [notice] Logging level set to:debug -[2025-02-18 18:17:41.872869] [error] Error for request http://localhost/crm/api/v1.0/payments/274. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:42.958437] [notice] Logging level set to:debug -[2025-02-18 18:17:43.019217] [error] Error for request http://localhost/crm/api/v1.0/payments/275. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:44.097529] [notice] Logging level set to:debug -[2025-02-18 18:17:44.163115] [error] Error for request http://localhost/crm/api/v1.0/payments/276. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:45.318222] [notice] Logging level set to:debug -[2025-02-18 18:17:45.392858] [error] Error for request http://localhost/crm/api/v1.0/payments/279. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:46.476679] [notice] Logging level set to:debug -[2025-02-18 18:17:46.533159] [error] Error for request http://localhost/crm/api/v1.0/payments/280. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:47.632905] [notice] Logging level set to:debug -[2025-02-18 18:17:47.699167] [error] Error for request http://localhost/crm/api/v1.0/payments/281. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:48.813805] [notice] Logging level set to:debug -[2025-02-18 18:17:48.878580] [error] Error for request http://localhost/crm/api/v1.0/payments/282. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:50.031142] [notice] Logging level set to:debug -[2025-02-18 18:17:50.090053] [error] Error for request http://localhost/crm/api/v1.0/payments/283. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:51.251488] [notice] Logging level set to:debug -[2025-02-18 18:17:51.324548] [error] Error for request http://localhost/crm/api/v1.0/payments/284. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:52.490637] [notice] Logging level set to:debug -[2025-02-18 18:17:52.552830] [error] Error for request http://localhost/crm/api/v1.0/payments/285. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:53.721223] [notice] Logging level set to:debug -[2025-02-18 18:17:53.784239] [error] Error for request http://localhost/crm/api/v1.0/payments/286. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:54.930138] [notice] Logging level set to:debug -[2025-02-18 18:17:55.000133] [error] Error for request http://localhost/crm/api/v1.0/payments/287. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:56.125216] [notice] Logging level set to:debug -[2025-02-18 18:17:56.189445] [error] Error for request http://localhost/crm/api/v1.0/payments/288. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:57.328458] [notice] Logging level set to:debug -[2025-02-18 18:17:57.393093] [error] Error for request http://localhost/crm/api/v1.0/payments/289. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:58.473202] [notice] Logging level set to:debug -[2025-02-18 18:17:58.532978] [error] Error for request http://localhost/crm/api/v1.0/payments/290. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:17:59.643306] [notice] Logging level set to:debug -[2025-02-18 18:17:59.708717] [error] Error for request http://localhost/crm/api/v1.0/payments/291. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:01.390794] [notice] Logging level set to:debug -[2025-02-18 18:18:01.530030] [error] Error for request http://localhost/crm/api/v1.0/payments/292. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:02.784943] [notice] Logging level set to:debug -[2025-02-18 18:18:02.865820] [error] Error for request http://localhost/crm/api/v1.0/payments/293. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:03.948350] [notice] Logging level set to:debug -[2025-02-18 18:18:04.006750] [error] Error for request http://localhost/crm/api/v1.0/payments/294. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:05.111716] [notice] Logging level set to:debug -[2025-02-18 18:18:05.186079] [error] Error for request http://localhost/crm/api/v1.0/payments/298. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:06.287270] [notice] Logging level set to:debug -[2025-02-18 18:18:06.341222] [error] Error for request http://localhost/crm/api/v1.0/payments/299. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:07.411895] [notice] Logging level set to:debug -[2025-02-18 18:18:07.483023] [error] Error for request http://localhost/crm/api/v1.0/payments/300. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:08.572184] [notice] Logging level set to:debug -[2025-02-18 18:18:08.635760] [error] Error for request http://localhost/crm/api/v1.0/payments/301. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:09.703310] [notice] Logging level set to:debug -[2025-02-18 18:18:09.765093] [error] Error for request http://localhost/crm/api/v1.0/payments/302. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:10.846503] [notice] Logging level set to:debug -[2025-02-18 18:18:10.977171] [error] Error for request http://localhost/crm/api/v1.0/payments/303. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:12.100441] [notice] Logging level set to:debug -[2025-02-18 18:18:12.169029] [error] Error for request http://localhost/crm/api/v1.0/payments/304. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:13.255162] [notice] Logging level set to:debug -[2025-02-18 18:18:13.316682] [error] Error for request http://localhost/crm/api/v1.0/payments/305. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:14.415476] [notice] Logging level set to:debug -[2025-02-18 18:18:14.478707] [error] Error for request http://localhost/crm/api/v1.0/payments/306. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:15.542644] [notice] Logging level set to:debug -[2025-02-18 18:18:15.625088] [error] Error for request http://localhost/crm/api/v1.0/payments/308. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:16.871262] [notice] Logging level set to:debug -[2025-02-18 18:18:16.948635] [error] Error for request http://localhost/crm/api/v1.0/payments/309. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:18.080970] [notice] Logging level set to:debug -[2025-02-18 18:18:18.154542] [error] Error for request http://localhost/crm/api/v1.0/payments/310. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:19.275578] [notice] Logging level set to:debug -[2025-02-18 18:18:19.345158] [error] Error for request http://localhost/crm/api/v1.0/payments/311. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:20.535425] [notice] Logging level set to:debug -[2025-02-18 18:18:20.588119] [error] Error for request http://localhost/crm/api/v1.0/payments/312. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:21.768709] [notice] Logging level set to:debug -[2025-02-18 18:18:21.843436] [error] Error for request http://localhost/crm/api/v1.0/payments/313. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:22.949920] [notice] Logging level set to:debug -[2025-02-18 18:18:23.015258] [error] Error for request http://localhost/crm/api/v1.0/payments/314. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:24.091335] [notice] Logging level set to:debug -[2025-02-18 18:18:24.161952] [error] Error for request http://localhost/crm/api/v1.0/payments/315. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:25.243901] [notice] Logging level set to:debug -[2025-02-18 18:18:25.300734] [error] Error for request http://localhost/crm/api/v1.0/payments/316. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:26.407789] [notice] Logging level set to:debug -[2025-02-18 18:18:26.468835] [error] Error for request http://localhost/crm/api/v1.0/payments/317. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:27.559007] [notice] Logging level set to:debug -[2025-02-18 18:18:27.629731] [error] Error for request http://localhost/crm/api/v1.0/payments/318. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:28.694931] [notice] Logging level set to:debug -[2025-02-18 18:18:28.755439] [error] Error for request http://localhost/crm/api/v1.0/payments/319. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:29.835015] [notice] Logging level set to:debug -[2025-02-18 18:18:29.893565] [error] Error for request http://localhost/crm/api/v1.0/payments/320. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:31.005996] [notice] Logging level set to:debug -[2025-02-18 18:18:31.068249] [error] Error for request http://localhost/crm/api/v1.0/payments/321. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:32.156657] [notice] Logging level set to:debug -[2025-02-18 18:18:32.221741] [error] Error for request http://localhost/crm/api/v1.0/payments/322. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:33.303097] [notice] Logging level set to:debug -[2025-02-18 18:18:33.364272] [error] Error for request http://localhost/crm/api/v1.0/payments/323. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:34.465131] [notice] Logging level set to:debug -[2025-02-18 18:18:34.533490] [error] Error for request http://localhost/crm/api/v1.0/payments/324. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:35.588165] [notice] Logging level set to:debug -[2025-02-18 18:18:35.646260] [error] Error for request http://localhost/crm/api/v1.0/payments/325. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:36.713020] [notice] Logging level set to:debug -[2025-02-18 18:18:36.770203] [error] Error for request http://localhost/crm/api/v1.0/payments/326. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:37.882574] [notice] Logging level set to:debug -[2025-02-18 18:18:37.950480] [error] Error for request http://localhost/crm/api/v1.0/payments/327. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:39.019901] [notice] Logging level set to:debug -[2025-02-18 18:18:39.076446] [error] Error for request http://localhost/crm/api/v1.0/payments/328. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:40.164742] [notice] Logging level set to:debug -[2025-02-18 18:18:40.248178] [error] Error for request http://localhost/crm/api/v1.0/payments/329. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:41.317544] [notice] Logging level set to:debug -[2025-02-18 18:18:41.372636] [error] Error for request http://localhost/crm/api/v1.0/payments/330. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:42.642967] [notice] Logging level set to:debug -[2025-02-18 18:18:42.754838] [error] Error for request http://localhost/crm/api/v1.0/payments/331. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:43.910206] [notice] Logging level set to:debug -[2025-02-18 18:18:43.982209] [error] Error for request http://localhost/crm/api/v1.0/payments/332. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:45.034121] [notice] Logging level set to:debug -[2025-02-18 18:18:45.095700] [error] Error for request http://localhost/crm/api/v1.0/payments/333. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:46.215205] [notice] Logging level set to:debug -[2025-02-18 18:18:46.301549] [error] Error for request http://localhost/crm/api/v1.0/payments/334. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:47.377588] [notice] Logging level set to:debug -[2025-02-18 18:18:47.442387] [error] Error for request http://localhost/crm/api/v1.0/payments/335. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:48.537527] [notice] Logging level set to:debug -[2025-02-18 18:18:48.591412] [error] Error for request http://localhost/crm/api/v1.0/payments/343. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:49.678754] [notice] Logging level set to:debug -[2025-02-18 18:18:49.761298] [error] Error for request http://localhost/crm/api/v1.0/payments/344. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:50.885356] [notice] Logging level set to:debug -[2025-02-18 18:18:50.942604] [error] Error for request http://localhost/crm/api/v1.0/payments/345. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:52.019627] [notice] Logging level set to:debug -[2025-02-18 18:18:52.088347] [error] Error for request http://localhost/crm/api/v1.0/payments/346. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:53.191092] [notice] Logging level set to:debug -[2025-02-18 18:18:53.251152] [error] Error for request http://localhost/crm/api/v1.0/payments/347. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:54.316334] [notice] Logging level set to:debug -[2025-02-18 18:18:54.373322] [error] Error for request http://localhost/crm/api/v1.0/payments/348. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:55.463078] [notice] Logging level set to:debug -[2025-02-18 18:18:55.532068] [error] Error for request http://localhost/crm/api/v1.0/payments/349. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:56.623764] [notice] Logging level set to:debug -[2025-02-18 18:18:56.703144] [error] Error for request http://localhost/crm/api/v1.0/payments/350. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:57.823110] [notice] Logging level set to:debug -[2025-02-18 18:18:57.885467] [error] Error for request http://localhost/crm/api/v1.0/payments/351. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:18:58.960141] [notice] Logging level set to:debug -[2025-02-18 18:18:59.036561] [error] Error for request http://localhost/crm/api/v1.0/payments/352. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:00.434087] [notice] Logging level set to:debug -[2025-02-18 18:19:00.512377] [error] Error for request http://localhost/crm/api/v1.0/payments/354. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:01.711292] [notice] Logging level set to:debug -[2025-02-18 18:19:01.781266] [error] Error for request http://localhost/crm/api/v1.0/payments/355. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:02.823451] [notice] Logging level set to:debug -[2025-02-18 18:19:02.882611] [error] Error for request http://localhost/crm/api/v1.0/payments/356. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:03.980909] [notice] Logging level set to:debug -[2025-02-18 18:19:04.049527] [error] Error for request http://localhost/crm/api/v1.0/payments/357. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:05.136518] [notice] Logging level set to:debug -[2025-02-18 18:19:05.214559] [error] Error for request http://localhost/crm/api/v1.0/payments/358. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:06.480329] [notice] Logging level set to:debug -[2025-02-18 18:19:06.544337] [error] Error for request http://localhost/crm/api/v1.0/payments/359. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:07.692627] [notice] Logging level set to:debug -[2025-02-18 18:19:07.757016] [error] Error for request http://localhost/crm/api/v1.0/payments/360. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:08.904159] [notice] Logging level set to:debug -[2025-02-18 18:19:08.970484] [error] Error for request http://localhost/crm/api/v1.0/payments/361. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:10.074542] [notice] Logging level set to:debug -[2025-02-18 18:19:10.156337] [error] Error for request http://localhost/crm/api/v1.0/payments/362. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:11.293090] [notice] Logging level set to:debug -[2025-02-18 18:19:11.366560] [error] Error for request http://localhost/crm/api/v1.0/payments/363. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:12.431346] [notice] Logging level set to:debug -[2025-02-18 18:19:12.492682] [error] Error for request http://localhost/crm/api/v1.0/payments/364. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:13.515495] [notice] Logging level set to:debug -[2025-02-18 18:19:13.580770] [error] Error for request http://localhost/crm/api/v1.0/payments/365. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:14.654232] [notice] Logging level set to:debug -[2025-02-18 18:19:14.716545] [error] Error for request http://localhost/crm/api/v1.0/payments/366. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:15.784070] [notice] Logging level set to:debug -[2025-02-18 18:19:15.842403] [error] Error for request http://localhost/crm/api/v1.0/payments/367. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:16.879570] [notice] Logging level set to:debug -[2025-02-18 18:19:16.950642] [error] Error for request http://localhost/crm/api/v1.0/payments/376. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:18.006567] [notice] Logging level set to:debug -[2025-02-18 18:19:18.075599] [error] Error for request http://localhost/crm/api/v1.0/payments/377. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:19.129724] [notice] Logging level set to:debug -[2025-02-18 18:19:19.188695] [error] Error for request http://localhost/crm/api/v1.0/payments/378. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:20.251251] [notice] Logging level set to:debug -[2025-02-18 18:19:20.310070] [error] Error for request http://localhost/crm/api/v1.0/payments/379. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:21.379401] [notice] Logging level set to:debug -[2025-02-18 18:19:21.441874] [error] Error for request http://localhost/crm/api/v1.0/payments/380. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:22.474205] [notice] Logging level set to:debug -[2025-02-18 18:19:22.536789] [error] Error for request http://localhost/crm/api/v1.0/payments/381. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:23.559201] [notice] Logging level set to:debug -[2025-02-18 18:19:23.621066] [error] Error for request http://localhost/crm/api/v1.0/payments/382. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:24.641047] [notice] Logging level set to:debug -[2025-02-18 18:19:24.697489] [error] Error for request http://localhost/crm/api/v1.0/payments/383. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:25.737076] [notice] Logging level set to:debug -[2025-02-18 18:19:25.809289] [error] Error for request http://localhost/crm/api/v1.0/payments/384. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:26.833220] [notice] Logging level set to:debug -[2025-02-18 18:19:26.894499] [error] Error for request http://localhost/crm/api/v1.0/payments/388. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:27.937254] [notice] Logging level set to:debug -[2025-02-18 18:19:27.997096] [error] Error for request http://localhost/crm/api/v1.0/payments/389. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:29.037831] [notice] Logging level set to:debug -[2025-02-18 18:19:29.105634] [error] Error for request http://localhost/crm/api/v1.0/payments/390. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:30.187748] [notice] Logging level set to:debug -[2025-02-18 18:19:30.251908] [error] Error for request http://localhost/crm/api/v1.0/payments/391. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:31.302169] [notice] Logging level set to:debug -[2025-02-18 18:19:31.362199] [error] Error for request http://localhost/crm/api/v1.0/payments/392. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:32.406538] [notice] Logging level set to:debug -[2025-02-18 18:19:32.474179] [error] Error for request http://localhost/crm/api/v1.0/payments/393. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:33.507126] [notice] Logging level set to:debug -[2025-02-18 18:19:33.568183] [error] Error for request http://localhost/crm/api/v1.0/payments/394. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:34.610960] [notice] Logging level set to:debug -[2025-02-18 18:19:34.673434] [error] Error for request http://localhost/crm/api/v1.0/payments/395. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:35.708806] [notice] Logging level set to:debug -[2025-02-18 18:19:35.784116] [error] Error for request http://localhost/crm/api/v1.0/payments/396. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:36.830939] [notice] Logging level set to:debug -[2025-02-18 18:19:36.904983] [error] Error for request http://localhost/crm/api/v1.0/payments/397. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:37.962419] [notice] Logging level set to:debug -[2025-02-18 18:19:38.028345] [error] Error for request http://localhost/crm/api/v1.0/payments/398. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:39.062592] [notice] Logging level set to:debug -[2025-02-18 18:19:39.130595] [error] Error for request http://localhost/crm/api/v1.0/payments/399. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:40.236139] [notice] Logging level set to:debug -[2025-02-18 18:19:40.292568] [error] Error for request http://localhost/crm/api/v1.0/payments/400. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:41.320759] [notice] Logging level set to:debug -[2025-02-18 18:19:41.390134] [error] Error for request http://localhost/crm/api/v1.0/payments/401. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:42.426095] [notice] Logging level set to:debug -[2025-02-18 18:19:42.493936] [error] Error for request http://localhost/crm/api/v1.0/payments/402. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:43.516251] [notice] Logging level set to:debug -[2025-02-18 18:19:43.573717] [error] Error for request http://localhost/crm/api/v1.0/payments/403. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:44.617487] [notice] Logging level set to:debug -[2025-02-18 18:19:44.682015] [error] Error for request http://localhost/crm/api/v1.0/payments/404. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:45.738964] [notice] Logging level set to:debug -[2025-02-18 18:19:45.810612] [error] Error for request http://localhost/crm/api/v1.0/payments/405. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:46.847912] [notice] Logging level set to:debug -[2025-02-18 18:19:46.909707] [error] Error for request http://localhost/crm/api/v1.0/payments/406. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:47.967776] [notice] Logging level set to:debug -[2025-02-18 18:19:48.039983] [error] Error for request http://localhost/crm/api/v1.0/payments/407. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:49.081604] [notice] Logging level set to:debug -[2025-02-18 18:19:49.139276] [error] Error for request http://localhost/crm/api/v1.0/payments/408. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:50.200725] [notice] Logging level set to:debug -[2025-02-18 18:19:50.258991] [error] Error for request http://localhost/crm/api/v1.0/payments/409. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:51.297815] [notice] Logging level set to:debug -[2025-02-18 18:19:51.365884] [error] Error for request http://localhost/crm/api/v1.0/payments/410. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:52.476949] [notice] Logging level set to:debug -[2025-02-18 18:19:52.536003] [error] Error for request http://localhost/crm/api/v1.0/payments/411. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:53.600904] [notice] Logging level set to:debug -[2025-02-18 18:19:53.720272] [error] Error for request http://localhost/crm/api/v1.0/payments/412. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:55.386101] [notice] Logging level set to:debug -[2025-02-18 18:19:55.503640] [error] Error for request http://localhost/crm/api/v1.0/payments/413. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:56.790998] [notice] Logging level set to:debug -[2025-02-18 18:19:56.902793] [error] Error for request http://localhost/crm/api/v1.0/payments/414. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:19:58.897368] [notice] Logging level set to:debug -[2025-02-18 18:19:59.039024] [error] Error for request http://localhost/crm/api/v1.0/payments/415. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:03.029030] [notice] Logging level set to:debug -[2025-02-18 18:20:03.445445] [error] Error for request http://localhost/crm/api/v1.0/payments/416. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:05.928951] [notice] Logging level set to:debug -[2025-02-18 18:20:06.051342] [error] Error for request http://localhost/crm/api/v1.0/payments/417. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:07.418438] [notice] Logging level set to:debug -[2025-02-18 18:20:07.482530] [error] Error for request http://localhost/crm/api/v1.0/payments/418. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:08.622788] [notice] Logging level set to:debug -[2025-02-18 18:20:08.685254] [error] Error for request http://localhost/crm/api/v1.0/payments/419. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:09.733665] [notice] Logging level set to:debug -[2025-02-18 18:20:09.812352] [error] Error for request http://localhost/crm/api/v1.0/payments/420. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:10.865952] [notice] Logging level set to:debug -[2025-02-18 18:20:10.931052] [error] Error for request http://localhost/crm/api/v1.0/payments/421. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:11.972750] [notice] Logging level set to:debug -[2025-02-18 18:20:12.045550] [error] Error for request http://localhost/crm/api/v1.0/payments/422. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:13.053955] [notice] Logging level set to:debug -[2025-02-18 18:20:13.114376] [error] Error for request http://localhost/crm/api/v1.0/payments/423. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:14.207492] [notice] Logging level set to:debug -[2025-02-18 18:20:14.271029] [error] Error for request http://localhost/crm/api/v1.0/payments/424. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:15.273942] [notice] Logging level set to:debug -[2025-02-18 18:20:15.341672] [error] Error for request http://localhost/crm/api/v1.0/payments/425. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:16.346961] [notice] Logging level set to:debug -[2025-02-18 18:20:16.420233] [error] Error for request http://localhost/crm/api/v1.0/payments/426. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:17.437511] [notice] Logging level set to:debug -[2025-02-18 18:20:17.509196] [error] Error for request http://localhost/crm/api/v1.0/payments/427. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:18.590246] [notice] Logging level set to:debug -[2025-02-18 18:20:18.666392] [error] Error for request http://localhost/crm/api/v1.0/payments/428. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:19.692349] [notice] Logging level set to:debug -[2025-02-18 18:20:19.778031] [error] Error for request http://localhost/crm/api/v1.0/payments/429. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:20.862149] [notice] Logging level set to:debug -[2025-02-18 18:20:20.926733] [error] Error for request http://localhost/crm/api/v1.0/payments/430. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:21.949161] [notice] Logging level set to:debug -[2025-02-18 18:20:22.029941] [error] Error for request http://localhost/crm/api/v1.0/payments/431. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:23.060878] [notice] Logging level set to:debug -[2025-02-18 18:20:23.120893] [error] Error for request http://localhost/crm/api/v1.0/payments/432. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:24.145301] [notice] Logging level set to:debug -[2025-02-18 18:20:24.207019] [error] Error for request http://localhost/crm/api/v1.0/payments/433. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:25.203624] [notice] Logging level set to:debug -[2025-02-18 18:20:25.268531] [error] Error for request http://localhost/crm/api/v1.0/payments/434. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:26.328428] [notice] Logging level set to:debug -[2025-02-18 18:20:26.395359] [error] Error for request http://localhost/crm/api/v1.0/payments/435. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:27.412302] [notice] Logging level set to:debug -[2025-02-18 18:20:27.490946] [error] Error for request http://localhost/crm/api/v1.0/payments/436. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:28.478501] [notice] Logging level set to:debug -[2025-02-18 18:20:28.546262] [error] Error for request http://localhost/crm/api/v1.0/payments/437. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:29.600186] [notice] Logging level set to:debug -[2025-02-18 18:20:29.659539] [error] Error for request http://localhost/crm/api/v1.0/payments/438. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:30.666088] [notice] Logging level set to:debug -[2025-02-18 18:20:30.732316] [error] Error for request http://localhost/crm/api/v1.0/payments/439. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:31.729474] [notice] Logging level set to:debug -[2025-02-18 18:20:31.788266] [error] Error for request http://localhost/crm/api/v1.0/payments/440. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:32.844450] [notice] Logging level set to:debug -[2025-02-18 18:20:32.907356] [error] Error for request http://localhost/crm/api/v1.0/payments/441. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:33.912146] [notice] Logging level set to:debug -[2025-02-18 18:20:33.984937] [error] Error for request http://localhost/crm/api/v1.0/payments/442. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:35.038258] [notice] Logging level set to:debug -[2025-02-18 18:20:35.101250] [error] Error for request http://localhost/crm/api/v1.0/payments/443. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:36.233104] [notice] Logging level set to:debug -[2025-02-18 18:20:36.298086] [error] Error for request http://localhost/crm/api/v1.0/payments/444. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:37.315390] [notice] Logging level set to:debug -[2025-02-18 18:20:37.375228] [error] Error for request http://localhost/crm/api/v1.0/payments/445. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:38.362087] [notice] Logging level set to:debug -[2025-02-18 18:20:38.420649] [error] Error for request http://localhost/crm/api/v1.0/payments/446. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:39.417742] [notice] Logging level set to:debug -[2025-02-18 18:20:39.477555] [error] Error for request http://localhost/crm/api/v1.0/payments/447. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:40.480998] [notice] Logging level set to:debug -[2025-02-18 18:20:40.544661] [error] Error for request http://localhost/crm/api/v1.0/payments/448. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:41.515923] [notice] Logging level set to:debug -[2025-02-18 18:20:41.574461] [error] Error for request http://localhost/crm/api/v1.0/payments/449. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:42.587663] [notice] Logging level set to:debug -[2025-02-18 18:20:42.654218] [error] Error for request http://localhost/crm/api/v1.0/payments/450. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:43.664947] [notice] Logging level set to:debug -[2025-02-18 18:20:43.727519] [error] Error for request http://localhost/crm/api/v1.0/payments/451. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:44.715317] [notice] Logging level set to:debug -[2025-02-18 18:20:44.776993] [error] Error for request http://localhost/crm/api/v1.0/payments/452. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:45.852843] [notice] Logging level set to:debug -[2025-02-18 18:20:45.915004] [error] Error for request http://localhost/crm/api/v1.0/payments/453. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:46.869754] [notice] Logging level set to:debug -[2025-02-18 18:20:46.939459] [error] Error for request http://localhost/crm/api/v1.0/payments/454. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:48.008394] [notice] Logging level set to:debug -[2025-02-18 18:20:48.079735] [error] Error for request http://localhost/crm/api/v1.0/payments/455. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:49.075839] [notice] Logging level set to:debug -[2025-02-18 18:20:49.137576] [error] Error for request http://localhost/crm/api/v1.0/payments/456. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:50.149362] [notice] Logging level set to:debug -[2025-02-18 18:20:50.219322] [error] Error for request http://localhost/crm/api/v1.0/payments/457. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:51.270060] [notice] Logging level set to:debug -[2025-02-18 18:20:51.375055] [error] Error for request http://localhost/crm/api/v1.0/payments/458. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:52.433541] [notice] Logging level set to:debug -[2025-02-18 18:20:52.493046] [error] Error for request http://localhost/crm/api/v1.0/payments/459. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:53.547806] [notice] Logging level set to:debug -[2025-02-18 18:20:53.608707] [error] Error for request http://localhost/crm/api/v1.0/payments/460. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:54.641961] [notice] Logging level set to:debug -[2025-02-18 18:20:54.720649] [error] Error for request http://localhost/crm/api/v1.0/payments/461. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:55.782923] [notice] Logging level set to:debug -[2025-02-18 18:20:55.836705] [error] Error for request http://localhost/crm/api/v1.0/payments/462. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:56.861846] [notice] Logging level set to:debug -[2025-02-18 18:20:56.913480] [error] Error for request http://localhost/crm/api/v1.0/payments/463. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:57.924806] [notice] Logging level set to:debug -[2025-02-18 18:20:57.999090] [error] Error for request http://localhost/crm/api/v1.0/payments/464. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:20:59.129717] [notice] Logging level set to:debug -[2025-02-18 18:20:59.190336] [error] Error for request http://localhost/crm/api/v1.0/payments/465. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:00.273085] [notice] Logging level set to:debug -[2025-02-18 18:21:00.354624] [error] Error for request http://localhost/crm/api/v1.0/payments/466. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:01.788537] [notice] Logging level set to:debug -[2025-02-18 18:21:01.850497] [error] Error for request http://localhost/crm/api/v1.0/payments/467. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:02.864964] [notice] Logging level set to:debug -[2025-02-18 18:21:02.926623] [error] Error for request http://localhost/crm/api/v1.0/payments/468. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:03.893254] [notice] Logging level set to:debug -[2025-02-18 18:21:03.958125] [error] Error for request http://localhost/crm/api/v1.0/payments/469. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:04.954684] [notice] Logging level set to:debug -[2025-02-18 18:21:05.014264] [error] Error for request http://localhost/crm/api/v1.0/payments/470. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:06.014238] [notice] Logging level set to:debug -[2025-02-18 18:21:06.086698] [error] Error for request http://localhost/crm/api/v1.0/payments/471. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:07.106967] [notice] Logging level set to:debug -[2025-02-18 18:21:07.177427] [error] Error for request http://localhost/crm/api/v1.0/payments/472. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:08.222501] [notice] Logging level set to:debug -[2025-02-18 18:21:08.281734] [error] Error for request http://localhost/crm/api/v1.0/payments/473. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:09.252320] [notice] Logging level set to:debug -[2025-02-18 18:21:09.323044] [error] Error for request http://localhost/crm/api/v1.0/payments/474. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:10.330162] [notice] Logging level set to:debug -[2025-02-18 18:21:10.392246] [error] Error for request http://localhost/crm/api/v1.0/payments/475. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:11.418375] [notice] Logging level set to:debug -[2025-02-18 18:21:11.485490] [error] Error for request http://localhost/crm/api/v1.0/payments/476. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:12.508470] [notice] Logging level set to:debug -[2025-02-18 18:21:12.578012] [error] Error for request http://localhost/crm/api/v1.0/payments/479. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:13.539704] [notice] Logging level set to:debug -[2025-02-18 18:21:13.596111] [error] Error for request http://localhost/crm/api/v1.0/payments/481. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:14.617650] [notice] Logging level set to:debug -[2025-02-18 18:21:14.719355] [error] Error for request http://localhost/crm/api/v1.0/payments/482. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:15.857264] [notice] Logging level set to:debug -[2025-02-18 18:21:16.009197] [error] Error for request http://localhost/crm/api/v1.0/payments/483. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:17.098398] [notice] Logging level set to:debug -[2025-02-18 18:21:17.242698] [error] Error for request http://localhost/crm/api/v1.0/payments/484. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:18.467426] [notice] Logging level set to:debug -[2025-02-18 18:21:18.582465] [error] Error for request http://localhost/crm/api/v1.0/payments/485. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:19.759371] [notice] Logging level set to:debug -[2025-02-18 18:21:19.893517] [error] Error for request http://localhost/crm/api/v1.0/payments/486. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:21.031428] [notice] Logging level set to:debug -[2025-02-18 18:21:21.153913] [error] Error for request http://localhost/crm/api/v1.0/payments/487. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:22.366388] [notice] Logging level set to:debug -[2025-02-18 18:21:22.494947] [error] Error for request http://localhost/crm/api/v1.0/payments/488. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:23.789359] [notice] Logging level set to:debug -[2025-02-18 18:21:23.914838] [error] Error for request http://localhost/crm/api/v1.0/payments/489. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:24.975403] [notice] Logging level set to:debug -[2025-02-18 18:21:25.044370] [error] Error for request http://localhost/crm/api/v1.0/payments/491. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:26.022017] [notice] Logging level set to:debug -[2025-02-18 18:21:26.088022] [error] Error for request http://localhost/crm/api/v1.0/payments/492. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:27.097157] [notice] Logging level set to:debug -[2025-02-18 18:21:27.163149] [error] Error for request http://localhost/crm/api/v1.0/payments/493. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:28.140239] [notice] Logging level set to:debug -[2025-02-18 18:21:28.198719] [error] Error for request http://localhost/crm/api/v1.0/payments/494. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:29.176996] [notice] Logging level set to:debug -[2025-02-18 18:21:29.231228] [error] Error for request http://localhost/crm/api/v1.0/payments/495. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:30.179559] [notice] Logging level set to:debug -[2025-02-18 18:21:30.245430] [error] Error for request http://localhost/crm/api/v1.0/payments/496. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:31.205463] [notice] Logging level set to:debug -[2025-02-18 18:21:31.268019] [error] Error for request http://localhost/crm/api/v1.0/payments/497. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:32.279839] [notice] Logging level set to:debug -[2025-02-18 18:21:32.336638] [error] Error for request http://localhost/crm/api/v1.0/payments/498. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:33.337353] [notice] Logging level set to:debug -[2025-02-18 18:21:33.399944] [error] Error for request http://localhost/crm/api/v1.0/payments/499. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:34.482259] [notice] Logging level set to:debug -[2025-02-18 18:21:34.548186] [error] Error for request http://localhost/crm/api/v1.0/payments/501. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:35.535963] [notice] Logging level set to:debug -[2025-02-18 18:21:35.593264] [error] Error for request http://localhost/crm/api/v1.0/payments/503. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:36.591233] [notice] Logging level set to:debug -[2025-02-18 18:21:36.666142] [error] Error for request http://localhost/crm/api/v1.0/payments/504. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:37.657361] [notice] Logging level set to:debug -[2025-02-18 18:21:37.720668] [error] Error for request http://localhost/crm/api/v1.0/payments/505. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:38.797863] [notice] Logging level set to:debug -[2025-02-18 18:21:38.912270] [error] Error for request http://localhost/crm/api/v1.0/payments/507. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:40.034497] [notice] Logging level set to:debug -[2025-02-18 18:21:40.098474] [error] Error for request http://localhost/crm/api/v1.0/payments/508. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:41.138892] [notice] Logging level set to:debug -[2025-02-18 18:21:41.197463] [error] Error for request http://localhost/crm/api/v1.0/payments/509. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:42.154954] [notice] Logging level set to:debug -[2025-02-18 18:21:42.211724] [error] Error for request http://localhost/crm/api/v1.0/payments/512. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:43.194489] [notice] Logging level set to:debug -[2025-02-18 18:21:43.264230] [error] Error for request http://localhost/crm/api/v1.0/payments/513. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:44.241998] [notice] Logging level set to:debug -[2025-02-18 18:21:44.300218] [error] Error for request http://localhost/crm/api/v1.0/payments/515. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:45.273688] [notice] Logging level set to:debug -[2025-02-18 18:21:45.330799] [error] Error for request http://localhost/crm/api/v1.0/payments/516. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:46.324347] [notice] Logging level set to:debug -[2025-02-18 18:21:46.403454] [error] Error for request http://localhost/crm/api/v1.0/payments/517. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:47.389841] [notice] Logging level set to:debug -[2025-02-18 18:21:47.444048] [error] Error for request http://localhost/crm/api/v1.0/payments/518. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:48.424009] [notice] Logging level set to:debug -[2025-02-18 18:21:48.481129] [error] Error for request http://localhost/crm/api/v1.0/payments/519. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:49.440556] [notice] Logging level set to:debug -[2025-02-18 18:21:49.504132] [error] Error for request http://localhost/crm/api/v1.0/payments/520. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:50.507236] [notice] Logging level set to:debug -[2025-02-18 18:21:50.567806] [error] Error for request http://localhost/crm/api/v1.0/payments/521. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:51.540033] [notice] Logging level set to:debug -[2025-02-18 18:21:51.601443] [error] Error for request http://localhost/crm/api/v1.0/payments/522. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:52.588538] [notice] Logging level set to:debug -[2025-02-18 18:21:52.660919] [error] Error for request http://localhost/crm/api/v1.0/payments/523. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:53.661797] [notice] Logging level set to:debug -[2025-02-18 18:21:53.718031] [error] Error for request http://localhost/crm/api/v1.0/payments/524. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:55.123267] [notice] Logging level set to:debug -[2025-02-18 18:21:55.228822] [error] Error for request http://localhost/crm/api/v1.0/payments/525. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:56.162589] [notice] Logging level set to:debug -[2025-02-18 18:21:56.223704] [error] Error for request http://localhost/crm/api/v1.0/payments/526. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:57.240025] [notice] Logging level set to:debug -[2025-02-18 18:21:57.297276] [error] Error for request http://localhost/crm/api/v1.0/payments/527. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:58.285990] [notice] Logging level set to:debug -[2025-02-18 18:21:58.354437] [error] Error for request http://localhost/crm/api/v1.0/payments/528. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:21:59.325227] [notice] Logging level set to:debug -[2025-02-18 18:21:59.385970] [error] Error for request http://localhost/crm/api/v1.0/payments/529. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:00.359175] [notice] Logging level set to:debug -[2025-02-18 18:22:00.421608] [error] Error for request http://localhost/crm/api/v1.0/payments/530. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:01.860066] [notice] Logging level set to:debug -[2025-02-18 18:22:01.926841] [error] Error for request http://localhost/crm/api/v1.0/payments/531. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:02.903292] [notice] Logging level set to:debug -[2025-02-18 18:22:02.962563] [error] Error for request http://localhost/crm/api/v1.0/payments/532. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:03.920083] [notice] Logging level set to:debug -[2025-02-18 18:22:03.977144] [error] Error for request http://localhost/crm/api/v1.0/payments/533. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:04.958940] [notice] Logging level set to:debug -[2025-02-18 18:22:05.025072] [error] Error for request http://localhost/crm/api/v1.0/payments/534. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:05.984416] [notice] Logging level set to:debug -[2025-02-18 18:22:06.041042] [error] Error for request http://localhost/crm/api/v1.0/payments/535. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:06.990622] [notice] Logging level set to:debug -[2025-02-18 18:22:07.055716] [error] Error for request http://localhost/crm/api/v1.0/payments/536. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:08.017396] [notice] Logging level set to:debug -[2025-02-18 18:22:08.081762] [error] Error for request http://localhost/crm/api/v1.0/payments/537. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:09.125788] [notice] Logging level set to:debug -[2025-02-18 18:22:09.184792] [error] Error for request http://localhost/crm/api/v1.0/payments/538. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:10.150887] [notice] Logging level set to:debug -[2025-02-18 18:22:10.218266] [error] Error for request http://localhost/crm/api/v1.0/payments/539. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:11.161072] [notice] Logging level set to:debug -[2025-02-18 18:22:11.241816] [error] Error for request http://localhost/crm/api/v1.0/payments/540. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:12.210156] [notice] Logging level set to:debug -[2025-02-18 18:22:12.270443] [error] Error for request http://localhost/crm/api/v1.0/payments/541. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:13.217859] [notice] Logging level set to:debug -[2025-02-18 18:22:13.283822] [error] Error for request http://localhost/crm/api/v1.0/payments/542. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:14.245944] [notice] Logging level set to:debug -[2025-02-18 18:22:14.303960] [error] Error for request http://localhost/crm/api/v1.0/payments/543. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:15.253670] [notice] Logging level set to:debug -[2025-02-18 18:22:15.325239] [error] Error for request http://localhost/crm/api/v1.0/payments/544. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:16.306397] [notice] Logging level set to:debug -[2025-02-18 18:22:16.379688] [error] Error for request http://localhost/crm/api/v1.0/payments/545. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:17.340455] [notice] Logging level set to:debug -[2025-02-18 18:22:17.407285] [error] Error for request http://localhost/crm/api/v1.0/payments/546. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:18.365159] [notice] Logging level set to:debug -[2025-02-18 18:22:18.417979] [error] Error for request http://localhost/crm/api/v1.0/payments/547. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:19.363729] [notice] Logging level set to:debug -[2025-02-18 18:22:19.441180] [error] Error for request http://localhost/crm/api/v1.0/payments/548. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:20.397805] [notice] Logging level set to:debug -[2025-02-18 18:22:20.457909] [error] Error for request http://localhost/crm/api/v1.0/payments/549. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:21.408915] [notice] Logging level set to:debug -[2025-02-18 18:22:21.466634] [error] Error for request http://localhost/crm/api/v1.0/payments/550. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:22.408128] [notice] Logging level set to:debug -[2025-02-18 18:22:22.479208] [error] Error for request http://localhost/crm/api/v1.0/payments/551. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:23.528254] [notice] Logging level set to:debug -[2025-02-18 18:22:23.590531] [error] Error for request http://localhost/crm/api/v1.0/payments/552. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:24.537244] [notice] Logging level set to:debug -[2025-02-18 18:22:24.590759] [error] Error for request http://localhost/crm/api/v1.0/payments/553. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:25.569588] [notice] Logging level set to:debug -[2025-02-18 18:22:25.636033] [error] Error for request http://localhost/crm/api/v1.0/payments/554. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:26.902713] [notice] Logging level set to:debug -[2025-02-18 18:22:26.958280] [error] Error for request http://localhost/crm/api/v1.0/payments/555. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:27.918735] [notice] Logging level set to:debug -[2025-02-18 18:22:27.977300] [error] Error for request http://localhost/crm/api/v1.0/payments/556. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:28.973319] [notice] Logging level set to:debug -[2025-02-18 18:22:29.045690] [error] Error for request http://localhost/crm/api/v1.0/payments/557. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:29.988257] [notice] Logging level set to:debug -[2025-02-18 18:22:30.051013] [error] Error for request http://localhost/crm/api/v1.0/payments/558. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:30.975326] [notice] Logging level set to:debug -[2025-02-18 18:22:31.040724] [error] Error for request http://localhost/crm/api/v1.0/payments/559. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:31.986198] [notice] Logging level set to:debug -[2025-02-18 18:22:32.042222] [error] Error for request http://localhost/crm/api/v1.0/payments/560. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:33.020621] [notice] Logging level set to:debug -[2025-02-18 18:22:33.080930] [error] Error for request http://localhost/crm/api/v1.0/payments/561. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:34.017570] [notice] Logging level set to:debug -[2025-02-18 18:22:34.082516] [error] Error for request http://localhost/crm/api/v1.0/payments/562. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:35.013086] [notice] Logging level set to:debug -[2025-02-18 18:22:35.082375] [error] Error for request http://localhost/crm/api/v1.0/payments/563. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:35.991837] [notice] Logging level set to:debug -[2025-02-18 18:22:36.047687] [error] Error for request http://localhost/crm/api/v1.0/payments/564. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:36.948678] [notice] Logging level set to:debug -[2025-02-18 18:22:37.009318] [error] Error for request http://localhost/crm/api/v1.0/payments/565. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:37.921480] [notice] Logging level set to:debug -[2025-02-18 18:22:37.989927] [error] Error for request http://localhost/crm/api/v1.0/payments/566. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:38.957927] [notice] Logging level set to:debug -[2025-02-18 18:22:39.020804] [error] Error for request http://localhost/crm/api/v1.0/payments/567. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:39.924221] [notice] Logging level set to:debug -[2025-02-18 18:22:39.981156] [error] Error for request http://localhost/crm/api/v1.0/payments/568. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:40.901933] [notice] Logging level set to:debug -[2025-02-18 18:22:40.996037] [error] Error for request http://localhost/crm/api/v1.0/payments/569. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:41.976005] [notice] Logging level set to:debug -[2025-02-18 18:22:42.092911] [error] Error for request http://localhost/crm/api/v1.0/payments/570. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:43.268718] [notice] Logging level set to:debug -[2025-02-18 18:22:43.338089] [error] Error for request http://localhost/crm/api/v1.0/payments/571. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:44.272742] [notice] Logging level set to:debug -[2025-02-18 18:22:44.330507] [error] Error for request http://localhost/crm/api/v1.0/payments/572. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:45.252939] [notice] Logging level set to:debug -[2025-02-18 18:22:45.314012] [error] Error for request http://localhost/crm/api/v1.0/payments/573. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:46.261245] [notice] Logging level set to:debug -[2025-02-18 18:22:46.320291] [error] Error for request http://localhost/crm/api/v1.0/payments/575. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:47.400971] [notice] Logging level set to:debug -[2025-02-18 18:22:47.459121] [error] Error for request http://localhost/crm/api/v1.0/payments/578. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:22:48.447294] [notice] Logging level set to:debug -[2025-02-18 18:22:48.518733] [error] Error for request http://localhost/crm/api/v1.0/payments/586. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:46:52.624923] [notice] Logging level set to:debug -[2025-02-18 18:46:52.683514] [error] Error for request http://localhost/crm/api/v1.0/clients/services/125. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 18:46:52.822581] [notice] Logging level set to:debug -[2025-02-18 18:46:52.959996] [debug] valor el evento recibido por webhook: service.add - -[2025-02-18 18:46:52.960258] [debug] Valor de JSON: {"uuid":"cc85ec41-b75c-4b7f-90d3-5e23fd03f96a","changeType":"insert","entity":"service","entityId":"134","eventName":"service.add","extraData":{"entity":{"id":134,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-18T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":true,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":125,"prepaid":false,"clientId":2,"status":5,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-12-19T00:00:00-0600","activeTo":"2025-02-17T00:00:00-0600","contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2024-12-19T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":27,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":true,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":null,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-11-26T00:00:00-0600","unmsClientSiteId":null,"attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}} - -[2025-02-18 18:47:34.739219] [notice] Logging level set to:debug -[2025-02-18 18:47:34.890800] [debug] valor el evento recibido por webhook: service.edit - -[2025-02-18 18:47:34.890906] [debug] Valor de JSON: {"uuid":"fcfdce54-9d29-40cf-9404-503c07ac1536","changeType":"edit","entity":"service","entityId":"134","eventName":"service.edit","extraData":{"entity":{"id":134,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-18T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":134,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-18T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":true,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"}],"surcharges":[]}}} - -[2025-02-18 18:48:31.978604] [notice] Logging level set to:debug -[2025-02-18 18:48:32.113962] [debug] valor el evento recibido por webhook: service.edit - -[2025-02-18 18:48:32.114067] [debug] Valor de JSON: {"uuid":"cc428b72-ecda-45f6-95b0-32f1761e5eb6","changeType":"edit","entity":"service","entityId":"134","eventName":"service.edit","extraData":{"entity":{"id":134,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-18T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":134,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-18T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"}],"surcharges":[]}}} - -[2025-02-18 18:48:44.087862] [notice] Logging level set to:debug -[2025-02-18 18:48:44.252741] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-18 18:48:44.252931] [debug] Valor de JSON: {"uuid":"cc5164fa-a7ec-483a-ae62-1eb02e69d82c","changeType":"insert","entity":"invoice","entityId":"1563","eventName":"invoice.add_draft","extraData":{"entity":{"id":1563,"clientId":2,"number":"001521","createdDate":"2025-02-18T12:48:43-0600","dueDate":"2025-03-04T12:48:43-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-18T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1566,"type":"service","label":"PREMIUM 18\/02\/2025 \u2013 28\/02\/2025","price":700,"quantity":0.36666666666666664,"total":256.66666666666663,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":134,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":256.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":256.67,"amountPaid":0,"totalUntaxed":256.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":256.67,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-18 18:48:44.370398] [notice] Logging level set to:debug -[2025-02-18 18:48:44.543175] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-18 18:48:44.543359] [debug] Valor de JSON: {"uuid":"20690814-266a-4fc6-b9ba-816b30edf627","changeType":"draft_approved","entity":"invoice","entityId":"1563","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1563,"clientId":2,"number":"001521","createdDate":"2025-02-18T12:48:43-0600","dueDate":"2025-03-04T12:48:43-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-18T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1566,"type":"service","label":"PREMIUM 18\/02\/2025 \u2013 28\/02\/2025","price":700,"quantity":0.36666666666666664,"total":256.66666666666663,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":134,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":256.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":256.67,"amountPaid":0,"totalUntaxed":256.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":256.67,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-18 20:15:52.489775] [notice] Logging level set to:debug -[2025-02-18 20:15:52.554889] [error] Error for request http://localhost/crm/api/v1.0/invoices/1563. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-18 20:16:03.342830] [notice] Logging level set to:debug -[2025-02-18 20:16:03.511188] [debug] valor el evento recibido por webhook: service.edit - -[2025-02-18 20:16:03.511414] [debug] Valor de JSON: {"uuid":"0d8554d5-344b-45a7-9c13-8de13f6177a5","changeType":"edit","entity":"service","entityId":"134","eventName":"service.edit","extraData":{"entity":{"id":134,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-18T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-17T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":134,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-18T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-28T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"}],"surcharges":[]}}} - -[2025-02-18 20:16:03.511688] [debug] Se editó el servicio a un cliente - -[2025-02-18 20:16:03.511806] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-18 20:16:03.511850] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-02-18 20:16:03.511930] [info] {"uuid":"0d8554d5-344b-45a7-9c13-8de13f6177a5","changeType":"edit","entity":"service","entityId":134,"message":null,"clientId":2,"eventName":"service.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":134,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-18T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-17T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"}],"surcharges":[]},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas el boy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 18\/02\/2025 14:16"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas el boy","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"0021804341999569810","user entry point":"inbound_message","Saldo Actual":"💲2100 pendientes","Estado":"🟢 Activo","Fecha Ultima Actualizacion":"📆🔄️ 18/02/2025 14:16","Fecha Ultimo Pago":"📆💸 17/02/2025 21:44 con Personalizado 📝💸","URL":"🌐 https://172.16.5.120/crm/client/2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 700","user name":"Daniel Humberto 🐁","Nombre":"👤 Daniel Humberto Soto Villegas el boy","Cliente":"2","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas el boy\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲2100 pendientes\",\"Monto Ultimo Pago\": \"💲 700\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 17/02/2025 21:44 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 18/02/2025 12:03\",\"Clabe Interbancaria\": \"0021804341999569810\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-18 20:16:04.871671] [info] {"uuid":"0d8554d5-344b-45a7-9c13-8de13f6177a5","changeType":"edit","entity":"service","entityId":134,"message":null,"clientId":2,"eventName":"service.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":134,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-18T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-17T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"}],"surcharges":[]},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas el boy - -UUID: 2038d2d99ae543f3b56f1ae54f4cc82b - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 18\/02\/2025 14:16"}} - -Response Patch CallBell: {"contact":{"uuid":"2038d2d99ae543f3b56f1ae54f4cc82b","name":"Daniel Humberto Soto Villegas el boy","phoneNumber":"5214181817609","avatarUrl":null,"createdAt":"2024-01-26T18:16:09Z","closedAt":"2025-02-17T19:00:45Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/2038d2d99ae543f3b56f1ae54f4cc82b","conversationHref":"https://dash.callbell.eu/chat/90611886ac204c56a75240f951c53874","tags":[],"assignedUser":null,"customFields":{"Nombre":"👤 Daniel Humberto Soto Villegas el boy","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Fecha Ultima Actualizacion":"📆🔄️ 18/02/2025 14:16","user entry point":"inbound_message","Estado":"🟢 Activo","Fecha Ultimo Pago":"📆💸 17/02/2025 21:44 con Personalizado 📝💸","Saldo Actual":"💲2100 pendientes","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 700","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas el boy\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲2100 pendientes\",\"Monto Ultimo Pago\": \"💲 700\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 17/02/2025 21:44 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 18/02/2025 12:03\",\"Clabe Interbancaria\": \"0021804341999569810\"}","URL":"🌐 https://172.16.5.120/crm/client/2","user name":"Grisel"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-18 20:16:06.281100] [notice] Logging level set to:debug -[2025-02-18 20:16:06.486937] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-18 20:16:06.487015] [debug] Valor de JSON: {"uuid":"af74ef69-78c3-4146-9e76-83d21286204e","changeType":"insert","entity":"invoice","entityId":"1564","eventName":"invoice.add_draft","extraData":{"entity":{"id":1564,"clientId":2,"number":"001521","createdDate":"2025-02-18T14:16:03-0600","dueDate":"2025-03-04T14:16:03-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-18T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1567,"type":"service","label":"PREMIUM 18\/02\/2025 \u2013 28\/02\/2025","price":700,"quantity":0.36666666666666664,"total":256.66666666666663,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":134,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":256.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":256.67,"amountPaid":0,"totalUntaxed":256.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":256.67,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-18 20:16:06.487581] [debug] Adición de borrador de Factura - -[2025-02-18 20:16:06.487649] [debug] {"uuid":"af74ef69-78c3-4146-9e76-83d21286204e","changeType":"insert","entity":"invoice","entityId":1564,"message":null,"clientId":2,"eventName":"invoice.add_draft","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-256.67,"accountCredit":0,"accountOutstanding":256.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1564,"clientId":2,"number":"001521","createdDate":"2025-02-18T14:16:03-0600","dueDate":"2025-03-04T14:16:03-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-18T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1567,"type":"service","label":"PREMIUM 18\/02\/2025 \u2013 28\/02\/2025","price":700,"quantity":0.36666666666667,"total":256.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":134,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":256.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":256.67,"amountPaid":0,"totalUntaxed":256.67,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":256.67,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-18 20:16:06.487706] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-18 20:16:06.487719] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2256.67 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2256.67 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 \",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 18\/02\/2025 20:16 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 18\/02\/2025 14:16\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 18\/02\/2025 20:16 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 18\/02\/2025 14:16","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas el boy","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"0021804341999569810","user entry point":"inbound_message","Saldo Actual":"💲256.67 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 18/02/2025 14:16","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 18/02/2025 20:16 con Desconocido, revisar metodos de pago no contemplados","URL":"🌐 https://172.16.5.120/crm/client/2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 ","user name":"Daniel Humberto 🐁","Nombre":"👤 Daniel Humberto Soto Villegas el boy","Cliente":"2","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas el boy\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲256.67 pendientes\",\"Monto Ultimo Pago\": \"💲 \",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 18/02/2025 20:16 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 18/02/2025 14:16\",\"Clabe Interbancaria\": \"0021804341999569810\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 2038d2d99ae543f3b56f1ae54f4cc82b - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2256.67 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2256.67 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 \",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 18\/02\/2025 20:16 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 18\/02\/2025 14:16\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 18\/02\/2025 20:16 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 18\/02\/2025 14:16","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"2038d2d99ae543f3b56f1ae54f4cc82b","name":"Daniel Humberto Soto Villegas el boy","phoneNumber":"5214181817609","avatarUrl":null,"createdAt":"2024-01-26T18:16:09Z","closedAt":"2025-02-17T19:00:45Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/2038d2d99ae543f3b56f1ae54f4cc82b","conversationHref":"https://dash.callbell.eu/chat/90611886ac204c56a75240f951c53874","tags":[],"assignedUser":null,"customFields":{"Nombre":"👤 Daniel Humberto Soto Villegas el boy","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Fecha Ultima Actualizacion":"📆🔄️ 18/02/2025 14:16","user entry point":"inbound_message","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 18/02/2025 20:16 con Desconocido, revisar metodos de pago no contemplados","Saldo Actual":"💲256.67 pendientes","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas el boy\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲256.67 pendientes\",\"Monto Ultimo Pago\": \"💲 \",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 18/02/2025 20:16 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 18/02/2025 14:16\",\"Clabe Interbancaria\": \"0021804341999569810\"}","URL":"🌐 https://172.16.5.120/crm/client/2","user name":"Grisel"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-18 20:16:10.011094] [notice] Logging level set to:debug -[2025-02-18 20:16:10.176800] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-18 20:16:10.176986] [debug] Valor de JSON: {"uuid":"1c2a90d3-8978-4ddc-990d-a5b2f23a4d5e","changeType":"draft_approved","entity":"invoice","entityId":"1564","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1564,"clientId":2,"number":"001521","createdDate":"2025-02-18T14:16:03-0600","dueDate":"2025-03-04T14:16:03-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-18T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1567,"type":"service","label":"PREMIUM 18\/02\/2025 \u2013 28\/02\/2025","price":700,"quantity":0.36666666666666664,"total":256.66666666666663,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":134,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":256.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":256.67,"amountPaid":0,"totalUntaxed":256.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":256.67,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-18 20:16:10.177265] [debug] Aprobación de Factura - -[2025-02-18 20:16:10.177370] [debug] {"uuid":"1c2a90d3-8978-4ddc-990d-a5b2f23a4d5e","changeType":"draft_approved","entity":"invoice","entityId":1564,"message":null,"clientId":2,"eventName":"invoice.draft_approved","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-256.67,"accountCredit":0,"accountOutstanding":256.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1564,"clientId":2,"number":"001521","createdDate":"2025-02-18T14:16:03-0600","dueDate":"2025-03-04T14:16:03-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-18T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1567,"type":"service","label":"PREMIUM 18\/02\/2025 \u2013 28\/02\/2025","price":700,"quantity":0.36666666666667,"total":256.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":134,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":256.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":256.67,"amountPaid":0,"totalUntaxed":256.67,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":256.67,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-18 20:16:10.177449] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-18 20:16:10.177490] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2256.67 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2256.67 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 \",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 18\/02\/2025 20:16 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 18\/02\/2025 14:16\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 18\/02\/2025 20:16 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 18\/02\/2025 14:16","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas el boy","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"0021804341999569810","user entry point":"inbound_message","Saldo Actual":"💲256.67 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 18/02/2025 14:16","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 18/02/2025 20:16 con Desconocido, revisar metodos de pago no contemplados","URL":"🌐 https://172.16.5.120/crm/client/2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 ","user name":"Daniel Humberto 🐁","Nombre":"👤 Daniel Humberto Soto Villegas el boy","Cliente":"2","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas el boy\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲256.67 pendientes\",\"Monto Ultimo Pago\": \"💲 \",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 18/02/2025 20:16 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 18/02/2025 14:16\",\"Clabe Interbancaria\": \"0021804341999569810\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 2038d2d99ae543f3b56f1ae54f4cc82b - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2256.67 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2256.67 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 \",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 18\/02\/2025 20:16 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 18\/02\/2025 14:16\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 18\/02\/2025 20:16 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 18\/02\/2025 14:16","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"2038d2d99ae543f3b56f1ae54f4cc82b","name":"Daniel Humberto Soto Villegas el boy","phoneNumber":"5214181817609","avatarUrl":null,"createdAt":"2024-01-26T18:16:09Z","closedAt":"2025-02-17T19:00:45Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/2038d2d99ae543f3b56f1ae54f4cc82b","conversationHref":"https://dash.callbell.eu/chat/90611886ac204c56a75240f951c53874","tags":[],"assignedUser":null,"customFields":{"Nombre":"👤 Daniel Humberto Soto Villegas el boy","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Fecha Ultima Actualizacion":"📆🔄️ 18/02/2025 14:16","user entry point":"inbound_message","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 18/02/2025 20:16 con Desconocido, revisar metodos de pago no contemplados","Saldo Actual":"💲256.67 pendientes","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas el boy\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲256.67 pendientes\",\"Monto Ultimo Pago\": \"💲 \",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 18/02/2025 20:16 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 18/02/2025 14:16\",\"Clabe Interbancaria\": \"0021804341999569810\"}","URL":"🌐 https://172.16.5.120/crm/client/2","user name":"Grisel"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-19 3:14:15.838184] [notice] Logging level set to:debug -[2025-02-19 3:14:15.990616] [debug] valor el evento recibido por webhook: invoice.edit - -[2025-02-19 3:14:15.990840] [debug] Valor de JSON: {"uuid":"bf572481-a644-4d8f-b37a-1319bd1c637a","changeType":"edit","entity":"invoice","entityId":"1564","eventName":"invoice.edit","extraData":{"entity":{"id":1564,"clientId":2,"number":"001521","createdDate":"2025-02-18T14:16:03-0600","dueDate":"2025-03-04T14:16:03-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-18T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1567,"type":"service","label":"PREMIUM 18\/02\/2025 \u2013 28\/02\/2025","price":700,"quantity":0.36666666666667,"total":256.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":134,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":256.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":256.67,"amountPaid":256.67,"totalUntaxed":256.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":659,"invoiceId":1564,"paymentId":587,"creditNoteId":null,"refundId":null,"amount":256.67}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":1564,"clientId":2,"number":"001521","createdDate":"2025-02-18T14:16:03-0600","dueDate":"2025-03-04T14:16:03-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-18T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1567,"type":"service","label":"PREMIUM 18\/02\/2025 \u2013 28\/02\/2025","price":700,"quantity":0.36666666666667,"total":256.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":134,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":256.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":256.67,"amountPaid":0,"totalUntaxed":256.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":256.67,"currencyCode":"MXN","status":1,"paymentCovers":[{"id":659,"invoiceId":1564,"paymentId":587,"creditNoteId":null,"refundId":null,"amount":256.67}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false}}} - -[2025-02-19 3:14:15.991111] [debug] Edición de Factura - -[2025-02-19 3:14:15.991219] [debug] {"uuid":"bf572481-a644-4d8f-b37a-1319bd1c637a","changeType":"edit","entity":"invoice","entityId":1564,"message":null,"clientId":2,"eventName":"invoice.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1564,"clientId":2,"number":"001521","createdDate":"2025-02-18T14:16:03-0600","dueDate":"2025-03-04T14:16:03-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-18T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1567,"type":"service","label":"PREMIUM 18\/02\/2025 \u2013 28\/02\/2025","price":700,"quantity":0.36666666666667,"total":256.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":134,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":256.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":256.67,"amountPaid":256.67,"totalUntaxed":256.67,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":659,"invoiceId":1564,"paymentId":587,"creditNoteId":null,"refundId":null,"amount":256.67}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-19 3:14:15.991331] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-19 3:14:15.991380] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":587,"clientId":2,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2025-02-18T21:14:08-0600","amount":256.67,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":659,"invoiceId":1564,"paymentId":587,"creditNoteId":null,"refundId":null,"amount":256.67}],"creditAmount":0,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","Monto Ultimo Pago":"\ud83d\udcb2 256.67","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 256.67\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 18\/02\/2025 21:14 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 18\/02\/2025 21:14\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 18\/02\/2025 21:14 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 18\/02\/2025 21:14","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas el boy","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"0021804341999569810","user entry point":"inbound_message","Saldo Actual":"💲0 está al corriente","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 18/02/2025 21:14 con Efectivo 💵","URL":"🌐 https://172.16.5.120/crm/client/2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 256.67","user name":"Daniel Humberto 🐁","Nombre":"👤 Daniel Humberto Soto Villegas el boy","Fecha Ultima Actualizacion":"📆🔄️ 18/02/2025 21:14","Cliente":"2","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas el boy\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"💲 256.67\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 18/02/2025 21:14 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 18/02/2025 21:14\",\"Clabe Interbancaria\": \"0021804341999569810\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":587,"clientId":2,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2025-02-18T21:14:08-0600","amount":256.67,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":659,"invoiceId":1564,"paymentId":587,"creditNoteId":null,"refundId":null,"amount":256.67}],"creditAmount":0,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 2038d2d99ae543f3b56f1ae54f4cc82b - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","Monto Ultimo Pago":"\ud83d\udcb2 256.67","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 256.67\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 18\/02\/2025 21:14 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 18\/02\/2025 21:14\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 18\/02\/2025 21:14 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 18\/02\/2025 21:14","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"2038d2d99ae543f3b56f1ae54f4cc82b","name":"Daniel Humberto Soto Villegas el boy","phoneNumber":"5214181817609","avatarUrl":null,"createdAt":"2024-01-26T18:16:09Z","closedAt":"2025-02-17T19:00:45Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/2038d2d99ae543f3b56f1ae54f4cc82b","conversationHref":"https://dash.callbell.eu/chat/90611886ac204c56a75240f951c53874","tags":[],"assignedUser":null,"customFields":{"Nombre":"👤 Daniel Humberto Soto Villegas el boy","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Fecha Ultima Actualizacion":"📆🔄️ 18/02/2025 21:14","user entry point":"inbound_message","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 18/02/2025 21:14 con Efectivo 💵","Saldo Actual":"💲0 está al corriente","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 256.67","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas el boy\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"💲 256.67\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 18/02/2025 21:14 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 18/02/2025 21:14\",\"Clabe Interbancaria\": \"0021804341999569810\"}","URL":"🌐 https://172.16.5.120/crm/client/2","user name":"Grisel"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-19 3:14:19.733098] [notice] Logging level set to:debug -[2025-02-19 3:14:19.849553] [debug] valor el evento recibido por webhook: payment.add - -[2025-02-19 3:14:19.849695] [debug] Valor de JSON: {"uuid":"8e582e1f-6cfe-47ea-a30d-2a146e74e6e6","changeType":"insert","entity":"payment","entityId":"587","eventName":"payment.add","extraData":{"entity":{"id":587,"clientId":2,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2025-02-18T21:14:08-0600","amount":256.67,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":659,"invoiceId":1564,"paymentId":587,"creditNoteId":null,"refundId":null,"amount":256.67}],"creditAmount":0,"userId":1015,"attributes":[]},"entityBeforeEdit":null}} - -[2025-02-19 3:14:19.849929] [debug] Notification encodificado en JSON:{"uuid":"8e582e1f-6cfe-47ea-a30d-2a146e74e6e6","changeType":"insert","entity":"payment","entityId":587,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":587,"clientId":2,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2025-02-18T21:14:08-0600","amount":256.67,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":659,"invoiceId":1564,"paymentId":587,"creditNoteId":null,"refundId":null,"amount":256.67}],"creditAmount":0,"userId":1015,"attributes":[]}} - -[2025-02-19 3:14:19.850007] [debug] valor del payment data: {"id":587,"clientId":2,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2025-02-18T21:14:08-0600","amount":256.67,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":659,"invoiceId":1564,"paymentId":587,"creditNoteId":null,"refundId":null,"amount":256.67}],"creditAmount":0,"userId":1015,"attributes":[]} - -[2025-02-19 3:14:19.968677] [notice] Logging level set to:debug -[2025-02-19 3:14:20.082957] [debug] valor el evento recibido por webhook: payment.edit - -[2025-02-19 3:14:20.083142] [debug] Valor de JSON: {"uuid":"74381f10-0608-418d-b21b-6fa3b4c5b66f","changeType":"edit","entity":"payment","entityId":"587","eventName":"payment.edit","extraData":{"entity":{"id":587,"clientId":2,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2025-02-18T21:14:08-0600","amount":256.67,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":659,"invoiceId":1564,"paymentId":587,"creditNoteId":null,"refundId":null,"amount":256.67}],"creditAmount":0,"userId":1015,"attributes":[]},"entityBeforeEdit":{"id":587,"clientId":2,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2025-02-18T21:14:08-0600","amount":256.67,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":659,"invoiceId":1564,"paymentId":587,"creditNoteId":null,"refundId":null,"amount":256.67}],"creditAmount":0,"userId":1015,"attributes":[]}}} - -[2025-02-19 16:00:03.718334] [notice] Logging level set to:debug -[2025-02-19 16:00:03.906764] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-19 16:00:03.906838] [debug] Valor de JSON: {"uuid":"d94928fb-6602-48b0-a58f-f9001c9461b4","changeType":"insert","entity":"invoice","entityId":"1565","eventName":"invoice.add_draft","extraData":{"entity":{"id":1565,"clientId":1,"number":"001522","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-17T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1568,"type":"service","label":"plan300 25\/01\/2025 \u2013 17\/02\/2025","price":300,"quantity":0.8,"total":240,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":132,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":240,"discount":null,"discountLabel":"Descuento","taxes":[],"total":240,"amountPaid":240,"totalUntaxed":240,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":660,"invoiceId":1565,"paymentId":478,"creditNoteId":null,"refundId":null,"amount":80},{"id":661,"invoiceId":1565,"paymentId":480,"creditNoteId":null,"refundId":null,"amount":160}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-19 16:00:03.920044] [debug] Adición de borrador de Factura - -[2025-02-19 16:00:03.920176] [debug] {"uuid":"d94928fb-6602-48b0-a58f-f9001c9461b4","changeType":"insert","entity":"invoice","entityId":1565,"message":null,"clientId":1,"eventName":"invoice.add_draft","clientData":{"id":1,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true}],"accountBalance":1840,"accountCredit":1840,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1565,"clientId":1,"number":"001522","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-16T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1568,"type":"service","label":"plan300 25\/01\/2025 \u2013 17\/02\/2025","price":300,"quantity":0.8,"total":240,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":132,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":240,"discount":null,"discountLabel":"Descuento","taxes":[],"total":240,"amountPaid":240,"totalUntaxed":240,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":660,"invoiceId":1565,"paymentId":478,"creditNoteId":null,"refundId":null,"amount":80},{"id":661,"invoiceId":1565,"paymentId":480,"creditNoteId":null,"refundId":null,"amount":160}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-19 16:00:03.920306] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-19 16:00:03.920320] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":585,"clientId":1,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-15T10:28:13-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-02-15T10:28:14-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Don Miguel Ángel Guerrero González - -UUID: 0e53e926ce424db5b9284a75915d24fe - -JSON con los datos a actualizar: {"name":"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","custom_fields":{"Cliente":1,"Domicilio":"\ud83d\udccd Calle Morelos 34, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/1","Saldo Actual":"\ud83d\udcb21840 a favor","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\ud83d\udccd Calle Morelos 34, Dolores Hidalgo, 37800\",\"Nombre\": \"\ud83d\udc64 Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/1\",\"Saldo Actual\": \"\ud83d\udcb21840 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 300\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 15\/02\/2025 10:28 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 10:00\",\"Clabe Interbancaria\": \"002180697144444854\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 15\/02\/2025 10:28 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 10:00","Clabe Interbancaria":"002180697144444854"}} - -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-02-15T17:17:12Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https://dash.callbell.eu/chat/f017e454a6b94ab297509274216c6795","tags":["SIIP","Suspendido"],"assignedUser":null,"customFields":{"URL":"🌐 https://172.16.5.120/crm/client/1","user entry point":"inbound_message","Clientes Relacionados":"oxxo","Cliente":"1","Nombre":"👤 Don Miguel Ángel Guerrero González","Clabe Interbancaria":"002180697144444854","Fecha Ultima Actualizacion":"📆🔄️ 19/02/2025 10:00","Monto Ultimo Pago":"💲 300","Acciones":"1","Fecha Ultimo Pago":"📆💸 15/02/2025 10:28 con Tarjeta de crédito Stripe 💳","Domicilio":"📍 Calle Morelos 34, Dolores Hidalgo, 37800","user name":"Angel","Estado":"🟢 Activo ","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"📍 Calle Morelos 34, Dolores Hidalgo, 37800\",\"Nombre\": \"👤 Don Miguel Ángel Guerrero González\",\"URL\": \"🌐 https://172.16.5.120/crm/client/1\",\"Saldo Actual\": \"💲1840 a favor\",\"Monto Ultimo Pago\": \"💲 300\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 15/02/2025 10:28 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 19/02/2025 10:00\",\"Clabe Interbancaria\": \"002180697144444854\"}","Saldo Actual":"💲1840 a favor"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-19 16:00:05.373823] [notice] Logging level set to:debug -[2025-02-19 16:00:05.641522] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-19 16:00:05.641591] [debug] Valor de JSON: {"uuid":"3fed7ccb-e3f6-421d-b4a3-ad3434c2a27f","changeType":"draft_approved","entity":"invoice","entityId":"1565","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1565,"clientId":1,"number":"001522","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-17T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1568,"type":"service","label":"plan300 25\/01\/2025 \u2013 17\/02\/2025","price":300,"quantity":0.8,"total":240,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":132,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":240,"discount":null,"discountLabel":"Descuento","taxes":[],"total":240,"amountPaid":240,"totalUntaxed":240,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":660,"invoiceId":1565,"paymentId":478,"creditNoteId":null,"refundId":null,"amount":80},{"id":661,"invoiceId":1565,"paymentId":480,"creditNoteId":null,"refundId":null,"amount":160}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-19 16:00:05.641690] [debug] Aprobación de Factura - -[2025-02-19 16:00:05.641808] [debug] {"uuid":"3fed7ccb-e3f6-421d-b4a3-ad3434c2a27f","changeType":"draft_approved","entity":"invoice","entityId":1565,"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":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true}],"accountBalance":1840,"accountCredit":1840,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1565,"clientId":1,"number":"001522","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-16T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1568,"type":"service","label":"plan300 25\/01\/2025 \u2013 17\/02\/2025","price":300,"quantity":0.8,"total":240,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":132,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":240,"discount":null,"discountLabel":"Descuento","taxes":[],"total":240,"amountPaid":240,"totalUntaxed":240,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":660,"invoiceId":1565,"paymentId":478,"creditNoteId":null,"refundId":null,"amount":80},{"id":661,"invoiceId":1565,"paymentId":480,"creditNoteId":null,"refundId":null,"amount":160}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-19 16:00:05.641853] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-19 16:00:05.641864] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":585,"clientId":1,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-15T10:28:13-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-02-15T10:28:14-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Don Miguel Ángel Guerrero González - -UUID: 0e53e926ce424db5b9284a75915d24fe - -JSON con los datos a actualizar: {"name":"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","custom_fields":{"Cliente":1,"Domicilio":"\ud83d\udccd Calle Morelos 34, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/1","Saldo Actual":"\ud83d\udcb21840 a favor","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\ud83d\udccd Calle Morelos 34, Dolores Hidalgo, 37800\",\"Nombre\": \"\ud83d\udc64 Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/1\",\"Saldo Actual\": \"\ud83d\udcb21840 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 300\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 15\/02\/2025 10:28 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 10:00\",\"Clabe Interbancaria\": \"002180697144444854\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 15\/02\/2025 10:28 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 10:00","Clabe Interbancaria":"002180697144444854"}} - -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-02-15T17:17:12Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https://dash.callbell.eu/chat/f017e454a6b94ab297509274216c6795","tags":["SIIP","Suspendido"],"assignedUser":null,"customFields":{"URL":"🌐 https://172.16.5.120/crm/client/1","user entry point":"inbound_message","Clientes Relacionados":"oxxo","Cliente":"1","Nombre":"👤 Don Miguel Ángel Guerrero González","Clabe Interbancaria":"002180697144444854","Fecha Ultima Actualizacion":"📆🔄️ 19/02/2025 10:00","Monto Ultimo Pago":"💲 300","Acciones":"1","Fecha Ultimo Pago":"📆💸 15/02/2025 10:28 con Tarjeta de crédito Stripe 💳","Domicilio":"📍 Calle Morelos 34, Dolores Hidalgo, 37800","user name":"Angel","Estado":"🟢 Activo ","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"📍 Calle Morelos 34, Dolores Hidalgo, 37800\",\"Nombre\": \"👤 Don Miguel Ángel Guerrero González\",\"URL\": \"🌐 https://172.16.5.120/crm/client/1\",\"Saldo Actual\": \"💲1840 a favor\",\"Monto Ultimo Pago\": \"💲 300\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 15/02/2025 10:28 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 19/02/2025 10:00\",\"Clabe Interbancaria\": \"002180697144444854\"}","Saldo Actual":"💲1840 a favor"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-19 16:00:06.761085] [notice] Logging level set to:debug -[2025-02-19 16:00:06.912313] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-19 16:00:06.912813] [debug] Valor de JSON: {"uuid":"944fbd1c-819f-4718-935f-23889d2e0587","changeType":"insert","entity":"invoice","entityId":"1566","eventName":"invoice.add_draft","extraData":{"entity":{"id":1566,"clientId":2,"number":"001523","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1569,"type":"service","label":"PREMIUM 01\/03\/2025 \u2013 31\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":134,"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 Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-19 16:00:06.913034] [debug] Adición de borrador de Factura - -[2025-02-19 16:00:06.913152] [debug] {"uuid":"944fbd1c-819f-4718-935f-23889d2e0587","changeType":"insert","entity":"invoice","entityId":1566,"message":null,"clientId":2,"eventName":"invoice.add_draft","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-700,"accountCredit":0,"accountOutstanding":700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1566,"clientId":2,"number":"001523","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1569,"type":"service","label":"PREMIUM 01\/03\/2025 \u2013 31\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":134,"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 Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-19 16:00:06.913428] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-19 16:00:06.913496] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":587,"clientId":2,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2025-02-18T21:14:08-0600","amount":256.67,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":659,"invoiceId":1564,"paymentId":587,"creditNoteId":null,"refundId":null,"amount":256.67}],"creditAmount":0,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2700 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 256.67","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2700 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 256.67\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 18\/02\/2025 21:14 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 10:00\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 18\/02\/2025 21:14 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 10:00","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas el boy","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"0021804341999569810","user entry point":"inbound_message","Saldo Actual":"💲700 pendientes","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 18/02/2025 21:14 con Efectivo 💵","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 256.67","user name":"Daniel Humberto 🐁","Nombre":"👤 Daniel Humberto Soto Villegas el boy","Fecha Ultima Actualizacion":"📆🔄️ 19/02/2025 10:00","URL":"🌐 https://172.16.5.120/crm/client/2","Cliente":"2","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas el boy\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲700 pendientes\",\"Monto Ultimo Pago\": \"💲 256.67\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 18/02/2025 21:14 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 19/02/2025 10:00\",\"Clabe Interbancaria\": \"0021804341999569810\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":587,"clientId":2,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2025-02-18T21:14:08-0600","amount":256.67,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":659,"invoiceId":1564,"paymentId":587,"creditNoteId":null,"refundId":null,"amount":256.67}],"creditAmount":0,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 2038d2d99ae543f3b56f1ae54f4cc82b - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2700 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 256.67","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2700 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 256.67\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 18\/02\/2025 21:14 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 10:00\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 18\/02\/2025 21:14 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 10:00","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"2038d2d99ae543f3b56f1ae54f4cc82b","name":"Daniel Humberto Soto Villegas el boy","phoneNumber":"5214181817609","avatarUrl":null,"createdAt":"2024-01-26T18:16:09Z","closedAt":"2025-02-17T19:00:45Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/2038d2d99ae543f3b56f1ae54f4cc82b","conversationHref":"https://dash.callbell.eu/chat/90611886ac204c56a75240f951c53874","tags":[],"assignedUser":null,"customFields":{"Nombre":"👤 Daniel Humberto Soto Villegas el boy","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Fecha Ultima Actualizacion":"📆🔄️ 19/02/2025 10:00","user entry point":"inbound_message","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 18/02/2025 21:14 con Efectivo 💵","Saldo Actual":"💲700 pendientes","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 256.67","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas el boy\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲700 pendientes\",\"Monto Ultimo Pago\": \"💲 256.67\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 18/02/2025 21:14 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 19/02/2025 10:00\",\"Clabe Interbancaria\": \"0021804341999569810\"}","URL":"🌐 https://172.16.5.120/crm/client/2","user name":"Grisel"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-19 16:00:10.189172] [notice] Logging level set to:debug -[2025-02-19 16:00:10.313986] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-19 16:00:10.314183] [debug] Valor de JSON: {"uuid":"a3fc67fd-7d65-49c2-98db-ac2eac910384","changeType":"draft_approved","entity":"invoice","entityId":"1566","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1566,"clientId":2,"number":"001523","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1569,"type":"service","label":"PREMIUM 01\/03\/2025 \u2013 31\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":134,"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 Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-19 16:00:10.314352] [debug] Aprobación de Factura - -[2025-02-19 16:00:10.314443] [debug] {"uuid":"a3fc67fd-7d65-49c2-98db-ac2eac910384","changeType":"draft_approved","entity":"invoice","entityId":1566,"message":null,"clientId":2,"eventName":"invoice.draft_approved","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-700,"accountCredit":0,"accountOutstanding":700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1566,"clientId":2,"number":"001523","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1569,"type":"service","label":"PREMIUM 01\/03\/2025 \u2013 31\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":134,"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 Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-19 16:00:10.314522] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-19 16:00:10.314562] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":587,"clientId":2,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2025-02-18T21:14:08-0600","amount":256.67,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":659,"invoiceId":1564,"paymentId":587,"creditNoteId":null,"refundId":null,"amount":256.67}],"creditAmount":0,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2700 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 256.67","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2700 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 256.67\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 18\/02\/2025 21:14 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 10:00\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 18\/02\/2025 21:14 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 10:00","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas el boy","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"0021804341999569810","user entry point":"inbound_message","Saldo Actual":"💲700 pendientes","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 18/02/2025 21:14 con Efectivo 💵","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 256.67","user name":"Daniel Humberto 🐁","Nombre":"👤 Daniel Humberto Soto Villegas el boy","Fecha Ultima Actualizacion":"📆🔄️ 19/02/2025 10:00","URL":"🌐 https://172.16.5.120/crm/client/2","Cliente":"2","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas el boy\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲700 pendientes\",\"Monto Ultimo Pago\": \"💲 256.67\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 18/02/2025 21:14 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 19/02/2025 10:00\",\"Clabe Interbancaria\": \"0021804341999569810\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":587,"clientId":2,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2025-02-18T21:14:08-0600","amount":256.67,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":659,"invoiceId":1564,"paymentId":587,"creditNoteId":null,"refundId":null,"amount":256.67}],"creditAmount":0,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 2038d2d99ae543f3b56f1ae54f4cc82b - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2700 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 256.67","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2700 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 256.67\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 18\/02\/2025 21:14 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 10:00\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 18\/02\/2025 21:14 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 10:00","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"2038d2d99ae543f3b56f1ae54f4cc82b","name":"Daniel Humberto Soto Villegas el boy","phoneNumber":"5214181817609","avatarUrl":null,"createdAt":"2024-01-26T18:16:09Z","closedAt":"2025-02-17T19:00:45Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/2038d2d99ae543f3b56f1ae54f4cc82b","conversationHref":"https://dash.callbell.eu/chat/90611886ac204c56a75240f951c53874","tags":[],"assignedUser":null,"customFields":{"Nombre":"👤 Daniel Humberto Soto Villegas el boy","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Fecha Ultima Actualizacion":"📆🔄️ 19/02/2025 10:00","user entry point":"inbound_message","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 18/02/2025 21:14 con Efectivo 💵","Saldo Actual":"💲700 pendientes","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 256.67","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas el boy\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲700 pendientes\",\"Monto Ultimo Pago\": \"💲 256.67\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 18/02/2025 21:14 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 19/02/2025 10:00\",\"Clabe Interbancaria\": \"0021804341999569810\"}","URL":"🌐 https://172.16.5.120/crm/client/2","user name":"Grisel"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-19 16:00:13.432548] [notice] Logging level set to:debug -[2025-02-19 16:00:13.566560] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-19 16:00:13.566833] [debug] Valor de JSON: {"uuid":"ef82fbf8-786c-46da-8273-50258a398cff","changeType":"insert","entity":"invoice","entityId":"1567","eventName":"invoice.add_draft","extraData":{"entity":{"id":1567,"clientId":129,"number":"001524","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1570,"type":"service","label":"INTERMEDIO 01\/02\/2025 \u2013 28\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":117,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Loco","clientLastName":"Valdez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-19 16:00:13.566997] [debug] Adición de borrador de Factura - -[2025-02-19 16:00:13.567084] [debug] {"uuid":"ef82fbf8-786c-46da-8273-50258a398cff","changeType":"insert","entity":"invoice","entityId":1567,"message":null,"clientId":129,"eventName":"invoice.add_draft","clientData":{"id":129,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-17T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Loco","lastName":"Valdez","username":null,"contacts":[{"id":133,"clientId":129,"email":"pepepeltoro141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":133,"clientId":129,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJSCgri287Ic0V","clientZoneVisible":true},{"id":134,"clientId":129,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180966482840265","clientZoneVisible":true}],"accountBalance":-1250,"accountCredit":0,"accountOutstanding":1250,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00897b","addressGpsLat":21.1608752,"addressGpsLon":-100.935835,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1567,"clientId":129,"number":"001524","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1570,"type":"service","label":"INTERMEDIO 01\/02\/2025 \u2013 28\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":117,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Loco","clientLastName":"Valdez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-19 16:00:13.567178] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-19 16:00:13.567233] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":375,"clientId":129,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2024-09-27T14:50:47-0600","amount":250,"currencyCode":"MXN","note":null,"receiptSentDate":"2024-09-27T14:50:48-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":425,"invoiceId":976,"paymentId":375,"creditNoteId":null,"refundId":null,"amount":250}],"creditAmount":0,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: El Loco Valdez - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"El Loco Valdez","custom_fields":{"Cliente":129,"Domicilio":"\ud83d\udccd Coahuila 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 El Loco Valdez","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/129","Saldo Actual":"\ud83d\udcb21250 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 250","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"129\",\"Domicilio\": \"\ud83d\udccd Coahuila 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 El Loco Valdez\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/129\",\"Saldo Actual\": \"\ud83d\udcb21250 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 250\",\"Estado\": \"\ud83d\udd34 Suspendido\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 27\/09\/2024 14:50 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 10:00\",\"Clabe Interbancaria\": \"002180966482840265\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 27\/09\/2024 14:50 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 10:00","Clabe Interbancaria":"002180966482840265"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Loco Valdez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"002180966482840265","user entry point":"inbound_message","Saldo Actual":"💲1250 pendientes","Fecha Ultimo Pago":"📆💸 27/09/2024 14:50 con Tarjeta de crédito Stripe 💳","Monto Ultimo Pago":"💲 250","user name":"Daniel Humberto 🐁","Nombre":"👤 El Loco Valdez","Fecha Ultima Actualizacion":"📆🔄️ 19/02/2025 10:00","URL":"🌐 https://172.16.5.120/crm/client/129","Domicilio":"📍 Coahuila 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Estado":"🔴 Suspendido","Cliente":"129","Resumen":"{\"Cliente\": \"129\",\"Domicilio\": \"📍 Coahuila 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 El Loco Valdez\",\"URL\": \"🌐 https://172.16.5.120/crm/client/129\",\"Saldo Actual\": \"💲1250 pendientes\",\"Monto Ultimo Pago\": \"💲 250\",\"Estado\": \"🔴 Suspendido\",\"Fecha Ultimo Pago\": \"📆💰 27/09/2024 14:50 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 19/02/2025 10:00\",\"Clabe Interbancaria\": \"002180966482840265\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-19 16:00:15.358762] [notice] Logging level set to:debug -[2025-02-19 16:00:15.508707] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-19 16:00:15.508846] [debug] Valor de JSON: {"uuid":"3751f447-6565-4b53-bd4b-b619f4965051","changeType":"draft_approved","entity":"invoice","entityId":"1567","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1567,"clientId":129,"number":"001524","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1570,"type":"service","label":"INTERMEDIO 01\/02\/2025 \u2013 28\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":117,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Loco","clientLastName":"Valdez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-19 16:00:15.508982] [debug] Aprobación de Factura - -[2025-02-19 16:00:15.509063] [debug] {"uuid":"3751f447-6565-4b53-bd4b-b619f4965051","changeType":"draft_approved","entity":"invoice","entityId":1567,"message":null,"clientId":129,"eventName":"invoice.draft_approved","clientData":{"id":129,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-17T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Loco","lastName":"Valdez","username":null,"contacts":[{"id":133,"clientId":129,"email":"pepepeltoro141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":133,"clientId":129,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJSCgri287Ic0V","clientZoneVisible":true},{"id":134,"clientId":129,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180966482840265","clientZoneVisible":true}],"accountBalance":-1250,"accountCredit":0,"accountOutstanding":1250,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00897b","addressGpsLat":21.1608752,"addressGpsLon":-100.935835,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1567,"clientId":129,"number":"001524","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1570,"type":"service","label":"INTERMEDIO 01\/02\/2025 \u2013 28\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":117,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Loco","clientLastName":"Valdez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-19 16:00:15.509124] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-19 16:00:15.509165] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":375,"clientId":129,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2024-09-27T14:50:47-0600","amount":250,"currencyCode":"MXN","note":null,"receiptSentDate":"2024-09-27T14:50:48-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":425,"invoiceId":976,"paymentId":375,"creditNoteId":null,"refundId":null,"amount":250}],"creditAmount":0,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: El Loco Valdez - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"El Loco Valdez","custom_fields":{"Cliente":129,"Domicilio":"\ud83d\udccd Coahuila 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 El Loco Valdez","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/129","Saldo Actual":"\ud83d\udcb21250 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 250","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"129\",\"Domicilio\": \"\ud83d\udccd Coahuila 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 El Loco Valdez\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/129\",\"Saldo Actual\": \"\ud83d\udcb21250 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 250\",\"Estado\": \"\ud83d\udd34 Suspendido\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 27\/09\/2024 14:50 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 10:00\",\"Clabe Interbancaria\": \"002180966482840265\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 27\/09\/2024 14:50 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 10:00","Clabe Interbancaria":"002180966482840265"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Loco Valdez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"002180966482840265","user entry point":"inbound_message","Saldo Actual":"💲1250 pendientes","Fecha Ultimo Pago":"📆💸 27/09/2024 14:50 con Tarjeta de crédito Stripe 💳","Monto Ultimo Pago":"💲 250","user name":"Daniel Humberto 🐁","Nombre":"👤 El Loco Valdez","Fecha Ultima Actualizacion":"📆🔄️ 19/02/2025 10:00","URL":"🌐 https://172.16.5.120/crm/client/129","Domicilio":"📍 Coahuila 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Estado":"🔴 Suspendido","Cliente":"129","Resumen":"{\"Cliente\": \"129\",\"Domicilio\": \"📍 Coahuila 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 El Loco Valdez\",\"URL\": \"🌐 https://172.16.5.120/crm/client/129\",\"Saldo Actual\": \"💲1250 pendientes\",\"Monto Ultimo Pago\": \"💲 250\",\"Estado\": \"🔴 Suspendido\",\"Fecha Ultimo Pago\": \"📆💰 27/09/2024 14:50 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 19/02/2025 10:00\",\"Clabe Interbancaria\": \"002180966482840265\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-19 16:00:16.964776] [notice] Logging level set to:debug -[2025-02-19 16:00:17.111902] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-19 16:00:17.112056] [debug] Valor de JSON: {"uuid":"a0b6155f-e964-4419-9a50-c0c445f5584a","changeType":"insert","entity":"invoice","entityId":"1568","eventName":"invoice.add_draft","extraData":{"entity":{"id":1568,"clientId":148,"number":"001525","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1571,"type":"service","label":"plan300 01\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-19 16:00:17.112207] [debug] Adición de borrador de Factura - -[2025-02-19 16:00:17.112293] [debug] {"uuid":"a0b6155f-e964-4419-9a50-c0c445f5584a","changeType":"insert","entity":"invoice","entityId":1568,"message":null,"clientId":148,"eventName":"invoice.add_draft","clientData":{"id":148,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"24 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-08-19T00:00:00-0600","leadConvertedAt":"2024-08-19T15:08:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El AR","lastName":"Real 3D","username":null,"contacts":[{"id":152,"clientId":148,"email":"elarquijuve@gmail.com","phone":"41818781806","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":147,"clientId":148,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Qh0pTQM9a96D8B","clientZoneVisible":true},{"id":148,"clientId":148,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180834778043086","clientZoneVisible":true},{"id":151,"clientId":148,"customAttributeId":8,"name":"conekta","key":"conekta","value":"aasdad","clientZoneVisible":true}],"accountBalance":-1930,"accountCredit":0,"accountOutstanding":1930,"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":1568,"clientId":148,"number":"001525","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1571,"type":"service","label":"plan300 01\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-19 16:00:17.112377] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-19 16:00:17.112417] [info] Tipo de contacto normalizado: 'whatsapp' -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":{"Cliente":148,"Domicilio":"\ud83d\udccd Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 El AR Real 3D","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/148","Saldo Actual":"\ud83d\udcb21930 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 3500","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"148\",\"Domicilio\": \"\ud83d\udccd Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 El AR Real 3D\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/148\",\"Saldo Actual\": \"\ud83d\udcb21930 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 3500\",\"Estado\": \"\ud83d\udd34 Suspendido\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 19\/08\/2024 15:10 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 10:00\",\"Clabe Interbancaria\": \"002180834778043086\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 19\/08\/2024 15:10 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 10:00","Clabe Interbancaria":"002180834778043086"}} - -Response Patch CallBell: - -[2025-02-19 16:00:18.798616] [notice] Logging level set to:debug -[2025-02-19 16:00:18.960982] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-19 16:00:18.961164] [debug] Valor de JSON: {"uuid":"e0755a70-fd19-48cc-9a91-c0b989237957","changeType":"draft_approved","entity":"invoice","entityId":"1568","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1568,"clientId":148,"number":"001525","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1571,"type":"service","label":"plan300 01\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-19 16:00:18.961302] [debug] Aprobación de Factura - -[2025-02-19 16:00:18.961385] [debug] {"uuid":"e0755a70-fd19-48cc-9a91-c0b989237957","changeType":"draft_approved","entity":"invoice","entityId":1568,"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":151,"clientId":148,"customAttributeId":8,"name":"conekta","key":"conekta","value":"aasdad","clientZoneVisible":true}],"accountBalance":-1930,"accountCredit":0,"accountOutstanding":1930,"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":1568,"clientId":148,"number":"001525","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1571,"type":"service","label":"plan300 01\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-19 16:00:18.961451] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-19 16:00:18.961489] [info] Tipo de contacto normalizado: 'whatsapp' -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":{"Cliente":148,"Domicilio":"\ud83d\udccd Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 El AR Real 3D","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/148","Saldo Actual":"\ud83d\udcb21930 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 3500","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"148\",\"Domicilio\": \"\ud83d\udccd Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 El AR Real 3D\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/148\",\"Saldo Actual\": \"\ud83d\udcb21930 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 3500\",\"Estado\": \"\ud83d\udd34 Suspendido\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 19\/08\/2024 15:10 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 10:00\",\"Clabe Interbancaria\": \"002180834778043086\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 19\/08\/2024 15:10 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 10:00","Clabe Interbancaria":"002180834778043086"}} - -Response Patch CallBell: - -[2025-02-19 16:00:20.756062] [notice] Logging level set to:debug -[2025-02-19 16:00:20.936096] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-19 16:00:20.936244] [debug] Valor de JSON: {"uuid":"68aade50-06a2-4178-a1af-2c335911e8f1","changeType":"insert","entity":"invoice","entityId":"1569","eventName":"invoice.add_draft","extraData":{"entity":{"id":1569,"clientId":156,"number":"001526","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1572,"type":"service","label":"PREMIUM 01\/02\/2025 \u2013 28\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":126,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":700,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":662,"invoiceId":1569,"paymentId":502,"creditNoteId":null,"refundId":null,"amount":700}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"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},"entityBeforeEdit":null}} - -[2025-02-19 16:00:20.936398] [debug] Adición de borrador de Factura - -[2025-02-19 16:00:20.936480] [debug] {"uuid":"68aade50-06a2-4178-a1af-2c335911e8f1","changeType":"insert","entity":"invoice","entityId":1569,"message":null,"clientId":156,"eventName":"invoice.add_draft","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}],"accountBalance":2646.67,"accountCredit":2646.67,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#7cb342","addressGpsLat":21.1562598,"addressGpsLon":-100.9370894,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1569,"clientId":156,"number":"001526","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1572,"type":"service","label":"PREMIUM 01\/02\/2025 \u2013 28\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":126,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":700,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":662,"invoiceId":1569,"paymentId":502,"creditNoteId":null,"refundId":null,"amount":700}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"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},"paymentData":null} - -[2025-02-19 16:00:20.936557] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-19 16:00:20.936597] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":514,"clientId":156,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:52:20-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Maria Gricelda López Avalos - -UUID: 2038d2d99ae543f3b56f1ae54f4cc82b - -JSON con los datos a actualizar: {"name":"Maria Gricelda L\u00f3pez Avalos","custom_fields":{"Cliente":156,"Domicilio":"\ud83d\udccd Yucat\u00e1n 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Maria Gricelda L\u00f3pez Avalos","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/156","Saldo Actual":"\ud83d\udcb22646.67 a favor","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"156\",\"Domicilio\": \"\ud83d\udccd Yucat\u00e1n 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Maria Gricelda L\u00f3pez Avalos\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/156\",\"Saldo Actual\": \"\ud83d\udcb22646.67 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 300\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 17\/01\/2025 14:52 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 10:00\",\"Clabe Interbancaria\": \"124180553522369174\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 17\/01\/2025 14:52 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 10:00","Clabe Interbancaria":"124180553522369174"}} - -Response Patch CallBell: {"contact":{"uuid":"2038d2d99ae543f3b56f1ae54f4cc82b","name":"Maria Gricelda López Avalos","phoneNumber":"5214181817609","avatarUrl":null,"createdAt":"2024-01-26T18:16:09Z","closedAt":"2025-02-17T19:00:45Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/2038d2d99ae543f3b56f1ae54f4cc82b","conversationHref":"https://dash.callbell.eu/chat/90611886ac204c56a75240f951c53874","tags":[],"assignedUser":null,"customFields":{"Cliente":"156","Clabe Interbancaria":"124180553522369174","Fecha Ultima Actualizacion":"📆🔄️ 19/02/2025 10:00","user entry point":"inbound_message","Estado":"🟢 Activo ","Monto Ultimo Pago":"💲 300","user name":"Grisel","Domicilio":"📍 Yucatán 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 17/01/2025 14:52 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Maria Gricelda López Avalos","Resumen":"{\"Cliente\": \"156\",\"Domicilio\": \"📍 Yucatán 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Maria Gricelda López Avalos\",\"URL\": \"🌐 https://172.16.5.120/crm/client/156\",\"Saldo Actual\": \"💲2646.67 a favor\",\"Monto Ultimo Pago\": \"💲 300\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 17/01/2025 14:52 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 19/02/2025 10:00\",\"Clabe Interbancaria\": \"124180553522369174\"}","Saldo Actual":"💲2646.67 a favor","URL":"🌐 https://172.16.5.120/crm/client/156"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-19 16:00:22.598136] [notice] Logging level set to:debug -[2025-02-19 16:00:22.777687] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-19 16:00:22.777884] [debug] Valor de JSON: {"uuid":"d6826c61-008a-4443-b2ba-6e3817bb6245","changeType":"draft_approved","entity":"invoice","entityId":"1569","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1569,"clientId":156,"number":"001526","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1572,"type":"service","label":"PREMIUM 01\/02\/2025 \u2013 28\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":126,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":700,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":662,"invoiceId":1569,"paymentId":502,"creditNoteId":null,"refundId":null,"amount":700}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"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},"entityBeforeEdit":null}} - -[2025-02-19 16:00:22.778023] [debug] Aprobación de Factura - -[2025-02-19 16:00:22.778105] [debug] {"uuid":"d6826c61-008a-4443-b2ba-6e3817bb6245","changeType":"draft_approved","entity":"invoice","entityId":1569,"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}],"accountBalance":2646.67,"accountCredit":2646.67,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#7cb342","addressGpsLat":21.1562598,"addressGpsLon":-100.9370894,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1569,"clientId":156,"number":"001526","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1572,"type":"service","label":"PREMIUM 01\/02\/2025 \u2013 28\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":126,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":700,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":662,"invoiceId":1569,"paymentId":502,"creditNoteId":null,"refundId":null,"amount":700}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"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},"paymentData":null} - -[2025-02-19 16:00:22.778167] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-19 16:00:22.778207] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":514,"clientId":156,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:52:20-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Maria Gricelda López Avalos - -UUID: 2038d2d99ae543f3b56f1ae54f4cc82b - -JSON con los datos a actualizar: {"name":"Maria Gricelda L\u00f3pez Avalos","custom_fields":{"Cliente":156,"Domicilio":"\ud83d\udccd Yucat\u00e1n 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Maria Gricelda L\u00f3pez Avalos","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/156","Saldo Actual":"\ud83d\udcb22646.67 a favor","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"156\",\"Domicilio\": \"\ud83d\udccd Yucat\u00e1n 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Maria Gricelda L\u00f3pez Avalos\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/156\",\"Saldo Actual\": \"\ud83d\udcb22646.67 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 300\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 17\/01\/2025 14:52 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 10:00\",\"Clabe Interbancaria\": \"124180553522369174\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 17\/01\/2025 14:52 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 10:00","Clabe Interbancaria":"124180553522369174"}} - -Response Patch CallBell: {"contact":{"uuid":"2038d2d99ae543f3b56f1ae54f4cc82b","name":"Maria Gricelda López Avalos","phoneNumber":"5214181817609","avatarUrl":null,"createdAt":"2024-01-26T18:16:09Z","closedAt":"2025-02-17T19:00:45Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/2038d2d99ae543f3b56f1ae54f4cc82b","conversationHref":"https://dash.callbell.eu/chat/90611886ac204c56a75240f951c53874","tags":[],"assignedUser":null,"customFields":{"Cliente":"156","Clabe Interbancaria":"124180553522369174","Fecha Ultima Actualizacion":"📆🔄️ 19/02/2025 10:00","user entry point":"inbound_message","Estado":"🟢 Activo ","Monto Ultimo Pago":"💲 300","user name":"Grisel","Domicilio":"📍 Yucatán 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 17/01/2025 14:52 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Maria Gricelda López Avalos","Resumen":"{\"Cliente\": \"156\",\"Domicilio\": \"📍 Yucatán 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Maria Gricelda López Avalos\",\"URL\": \"🌐 https://172.16.5.120/crm/client/156\",\"Saldo Actual\": \"💲2646.67 a favor\",\"Monto Ultimo Pago\": \"💲 300\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 17/01/2025 14:52 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 19/02/2025 10:00\",\"Clabe Interbancaria\": \"124180553522369174\"}","Saldo Actual":"💲2646.67 a favor","URL":"🌐 https://172.16.5.120/crm/client/156"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-19 16:00:24.392046] [notice] Logging level set to:debug -[2025-02-19 16:00:24.617528] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-19 16:00:24.617676] [debug] Valor de JSON: {"uuid":"4377dbd6-4d48-4e31-bf61-442dc5488ae0","changeType":"insert","entity":"invoice","entityId":"1570","eventName":"invoice.add_draft","extraData":{"entity":{"id":1570,"clientId":157,"number":"001527","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1573,"type":"service","label":"plan300 01\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":127,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Angel Mamey","clientLastName":"Arvizu","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-19 16:00:24.617909] [debug] Adición de borrador de Factura - -[2025-02-19 16:00:24.618012] [debug] {"uuid":"4377dbd6-4d48-4e31-bf61-442dc5488ae0","changeType":"insert","entity":"invoice","entityId":1570,"message":null,"clientId":157,"eventName":"invoice.add_draft","clientData":{"id":157,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-04T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Angel Mamey","lastName":"Arvizu","username":null,"contacts":[{"id":161,"clientId":157,"email":null,"phone":"5214181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":154,"clientId":157,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RWjBO6Lsy1TgAV","clientZoneVisible":true},{"id":155,"clientId":157,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180695267429334","clientZoneVisible":true}],"accountBalance":-580,"accountCredit":0,"accountOutstanding":580,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1570,"clientId":157,"number":"001527","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1573,"type":"service","label":"plan300 01\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":127,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Angel Mamey","clientLastName":"Arvizu","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-19 16:00:24.618086] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-19 16:00:24.618139] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Angel Mamey Arvizu - -UUID: 362193e0af9b4ffc8ed5d7f930dd120f - -JSON con los datos a actualizar: {"name":"Angel Mamey Arvizu","custom_fields":{"Cliente":157,"Domicilio":"\ud83d\udccd Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Angel Mamey Arvizu","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/157","Saldo Actual":"\ud83d\udcb2580 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"157\",\"Domicilio\": \"\ud83d\udccd Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Angel Mamey Arvizu\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/157\",\"Saldo Actual\": \"\ud83d\udcb2580 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 \",\"Estado\": \"\ud83d\udd34 Suspendido\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 19\/02\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 10:00\",\"Clabe Interbancaria\": \"124180695267429334\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 19\/02\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 10:00","Clabe Interbancaria":"124180695267429334"}} - -Response Patch CallBell: {"contact":{"uuid":"362193e0af9b4ffc8ed5d7f930dd120f","name":"Angel Mamey Arvizu","phoneNumber":"5214181515664","avatarUrl":null,"createdAt":"2025-01-07T22:55:44Z","closedAt":null,"source":"whatsapp","href":"https://dash.callbell.eu/contacts/362193e0af9b4ffc8ed5d7f930dd120f","conversationHref":"https://dash.callbell.eu/chat/56dec9b4f3334325b737683f2d8ff8b2","tags":["SIIP","NOBOT"],"assignedUser":"avalos.mgla@gmail.com","customFields":{"Acciones":"NOBOT-SIIP","user entry point":"inbound_message","Estado":"🔴 Suspendido","user name":"Angel 😇/😈","Clabe Interbancaria":"124180695267429334","Cliente":"157","Domicilio":"📍 Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 19/02/2025 10:00","Fecha Ultimo Pago":"📆💸 19/02/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Monto Ultimo Pago":"💲 ","Nombre":"👤 Angel Mamey Arvizu","Resumen":"{\"Cliente\": \"157\",\"Domicilio\": \"📍 Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Angel Mamey Arvizu\",\"URL\": \"🌐 https://172.16.5.120/crm/client/157\",\"Saldo Actual\": \"💲580 pendientes\",\"Monto Ultimo Pago\": \"💲 \",\"Estado\": \"🔴 Suspendido\",\"Fecha Ultimo Pago\": \"📆💰 19/02/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 19/02/2025 10:00\",\"Clabe Interbancaria\": \"124180695267429334\"}","Saldo Actual":"💲580 pendientes","URL":"🌐 https://172.16.5.120/crm/client/157"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-19 16:00:26.149749] [notice] Logging level set to:debug -[2025-02-19 16:00:26.331989] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-19 16:00:26.332168] [debug] Valor de JSON: {"uuid":"25668386-bc34-438f-a034-2e562bf12aa0","changeType":"draft_approved","entity":"invoice","entityId":"1570","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1570,"clientId":157,"number":"001527","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1573,"type":"service","label":"plan300 01\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":127,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Angel Mamey","clientLastName":"Arvizu","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-19 16:00:26.332314] [debug] Aprobación de Factura - -[2025-02-19 16:00:26.332395] [debug] {"uuid":"25668386-bc34-438f-a034-2e562bf12aa0","changeType":"draft_approved","entity":"invoice","entityId":1570,"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":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-04T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Angel Mamey","lastName":"Arvizu","username":null,"contacts":[{"id":161,"clientId":157,"email":null,"phone":"5214181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":154,"clientId":157,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RWjBO6Lsy1TgAV","clientZoneVisible":true},{"id":155,"clientId":157,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180695267429334","clientZoneVisible":true}],"accountBalance":-580,"accountCredit":0,"accountOutstanding":580,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1570,"clientId":157,"number":"001527","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1573,"type":"service","label":"plan300 01\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":127,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Angel Mamey","clientLastName":"Arvizu","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-19 16:00:26.332458] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-19 16:00:26.332496] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Angel Mamey Arvizu - -UUID: 362193e0af9b4ffc8ed5d7f930dd120f - -JSON con los datos a actualizar: {"name":"Angel Mamey Arvizu","custom_fields":{"Cliente":157,"Domicilio":"\ud83d\udccd Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Angel Mamey Arvizu","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/157","Saldo Actual":"\ud83d\udcb2580 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"157\",\"Domicilio\": \"\ud83d\udccd Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Angel Mamey Arvizu\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/157\",\"Saldo Actual\": \"\ud83d\udcb2580 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 \",\"Estado\": \"\ud83d\udd34 Suspendido\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 19\/02\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 10:00\",\"Clabe Interbancaria\": \"124180695267429334\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 19\/02\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 10:00","Clabe Interbancaria":"124180695267429334"}} - -Response Patch CallBell: {"contact":{"uuid":"362193e0af9b4ffc8ed5d7f930dd120f","name":"Angel Mamey Arvizu","phoneNumber":"5214181515664","avatarUrl":null,"createdAt":"2025-01-07T22:55:44Z","closedAt":null,"source":"whatsapp","href":"https://dash.callbell.eu/contacts/362193e0af9b4ffc8ed5d7f930dd120f","conversationHref":"https://dash.callbell.eu/chat/56dec9b4f3334325b737683f2d8ff8b2","tags":["SIIP","NOBOT"],"assignedUser":"avalos.mgla@gmail.com","customFields":{"Acciones":"NOBOT-SIIP","user entry point":"inbound_message","Estado":"🔴 Suspendido","user name":"Angel 😇/😈","Clabe Interbancaria":"124180695267429334","Cliente":"157","Domicilio":"📍 Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 19/02/2025 10:00","Fecha Ultimo Pago":"📆💸 19/02/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Monto Ultimo Pago":"💲 ","Nombre":"👤 Angel Mamey Arvizu","Resumen":"{\"Cliente\": \"157\",\"Domicilio\": \"📍 Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Angel Mamey Arvizu\",\"URL\": \"🌐 https://172.16.5.120/crm/client/157\",\"Saldo Actual\": \"💲580 pendientes\",\"Monto Ultimo Pago\": \"💲 \",\"Estado\": \"🔴 Suspendido\",\"Fecha Ultimo Pago\": \"📆💰 19/02/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 19/02/2025 10:00\",\"Clabe Interbancaria\": \"124180695267429334\"}","Saldo Actual":"💲580 pendientes","URL":"🌐 https://172.16.5.120/crm/client/157"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-19 16:00:27.432874] [notice] Logging level set to:debug -[2025-02-19 16:00:27.599001] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-19 16:00:27.599283] [debug] Valor de JSON: {"uuid":"388250be-91c1-409b-a46f-6d858f3c5650","changeType":"insert","entity":"invoice","entityId":"1571","eventName":"invoice.add_draft","extraData":{"entity":{"id":1571,"clientId":162,"number":"001528","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1574,"type":"service","label":"PREMIUM 12\/02\/2025 \u2013 28\/02\/2025","price":700,"quantity":0.5666666666666667,"total":396.66666666666663,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":128,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":396.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":396.67,"amountPaid":180,"totalUntaxed":396.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":216.67,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":663,"invoiceId":1571,"paymentId":506,"creditNoteId":null,"refundId":null,"amount":180}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Edward","clientLastName":"Elric","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"76 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-19 16:00:27.599447] [debug] Adición de borrador de Factura - -[2025-02-19 16:00:27.599535] [debug] {"uuid":"388250be-91c1-409b-a46f-6d858f3c5650","changeType":"insert","entity":"invoice","entityId":1571,"message":null,"clientId":162,"eventName":"invoice.add_draft","clientData":{"id":162,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":"2025-01-10T10:32:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Edward","lastName":"Elric","username":null,"contacts":[{"id":166,"clientId":162,"email":"eduardelric@gmail.com","phone":"5214181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":159,"clientId":162,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"434876867834423324","clientZoneVisible":true},{"id":160,"clientId":162,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RYsuykCEvupaGF","clientZoneVisible":true},{"id":161,"clientId":162,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180599808752427","clientZoneVisible":true}],"accountBalance":-216.67,"accountCredit":0,"accountOutstanding":216.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d84315","addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1571,"clientId":162,"number":"001528","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1574,"type":"service","label":"PREMIUM 12\/02\/2025 \u2013 28\/02\/2025","price":700,"quantity":0.56666666666667,"total":396.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":128,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":396.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":396.67,"amountPaid":180,"totalUntaxed":396.67,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":216.67,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":663,"invoiceId":1571,"paymentId":506,"creditNoteId":null,"refundId":null,"amount":180}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Edward","clientLastName":"Elric","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"76 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-19 16:00:27.599621] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-19 16:00:27.599661] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":506,"clientId":162,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-12T22:10:30-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-01-12T22:10:31-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":663,"invoiceId":1571,"paymentId":506,"creditNoteId":null,"refundId":null,"amount":180}],"creditAmount":0,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Edward Elric - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Edward Elric","custom_fields":{"Cliente":162,"Domicilio":"\ud83d\udccd Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Edward Elric","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/162","Saldo Actual":"\ud83d\udcb2216.67 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 180","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"162\",\"Domicilio\": \"\ud83d\udccd Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Edward Elric\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/162\",\"Saldo Actual\": \"\ud83d\udcb2216.67 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 180\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 12\/01\/2025 22:10 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 10:00\",\"Clabe Interbancaria\": \"124180599808752427\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 12\/01\/2025 22:10 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 10:00","Clabe Interbancaria":"124180599808752427"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Edward Elric","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","user name":"Daniel Humberto 🐁","Nombre":"👤 Edward Elric","Fecha Ultima Actualizacion":"📆🔄️ 19/02/2025 10:00","URL":"🌐 https://172.16.5.120/crm/client/162","Clabe Interbancaria":"124180599808752427","Fecha Ultimo Pago":"📆💸 12/01/2025 22:10 con Tarjeta de crédito Stripe 💳","Monto Ultimo Pago":"💲 180","Saldo Actual":"💲216.67 pendientes","Domicilio":"📍 Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Estado":"🟢 Activo ","Cliente":"162","Resumen":"{\"Cliente\": \"162\",\"Domicilio\": \"📍 Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Edward Elric\",\"URL\": \"🌐 https://172.16.5.120/crm/client/162\",\"Saldo Actual\": \"💲216.67 pendientes\",\"Monto Ultimo Pago\": \"💲 180\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 12/01/2025 22:10 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 19/02/2025 10:00\",\"Clabe Interbancaria\": \"124180599808752427\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-19 16:00:29.122068] [notice] Logging level set to:debug -[2025-02-19 16:00:29.252757] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-19 16:00:29.252933] [debug] Valor de JSON: {"uuid":"c345987a-ef76-4c2d-92bc-14a9886d2dc5","changeType":"draft_approved","entity":"invoice","entityId":"1571","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1571,"clientId":162,"number":"001528","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1574,"type":"service","label":"PREMIUM 12\/02\/2025 \u2013 28\/02\/2025","price":700,"quantity":0.5666666666666667,"total":396.66666666666663,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":128,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":396.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":396.67,"amountPaid":180,"totalUntaxed":396.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":216.67,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":663,"invoiceId":1571,"paymentId":506,"creditNoteId":null,"refundId":null,"amount":180}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Edward","clientLastName":"Elric","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"76 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-19 16:00:29.253078] [debug] Aprobación de Factura - -[2025-02-19 16:00:29.253160] [debug] {"uuid":"c345987a-ef76-4c2d-92bc-14a9886d2dc5","changeType":"draft_approved","entity":"invoice","entityId":1571,"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":"5214181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":159,"clientId":162,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"434876867834423324","clientZoneVisible":true},{"id":160,"clientId":162,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RYsuykCEvupaGF","clientZoneVisible":true},{"id":161,"clientId":162,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180599808752427","clientZoneVisible":true}],"accountBalance":-216.67,"accountCredit":0,"accountOutstanding":216.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d84315","addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1571,"clientId":162,"number":"001528","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":"2025-02-19T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1574,"type":"service","label":"PREMIUM 12\/02\/2025 \u2013 28\/02\/2025","price":700,"quantity":0.56666666666667,"total":396.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":128,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":396.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":396.67,"amountPaid":180,"totalUntaxed":396.67,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":216.67,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":663,"invoiceId":1571,"paymentId":506,"creditNoteId":null,"refundId":null,"amount":180}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Edward","clientLastName":"Elric","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"76 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-19 16:00:29.253231] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-19 16:00:29.253268] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":506,"clientId":162,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-12T22:10:30-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-01-12T22:10:31-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":663,"invoiceId":1571,"paymentId":506,"creditNoteId":null,"refundId":null,"amount":180}],"creditAmount":0,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Edward Elric - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Edward Elric","custom_fields":{"Cliente":162,"Domicilio":"\ud83d\udccd Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Edward Elric","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/162","Saldo Actual":"\ud83d\udcb2216.67 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 180","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"162\",\"Domicilio\": \"\ud83d\udccd Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Edward Elric\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/162\",\"Saldo Actual\": \"\ud83d\udcb2216.67 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 180\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 12\/01\/2025 22:10 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 10:00\",\"Clabe Interbancaria\": \"124180599808752427\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 12\/01\/2025 22:10 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 10:00","Clabe Interbancaria":"124180599808752427"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Edward Elric","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","user name":"Daniel Humberto 🐁","Nombre":"👤 Edward Elric","Fecha Ultima Actualizacion":"📆🔄️ 19/02/2025 10:00","URL":"🌐 https://172.16.5.120/crm/client/162","Clabe Interbancaria":"124180599808752427","Fecha Ultimo Pago":"📆💸 12/01/2025 22:10 con Tarjeta de crédito Stripe 💳","Monto Ultimo Pago":"💲 180","Saldo Actual":"💲216.67 pendientes","Domicilio":"📍 Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Estado":"🟢 Activo ","Cliente":"162","Resumen":"{\"Cliente\": \"162\",\"Domicilio\": \"📍 Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Edward Elric\",\"URL\": \"🌐 https://172.16.5.120/crm/client/162\",\"Saldo Actual\": \"💲216.67 pendientes\",\"Monto Ultimo Pago\": \"💲 180\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 12/01/2025 22:10 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 19/02/2025 10:00\",\"Clabe Interbancaria\": \"124180599808752427\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-19 20:18:47.050344] [notice] Logging level set to:debug -[2025-02-19 20:18:47.213304] [debug] valor el evento recibido por webhook: service.add - -[2025-02-19 20:18:47.213462] [debug] Valor de JSON: {"uuid":"cd26b5cc-b7b5-4f83-868b-1af552601fb5","changeType":"insert","entity":"service","entityId":"135","eventName":"service.add","extraData":{"entity":{"id":135,"prepaid":false,"clientId":141,"status":1,"name":"Basico 300","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-19T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-19T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"7dab5f15-5694-44f0-972c-edb71849738f","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":null}} - -[2025-02-19 20:18:53.301975] [notice] Logging level set to:debug -[2025-02-19 20:18:53.458184] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-19 20:18:53.458352] [debug] Valor de JSON: {"uuid":"9f936595-793e-4f28-a3d6-f11cb41911b1","changeType":"insert","entity":"invoice","entityId":"1572","eventName":"invoice.add_draft","extraData":{"entity":{"id":1572,"clientId":141,"number":"001529","createdDate":"2025-02-19T14:18:52-0600","dueDate":"2025-03-05T14:18:52-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1575,"type":"service","label":"Basico 300 19\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":0.3333333333333333,"total":100,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":135,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":100,"discount":null,"discountLabel":"Descuento","taxes":[],"total":100,"amountPaid":30,"totalUntaxed":100,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":70,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":664,"invoiceId":1572,"paymentId":337,"creditNoteId":null,"refundId":null,"amount":30}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Caim\u00e1n","clientLastName":"Dorado","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-19 20:18:53.458508] [debug] Adición de borrador de Factura - -[2025-02-19 20:18:53.458586] [debug] {"uuid":"9f936595-793e-4f28-a3d6-f11cb41911b1","changeType":"insert","entity":"invoice","entityId":1572,"message":null,"clientId":141,"eventName":"invoice.add_draft","clientData":{"id":141,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Caim\u00e1n","lastName":"Dorado","username":null,"contacts":[{"id":145,"clientId":141,"email":"caimangolden@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#43a047","addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1572,"clientId":141,"number":"001529","createdDate":"2025-02-19T14:18:52-0600","dueDate":"2025-03-05T14:18:52-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1575,"type":"service","label":"Basico 300 19\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":0.33333333333333,"total":100,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":135,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":100,"discount":null,"discountLabel":"Descuento","taxes":[],"total":100,"amountPaid":30,"totalUntaxed":100,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":70,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":664,"invoiceId":1572,"paymentId":337,"creditNoteId":null,"refundId":null,"amount":30}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Caim\u00e1n","clientLastName":"Dorado","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-19 20:18:53.458689] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-19 20:18:53.458730] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":337,"clientId":141,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2024-06-28T14:08:58-0600","amount":30,"currencyCode":"MXN","note":null,"receiptSentDate":"2024-06-28T14:09:40-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":664,"invoiceId":1572,"paymentId":337,"creditNoteId":null,"refundId":null,"amount":30}],"creditAmount":0,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: El Caimán Dorado - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"El Caim\u00e1n Dorado","custom_fields":{"Cliente":141,"Domicilio":"\ud83d\udccd Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 El Caim\u00e1n Dorado","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/141","Saldo Actual":"\ud83d\udcb2370 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 30","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"141\",\"Domicilio\": \"\ud83d\udccd Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 El Caim\u00e1n Dorado\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/141\",\"Saldo Actual\": \"\ud83d\udcb2370 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 30\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 28\/06\/2024 14:08 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 14:18\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 28\/06\/2024 14:08 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 14:18","Clabe Interbancaria":null}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Caimán Dorado","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","user name":"Daniel Humberto 🐁","Nombre":"👤 El Caimán Dorado","Clabe Interbancaria":"124180650741646979","Monto Ultimo Pago":"💲 30","Estado":"🟢 Activo ","Cliente":"141","Domicilio":"📍 Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳","Saldo Actual":"💲370 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/141","Fecha Ultima Actualizacion":"📆🔄️ 19/02/2025 14:18","Resumen":"{\"Cliente\": \"141\",\"Domicilio\": \"📍 Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 El Caimán Dorado\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/141\",\"Saldo Actual\": \"💲370 pendientes\",\"Monto Ultimo Pago\": \"💲 30\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 19/02/2025 14:18\",\"Clabe Interbancaria\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-19 20:18:55.526335] [notice] Logging level set to:debug -[2025-02-19 20:18:55.686275] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-19 20:18:55.686614] [debug] Valor de JSON: {"uuid":"644294f1-21ab-4fd3-9570-47b37c3d066b","changeType":"draft_approved","entity":"invoice","entityId":"1572","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1572,"clientId":141,"number":"001529","createdDate":"2025-02-19T14:18:52-0600","dueDate":"2025-03-05T14:18:52-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1575,"type":"service","label":"Basico 300 19\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":0.3333333333333333,"total":100,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":135,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":100,"discount":null,"discountLabel":"Descuento","taxes":[],"total":100,"amountPaid":30,"totalUntaxed":100,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":70,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":664,"invoiceId":1572,"paymentId":337,"creditNoteId":null,"refundId":null,"amount":30}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Caim\u00e1n","clientLastName":"Dorado","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-19 20:18:55.686749] [debug] Aprobación de Factura - -[2025-02-19 20:18:55.686830] [debug] {"uuid":"644294f1-21ab-4fd3-9570-47b37c3d066b","changeType":"draft_approved","entity":"invoice","entityId":1572,"message":null,"clientId":141,"eventName":"invoice.draft_approved","clientData":{"id":141,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Caim\u00e1n","lastName":"Dorado","username":null,"contacts":[{"id":145,"clientId":141,"email":"caimangolden@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#43a047","addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1572,"clientId":141,"number":"001529","createdDate":"2025-02-19T14:18:52-0600","dueDate":"2025-03-05T14:18:52-0600","emailSentDate":"2025-02-19T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1575,"type":"service","label":"Basico 300 19\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":0.33333333333333,"total":100,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":135,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":100,"discount":null,"discountLabel":"Descuento","taxes":[],"total":100,"amountPaid":30,"totalUntaxed":100,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":70,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":664,"invoiceId":1572,"paymentId":337,"creditNoteId":null,"refundId":null,"amount":30}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Caim\u00e1n","clientLastName":"Dorado","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-19 20:18:55.686899] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-19 20:18:55.686939] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":337,"clientId":141,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2024-06-28T14:08:58-0600","amount":30,"currencyCode":"MXN","note":null,"receiptSentDate":"2024-06-28T14:09:40-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":664,"invoiceId":1572,"paymentId":337,"creditNoteId":null,"refundId":null,"amount":30}],"creditAmount":0,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: El Caimán Dorado - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"El Caim\u00e1n Dorado","custom_fields":{"Cliente":141,"Domicilio":"\ud83d\udccd Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 El Caim\u00e1n Dorado","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/141","Saldo Actual":"\ud83d\udcb2370 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 30","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"141\",\"Domicilio\": \"\ud83d\udccd Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 El Caim\u00e1n Dorado\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/141\",\"Saldo Actual\": \"\ud83d\udcb2370 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 30\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 28\/06\/2024 14:08 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 14:18\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 28\/06\/2024 14:08 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 14:18","Clabe Interbancaria":null}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Caimán Dorado","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","user name":"Daniel Humberto 🐁","Nombre":"👤 El Caimán Dorado","Clabe Interbancaria":"124180650741646979","Monto Ultimo Pago":"💲 30","Estado":"🟢 Activo ","Cliente":"141","Domicilio":"📍 Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳","Saldo Actual":"💲370 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/141","Fecha Ultima Actualizacion":"📆🔄️ 19/02/2025 14:18","Resumen":"{\"Cliente\": \"141\",\"Domicilio\": \"📍 Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 El Caimán Dorado\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/141\",\"Saldo Actual\": \"💲370 pendientes\",\"Monto Ultimo Pago\": \"💲 30\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 19/02/2025 14:18\",\"Clabe Interbancaria\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-19 20:18:57.530970] [notice] Logging level set to:debug -[2025-02-19 20:18:57.658066] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-19 20:18:57.658282] [debug] Valor de JSON: {"uuid":"5a95474e-0d86-40db-9077-f39fad5ced97","changeType":"insert","entity":"invoice","entityId":"1573","eventName":"invoice.add_draft","extraData":{"entity":{"id":1573,"clientId":141,"number":"001530","createdDate":"2025-02-19T14:18:52-0600","dueDate":"2025-03-05T14:18:52-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1576,"type":"service","label":"Basico 300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":135,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Caim\u00e1n","clientLastName":"Dorado","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-19 20:18:57.658484] [debug] Adición de borrador de Factura - -[2025-02-19 20:18:57.658576] [debug] {"uuid":"5a95474e-0d86-40db-9077-f39fad5ced97","changeType":"insert","entity":"invoice","entityId":1573,"message":null,"clientId":141,"eventName":"invoice.add_draft","clientData":{"id":141,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Caim\u00e1n","lastName":"Dorado","username":null,"contacts":[{"id":145,"clientId":141,"email":"caimangolden@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#43a047","addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1573,"clientId":141,"number":"001530","createdDate":"2025-02-19T14:18:52-0600","dueDate":"2025-03-05T14:18:52-0600","emailSentDate":"2025-02-19T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1576,"type":"service","label":"Basico 300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":135,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Caim\u00e1n","clientLastName":"Dorado","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-19 20:18:57.658652] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-19 20:18:57.658691] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":337,"clientId":141,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2024-06-28T14:08:58-0600","amount":30,"currencyCode":"MXN","note":null,"receiptSentDate":"2024-06-28T14:09:40-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":664,"invoiceId":1572,"paymentId":337,"creditNoteId":null,"refundId":null,"amount":30}],"creditAmount":0,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: El Caimán Dorado - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"El Caim\u00e1n Dorado","custom_fields":{"Cliente":141,"Domicilio":"\ud83d\udccd Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 El Caim\u00e1n Dorado","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/141","Saldo Actual":"\ud83d\udcb2370 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 30","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"141\",\"Domicilio\": \"\ud83d\udccd Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 El Caim\u00e1n Dorado\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/141\",\"Saldo Actual\": \"\ud83d\udcb2370 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 30\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 28\/06\/2024 14:08 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 14:18\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 28\/06\/2024 14:08 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 14:18","Clabe Interbancaria":null}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Caimán Dorado","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","user name":"Daniel Humberto 🐁","Nombre":"👤 El Caimán Dorado","Clabe Interbancaria":"124180650741646979","Monto Ultimo Pago":"💲 30","Estado":"🟢 Activo ","Cliente":"141","Domicilio":"📍 Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳","Saldo Actual":"💲370 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/141","Fecha Ultima Actualizacion":"📆🔄️ 19/02/2025 14:18","Resumen":"{\"Cliente\": \"141\",\"Domicilio\": \"📍 Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 El Caimán Dorado\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/141\",\"Saldo Actual\": \"💲370 pendientes\",\"Monto Ultimo Pago\": \"💲 30\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 19/02/2025 14:18\",\"Clabe Interbancaria\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-19 20:18:59.624588] [notice] Logging level set to:debug -[2025-02-19 20:18:59.772268] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-19 20:18:59.772337] [debug] Valor de JSON: {"uuid":"40131198-c490-41f3-9bc1-27e9acf6534a","changeType":"draft_approved","entity":"invoice","entityId":"1573","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1573,"clientId":141,"number":"001530","createdDate":"2025-02-19T14:18:52-0600","dueDate":"2025-03-05T14:18:52-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1576,"type":"service","label":"Basico 300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":135,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Caim\u00e1n","clientLastName":"Dorado","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-19 20:18:59.772447] [debug] Aprobación de Factura - -[2025-02-19 20:18:59.772495] [debug] {"uuid":"40131198-c490-41f3-9bc1-27e9acf6534a","changeType":"draft_approved","entity":"invoice","entityId":1573,"message":null,"clientId":141,"eventName":"invoice.draft_approved","clientData":{"id":141,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Caim\u00e1n","lastName":"Dorado","username":null,"contacts":[{"id":145,"clientId":141,"email":"caimangolden@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#43a047","addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1573,"clientId":141,"number":"001530","createdDate":"2025-02-19T14:18:52-0600","dueDate":"2025-03-05T14:18:52-0600","emailSentDate":"2025-02-19T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1576,"type":"service","label":"Basico 300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":135,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Caim\u00e1n","clientLastName":"Dorado","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-19 20:18:59.772536] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-19 20:18:59.772548] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":337,"clientId":141,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2024-06-28T14:08:58-0600","amount":30,"currencyCode":"MXN","note":null,"receiptSentDate":"2024-06-28T14:09:40-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":664,"invoiceId":1572,"paymentId":337,"creditNoteId":null,"refundId":null,"amount":30}],"creditAmount":0,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: El Caimán Dorado - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"El Caim\u00e1n Dorado","custom_fields":{"Cliente":141,"Domicilio":"\ud83d\udccd Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 El Caim\u00e1n Dorado","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/141","Saldo Actual":"\ud83d\udcb2370 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 30","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"141\",\"Domicilio\": \"\ud83d\udccd Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 El Caim\u00e1n Dorado\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/141\",\"Saldo Actual\": \"\ud83d\udcb2370 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 30\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 28\/06\/2024 14:08 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 14:19\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 28\/06\/2024 14:08 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 14:19","Clabe Interbancaria":null}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Caimán Dorado","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","user name":"Daniel Humberto 🐁","Nombre":"👤 El Caimán Dorado","Clabe Interbancaria":"124180650741646979","Monto Ultimo Pago":"💲 30","Estado":"🟢 Activo ","Cliente":"141","Domicilio":"📍 Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳","Saldo Actual":"💲370 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/141","Fecha Ultima Actualizacion":"📆🔄️ 19/02/2025 14:19","Resumen":"{\"Cliente\": \"141\",\"Domicilio\": \"📍 Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 El Caimán Dorado\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/141\",\"Saldo Actual\": \"💲370 pendientes\",\"Monto Ultimo Pago\": \"💲 30\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 19/02/2025 14:19\",\"Clabe Interbancaria\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-19 20:19:01.633861] [notice] Logging level set to:debug -[2025-02-19 20:19:01.803395] [debug] valor el evento recibido por webhook: service.edit - -[2025-02-19 20:19:01.803608] [debug] Valor de JSON: {"uuid":"9c9faf98-d893-4612-9c94-b1bab7141f7a","changeType":"edit","entity":"service","entityId":"135","eventName":"service.edit","extraData":{"entity":{"id":135,"prepaid":false,"clientId":141,"status":1,"name":"Basico 300","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-19T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-19T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-31T00:00:00-0600","unmsClientSiteId":"7dab5f15-5694-44f0-972c-edb71849738f","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":{"id":135,"prepaid":false,"clientId":141,"status":1,"name":"Basico 300","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-19T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-19T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-31T00:00:00-0600","unmsClientSiteId":"7dab5f15-5694-44f0-972c-edb71849738f","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}} - -[2025-02-19 20:19:01.803787] [debug] Se editó el servicio a un cliente - -[2025-02-19 20:19:01.803879] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-19 20:19:01.803921] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-02-19 20:19:01.803987] [info] {"uuid":"9c9faf98-d893-4612-9c94-b1bab7141f7a","changeType":"edit","entity":"service","entityId":135,"message":null,"clientId":141,"eventName":"service.edit","clientData":{"id":141,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Caim\u00e1n","lastName":"Dorado","username":null,"contacts":[{"id":145,"clientId":141,"email":"caimangolden@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#43a047","addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":135,"prepaid":false,"clientId":141,"status":1,"name":"Basico 300","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-19T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-19T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-31T00:00:00-0600","unmsClientSiteId":"7dab5f15-5694-44f0-972c-edb71849738f","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: El Caimán Dorado - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 14:19"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Caimán Dorado","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","user name":"Daniel Humberto 🐁","Nombre":"👤 El Caimán Dorado","Clabe Interbancaria":"124180650741646979","Monto Ultimo Pago":"💲 30","Estado":"🟢 Activo","Cliente":"141","Domicilio":"📍 Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳","Saldo Actual":"💲370 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/141","Fecha Ultima Actualizacion":"📆🔄️ 19/02/2025 14:19","Resumen":"{\"Cliente\": \"141\",\"Domicilio\": \"📍 Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 El Caimán Dorado\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/141\",\"Saldo Actual\": \"💲370 pendientes\",\"Monto Ultimo Pago\": \"💲 30\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 19/02/2025 14:19\",\"Clabe Interbancaria\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-19 20:19:03.539175] [notice] Logging level set to:debug -[2025-02-19 20:19:03.624074] [debug] valor el evento recibido por webhook: client.edit - -[2025-02-19 20:19:03.624285] [debug] Valor de JSON: {"uuid":"80ade403-4633-46ff-9690-7d35bcf87367","changeType":"edit","entity":"client","entityId":"141","eventName":"client.edit","extraData":{"entity":{"id":141,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Caim\u00e1n","lastName":"Dorado","username":null,"contacts":[{"id":145,"clientId":141,"email":"caimangolden@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#43a047","addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":141,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Caim\u00e1n","lastName":"Dorado","username":null,"contacts":[{"id":145,"clientId":141,"email":"caimangolden@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#43a047","addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-02-19 20:19:03.624433] [debug] Se actualiza a un cliente -[2025-02-19 20:19:03.624500] [debug] Valor de json_data: {"uuid":"80ade403-4633-46ff-9690-7d35bcf87367","changeType":"edit","entity":"client","entityId":"141","eventName":"client.edit","extraData":{"entity":{"id":141,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Caim\u00e1n","lastName":"Dorado","username":null,"contacts":[{"id":145,"clientId":141,"email":"caimangolden@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#43a047","addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":141,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Caim\u00e1n","lastName":"Dorado","username":null,"contacts":[{"id":145,"clientId":141,"email":"caimangolden@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#43a047","addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-02-19 20:19:03.624548] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-19 20:19:03.624584] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-02-19 20:19:03.624619] [debug] No hubo cambio de true a false en el campo isLead -[2025-02-19 20:19:03.624665] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-02-19 20:19:03.624703] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-02-19 20:19:03.624747] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-02-19 20:19:03.624783] [debug] La etiqueta STRIPE se agregó al cliente -[2025-02-19 20:19:03.650052] [info] Creando el Customer Stripe - -[2025-02-19 20:19:03.650176] [info] El cliente a procesar es : El Caimán Dorado - -[2025-02-19 20:19:03.650244] [info] Datos notificationData: {"uuid":"80ade403-4633-46ff-9690-7d35bcf87367","changeType":"edit","entity":"client","entityId":141,"message":null,"clientId":141,"eventName":"client.edit","clientData":{"id":141,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Caim\u00e1n","lastName":"Dorado","username":null,"contacts":[{"id":145,"clientId":141,"email":"caimangolden@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#43a047","addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-02-19 20:19:03.650369] [info] Ya dentro del FOREACH!!! - -[2025-02-19 20:19:03.650413] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-02-19 20:19:03.650449] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-02-19 20:19:03.650482] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-02-19 20:19:03.650520] [info] SE VALIDA EL EMAIL!!! - -[2025-02-19 20:19:03.651268] [info] ahora se procede a validar el teléfono!!! - -[2025-02-19 20:19:03.651400] [info] AHORA SE MANDA A CREAR EL CLIENTE A STRIPE!!! - -[2025-02-19 20:19:04.273540] [info] {"id":"cus_Rnvaue7NF9h1b0","object":"customer","address":null,"balance":0,"created":1739996344,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 141","discount":null,"email":"caimangolden@gmail.com","invoice_prefix":"36BF3C6F","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":[],"name":"El Caim\u00e1n Dorado","next_invoice_sequence":1,"phone":"4181878106","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-02-19 20:19:06.579454] [info] {"id":"cus_Rnvaue7NF9h1b0","object":"customer","address":null,"balance":0,"created":1739996344,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 141","discount":null,"email":"caimangolden@gmail.com","invoice_prefix":"36BF3C6F","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":{"ucrm_client_id":"141"},"name":"El Caim\u00e1n Dorado","next_invoice_sequence":1,"phone":"4181878106","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-02-19 20:19:06.883261] [notice] Logging level set to:debug -[2025-02-19 20:19:06.883452] [info] No UUID found in the webhook data -[2025-02-19 20:19:09.018841] [info] {"object":"funding_instructions","bank_transfer":{"country":"MX","financial_addresses":[{"spei":{"account_holder_address":{"city":"Ciudad de M\u00e9xico","country":"MX","line1":"Av Paseo de la Reforma 180 piso 29 col Juarez","line2":null,"postal_code":"06600","state":"Ciudad de M\u00e9xico"},"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":"124180607213787791"},"supported_networks":["spei"],"type":"spei"}],"type":"mx_bank_transfer"},"currency":"mxn","funding_type":"bank_transfer","livemode":false} - -[2025-02-19 20:19:09.339467] [info] CLABE guardada en metadata: 124180607213787791 - -[2025-02-19 20:19:09.606137] [info] Error al hacer el patch al CRM: Client error: `PATCH https://172.16.5.134/crm/api/v1.0/clients/141` resulted in a `415 Unsupported Media Type` response: -{"code":415,"message":""} - - -[2025-02-19 20:19:09.606306] [info] null - -[2025-02-19 20:19:09.686661] [notice] Logging level set to:debug -[2025-02-19 20:19:09.686830] [info] No UUID found in the webhook data -[2025-02-19 20:19:16.193871] [notice] Logging level set to:debug -[2025-02-19 20:19:16.283701] [debug] valor el evento recibido por webhook: client.edit - -[2025-02-19 20:19:16.283787] [debug] Valor de JSON: {"uuid":"434bc153-6893-4c82-abc0-28394e32bc9c","changeType":"edit","entity":"client","entityId":"141","eventName":"client.edit","extraData":{"entity":{"id":141,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Caim\u00e1n","lastName":"Dorado","username":null,"contacts":[{"id":145,"clientId":141,"email":"caimangolden@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#43a047","addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":141,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Caim\u00e1n","lastName":"Dorado","username":null,"contacts":[{"id":145,"clientId":141,"email":"caimangolden@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#43a047","addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-02-19 20:19:16.283926] [debug] Se actualiza a un cliente -[2025-02-19 20:19:16.283958] [debug] Valor de json_data: {"uuid":"434bc153-6893-4c82-abc0-28394e32bc9c","changeType":"edit","entity":"client","entityId":"141","eventName":"client.edit","extraData":{"entity":{"id":141,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Caim\u00e1n","lastName":"Dorado","username":null,"contacts":[{"id":145,"clientId":141,"email":"caimangolden@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#43a047","addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":141,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Caim\u00e1n","lastName":"Dorado","username":null,"contacts":[{"id":145,"clientId":141,"email":"caimangolden@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#43a047","addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-02-19 20:19:16.283973] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-19 20:19:16.283982] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-02-19 20:19:16.283991] [debug] No hubo cambio de true a false en el campo isLead -[2025-02-19 20:19:16.283998] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-02-19 20:19:16.284006] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-02-19 20:19:16.284012] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-02-19 20:19:16.284019] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-02-19 20:19:16.284045] [debug] {"uuid":"434bc153-6893-4c82-abc0-28394e32bc9c","changeType":"edit","entity":"client","entityId":141,"message":null,"clientId":141,"eventName":"client.edit","clientData":{"id":141,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Caim\u00e1n","lastName":"Dorado","username":null,"contacts":[{"id":145,"clientId":141,"email":"caimangolden@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#43a047","addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-02-19 20:19:16.284081] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-19 20:19:16.284091] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":337,"clientId":141,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2024-06-28T14:08:58-0600","amount":30,"currencyCode":"MXN","note":null,"receiptSentDate":"2024-06-28T14:09:40-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":664,"invoiceId":1572,"paymentId":337,"creditNoteId":null,"refundId":null,"amount":30}],"creditAmount":0,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: El Caimán Dorado - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"El Caim\u00e1n Dorado","custom_fields":{"Cliente":141,"Domicilio":"\ud83d\udccd Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 El Caim\u00e1n Dorado","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/141","Saldo Actual":"\ud83d\udcb2370 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 30","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"141\",\"Domicilio\": \"\ud83d\udccd Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 El Caim\u00e1n Dorado\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/141\",\"Saldo Actual\": \"\ud83d\udcb2370 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 30\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 28\/06\/2024 14:08 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 14:19\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 28\/06\/2024 14:08 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/02\/2025 14:19","Clabe Interbancaria":null}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Caimán Dorado","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","user name":"Daniel Humberto 🐁","Nombre":"👤 El Caimán Dorado","Clabe Interbancaria":"124180650741646979","Monto Ultimo Pago":"💲 30","Estado":"🟢 Activo ","Cliente":"141","Domicilio":"📍 Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳","Saldo Actual":"💲370 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/141","Fecha Ultima Actualizacion":"📆🔄️ 19/02/2025 14:19","Resumen":"{\"Cliente\": \"141\",\"Domicilio\": \"📍 Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 El Caimán Dorado\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/141\",\"Saldo Actual\": \"💲370 pendientes\",\"Monto Ultimo Pago\": \"💲 30\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 19/02/2025 14:19\",\"Clabe Interbancaria\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-19 23:33:27.084673] [notice] Logging level set to:debug -[2025-02-19 23:33:27.159878] [debug] valor el evento recibido por webhook: client.edit - -[2025-02-19 23:33:27.160038] [debug] Valor de JSON: {"uuid":"7d029b3e-76d3-4d0d-a32b-80e8a84e8775","changeType":"edit","entity":"client","entityId":"141","eventName":"client.edit","extraData":{"entity":{"id":141,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Caim\u00e1n","lastName":"Dorado","username":null,"contacts":[{"id":145,"clientId":141,"email":"caimangolden@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#43a047","addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":141,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Caim\u00e1n","lastName":"Dorado","username":null,"contacts":[{"id":145,"clientId":141,"email":"caimangolden@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#43a047","addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-02-19 23:33:27.160274] [debug] Se actualiza a un cliente -[2025-02-19 23:33:27.160348] [debug] Valor de json_data: {"uuid":"7d029b3e-76d3-4d0d-a32b-80e8a84e8775","changeType":"edit","entity":"client","entityId":"141","eventName":"client.edit","extraData":{"entity":{"id":141,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Caim\u00e1n","lastName":"Dorado","username":null,"contacts":[{"id":145,"clientId":141,"email":"caimangolden@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#43a047","addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":141,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Caim\u00e1n","lastName":"Dorado","username":null,"contacts":[{"id":145,"clientId":141,"email":"caimangolden@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#43a047","addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-02-19 23:33:27.160392] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-19 23:33:27.160425] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-02-19 23:33:27.160458] [debug] No hubo cambio de true a false en el campo isLead -[2025-02-19 23:33:27.160490] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-02-19 23:33:27.160521] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-02-19 23:33:27.160552] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-02-19 23:33:27.160969] [debug] La etiqueta STRIPE se agregará al cliente -[2025-02-19 23:33:27.189342] [info] Creando el Customer Stripe - -[2025-02-19 23:33:27.189452] [info] El cliente a procesar es : El Caimán Dorado - -[2025-02-19 23:33:27.189516] [info] Datos notificationData: {"uuid":"7d029b3e-76d3-4d0d-a32b-80e8a84e8775","changeType":"edit","entity":"client","entityId":141,"message":null,"clientId":141,"eventName":"client.edit","clientData":{"id":141,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Caim\u00e1n","lastName":"Dorado","username":null,"contacts":[{"id":145,"clientId":141,"email":"caimangolden@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#43a047","addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-02-19 23:33:27.189563] [info] Ya dentro del FOREACH!!! - -[2025-02-19 23:33:27.189599] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-02-19 23:33:27.189634] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-02-19 23:33:27.189667] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-02-19 23:33:27.189703] [info] SE VALIDA EL EMAIL!!! - -[2025-02-19 23:33:27.190403] [info] ahora se procede a validar el teléfono!!! - -[2025-02-19 23:33:27.190558] [info] AHORA SE MANDA A CREAR EL CLIENTE A STRIPE!!! - -[2025-02-19 23:33:27.810436] [info] {"id":"cus_Rnyjyu9kK8abbp","object":"customer","address":null,"balance":0,"created":1740008007,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 141","discount":null,"email":"caimangolden@gmail.com","invoice_prefix":"CF4A61B5","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":[],"name":"El Caim\u00e1n Dorado","next_invoice_sequence":1,"phone":"4181878106","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-02-19 23:33:30.128186] [info] {"id":"cus_Rnyjyu9kK8abbp","object":"customer","address":null,"balance":0,"created":1740008007,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 141","discount":null,"email":"caimangolden@gmail.com","invoice_prefix":"CF4A61B5","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":{"ucrm_client_id":"141"},"name":"El Caim\u00e1n Dorado","next_invoice_sequence":1,"phone":"4181878106","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-02-19 23:33:30.516002] [notice] Logging level set to:debug -[2025-02-19 23:33:30.516309] [info] No UUID found in the webhook data -[2025-02-19 23:33:32.631035] [info] {"object":"funding_instructions","bank_transfer":{"country":"MX","financial_addresses":[{"spei":{"account_holder_address":{"city":"Ciudad de M\u00e9xico","country":"MX","line1":"Av Paseo de la Reforma 180 piso 29 col Juarez","line2":null,"postal_code":"06600","state":"Ciudad de M\u00e9xico"},"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":"124180436222325917"},"supported_networks":["spei"],"type":"spei"}],"type":"mx_bank_transfer"},"currency":"mxn","funding_type":"bank_transfer","livemode":false} - -[2025-02-19 23:33:32.974441] [info] CLABE guardada en metadata: 124180436222325917 - -[2025-02-19 23:33:33.237934] [notice] Logging level set to:debug -[2025-02-19 23:33:33.238265] [info] No UUID found in the webhook data -[2025-02-19 23:33:35.037662] [info] Error al hacer el patch al CRM: Client error: `PATCH https://172.16.5.134/crm/api/v1.0/clients/141` resulted in a `415 Unsupported Media Type` response: -{"code":415,"message":""} - - -[2025-02-19 23:33:35.037827] [info] null - -[2025-02-20 3:20:51.345601] [notice] Logging level set to:debug -[2025-02-20 3:20:51.346213] [warning] no input -[2025-02-20 16:00:06.081687] [notice] Logging level set to:debug -[2025-02-20 16:00:06.220211] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-20 16:00:06.220391] [debug] Valor de JSON: {"uuid":"71a28433-1578-4766-9ab4-dd60fd2af58a","changeType":"insert","entity":"invoice","entityId":"1574","eventName":"invoice.add_draft","extraData":{"entity":{"id":1574,"clientId":121,"number":"001531","createdDate":"2025-02-20T10:00:02-0600","dueDate":"2025-03-06T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1577,"type":"service","label":"INTERMEDIO 20\/01\/2025 \u2013 19\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":106,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"flor","clientLastName":"marquez gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"plutarco elias calles 8,lindavista","clientStreet2":"enfrente del parque","clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-20 16:00:06.220643] [debug] Adición de borrador de Factura - -[2025-02-20 16:00:06.220732] [debug] {"uuid":"71a28433-1578-4766-9ab4-dd60fd2af58a","changeType":"insert","entity":"invoice","entityId":1574,"message":null,"clientId":121,"eventName":"invoice.add_draft","clientData":{"id":121,"userIdent":"-105.998","previousIsp":"angel","isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"plutarco elias calles 8,lindavista","street2":"enfrente del parque","city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"plutarco elias calles 8,lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":false,"invoiceMaturityDays":null,"stopServiceDue":false,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-05-20T00:00:00-0600","leadConvertedAt":"2024-05-20T13:45:39-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"flor","lastName":"marquez gonzalez","username":null,"contacts":[{"id":125,"clientId":121,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":120,"clientId":121,"customAttributeId":2,"name":"CelularNotificaciones","key":"celularnotificaciones","value":"172.16.117.243","clientZoneVisible":true},{"id":121,"clientId":121,"customAttributeId":4,"name":"Whatsapp","key":"whatsapp","value":"Siip.567","clientZoneVisible":true},{"id":122,"clientId":121,"customAttributeId":5,"name":"uuid","key":"uuid","value":"admin1343","clientZoneVisible":true},{"id":123,"clientId":121,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"22372x9000055","clientZoneVisible":true},{"id":124,"clientId":121,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"21.9758566","clientZoneVisible":true}],"accountBalance":-4316.67,"accountCredit":0,"accountOutstanding":4316.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.5,"addressGpsLon":-100,"isArchived":false,"generateProformaInvoices":false,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1574,"clientId":121,"number":"001531","createdDate":"2025-02-20T10:00:02-0600","dueDate":"2025-03-06T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-18T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1577,"type":"service","label":"INTERMEDIO 20\/01\/2025 \u2013 19\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":106,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"flor","clientLastName":"marquez gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"plutarco elias calles 8,lindavista","clientStreet2":"enfrente del parque","clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-20 16:00:06.370573] [notice] Logging level set to:debug -[2025-02-20 16:00:06.515260] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-20 16:00:06.515322] [debug] Valor de JSON: {"uuid":"cfdba62c-602c-4d4c-988b-ef408058ee4a","changeType":"draft_approved","entity":"invoice","entityId":"1574","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1574,"clientId":121,"number":"001531","createdDate":"2025-02-20T10:00:02-0600","dueDate":"2025-03-06T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1577,"type":"service","label":"INTERMEDIO 20\/01\/2025 \u2013 19\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":106,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"flor","clientLastName":"marquez gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"plutarco elias calles 8,lindavista","clientStreet2":"enfrente del parque","clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-20 16:00:06.515429] [debug] Aprobación de Factura - -[2025-02-20 16:00:06.515481] [debug] {"uuid":"cfdba62c-602c-4d4c-988b-ef408058ee4a","changeType":"draft_approved","entity":"invoice","entityId":1574,"message":null,"clientId":121,"eventName":"invoice.draft_approved","clientData":{"id":121,"userIdent":"-105.998","previousIsp":"angel","isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"plutarco elias calles 8,lindavista","street2":"enfrente del parque","city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"plutarco elias calles 8,lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":false,"invoiceMaturityDays":null,"stopServiceDue":false,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-05-20T00:00:00-0600","leadConvertedAt":"2024-05-20T13:45:39-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"flor","lastName":"marquez gonzalez","username":null,"contacts":[{"id":125,"clientId":121,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":120,"clientId":121,"customAttributeId":2,"name":"CelularNotificaciones","key":"celularnotificaciones","value":"172.16.117.243","clientZoneVisible":true},{"id":121,"clientId":121,"customAttributeId":4,"name":"Whatsapp","key":"whatsapp","value":"Siip.567","clientZoneVisible":true},{"id":122,"clientId":121,"customAttributeId":5,"name":"uuid","key":"uuid","value":"admin1343","clientZoneVisible":true},{"id":123,"clientId":121,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"22372x9000055","clientZoneVisible":true},{"id":124,"clientId":121,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"21.9758566","clientZoneVisible":true}],"accountBalance":-4316.67,"accountCredit":0,"accountOutstanding":4316.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.5,"addressGpsLon":-100,"isArchived":false,"generateProformaInvoices":false,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1574,"clientId":121,"number":"001531","createdDate":"2025-02-20T10:00:02-0600","dueDate":"2025-03-06T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-18T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1577,"type":"service","label":"INTERMEDIO 20\/01\/2025 \u2013 19\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":106,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"flor","clientLastName":"marquez gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"plutarco elias calles 8,lindavista","clientStreet2":"enfrente del parque","clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-20 16:00:07.488997] [notice] Logging level set to:debug -[2025-02-20 16:00:07.643006] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-20 16:00:07.643084] [debug] Valor de JSON: {"uuid":"0e214651-6ce1-4c88-9b55-4d8e0d1074de","changeType":"insert","entity":"invoice","entityId":"1575","eventName":"invoice.add_draft","extraData":{"entity":{"id":1575,"clientId":122,"number":"001532","createdDate":"2025-02-20T10:00:02-0600","dueDate":"2025-03-06T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1578,"type":"service","label":"plan300 20\/01\/2025 \u2013 19\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":107,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"MARQUEZ GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PLTARCO 8, LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-20 16:00:07.643213] [debug] Adición de borrador de Factura - -[2025-02-20 16:00:07.643280] [debug] {"uuid":"0e214651-6ce1-4c88-9b55-4d8e0d1074de","changeType":"insert","entity":"invoice","entityId":1575,"message":null,"clientId":122,"eventName":"invoice.add_draft","clientData":{"id":122,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"PLTARCO 8, LINDAVISTA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"PLTARCO 8, LINDAVISTA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-05-20T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JUDITH","lastName":"MARQUEZ GONZALEZ","username":null,"contacts":[{"id":126,"clientId":122,"email":null,"phone":"55667788","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":125,"clientId":122,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Q8uWOC8sjQem1K","clientZoneVisible":true},{"id":126,"clientId":122,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180296730137251","clientZoneVisible":true}],"accountBalance":-4590,"accountCredit":0,"accountOutstanding":4590,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.171581132292,"addressGpsLon":-100.9286433436,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1575,"clientId":122,"number":"001532","createdDate":"2025-02-20T10:00:02-0600","dueDate":"2025-03-06T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-18T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1578,"type":"service","label":"plan300 20\/01\/2025 \u2013 19\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":107,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"MARQUEZ GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PLTARCO 8, LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-20 16:00:07.762495] [notice] Logging level set to:debug -[2025-02-20 16:00:08.011336] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-20 16:00:08.011468] [debug] Valor de JSON: {"uuid":"823e0e7c-e6ff-415b-9826-7474b386bf57","changeType":"draft_approved","entity":"invoice","entityId":"1575","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1575,"clientId":122,"number":"001532","createdDate":"2025-02-20T10:00:02-0600","dueDate":"2025-03-06T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1578,"type":"service","label":"plan300 20\/01\/2025 \u2013 19\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":107,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"MARQUEZ GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PLTARCO 8, LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-20 16:00:08.011586] [debug] Aprobación de Factura - -[2025-02-20 16:00:08.011637] [debug] {"uuid":"823e0e7c-e6ff-415b-9826-7474b386bf57","changeType":"draft_approved","entity":"invoice","entityId":1575,"message":null,"clientId":122,"eventName":"invoice.draft_approved","clientData":{"id":122,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"PLTARCO 8, LINDAVISTA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"PLTARCO 8, LINDAVISTA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-05-20T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JUDITH","lastName":"MARQUEZ GONZALEZ","username":null,"contacts":[{"id":126,"clientId":122,"email":null,"phone":"55667788","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":125,"clientId":122,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Q8uWOC8sjQem1K","clientZoneVisible":true},{"id":126,"clientId":122,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180296730137251","clientZoneVisible":true}],"accountBalance":-4590,"accountCredit":0,"accountOutstanding":4590,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.171581132292,"addressGpsLon":-100.9286433436,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1575,"clientId":122,"number":"001532","createdDate":"2025-02-20T10:00:02-0600","dueDate":"2025-03-06T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-18T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1578,"type":"service","label":"plan300 20\/01\/2025 \u2013 19\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":107,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"MARQUEZ GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PLTARCO 8, LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-20 19:28:44.357238] [notice] Logging level set to:debug -[2025-02-20 19:28:44.357399] [info] No UUID found in the webhook data -[2025-02-20 19:28:44.357422] [info] Evento de referencia de oxxo recibido - -[2025-02-20 19:28:44.357435] [info] Referencia persnoalizada, Valor del monto: 100 - -[2025-02-20 19:28:44.357446] [info] Creando referencia del cliente para OXXO: - -[2025-02-20 19:28:44.530642] [info] Monto proporcionado directamente: 100 - -[2025-02-20 19:28:44.530684] [info] Creando referencia en Stripe por: 10000 para el cliente cus_PetN1dhr4rx0kX - -[2025-02-20 19:28:45.065979] [info] El nombre del cliente es: Daniel Humberto Soto Villegas el boy - -[2025-02-20 19:28:45.066087] [info] Creando payment methods del voucher - -[2025-02-20 19:28:45.288542] [info] Confirmando el paymentIntent - -[2025-02-20 19:28:45.927299] [info] Se terminó de confirmar el paymentIntent - -[2025-02-20 19:28:45.927364] [info] Referencia OXXO: 12345678901234657890123456789012 - -[2025-02-20 19:28:45.927375] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9Sb0kwcHF5b1pQbEVoeFpjcnQ3YzRmcDUzYTVSc3hD0100EdJojQOS - -[2025-02-20 19:28:45.927651] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9Sb0kwcHF5b1pQbEVoeFpjcnQ3YzRmcDUzYTVSc3hD0100EdJojQOS"} -[2025-02-20 19:31:50.236012] [notice] Logging level set to:debug -[2025-02-20 19:31:50.466495] [debug] valor el evento recibido por webhook: invoice.edit - -[2025-02-20 19:31:50.466672] [debug] Valor de JSON: {"uuid":"0e7a0b4d-f8db-46d7-a55f-fcd354be10bb","changeType":"edit","entity":"invoice","entityId":"1566","eventName":"invoice.edit","extraData":{"entity":{"id":1566,"clientId":2,"number":"001523","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1569,"type":"service","label":"PREMIUM 01\/03\/2025 \u2013 31\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":134,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":100,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":600,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":665,"invoiceId":1566,"paymentId":588,"creditNoteId":null,"refundId":null,"amount":100}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":1566,"clientId":2,"number":"001523","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1569,"type":"service","label":"PREMIUM 01\/03\/2025 \u2013 31\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":134,"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":[{"id":665,"invoiceId":1566,"paymentId":588,"creditNoteId":null,"refundId":null,"amount":100}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false}}} - -[2025-02-20 19:31:50.466914] [debug] Edición de Factura - -[2025-02-20 19:31:50.467012] [debug] {"uuid":"0e7a0b4d-f8db-46d7-a55f-fcd354be10bb","changeType":"edit","entity":"invoice","entityId":1566,"message":null,"clientId":2,"eventName":"invoice.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-600,"accountCredit":0,"accountOutstanding":600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1566,"clientId":2,"number":"001523","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1569,"type":"service","label":"PREMIUM 01\/03\/2025 \u2013 31\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":134,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":100,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":600,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":665,"invoiceId":1566,"paymentId":588,"creditNoteId":null,"refundId":null,"amount":100}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-20 19:31:50.467134] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-20 19:31:50.467178] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":588,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-20T13:31:49-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":665,"invoiceId":1566,"paymentId":588,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2600 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 100","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2600 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 100\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 20\/02\/2025 13:31 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 20\/02\/2025 13:31\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 20\/02\/2025 13:31 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 20\/02\/2025 13:31","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas el boy","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","user name":"Daniel Humberto 🐁","Nombre":"👤 Daniel Humberto Soto Villegas el boy","Clabe Interbancaria":"0021804341999569810","Monto Ultimo Pago":"💲 100","Estado":"🟢 Activo ","Cliente":"2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 20/02/2025 13:31 con Tarjeta de crédito Stripe 💳","Saldo Actual":"💲600 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/2","Fecha Ultima Actualizacion":"📆🔄️ 20/02/2025 13:31","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas el boy\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲600 pendientes\",\"Monto Ultimo Pago\": \"💲 100\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 20/02/2025 13:31 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 20/02/2025 13:31\",\"Clabe Interbancaria\": \"0021804341999569810\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":588,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-20T13:31:49-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":665,"invoiceId":1566,"paymentId":588,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 2038d2d99ae543f3b56f1ae54f4cc82b - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2600 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 100","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2600 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 100\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 20\/02\/2025 13:31 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 20\/02\/2025 13:31\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 20\/02\/2025 13:31 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 20\/02\/2025 13:31","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"2038d2d99ae543f3b56f1ae54f4cc82b","name":"Daniel Humberto Soto Villegas el boy","phoneNumber":"5214181817609","avatarUrl":null,"createdAt":"2024-01-26T18:16:09Z","closedAt":"2025-02-17T19:00:45Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/2038d2d99ae543f3b56f1ae54f4cc82b","conversationHref":"https://dash.callbell.eu/chat/90611886ac204c56a75240f951c53874","tags":[],"assignedUser":null,"customFields":{"Cliente":"2","Clabe Interbancaria":"0021804341999569810","Fecha Ultima Actualizacion":"📆🔄️ 20/02/2025 13:31","user entry point":"inbound_message","Estado":"🟢 Activo ","Monto Ultimo Pago":"💲 100","user name":"Grisel","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 20/02/2025 13:31 con Tarjeta de crédito Stripe 💳","Saldo Actual":"💲600 pendientes","Nombre":"👤 Daniel Humberto Soto Villegas el boy","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas el boy\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲600 pendientes\",\"Monto Ultimo Pago\": \"💲 100\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 20/02/2025 13:31 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 20/02/2025 13:31\",\"Clabe Interbancaria\": \"0021804341999569810\"}","URL":"🌐 https://sistema.siip.mx/crm/client/2"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-20 19:31:53.686224] [notice] Logging level set to:debug -[2025-02-20 19:31:53.828268] [debug] valor el evento recibido por webhook: payment.add - -[2025-02-20 19:31:53.828320] [debug] Valor de JSON: {"uuid":"a5c54bb0-6881-4c14-80fa-344a60be69b9","changeType":"insert","entity":"payment","entityId":"588","eventName":"payment.add","extraData":{"entity":{"id":588,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-20T13:31:49-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":665,"invoiceId":1566,"paymentId":588,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":null}} - -[2025-02-20 19:31:53.828459] [debug] Notification encodificado en JSON:{"uuid":"a5c54bb0-6881-4c14-80fa-344a60be69b9","changeType":"insert","entity":"payment","entityId":588,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-600,"accountCredit":0,"accountOutstanding":600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":588,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-20T13:31:49-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":665,"invoiceId":1566,"paymentId":588,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]}} - -[2025-02-20 19:31:53.828480] [debug] valor del payment data: {"id":588,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-20T13:31:49-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":665,"invoiceId":1566,"paymentId":588,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]} - -[2025-02-20 19:31:53.828520] [info] {"WhatsApp":["5214181878106","5214181817609"]} -[2025-02-20 19:31:53.828531] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-20 19:31:53.828540] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-02-20 19:31:53.828550] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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_el_boy.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_el_boy.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_el_boy.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_el_boy.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_el_boy.png - -No se pudo obtener la lista de archivos de la carpeta FTP - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_el_boy.png" - }, - "template_values": ["Daniel Humberto Soto Villegas el boy", "$100", "$600 pendientes"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"1a5f94560503492486f7b63b2926ba3d","status":"enqueued"}} -Hay menos de 100 archivos en el directorio. No se eliminarán archivos. - -La notificación fue enviada correctamente con estado: enqueued - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":588,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-20T13:31:49-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":665,"invoiceId":1566,"paymentId":588,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2600 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 100","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2600 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 100\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 20\/02\/2025 13:31 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 20\/02\/2025 13:31\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 20\/02\/2025 13:31 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 20\/02\/2025 13:31","Clabe Interbancaria":null}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas el boy","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-06T23:47:27Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","user name":"Daniel Humberto 🐁","Nombre":"👤 Daniel Humberto Soto Villegas el boy","Clabe Interbancaria":"0021804341999569810","Monto Ultimo Pago":"💲 100","Estado":"🟢 Activo ","Cliente":"2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 20/02/2025 13:31 con Tarjeta de crédito Stripe 💳","Saldo Actual":"💲600 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/2","Fecha Ultima Actualizacion":"📆🔄️ 20/02/2025 13:31","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas el boy\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲600 pendientes\",\"Monto Ultimo Pago\": \"💲 100\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 20/02/2025 13:31 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 20/02/2025 13:31\",\"Clabe Interbancaria\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-20 19:31:59.135767] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -Eviando comprobante de pago al cliente: 2 con número: 5214181817609 - -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_el_boy.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_el_boy.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_el_boy.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_el_boy.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_el_boy.png - -No se pudo obtener la lista de archivos de la carpeta FTP - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181817609", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_el_boy.png" - }, - "template_values": ["Daniel Humberto Soto Villegas el boy", "$100", "$600 pendientes"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"b46d22e578df415587e3fca06b9bb6e6","status":"enqueued"}} -Hay menos de 100 archivos en el directorio. No se eliminarán archivos. - -La notificación fue enviada correctamente con estado: enqueued - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":588,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-20T13:31:49-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":665,"invoiceId":1566,"paymentId":588,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 2038d2d99ae543f3b56f1ae54f4cc82b - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2600 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 100","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2600 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 100\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 20\/02\/2025 13:31 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 20\/02\/2025 13:32\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 20\/02\/2025 13:31 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 20\/02\/2025 13:32","Clabe Interbancaria":null}} - -Response Patch CallBell: {"contact":{"uuid":"2038d2d99ae543f3b56f1ae54f4cc82b","name":"Daniel Humberto Soto Villegas el boy","phoneNumber":"5214181817609","avatarUrl":null,"createdAt":"2024-01-26T18:16:09Z","closedAt":"2025-02-17T19:00:45Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/2038d2d99ae543f3b56f1ae54f4cc82b","conversationHref":"https://dash.callbell.eu/chat/90611886ac204c56a75240f951c53874","tags":[],"assignedUser":null,"customFields":{"Cliente":"2","Clabe Interbancaria":"0021804341999569810","Fecha Ultima Actualizacion":"📆🔄️ 20/02/2025 13:32","user entry point":"inbound_message","Estado":"🟢 Activo ","Monto Ultimo Pago":"💲 100","user name":"Grisel","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 20/02/2025 13:31 con Tarjeta de crédito Stripe 💳","Saldo Actual":"💲600 pendientes","Nombre":"👤 Daniel Humberto Soto Villegas el boy","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas el boy\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲600 pendientes\",\"Monto Ultimo Pago\": \"💲 100\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 20/02/2025 13:31 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 20/02/2025 13:32\",\"Clabe Interbancaria\": \"\"}","URL":"🌐 https://sistema.siip.mx/crm/client/2"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-20 19:32:03.823172] [notice] Logging level set to:debug -[2025-02-20 19:32:03.977557] [debug] valor el evento recibido por webhook: payment.edit - -[2025-02-20 19:32:03.977726] [debug] Valor de JSON: {"uuid":"d486ac7a-3583-44a0-8cfd-575af6babdeb","changeType":"edit","entity":"payment","entityId":"588","eventName":"payment.edit","extraData":{"entity":{"id":588,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-20T13:31:49-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":665,"invoiceId":1566,"paymentId":588,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":588,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-20T13:31:49-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":665,"invoiceId":1566,"paymentId":588,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]}}} - -[2025-02-21 6:36:58.429267] [notice] Logging level set to:debug -[2025-02-21 6:36:58.508347] [error] Error for request http://localhost/crm/api/v1.0/payments/1. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-22 6:25:05.119362] [notice] Logging level set to:debug -[2025-02-22 6:25:05.406858] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-22 6:25:05.406919] [debug] Valor de JSON: {"uuid":"313bf809-3fea-4a55-b8f7-12cffa9e1f5f","changeType":"overdue","entity":"invoice","entityId":"1550","eventName":"invoice.overdue","extraData":{"entity":{"id":1550,"clientId":110,"number":"001514","createdDate":"2025-02-07T10:00:02-0600","dueDate":"2025-02-21T10:00:02-0600","emailSentDate":"2025-02-22T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1553,"type":"service","label":"plan300 07\/01\/2025 \u2013 06\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":109,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Maria la del Barrio","clientLastName":"Soy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"67 Morelos","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37805","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-22 6:25:05.409857] [debug] Factura vencida - -[2025-02-22 6:25:05.409929] [debug] datos del notification para el invoice overdue:{"uuid":"313bf809-3fea-4a55-b8f7-12cffa9e1f5f","changeType":"overdue","entity":"invoice","entityId":1550,"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"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-2400,"accountCredit":0,"accountOutstanding":2400,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef6c00","addressGpsLat":21.1464449,"addressGpsLon":-100.9141442,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1550,"clientId":110,"number":"001514","createdDate":"2025-02-07T10:00:02-0600","dueDate":"2025-02-21T10:00:02-0600","emailSentDate":"2025-02-22T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1553,"type":"service","label":"plan300 07\/01\/2025 \u2013 06\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":109,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Maria la del Barrio","clientLastName":"Soy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"67 Morelos","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37805","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-22 6:25:05.409956] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-22 6:25:05.418836] [debug] Numero de cel obtenido - -[2025-02-22 6:25:05.418878] [warning] No se encontró un teléfono celular válido para el cliente: 110 -[2025-02-22 6:25:05.614475] [notice] Logging level set to:debug -[2025-02-22 6:25:05.798336] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-22 6:25:05.798386] [debug] Valor de JSON: {"uuid":"655a335a-6a3f-4b82-8ab0-5be1f8d4831a","changeType":"overdue","entity":"invoice","entityId":"1551","eventName":"invoice.overdue","extraData":{"entity":{"id":1551,"clientId":116,"number":"001515","createdDate":"2025-02-07T10:00:02-0600","dueDate":"2025-02-21T10:00:02-0600","emailSentDate":"2025-02-22T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1554,"type":"service","label":"PREMIUM 07\/01\/2025 \u2013 06\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":110,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jos\u00e9 Humberto","clientLastName":"Rodr\u00edguez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"28 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-22 6:25:05.798481] [debug] Factura vencida - -[2025-02-22 6:25:05.798518] [debug] datos del notification para el invoice overdue:{"uuid":"655a335a-6a3f-4b82-8ab0-5be1f8d4831a","changeType":"overdue","entity":"invoice","entityId":1551,"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":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-5600,"accountCredit":0,"accountOutstanding":5600,"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":1551,"clientId":116,"number":"001515","createdDate":"2025-02-07T10:00:02-0600","dueDate":"2025-02-21T10:00:02-0600","emailSentDate":"2025-02-22T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1554,"type":"service","label":"PREMIUM 07\/01\/2025 \u2013 06\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":110,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jos\u00e9 Humberto","clientLastName":"Rodr\u00edguez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"28 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-22 6:25:05.798535] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-22 6:25:05.798587] [debug] Numero de cel obtenido - -[2025-02-22 6:25:05.798598] [warning] No se encontró un teléfono celular válido para el cliente: 116 -[2025-02-22 16:00:04.545353] [notice] Logging level set to:debug -[2025-02-22 16:00:04.704900] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-22 16:00:04.704962] [debug] Valor de JSON: {"uuid":"2b2b8c7d-84cd-4c37-a5f4-830424a0f97a","changeType":"insert","entity":"invoice","entityId":"1576","eventName":"invoice.add_draft","extraData":{"entity":{"id":1576,"clientId":105,"number":"001533","createdDate":"2025-02-22T10:00:01-0600","dueDate":"2025-03-08T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-20T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1579,"type":"service","label":"plan300 21\/01\/2025 \u2013 20\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":111,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"jota","clientLastName":"serpiente","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":null,"clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-22 16:00:04.705313] [debug] Adición de borrador de Factura - -[2025-02-22 16:00:04.705369] [debug] {"uuid":"2b2b8c7d-84cd-4c37-a5f4-830424a0f97a","changeType":"insert","entity":"invoice","entityId":1576,"message":null,"clientId":105,"eventName":"invoice.add_draft","clientData":{"id":105,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":null,"countryId":173,"stateId":null,"zipCode":null,"fullAddress":null,"invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-02-17T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"jota","lastName":"serpiente","username":null,"contacts":[{"id":109,"clientId":105,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-2600,"accountCredit":0,"accountOutstanding":2600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4527a0","addressGpsLat":null,"addressGpsLon":null,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1576,"clientId":105,"number":"001533","createdDate":"2025-02-22T10:00:01-0600","dueDate":"2025-03-08T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1579,"type":"service","label":"plan300 21\/01\/2025 \u2013 20\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":111,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"jota","clientLastName":"serpiente","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":null,"clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-22 16:00:04.859359] [notice] Logging level set to:debug -[2025-02-22 16:00:05.038464] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-22 16:00:05.038516] [debug] Valor de JSON: {"uuid":"9c18d5d9-965f-4c56-a435-7d42aee3f63f","changeType":"draft_approved","entity":"invoice","entityId":"1576","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1576,"clientId":105,"number":"001533","createdDate":"2025-02-22T10:00:01-0600","dueDate":"2025-03-08T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-20T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1579,"type":"service","label":"plan300 21\/01\/2025 \u2013 20\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":111,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"jota","clientLastName":"serpiente","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":null,"clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-22 16:00:05.038616] [debug] Aprobación de Factura - -[2025-02-22 16:00:05.038655] [debug] {"uuid":"9c18d5d9-965f-4c56-a435-7d42aee3f63f","changeType":"draft_approved","entity":"invoice","entityId":1576,"message":null,"clientId":105,"eventName":"invoice.draft_approved","clientData":{"id":105,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":null,"countryId":173,"stateId":null,"zipCode":null,"fullAddress":null,"invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-02-17T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"jota","lastName":"serpiente","username":null,"contacts":[{"id":109,"clientId":105,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-2600,"accountCredit":0,"accountOutstanding":2600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4527a0","addressGpsLat":null,"addressGpsLon":null,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1576,"clientId":105,"number":"001533","createdDate":"2025-02-22T10:00:01-0600","dueDate":"2025-03-08T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1579,"type":"service","label":"plan300 21\/01\/2025 \u2013 20\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":111,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"jota","clientLastName":"serpiente","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":null,"clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-22 16:00:05.960062] [notice] Logging level set to:debug -[2025-02-22 16:00:06.114574] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-22 16:00:06.114631] [debug] Valor de JSON: {"uuid":"188b8e5d-abbd-4d69-a35e-240b844d0032","changeType":"insert","entity":"invoice","entityId":"1577","eventName":"invoice.add_draft","extraData":{"entity":{"id":1577,"clientId":133,"number":"001534","createdDate":"2025-02-22T10:00:01-0600","dueDate":"2025-03-08T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-20T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1580,"type":"service","label":"INTERMEDIO 21\/01\/2025 \u2013 20\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":114,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Los Amigos","clientLastName":"Invisibles","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-22 16:00:06.114743] [debug] Adición de borrador de Factura - -[2025-02-22 16:00:06.114795] [debug] {"uuid":"188b8e5d-abbd-4d69-a35e-240b844d0032","changeType":"insert","entity":"invoice","entityId":1577,"message":null,"clientId":133,"eventName":"invoice.add_draft","clientData":{"id":133,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 34, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Los Amigos","lastName":"Invisibles","username":null,"contacts":[{"id":137,"clientId":133,"email":"amigosinvisibles@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":135,"clientId":133,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJjZqeaZSSPwcT","clientZoneVisible":true},{"id":136,"clientId":133,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180822750421052","clientZoneVisible":true}],"accountBalance":-3833.33,"accountCredit":0,"accountOutstanding":3833.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1568888,"addressGpsLon":-100.9275759,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1577,"clientId":133,"number":"001534","createdDate":"2025-02-22T10:00:01-0600","dueDate":"2025-03-08T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1580,"type":"service","label":"INTERMEDIO 21\/01\/2025 \u2013 20\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":114,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Los Amigos","clientLastName":"Invisibles","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-22 16:00:06.114826] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-22 16:00:06.114836] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Los Amigos Invisibles - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Los Amigos Invisibles","custom_fields":{"Cliente":133,"Domicilio":"\ud83d\udccd Calle Colima 34, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Los Amigos Invisibles","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/133","Saldo Actual":"\ud83d\udcb23833.33 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"133\",\"Domicilio\": \"\ud83d\udccd Calle Colima 34, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Los Amigos Invisibles\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/133\",\"Saldo Actual\": \"\ud83d\udcb23833.33 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 \",\"Estado\": \"\ud83d\udd34 Suspendido\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 22\/02\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/02\/2025 10:00\",\"Clabe Interbancaria\": \"002180822750421052\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 22\/02\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/02\/2025 10:00","Clabe Interbancaria":"002180822750421052"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Los Amigos Invisibles","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-22T08:51:03Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Nombre":"👤 Los Amigos Invisibles","Clabe Interbancaria":"002180822750421052","Monto Ultimo Pago":"💲 ","Estado":"🔴 Suspendido","Cliente":"133","Domicilio":"📍 Calle Colima 34, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 22/02/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Saldo Actual":"💲3833.33 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 22/02/2025 10:00","Resumen":"{\"Cliente\": \"3201\",\"Domicilio\": \"📍 CALLE CHIAPAS #31, ZONA CENTRO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800\",\"Nombre\": \"👤 DANIEL HUMBERTO SOTO VILLEGAS\",\"URL\": \"🌐 https://172.16.5.120/crm/client/3201\",\"Saldo Actual\": \"💲10 a favor\",\"Monto Ultimo Pago\": \"💲 10\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 20/02/2025 23:17 con PayPal 🌐💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 22/02/2025 02:19\",\"Clabe Interbancaria\": \"124180650741646979\"}","URL":"🌐 https://sistema.siip.mx/crm/client/133","user name":"Daniel Humberto 🐁"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-22 16:00:09.064081] [notice] Logging level set to:debug -[2025-02-22 16:00:09.226293] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-22 16:00:09.226346] [debug] Valor de JSON: {"uuid":"a7f605d8-9a8f-48db-b6d1-81131b92b45b","changeType":"draft_approved","entity":"invoice","entityId":"1577","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1577,"clientId":133,"number":"001534","createdDate":"2025-02-22T10:00:01-0600","dueDate":"2025-03-08T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-20T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1580,"type":"service","label":"INTERMEDIO 21\/01\/2025 \u2013 20\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":114,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Los Amigos","clientLastName":"Invisibles","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-22 16:00:09.226455] [debug] Aprobación de Factura - -[2025-02-22 16:00:09.226500] [debug] {"uuid":"a7f605d8-9a8f-48db-b6d1-81131b92b45b","changeType":"draft_approved","entity":"invoice","entityId":1577,"message":null,"clientId":133,"eventName":"invoice.draft_approved","clientData":{"id":133,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 34, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Los Amigos","lastName":"Invisibles","username":null,"contacts":[{"id":137,"clientId":133,"email":"amigosinvisibles@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":135,"clientId":133,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJjZqeaZSSPwcT","clientZoneVisible":true},{"id":136,"clientId":133,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180822750421052","clientZoneVisible":true}],"accountBalance":-3833.33,"accountCredit":0,"accountOutstanding":3833.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1568888,"addressGpsLon":-100.9275759,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1577,"clientId":133,"number":"001534","createdDate":"2025-02-22T10:00:01-0600","dueDate":"2025-03-08T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1580,"type":"service","label":"INTERMEDIO 21\/01\/2025 \u2013 20\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":114,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Los Amigos","clientLastName":"Invisibles","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-22 16:00:09.226547] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-22 16:00:09.226557] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Los Amigos Invisibles - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Los Amigos Invisibles","custom_fields":{"Cliente":133,"Domicilio":"\ud83d\udccd Calle Colima 34, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Los Amigos Invisibles","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/133","Saldo Actual":"\ud83d\udcb23833.33 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"133\",\"Domicilio\": \"\ud83d\udccd Calle Colima 34, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Los Amigos Invisibles\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/133\",\"Saldo Actual\": \"\ud83d\udcb23833.33 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 \",\"Estado\": \"\ud83d\udd34 Suspendido\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 22\/02\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/02\/2025 10:00\",\"Clabe Interbancaria\": \"002180822750421052\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 22\/02\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/02\/2025 10:00","Clabe Interbancaria":"002180822750421052"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Los Amigos Invisibles","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-22T08:51:03Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Nombre":"👤 Los Amigos Invisibles","Clabe Interbancaria":"002180822750421052","Monto Ultimo Pago":"💲 ","Estado":"🔴 Suspendido","Cliente":"133","Domicilio":"📍 Calle Colima 34, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 22/02/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Saldo Actual":"💲3833.33 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 22/02/2025 10:00","Resumen":"{\"Cliente\": \"3201\",\"Domicilio\": \"📍 CALLE CHIAPAS #31, ZONA CENTRO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800\",\"Nombre\": \"👤 DANIEL HUMBERTO SOTO VILLEGAS\",\"URL\": \"🌐 https://172.16.5.120/crm/client/3201\",\"Saldo Actual\": \"💲10 a favor\",\"Monto Ultimo Pago\": \"💲 10\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 20/02/2025 23:17 con PayPal 🌐💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 22/02/2025 02:19\",\"Clabe Interbancaria\": \"124180650741646979\"}","URL":"🌐 https://sistema.siip.mx/crm/client/133","user name":"Daniel Humberto 🐁"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-22 16:00:11.244894] [notice] Logging level set to:debug -[2025-02-22 16:00:11.382137] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-22 16:00:11.382190] [debug] Valor de JSON: {"uuid":"678b39a4-8099-4260-bcf4-92e30f3097c0","changeType":"insert","entity":"invoice","entityId":"1578","eventName":"invoice.add_draft","extraData":{"entity":{"id":1578,"clientId":134,"number":"001535","createdDate":"2025-02-22T10:00:01-0600","dueDate":"2025-03-08T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-20T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1581,"type":"service","label":"PREMIUM 21\/01\/2025 \u2013 20\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":113,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"La Mosca","clientLastName":"Tse Tse","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"25 Michoac\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-22 16:00:11.382294] [debug] Adición de borrador de Factura - -[2025-02-22 16:00:11.382339] [debug] {"uuid":"678b39a4-8099-4260-bcf4-92e30f3097c0","changeType":"insert","entity":"invoice","entityId":1578,"message":null,"clientId":134,"eventName":"invoice.add_draft","clientData":{"id":134,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"25 Michoac\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"La Mosca","lastName":"Tse Tse","username":null,"contacts":[{"id":138,"clientId":134,"email":"lamoscatsetse@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-5600,"accountCredit":0,"accountOutstanding":5600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1576726,"addressGpsLon":-100.9370354,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1578,"clientId":134,"number":"001535","createdDate":"2025-02-22T10:00:01-0600","dueDate":"2025-03-08T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1581,"type":"service","label":"PREMIUM 21\/01\/2025 \u2013 20\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":113,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"La Mosca","clientLastName":"Tse Tse","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"25 Michoac\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-22 16:00:11.382370] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-22 16:00:11.382380] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: La Mosca Tse Tse - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"La Mosca Tse Tse","custom_fields":{"Cliente":134,"Domicilio":"\ud83d\udccd Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 La Mosca Tse Tse","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/134","Saldo Actual":"\ud83d\udcb25600 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"134\",\"Domicilio\": \"\ud83d\udccd Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 La Mosca Tse Tse\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/134\",\"Saldo Actual\": \"\ud83d\udcb25600 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 \",\"Estado\": \"\ud83d\udd34 Suspendido\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 22\/02\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/02\/2025 10:00\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 22\/02\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/02\/2025 10:00","Clabe Interbancaria":null}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"La Mosca Tse Tse","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-22T08:51:03Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Nombre":"👤 La Mosca Tse Tse","Clabe Interbancaria":"002180822750421052","Monto Ultimo Pago":"💲 ","Estado":"🔴 Suspendido","Cliente":"134","Domicilio":"📍 Michoacán 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 22/02/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Saldo Actual":"💲5600 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 22/02/2025 10:00","Resumen":"{\"Cliente\": \"134\",\"Domicilio\": \"📍 Michoacán 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 La Mosca Tse Tse\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/134\",\"Saldo Actual\": \"💲5600 pendientes\",\"Monto Ultimo Pago\": \"💲 \",\"Estado\": \"🔴 Suspendido\",\"Fecha Ultimo Pago\": \"📆💰 22/02/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 22/02/2025 10:00\",\"Clabe Interbancaria\": \"\"}","URL":"🌐 https://sistema.siip.mx/crm/client/134","user name":"Daniel Humberto 🐁"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-22 16:00:13.364706] [notice] Logging level set to:debug -[2025-02-22 16:00:13.510464] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-22 16:00:13.510580] [debug] Valor de JSON: {"uuid":"d01fdddb-9af5-4d30-9085-6ac52a628845","changeType":"draft_approved","entity":"invoice","entityId":"1578","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1578,"clientId":134,"number":"001535","createdDate":"2025-02-22T10:00:01-0600","dueDate":"2025-03-08T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-20T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1581,"type":"service","label":"PREMIUM 21\/01\/2025 \u2013 20\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":113,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"La Mosca","clientLastName":"Tse Tse","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"25 Michoac\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-22 16:00:13.510704] [debug] Aprobación de Factura - -[2025-02-22 16:00:13.510750] [debug] {"uuid":"d01fdddb-9af5-4d30-9085-6ac52a628845","changeType":"draft_approved","entity":"invoice","entityId":1578,"message":null,"clientId":134,"eventName":"invoice.draft_approved","clientData":{"id":134,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"25 Michoac\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"La Mosca","lastName":"Tse Tse","username":null,"contacts":[{"id":138,"clientId":134,"email":"lamoscatsetse@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-5600,"accountCredit":0,"accountOutstanding":5600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1576726,"addressGpsLon":-100.9370354,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1578,"clientId":134,"number":"001535","createdDate":"2025-02-22T10:00:01-0600","dueDate":"2025-03-08T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1581,"type":"service","label":"PREMIUM 21\/01\/2025 \u2013 20\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":113,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"La Mosca","clientLastName":"Tse Tse","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"25 Michoac\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-22 16:00:13.510795] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-22 16:00:13.510960] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: La Mosca Tse Tse - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"La Mosca Tse Tse","custom_fields":{"Cliente":134,"Domicilio":"\ud83d\udccd Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 La Mosca Tse Tse","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/134","Saldo Actual":"\ud83d\udcb25600 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"134\",\"Domicilio\": \"\ud83d\udccd Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 La Mosca Tse Tse\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/134\",\"Saldo Actual\": \"\ud83d\udcb25600 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 \",\"Estado\": \"\ud83d\udd34 Suspendido\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 22\/02\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/02\/2025 10:00\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 22\/02\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/02\/2025 10:00","Clabe Interbancaria":null}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"La Mosca Tse Tse","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-22T08:51:03Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Nombre":"👤 La Mosca Tse Tse","Clabe Interbancaria":"002180822750421052","Monto Ultimo Pago":"💲 ","Estado":"🔴 Suspendido","Cliente":"134","Domicilio":"📍 Michoacán 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 22/02/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Saldo Actual":"💲5600 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 22/02/2025 10:00","Resumen":"{\"Cliente\": \"134\",\"Domicilio\": \"📍 Michoacán 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 La Mosca Tse Tse\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/134\",\"Saldo Actual\": \"💲5600 pendientes\",\"Monto Ultimo Pago\": \"💲 \",\"Estado\": \"🔴 Suspendido\",\"Fecha Ultimo Pago\": \"📆💰 22/02/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 22/02/2025 10:00\",\"Clabe Interbancaria\": \"\"}","URL":"🌐 https://sistema.siip.mx/crm/client/134","user name":"Daniel Humberto 🐁"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-22 16:00:15.543081] [notice] Logging level set to:debug -[2025-02-22 16:00:15.695954] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-22 16:00:15.696013] [debug] Valor de JSON: {"uuid":"353923c8-fc11-42a8-8b76-dbd4802eafb0","changeType":"insert","entity":"invoice","entityId":"1579","eventName":"invoice.add_draft","extraData":{"entity":{"id":1579,"clientId":136,"number":"001536","createdDate":"2025-02-22T10:00:01-0600","dueDate":"2025-03-08T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-20T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1582,"type":"service","label":"INTERMEDIO 21\/01\/2025 \u2013 20\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":112,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Mus","clientLastName":"Tafah","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"22 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-22 16:00:15.696111] [debug] Adición de borrador de Factura - -[2025-02-22 16:00:15.696156] [debug] {"uuid":"353923c8-fc11-42a8-8b76-dbd4802eafb0","changeType":"insert","entity":"invoice","entityId":1579,"message":null,"clientId":136,"eventName":"invoice.add_draft","clientData":{"id":136,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"22 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 22, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Mus","lastName":"Tafah","username":null,"contacts":[{"id":140,"clientId":136,"email":"elmus@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-3833.33,"accountCredit":0,"accountOutstanding":3833.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1571597,"addressGpsLon":-100.9367744,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1579,"clientId":136,"number":"001536","createdDate":"2025-02-22T10:00:01-0600","dueDate":"2025-03-08T10:00:01-0600","emailSentDate":"2025-02-22T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1582,"type":"service","label":"INTERMEDIO 21\/01\/2025 \u2013 20\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":112,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Mus","clientLastName":"Tafah","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"22 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-22 16:00:15.696192] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-22 16:00:15.696202] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: El Mus Tafah - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"El Mus Tafah","custom_fields":{"Cliente":136,"Domicilio":"\ud83d\udccd Yucat\u00e1n 22, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 El Mus Tafah","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/136","Saldo Actual":"\ud83d\udcb23833.33 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"136\",\"Domicilio\": \"\ud83d\udccd Yucat\u00e1n 22, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 El Mus Tafah\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/136\",\"Saldo Actual\": \"\ud83d\udcb23833.33 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 \",\"Estado\": \"\ud83d\udd34 Suspendido\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 22\/02\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/02\/2025 10:00\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 22\/02\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/02\/2025 10:00","Clabe Interbancaria":null}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Mus Tafah","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-22T08:51:03Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Nombre":"👤 El Mus Tafah","Clabe Interbancaria":"002180822750421052","Monto Ultimo Pago":"💲 ","Estado":"🔴 Suspendido","Cliente":"136","Domicilio":"📍 Yucatán 22, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 22/02/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Saldo Actual":"💲3833.33 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 22/02/2025 10:00","Resumen":"{\"Cliente\": \"136\",\"Domicilio\": \"📍 Yucatán 22, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 El Mus Tafah\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/136\",\"Saldo Actual\": \"💲3833.33 pendientes\",\"Monto Ultimo Pago\": \"💲 \",\"Estado\": \"🔴 Suspendido\",\"Fecha Ultimo Pago\": \"📆💰 22/02/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 22/02/2025 10:00\",\"Clabe Interbancaria\": \"\"}","URL":"🌐 https://sistema.siip.mx/crm/client/136","user name":"Daniel Humberto 🐁"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-22 16:00:17.684662] [notice] Logging level set to:debug -[2025-02-22 16:00:17.827779] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-22 16:00:17.827837] [debug] Valor de JSON: {"uuid":"4ee21d3b-5996-4fb4-93df-a7ce4d7ff3d6","changeType":"draft_approved","entity":"invoice","entityId":"1579","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1579,"clientId":136,"number":"001536","createdDate":"2025-02-22T10:00:01-0600","dueDate":"2025-03-08T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-20T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1582,"type":"service","label":"INTERMEDIO 21\/01\/2025 \u2013 20\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":112,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Mus","clientLastName":"Tafah","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"22 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-22 16:00:17.827960] [debug] Aprobación de Factura - -[2025-02-22 16:00:17.828003] [debug] {"uuid":"4ee21d3b-5996-4fb4-93df-a7ce4d7ff3d6","changeType":"draft_approved","entity":"invoice","entityId":1579,"message":null,"clientId":136,"eventName":"invoice.draft_approved","clientData":{"id":136,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"22 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 22, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Mus","lastName":"Tafah","username":null,"contacts":[{"id":140,"clientId":136,"email":"elmus@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-3833.33,"accountCredit":0,"accountOutstanding":3833.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1571597,"addressGpsLon":-100.9367744,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1579,"clientId":136,"number":"001536","createdDate":"2025-02-22T10:00:01-0600","dueDate":"2025-03-08T10:00:01-0600","emailSentDate":"2025-02-22T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1582,"type":"service","label":"INTERMEDIO 21\/01\/2025 \u2013 20\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":112,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Mus","clientLastName":"Tafah","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"22 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-22 16:00:17.828041] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-22 16:00:17.828054] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: El Mus Tafah - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"El Mus Tafah","custom_fields":{"Cliente":136,"Domicilio":"\ud83d\udccd Yucat\u00e1n 22, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 El Mus Tafah","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/136","Saldo Actual":"\ud83d\udcb23833.33 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"136\",\"Domicilio\": \"\ud83d\udccd Yucat\u00e1n 22, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 El Mus Tafah\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/136\",\"Saldo Actual\": \"\ud83d\udcb23833.33 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 \",\"Estado\": \"\ud83d\udd34 Suspendido\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 22\/02\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/02\/2025 10:00\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 22\/02\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/02\/2025 10:00","Clabe Interbancaria":null}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Mus Tafah","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-22T08:51:03Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Nombre":"👤 El Mus Tafah","Clabe Interbancaria":"002180822750421052","Monto Ultimo Pago":"💲 ","Estado":"🔴 Suspendido","Cliente":"136","Domicilio":"📍 Yucatán 22, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 22/02/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Saldo Actual":"💲3833.33 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 22/02/2025 10:00","Resumen":"{\"Cliente\": \"136\",\"Domicilio\": \"📍 Yucatán 22, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 El Mus Tafah\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/136\",\"Saldo Actual\": \"💲3833.33 pendientes\",\"Monto Ultimo Pago\": \"💲 \",\"Estado\": \"🔴 Suspendido\",\"Fecha Ultimo Pago\": \"📆💰 22/02/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 22/02/2025 10:00\",\"Clabe Interbancaria\": \"\"}","URL":"🌐 https://sistema.siip.mx/crm/client/136","user name":"Daniel Humberto 🐁"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-22 17:34:32.372397] [notice] Logging level set to:debug -[2025-02-22 17:34:32.397605] [debug] valor el evento recibido por webhook: job.add - -[2025-02-22 17:34:32.397695] [debug] Valor de JSON: {"uuid":"871a7010-d4e5-40c0-b0a6-0163f1ce2403","changeType":"insert","entity":"job","entityId":"25","eventName":"job.add","extraData":{"entity":{"id":25,"title":"Tarea de pruebas para notificaciones","description":"Es una prueba para el dany boy","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":null}} - -[2025-02-22 17:34:32.397906] [debug] Se ha agregado un nuevo trabajo - -[2025-02-22 17:34:32.397922] [warning] El campo assignedUserId no existe en los datos del evento -[2025-02-22 17:34:32.535746] [notice] Logging level set to:debug -[2025-02-22 17:34:32.568083] [debug] valor el evento recibido por webhook: ticket.edit - -[2025-02-22 17:34:32.568165] [debug] Valor de JSON: {"uuid":"269a492f-b195-4b6f-8864-4ff28577c0b6","changeType":"edit","entity":"ticket","entityId":"12","eventName":"ticket.edit","extraData":{"entity":{"id":12,"subject":"CLIENTE NO TIENE INTERNET","clientId":2,"assignedGroupId":null,"assignedUserId":null,"createdAt":"2025-01-16T13:17:39-0600","emailFromAddress":null,"emailFromName":null,"status":0,"public":false,"lastActivity":"2025-02-22T17:34:32+0000","lastCommentAt":"2025-01-16T13:17:39-0600","isLastActivityByClient":false,"assignedJobIds":[21,23,19,20,25],"phoneFrom":null,"tags":[],"activity":[{"id":43,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-16T13:17:39-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":null,"groupAssignment":null,"type":"comment","comment":{"id":null,"body":"EL CLIENTE DICE QUE YA REINICI\u00d3 EL M\u00d3DEM","emailFromAddress":null,"emailFromName":null,"phoneFrom":null,"attachments":[]}},{"id":44,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-16T13:18:24-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":19,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":45,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-20T04:00:52-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":20,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":46,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-21T08:41:15-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":21,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":49,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-23T04:42:37-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":23,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":52,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-02-22T11:34:32-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":25,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null}]},"entityBeforeEdit":{"id":12,"subject":"CLIENTE NO TIENE INTERNET","clientId":2,"assignedGroupId":null,"assignedUserId":null,"createdAt":"2025-01-16T13:17:39-0600","emailFromAddress":null,"emailFromName":null,"status":0,"public":false,"lastActivity":"2025-01-23T04:42:37-0600","lastCommentAt":"2025-01-16T13:17:39-0600","isLastActivityByClient":false,"assignedJobIds":[21,23,19,20],"phoneFrom":null,"tags":[],"activity":[{"id":43,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-16T13:17:39-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":null,"groupAssignment":null,"type":"comment","comment":{"id":null,"body":"EL CLIENTE DICE QUE YA REINICI\u00d3 EL M\u00d3DEM","emailFromAddress":null,"emailFromName":null,"phoneFrom":null,"attachments":[]}},{"id":44,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-16T13:18:24-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":19,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":45,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-20T04:00:52-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":20,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":46,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-21T08:41:15-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":21,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":49,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-23T04:42:37-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":23,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":52,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-02-22T11:34:32-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":25,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null}]}}} - -[2025-02-22 17:34:32.685445] [notice] Logging level set to:debug -[2025-02-22 17:34:32.714812] [debug] valor el evento recibido por webhook: job.edit - -[2025-02-22 17:34:32.714850] [debug] Valor de JSON: {"uuid":"afc3ba36-0a44-439a-8904-7291f748d74f","changeType":"edit","entity":"job","entityId":"25","eventName":"job.edit","extraData":{"entity":{"id":25,"title":"Tarea de pruebas para notificaciones","description":"Es una prueba para el dany boy","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":25,"title":"Tarea de pruebas para notificaciones","description":"Es una prueba para el dany boy","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} - -[2025-02-22 17:34:32.714937] [debug] Se actualiza un trabajo - -[2025-02-22 17:34:32.714951] [debug] Valor de json_data: {"uuid":"afc3ba36-0a44-439a-8904-7291f748d74f","changeType":"edit","entity":"job","entityId":"25","eventName":"job.edit","extraData":{"entity":{"id":25,"title":"Tarea de pruebas para notificaciones","description":"Es una prueba para el dany boy","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":25,"title":"Tarea de pruebas para notificaciones","description":"Es una prueba para el dany boy","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} -[2025-02-22 17:34:32.714960] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-22 17:34:32.714967] [debug] Los datos entityBeforeEdit y entity contienen el campo assignedUserId -[2025-02-22 17:34:32.714975] [debug] No hubo cambio en el instalador ni en la fecha -[2025-02-22 17:35:00.071139] [notice] Logging level set to:debug -[2025-02-22 17:35:00.101226] [debug] valor el evento recibido por webhook: job.edit - -[2025-02-22 17:35:00.101265] [debug] Valor de JSON: {"uuid":"cb826e3a-971f-42c0-8b62-dc717bc35d6d","changeType":"edit","entity":"job","entityId":"25","eventName":"job.edit","extraData":{"entity":{"id":25,"title":"Tarea de pruebas para notificaciones","description":"Es una prueba para el dany boy","assignedUserId":1015,"clientId":2,"date":"2025-02-22T11:34:59-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":25,"title":"Tarea de pruebas para notificaciones","description":"Es una prueba para el dany boy","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} - -[2025-02-22 17:35:00.101464] [debug] Se actualiza un trabajo - -[2025-02-22 17:35:00.101483] [debug] Valor de json_data: {"uuid":"cb826e3a-971f-42c0-8b62-dc717bc35d6d","changeType":"edit","entity":"job","entityId":"25","eventName":"job.edit","extraData":{"entity":{"id":25,"title":"Tarea de pruebas para notificaciones","description":"Es una prueba para el dany boy","assignedUserId":1015,"clientId":2,"date":"2025-02-22T11:34:59-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":25,"title":"Tarea de pruebas para notificaciones","description":"Es una prueba para el dany boy","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} -[2025-02-22 17:35:00.101490] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-22 17:35:00.101499] [debug] Los datos entityBeforeEdit y entity contienen el campo assignedUserId -[2025-02-22 17:35:00.101506] [debug] El instalador cambió de null a un valor -[2025-02-22 17:35:00.101521] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"cb826e3a-971f-42c0-8b62-dc717bc35d6d","changeType":"edit","entity":"job","entityId":"25","eventName":"job.edit","extraData":{"entity":{"id":25,"title":"Tarea de pruebas para notificaciones","description":"Es una prueba para el dany boy","assignedUserId":1015,"clientId":2,"date":"2025-02-22T11:34:59-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":25,"title":"Tarea de pruebas para notificaciones","description":"Es una prueba para el dany boy","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} - -[2025-02-22 17:35:00.101527] [debug] Valor de $clientId en verifyJobActionToDo: 2 - -[2025-02-22 17:35:00.101535] [debug] Valor de $installerId en verifyJobActionToDo: 1015 - -[2025-02-22 17:35:00.101541] [debug] Valor de $jobId en verifyJobActionToDo: 25 - -[2025-02-22 17:35:00.101591] [debug] Valor de $installersData en verifyJobActionToDo: { - "instaladores": [ - { - "id": 1019, - "nombre": "Mucio Robledo", - "whatsapp": "4181878106" - }, - { - "id": 1173, - "nombre": "Angel Arvizu", - "whatsapp": "4181878106" - }, - { - "id": 1172, - "nombre": "Juan Rostro", - "whatsapp": "4181878106" - }, - { - "id": 1015, - "nombre": "Daniel Humberto", - "whatsapp": "4181878106" - } - ] -} - -[2025-02-22 17:35:00.138951] [debug] Valor de $usersInstallers en verifyJobActionToDo: {"id":1015,"unmsId":"0b6b2233-b5ad-4b2c-a9cd-c2247f73b6bb","email":"dhsv.141089@gmail.com","firstName":"Daniel Humberto ","lastName":"Soto Villegas","username":"danielhumberto","avatarColor":"#00acc1","isActive":true} - -[2025-02-22 17:35:00.138989] [debug] Número de WhatsApp del Instalador: 4181878106 - -[2025-02-22 17:35:00.170238] [debug] Valor de $installerFullName: Daniel Humberto Soto Villegas - -[2025-02-22 17:35:00.237719] [debug] Valor de $arrayClientCRM en verifyJobActionToDo: {"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-600,"accountCredit":0,"accountOutstanding":600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false} - -[2025-02-22 17:35:00.237790] [debug] Dirección completa: Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México - -[2025-02-22 17:35:00.237801] [debug] URL de Google Maps: https://www.google.com/maps?q=21.1564209,-100.9384185 - -[2025-02-22 17:35:00.237888] [debug] Valor de $arrayPhones en verifyJobActionToDo: {"WhatsApp":["5214181878106","5214181817609"]} - -[2025-02-22 17:35:00.237900] [debug] Valor de $clientAllPhonesString en verifyJobActionToDo: 5214181878106,5214181817609 - -[2025-02-22 17:35:00.237910] [debug] Valor de $arrayNumeros en verifyJobActionToDo: ["5214181878106","5214181817609"] - -[2025-02-22 17:35:00.237988] [debug] Valor de $resultados en verifyJobActionToDo: ["5214181878106","5214181817609"] - -[2025-02-22 17:35:00.237998] [debug] Valor de $resultadoFinalNumerosCliente en verifyJobActionToDo: 5214181878106, 5214181817609 - -[2025-02-22 17:35:00.238020] [debug] Se encontró un tipo de contacto whatsapp - -Enviando mensaje de trabajo para el cliente - -Datos de la notificación de trabajo: {"clientFullName":"Daniel Humberto Soto Villegas el boy","jobId":"25","date":"22\/02\/2025 a las 11:34 AM aproximadamente","installerName":"Daniel Humberto Soto Villegas"} - -Debugging: reprogramming = false, changeInstaller = false - -Enviando notificación normal de visita técnica al cliente, valor de reprogramming y valor de changeInstaller - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "text", - "content": { - "text": "S/M" - }, - "template_values": ["*Daniel Humberto Soto Villegas el boy*", "*#25*", "*22/02/2025 a las 11:34 AM aproximadamente*", "*Daniel Humberto Soto Villegas*"], - "template_uuid": "c0ef8228b50a4d9690a2e87bc11e9ab3", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"363717c78b5c4c979ac38e2948a3f40e","status":"enqueued"}} -La notificación fue enviada correctamente con estado: enqueued - -[2025-02-22 17:35:01.108962] [info] Notificación enviada correctamente al contacto 5214181878106 después de 1 intento(s). - -Enviando mensaje de trabajo para el cliente - -Datos de la notificación de trabajo: {"clientFullName":"Daniel Humberto Soto Villegas el boy","jobId":"25","date":"22\/02\/2025 a las 11:34 AM aproximadamente","installerName":"Daniel Humberto Soto Villegas"} - -Debugging: reprogramming = false, changeInstaller = false - -Enviando notificación normal de visita técnica al cliente, valor de reprogramming y valor de changeInstaller - -La cadena CURL que se envia es: { - "to": "5214181817609", - "from": "whatsapp", - "type": "text", - "content": { - "text": "S/M" - }, - "template_values": ["*Daniel Humberto Soto Villegas el boy*", "*#25*", "*22/02/2025 a las 11:34 AM aproximadamente*", "*Daniel Humberto Soto Villegas*"], - "template_uuid": "c0ef8228b50a4d9690a2e87bc11e9ab3", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"03837a4cac944a089508e72e6a698c85","status":"enqueued"}} -La notificación fue enviada correctamente con estado: enqueued - -[2025-02-22 17:35:01.934623] [info] Notificación enviada correctamente al contacto 5214181817609 después de 1 intento(s). - -[2025-02-22 17:35:01.934676] [debug] Valor de $installerWhatsApp en verifyJobActionToDo: 4181878106 - -Enviando mensaje de tarea al instalador - -Datos de la notificación de tarea: {"installerName":"Daniel Humberto Soto Villegas","clientFullName":"[2] Daniel Humberto Soto Villegas el boy","jobId":"25","clientAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","clientWhatsApp":"5214181878106, 5214181817609","date":"22\/02\/2025 a las 11:34 AM aproximadamente","jobDescription":"Es una prueba para el dany boy","gmapsLocation":"https:\/\/www.google.com\/maps?q=21.1564209,-100.9384185"} - -Enviando notificación normal de asignación de tarea al instalador, valor de reprogramming y valor de changeInstaller - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "text", - "content": { - "text": "S/M" - }, - "template_values": ["Daniel Humberto Soto Villegas", "*#25*", "[2] Daniel Humberto Soto Villegas el boy", "Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México", "5214181878106, 5214181817609", "22/02/2025 a las 11:34 AM aproximadamente", "Es una prueba para el dany boy", "https://www.google.com/maps?q=21.1564209,-100.9384185"], - "template_uuid": "b6663394265e4bcdb215369aa9ba0f21", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"bad20e41ffbf41b3aadfeb94839423cd","status":"enqueued"}} -La notificación fue enviada correctamente con estado: enqueued - -[2025-02-24 6:25:03.761882] [notice] Logging level set to:debug -[2025-02-24 6:25:03.941956] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-24 6:25:03.942013] [debug] Valor de JSON: {"uuid":"d944a397-8dd7-4d86-a669-0e690f88e52f","changeType":"overdue","entity":"invoice","entityId":"1553","eventName":"invoice.overdue","extraData":{"entity":{"id":1553,"clientId":118,"number":"001517","createdDate":"2025-02-09T10:00:01-0600","dueDate":"2025-02-23T10:00:01-0600","emailSentDate":"2025-02-24T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-07T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1556,"type":"service","label":"plan300 09\/01\/2025 \u2013 08\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":105,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Toro Sentado","clientLastName":"Ram\u00edrez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"56 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-24 6:25:03.942214] [debug] Factura vencida - -[2025-02-24 6:25:03.942260] [debug] datos del notification para el invoice overdue:{"uuid":"d944a397-8dd7-4d86-a669-0e690f88e52f","changeType":"overdue","entity":"invoice","entityId":1553,"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":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":119,"clientId":118,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180173419260258","clientZoneVisible":true}],"accountBalance":-2700,"accountCredit":0,"accountOutstanding":2700,"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":1553,"clientId":118,"number":"001517","createdDate":"2025-02-09T10:00:01-0600","dueDate":"2025-02-23T10:00:01-0600","emailSentDate":"2025-02-24T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-07T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1556,"type":"service","label":"plan300 09\/01\/2025 \u2013 08\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":105,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Toro Sentado","clientLastName":"Ram\u00edrez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"56 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-24 6:25:03.942301] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-24 6:25:03.942405] [debug] Numero de cel obtenido - -[2025-02-24 6:25:03.942416] [warning] No se encontró un teléfono celular válido para el cliente: 118 -[2025-02-24 8:22:10.874439] [notice] Logging level set to:debug -[2025-02-24 8:22:10.950189] [debug] valor el evento recibido por webhook: client.edit - -[2025-02-24 8:22:10.950279] [debug] Valor de JSON: {"uuid":"d5025e91-b7a4-4566-9a8c-fcbc13d1f69b","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-600,"accountCredit":0,"accountOutstanding":600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-600,"accountCredit":0,"accountOutstanding":600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-02-24 8:22:10.950552] [debug] Se actualiza a un cliente -[2025-02-24 8:22:10.950604] [debug] Valor de json_data: {"uuid":"d5025e91-b7a4-4566-9a8c-fcbc13d1f69b","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-600,"accountCredit":0,"accountOutstanding":600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-600,"accountCredit":0,"accountOutstanding":600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-02-24 8:22:10.950637] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-24 8:22:10.950647] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-02-24 8:22:10.950655] [debug] No hubo cambio de true a false en el campo isLead -[2025-02-24 8:22:10.950663] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-02-24 8:22:10.950670] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-02-24 8:22:10.950676] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-02-24 8:22:10.950685] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-02-24 8:22:10.950716] [debug] {"uuid":"d5025e91-b7a4-4566-9a8c-fcbc13d1f69b","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-600,"accountCredit":0,"accountOutstanding":600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-02-24 8:22:10.950798] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-24 8:22:10.950812] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":588,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-20T13:31:49-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":665,"invoiceId":1566,"paymentId":588,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2600 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 100","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2600 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 100\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 20\/02\/2025 13:31 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/02\/2025 02:22\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 20\/02\/2025 13:31 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/02\/2025 02:22","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas el boy","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-23T13:05:58Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Suspendido"],"assignedUser":null,"customFields":{"Acciones":"NOBOT-SIIP","user entry point":"inbound_message","Nombre":"👤 Daniel Humberto Soto Villegas el boy","Clabe Interbancaria":"0021804341999569810","Monto Ultimo Pago":"💲 100","Estado":"🟢 Activo ","Cliente":"2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 20/02/2025 13:31 con Tarjeta de crédito Stripe 💳","Saldo Actual":"💲600 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 24/02/2025 02:22","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas el boy\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲600 pendientes\",\"Monto Ultimo Pago\": \"💲 100\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 20/02/2025 13:31 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 24/02/2025 02:22\",\"Clabe Interbancaria\": \"0021804341999569810\"}","URL":"🌐 https://sistema.siip.mx/crm/client/2","user name":"Daniel Humberto 🐁"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-24 8:22:18.013405] [notice] Logging level set to:debug -[2025-02-24 8:22:18.039717] [debug] valor el evento recibido por webhook: job.edit - -[2025-02-24 8:22:18.039856] [debug] Valor de JSON: {"uuid":"0b4ef5dd-469e-4369-9b07-2fd0a122e34f","changeType":"edit","entity":"job","entityId":"25","eventName":"job.edit","extraData":{"entity":{"id":25,"title":"Tarea de pruebas para notificaciones","description":"Es una prueba para el dany boy","assignedUserId":1015,"clientId":2,"date":"2025-02-22T11:34:59-0600","duration":60,"status":2,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":25,"title":"Tarea de pruebas para notificaciones","description":"Es una prueba para el dany boy","assignedUserId":1015,"clientId":2,"date":"2025-02-22T11:34:59-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} - -[2025-02-24 8:22:18.040011] [debug] Se actualiza un trabajo - -[2025-02-24 8:22:18.040066] [debug] Valor de json_data: {"uuid":"0b4ef5dd-469e-4369-9b07-2fd0a122e34f","changeType":"edit","entity":"job","entityId":"25","eventName":"job.edit","extraData":{"entity":{"id":25,"title":"Tarea de pruebas para notificaciones","description":"Es una prueba para el dany boy","assignedUserId":1015,"clientId":2,"date":"2025-02-22T11:34:59-0600","duration":60,"status":2,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":25,"title":"Tarea de pruebas para notificaciones","description":"Es una prueba para el dany boy","assignedUserId":1015,"clientId":2,"date":"2025-02-22T11:34:59-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} -[2025-02-24 8:22:18.040103] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-24 8:22:18.040139] [debug] Los datos entityBeforeEdit y entity contienen el campo assignedUserId -[2025-02-24 8:22:18.040175] [debug] No hubo cambio en el instalador ni en la fecha -[2025-02-24 8:23:06.959151] [notice] Logging level set to:debug -[2025-02-24 8:23:06.986632] [debug] valor el evento recibido por webhook: job.edit - -[2025-02-24 8:23:06.986764] [debug] Valor de JSON: {"uuid":"c8d1ab5b-3fee-428b-abc9-40c6fe8a8062","changeType":"edit","entity":"job","entityId":"25","eventName":"job.edit","extraData":{"entity":{"id":25,"title":"Tarea de pruebas para notificaciones","description":"Es una prueba para el dany boy","assignedUserId":1015,"clientId":2,"date":"2025-02-22T11:34:59-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":25,"title":"Tarea de pruebas para notificaciones","description":"Es una prueba para el dany boy","assignedUserId":1015,"clientId":2,"date":"2025-02-22T11:34:59-0600","duration":60,"status":2,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} - -[2025-02-24 8:23:06.987041] [debug] Se actualiza un trabajo - -[2025-02-24 8:23:06.987103] [debug] Valor de json_data: {"uuid":"c8d1ab5b-3fee-428b-abc9-40c6fe8a8062","changeType":"edit","entity":"job","entityId":"25","eventName":"job.edit","extraData":{"entity":{"id":25,"title":"Tarea de pruebas para notificaciones","description":"Es una prueba para el dany boy","assignedUserId":1015,"clientId":2,"date":"2025-02-22T11:34:59-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":25,"title":"Tarea de pruebas para notificaciones","description":"Es una prueba para el dany boy","assignedUserId":1015,"clientId":2,"date":"2025-02-22T11:34:59-0600","duration":60,"status":2,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} -[2025-02-24 8:23:06.987143] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-24 8:23:06.987179] [debug] Los datos entityBeforeEdit y entity contienen el campo assignedUserId -[2025-02-24 8:23:06.987215] [debug] No hubo cambio en el instalador ni en la fecha -[2025-02-24 8:23:52.452259] [notice] Logging level set to:debug -[2025-02-24 8:23:52.476696] [debug] valor el evento recibido por webhook: job.add - -[2025-02-24 8:23:52.476865] [debug] Valor de JSON: {"uuid":"743ddf42-329b-4564-98bb-9f3c70b5a5e7","changeType":"insert","entity":"job","entityId":"26","eventName":"job.add","extraData":{"entity":{"id":26,"title":"HOLA TAREA","description":"SALUDAR","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":null}} - -[2025-02-24 8:23:52.477112] [debug] Se ha agregado un nuevo trabajo - -[2025-02-24 8:23:52.477286] [warning] El campo assignedUserId no existe en los datos del evento -[2025-02-24 8:23:52.589831] [notice] Logging level set to:debug -[2025-02-24 8:23:52.618637] [debug] valor el evento recibido por webhook: ticket.edit - -[2025-02-24 8:23:52.618724] [debug] Valor de JSON: {"uuid":"a418188e-fc20-4f2f-8f28-7f97c60d319d","changeType":"edit","entity":"ticket","entityId":"12","eventName":"ticket.edit","extraData":{"entity":{"id":12,"subject":"CLIENTE NO TIENE INTERNET","clientId":2,"assignedGroupId":null,"assignedUserId":null,"createdAt":"2025-01-16T13:17:39-0600","emailFromAddress":null,"emailFromName":null,"status":0,"public":false,"lastActivity":"2025-02-24T08:23:52+0000","lastCommentAt":"2025-01-16T13:17:39-0600","isLastActivityByClient":false,"assignedJobIds":[21,23,19,20,25,26],"phoneFrom":null,"tags":[],"activity":[{"id":43,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-16T13:17:39-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":null,"groupAssignment":null,"type":"comment","comment":{"id":null,"body":"EL CLIENTE DICE QUE YA REINICI\u00d3 EL M\u00d3DEM","emailFromAddress":null,"emailFromName":null,"phoneFrom":null,"attachments":[]}},{"id":44,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-16T13:18:24-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":19,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":45,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-20T04:00:52-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":20,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":46,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-21T08:41:15-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":21,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":49,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-23T04:42:37-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":23,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":52,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-02-22T11:34:32-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":25,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":53,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-02-24T02:23:52-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":26,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null}]},"entityBeforeEdit":{"id":12,"subject":"CLIENTE NO TIENE INTERNET","clientId":2,"assignedGroupId":null,"assignedUserId":null,"createdAt":"2025-01-16T13:17:39-0600","emailFromAddress":null,"emailFromName":null,"status":0,"public":false,"lastActivity":"2025-02-22T11:34:32-0600","lastCommentAt":"2025-01-16T13:17:39-0600","isLastActivityByClient":false,"assignedJobIds":[21,23,19,20,25],"phoneFrom":null,"tags":[],"activity":[{"id":43,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-16T13:17:39-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":null,"groupAssignment":null,"type":"comment","comment":{"id":null,"body":"EL CLIENTE DICE QUE YA REINICI\u00d3 EL M\u00d3DEM","emailFromAddress":null,"emailFromName":null,"phoneFrom":null,"attachments":[]}},{"id":44,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-16T13:18:24-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":19,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":45,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-20T04:00:52-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":20,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":46,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-21T08:41:15-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":21,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":49,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-23T04:42:37-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":23,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":52,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-02-22T11:34:32-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":25,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":53,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-02-24T02:23:52-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":26,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null}]}}} - -[2025-02-24 8:23:52.734153] [notice] Logging level set to:debug -[2025-02-24 8:23:52.764182] [debug] valor el evento recibido por webhook: job.edit - -[2025-02-24 8:23:52.764297] [debug] Valor de JSON: {"uuid":"d0638f8d-2189-446d-b692-79eb921090b9","changeType":"edit","entity":"job","entityId":"26","eventName":"job.edit","extraData":{"entity":{"id":26,"title":"HOLA TAREA","description":"SALUDAR","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":26,"title":"HOLA TAREA","description":"SALUDAR","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} - -[2025-02-24 8:23:52.764591] [debug] Se actualiza un trabajo - -[2025-02-24 8:23:52.764792] [debug] Valor de json_data: {"uuid":"d0638f8d-2189-446d-b692-79eb921090b9","changeType":"edit","entity":"job","entityId":"26","eventName":"job.edit","extraData":{"entity":{"id":26,"title":"HOLA TAREA","description":"SALUDAR","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":26,"title":"HOLA TAREA","description":"SALUDAR","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} -[2025-02-24 8:23:52.764920] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-24 8:23:52.765032] [debug] Los datos entityBeforeEdit y entity contienen el campo assignedUserId -[2025-02-24 8:23:52.765141] [debug] No hubo cambio en el instalador ni en la fecha -[2025-02-24 8:24:03.677439] [notice] Logging level set to:debug -[2025-02-24 8:24:03.704422] [debug] valor el evento recibido por webhook: job.edit - -[2025-02-24 8:24:03.704555] [debug] Valor de JSON: {"uuid":"f0a75084-fdb3-4a34-9f75-28fd13705a30","changeType":"edit","entity":"job","entityId":"26","eventName":"job.edit","extraData":{"entity":{"id":26,"title":"HOLA TAREA","description":"SALUDAR","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":26,"title":"HOLA TAREA","description":"SALUDAR","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} - -[2025-02-24 8:24:03.704699] [debug] Se actualiza un trabajo - -[2025-02-24 8:24:03.704750] [debug] Valor de json_data: {"uuid":"f0a75084-fdb3-4a34-9f75-28fd13705a30","changeType":"edit","entity":"job","entityId":"26","eventName":"job.edit","extraData":{"entity":{"id":26,"title":"HOLA TAREA","description":"SALUDAR","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":26,"title":"HOLA TAREA","description":"SALUDAR","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} -[2025-02-24 8:24:03.704787] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-24 8:24:03.704823] [debug] Los datos entityBeforeEdit y entity contienen el campo assignedUserId -[2025-02-24 8:24:03.704859] [debug] No hubo cambio en el instalador ni en la fecha -[2025-02-24 8:25:01.531712] [notice] Logging level set to:debug -[2025-02-24 8:25:01.615490] [debug] valor el evento recibido por webhook: job.edit - -[2025-02-24 8:25:01.615686] [debug] Valor de JSON: {"uuid":"fe12962a-02e4-40d0-8c91-ff8432cc1d50","changeType":"edit","entity":"job","entityId":"26","eventName":"job.edit","extraData":{"entity":{"id":26,"title":"HOLA TAREA","description":"SALUDAR","assignedUserId":1015,"clientId":2,"date":"2025-02-24T02:25:01-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":26,"title":"HOLA TAREA","description":"SALUDAR","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} - -[2025-02-24 8:25:01.616010] [debug] Se actualiza un trabajo - -[2025-02-24 8:25:01.616075] [debug] Valor de json_data: {"uuid":"fe12962a-02e4-40d0-8c91-ff8432cc1d50","changeType":"edit","entity":"job","entityId":"26","eventName":"job.edit","extraData":{"entity":{"id":26,"title":"HOLA TAREA","description":"SALUDAR","assignedUserId":1015,"clientId":2,"date":"2025-02-24T02:25:01-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":26,"title":"HOLA TAREA","description":"SALUDAR","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} -[2025-02-24 8:25:01.616116] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-02-24 8:25:01.616153] [debug] Los datos entityBeforeEdit y entity contienen el campo assignedUserId -[2025-02-24 8:25:01.616189] [debug] El instalador cambió de null a un valor -[2025-02-24 8:25:01.616246] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"fe12962a-02e4-40d0-8c91-ff8432cc1d50","changeType":"edit","entity":"job","entityId":"26","eventName":"job.edit","extraData":{"entity":{"id":26,"title":"HOLA TAREA","description":"SALUDAR","assignedUserId":1015,"clientId":2,"date":"2025-02-24T02:25:01-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":26,"title":"HOLA TAREA","description":"SALUDAR","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} - -[2025-02-24 8:25:01.616286] [debug] Valor de $clientId en verifyJobActionToDo: 2 - -[2025-02-24 8:25:01.616322] [debug] Valor de $installerId en verifyJobActionToDo: 1015 - -[2025-02-24 8:25:01.616357] [debug] Valor de $jobId en verifyJobActionToDo: 26 - -[2025-02-24 8:25:01.616444] [debug] Valor de $installersData en verifyJobActionToDo: { - "instaladores": [ - { - "id": 1019, - "nombre": "Mucio Robledo", - "whatsapp": "4181878106" - }, - { - "id": 1173, - "nombre": "Angel Arvizu", - "whatsapp": "4181878106" - }, - { - "id": 1172, - "nombre": "Juan Rostro", - "whatsapp": "4181878106" - }, - { - "id": 1015, - "nombre": "Daniel Humberto", - "whatsapp": "4181878106" - } - ] -} - -[2025-02-24 8:25:01.694329] [debug] Valor de $usersInstallers en verifyJobActionToDo: {"id":1015,"unmsId":"0b6b2233-b5ad-4b2c-a9cd-c2247f73b6bb","email":"dhsv.141089@gmail.com","firstName":"Daniel Humberto ","lastName":"Soto Villegas","username":"danielhumberto","avatarColor":"#00acc1","isActive":true} - -[2025-02-24 8:25:01.694473] [debug] Número de WhatsApp del Instalador: 4181878106 - -[2025-02-24 8:25:01.768939] [debug] Valor de $installerFullName: Daniel Humberto Soto Villegas - -[2025-02-24 8:25:01.876064] [debug] Valor de $arrayClientCRM en verifyJobActionToDo: {"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-600,"accountCredit":0,"accountOutstanding":600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false} - -[2025-02-24 8:25:01.879398] [debug] Dirección completa: Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México - -[2025-02-24 8:25:01.879508] [debug] URL de Google Maps: https://www.google.com/maps?q=21.1564209,-100.9384185 - -[2025-02-24 8:25:01.879622] [debug] Valor de $arrayPhones en verifyJobActionToDo: {"WhatsApp":["5214181878106"]} - -[2025-02-24 8:25:01.879668] [debug] Valor de $clientAllPhonesString en verifyJobActionToDo: 5214181878106,5214181817609 - -[2025-02-24 8:25:01.879705] [debug] Valor de $arrayNumeros en verifyJobActionToDo: ["5214181878106","5214181817609"] - -[2025-02-24 8:25:01.879813] [debug] Valor de $resultados en verifyJobActionToDo: ["5214181878106","5214181817609"] - -[2025-02-24 8:25:01.879853] [debug] Valor de $resultadoFinalNumerosCliente en verifyJobActionToDo: 5214181878106, 5214181817609 - -[2025-02-24 8:25:01.879906] [debug] Se encontró un tipo de contacto whatsapp - -Enviando mensaje de trabajo para el cliente - -Datos de la notificación de trabajo: {"clientFullName":"Daniel Humberto Soto Villegas el boy","jobId":"26","date":"24\/02\/2025 a las 02:25 AM aproximadamente","installerName":"Daniel Humberto Soto Villegas"} - -Debugging: reprogramming = false, changeInstaller = false - -Enviando notificación normal de visita técnica al cliente, valor de reprogramming y valor de changeInstaller - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "text", - "content": { - "text": "S/M" - }, - "template_values": ["*Daniel Humberto Soto Villegas el boy*", "*#26*", "*24/02/2025 a las 02:25 AM aproximadamente*", "*Daniel Humberto Soto Villegas*"], - "template_uuid": "c0ef8228b50a4d9690a2e87bc11e9ab3", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"2400cbf48a1949b193c8a41120076224","status":"enqueued"}} -La notificación fue enviada correctamente con estado: enqueued - -[2025-02-24 8:25:02.712645] [info] Notificación enviada correctamente al contacto 5214181878106 después de 1 intento(s). - -[2025-02-24 8:25:02.712765] [debug] Valor de $installerWhatsApp en verifyJobActionToDo: 4181878106 - -Enviando mensaje de tarea al instalador - -Datos de la notificación de tarea: {"installerName":"Daniel Humberto Soto Villegas","clientFullName":"[2] Daniel Humberto Soto Villegas el boy","jobId":"26","clientAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","clientWhatsApp":"5214181878106, 5214181817609","date":"24\/02\/2025 a las 02:25 AM aproximadamente","jobDescription":"SALUDAR","gmapsLocation":"https:\/\/www.google.com\/maps?q=21.1564209,-100.9384185"} - -Enviando notificación normal de asignación de tarea al instalador, valor de reprogramming y valor de changeInstaller - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "text", - "content": { - "text": "S/M" - }, - "template_values": ["Daniel Humberto Soto Villegas", "*#26*", "[2] Daniel Humberto Soto Villegas el boy", "Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México", "5214181878106, 5214181817609", "24/02/2025 a las 02:25 AM aproximadamente", "SALUDAR", "https://www.google.com/maps?q=21.1564209,-100.9384185"], - "template_uuid": "b6663394265e4bcdb215369aa9ba0f21", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"abc86ade8c82493bb39af71f6dc9c88d","status":"enqueued"}} -La notificación fue enviada correctamente con estado: enqueued - -[2025-02-24 16:00:04.169246] [notice] Logging level set to:debug -[2025-02-24 16:00:04.394965] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-24 16:00:04.395031] [debug] Valor de JSON: {"uuid":"6c6e745f-10be-478e-b4c4-c4e8bf65bf4c","changeType":"insert","entity":"invoice","entityId":"1580","eventName":"invoice.add_draft","extraData":{"entity":{"id":1580,"clientId":126,"number":"001537","createdDate":"2025-02-24T10:00:01-0600","dueDate":"2025-03-10T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-23T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1583,"type":"service","label":"PREMIUM 24\/01\/2025 \u2013 23\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":108,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL INNU","clientLastName":"RATA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-24 16:00:04.395255] [debug] Adición de borrador de Factura - -[2025-02-24 16:00:04.395317] [debug] {"uuid":"6c6e745f-10be-478e-b4c4-c4e8bf65bf4c","changeType":"insert","entity":"invoice","entityId":1580,"message":null,"clientId":126,"eventName":"invoice.add_draft","clientData":{"id":126,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-05-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DANIEL INNU","lastName":"RATA","username":"dhsv.141089@gmail.com","contacts":[{"id":130,"clientId":126,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":127,"clientId":126,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QASKG6Z0Hree1h","clientZoneVisible":true},{"id":128,"clientId":126,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180704572078989","clientZoneVisible":true}],"accountBalance":-2100,"accountCredit":0,"accountOutstanding":2100,"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":1580,"clientId":126,"number":"001537","createdDate":"2025-02-24T10:00:01-0600","dueDate":"2025-03-10T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-22T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1583,"type":"service","label":"PREMIUM 24\/01\/2025 \u2013 23\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":108,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL INNU","clientLastName":"RATA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-24 16:00:04.395397] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-24 16:00:04.395411] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":296,"clientId":126,"methodId":"78e84000-9b5b-44a4-8367-da43df86ce34","checkNumber":null,"createdDate":"2024-06-07T13:36:46-0600","amount":2100,"currencyCode":"MXN","note":null,"receiptSentDate":"2024-06-07T13:37:23-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":337,"invoiceId":495,"paymentId":296,"creditNoteId":null,"refundId":null,"amount":700},{"id":338,"invoiceId":613,"paymentId":296,"creditNoteId":null,"refundId":null,"amount":700},{"id":339,"invoiceId":614,"paymentId":296,"creditNoteId":null,"refundId":null,"amount":700}],"creditAmount":0,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: DANIEL INNU RATA - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"DANIEL INNU RATA","custom_fields":{"Cliente":126,"Domicilio":"\ud83d\udccd Chiapas, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 DANIEL INNU RATA","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/126","Saldo Actual":"\ud83d\udcb22100 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 2100","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"126\",\"Domicilio\": \"\ud83d\udccd Chiapas, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 DANIEL INNU RATA\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/126\",\"Saldo Actual\": \"\ud83d\udcb22100 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 2100\",\"Estado\": \"\ud83d\udd34 Suspendido\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 07\/06\/2024 13:36 con PayPal \ud83c\udf10\ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/02\/2025 10:00\",\"Clabe Interbancaria\": \"002180704572078989\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/06\/2024 13:36 con PayPal \ud83c\udf10\ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/02\/2025 10:00","Clabe Interbancaria":"002180704572078989"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"DANIEL INNU RATA","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-23T13:05:58Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Suspendido"],"assignedUser":null,"customFields":{"Acciones":"NOBOT-SIIP","user entry point":"inbound_message","Nombre":"👤 DANIEL INNU RATA","Clabe Interbancaria":"002180704572078989","Estado":"🔴 Suspendido","Cliente":"126","Domicilio":"📍 Chiapas, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 07/06/2024 13:36 con PayPal 🌐💳","Saldo Actual":"💲2100 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 24/02/2025 10:00","Resumen":"{\"Cliente\": \"126\",\"Domicilio\": \"📍 Chiapas, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 DANIEL INNU RATA\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/126\",\"Saldo Actual\": \"💲2100 pendientes\",\"Monto Ultimo Pago\": \"💲 2100\",\"Estado\": \"🔴 Suspendido\",\"Fecha Ultimo Pago\": \"📆💰 07/06/2024 13:36 con PayPal 🌐💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 24/02/2025 10:00\",\"Clabe Interbancaria\": \"002180704572078989\"}","Monto Ultimo Pago":"💲 2100","URL":"🌐 https://sistema.siip.mx/crm/client/126","user name":"Daniel Humberto 🐁"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-24 16:00:06.444120] [notice] Logging level set to:debug -[2025-02-24 16:00:06.606662] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-24 16:00:06.606723] [debug] Valor de JSON: {"uuid":"b519aa7d-01a3-415a-8c79-866e3cf82cff","changeType":"draft_approved","entity":"invoice","entityId":"1580","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1580,"clientId":126,"number":"001537","createdDate":"2025-02-24T10:00:01-0600","dueDate":"2025-03-10T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-23T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1583,"type":"service","label":"PREMIUM 24\/01\/2025 \u2013 23\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":108,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL INNU","clientLastName":"RATA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-24 16:00:06.606827] [debug] Aprobación de Factura - -[2025-02-24 16:00:06.606878] [debug] {"uuid":"b519aa7d-01a3-415a-8c79-866e3cf82cff","changeType":"draft_approved","entity":"invoice","entityId":1580,"message":null,"clientId":126,"eventName":"invoice.draft_approved","clientData":{"id":126,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-05-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DANIEL INNU","lastName":"RATA","username":"dhsv.141089@gmail.com","contacts":[{"id":130,"clientId":126,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":127,"clientId":126,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QASKG6Z0Hree1h","clientZoneVisible":true},{"id":128,"clientId":126,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180704572078989","clientZoneVisible":true}],"accountBalance":-2100,"accountCredit":0,"accountOutstanding":2100,"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":1580,"clientId":126,"number":"001537","createdDate":"2025-02-24T10:00:01-0600","dueDate":"2025-03-10T10:00:01-0600","emailSentDate":"2025-02-24T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-22T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1583,"type":"service","label":"PREMIUM 24\/01\/2025 \u2013 23\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":108,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL INNU","clientLastName":"RATA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-24 16:00:06.606914] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-24 16:00:06.606925] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":296,"clientId":126,"methodId":"78e84000-9b5b-44a4-8367-da43df86ce34","checkNumber":null,"createdDate":"2024-06-07T13:36:46-0600","amount":2100,"currencyCode":"MXN","note":null,"receiptSentDate":"2024-06-07T13:37:23-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":337,"invoiceId":495,"paymentId":296,"creditNoteId":null,"refundId":null,"amount":700},{"id":338,"invoiceId":613,"paymentId":296,"creditNoteId":null,"refundId":null,"amount":700},{"id":339,"invoiceId":614,"paymentId":296,"creditNoteId":null,"refundId":null,"amount":700}],"creditAmount":0,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: DANIEL INNU RATA - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"DANIEL INNU RATA","custom_fields":{"Cliente":126,"Domicilio":"\ud83d\udccd Chiapas, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 DANIEL INNU RATA","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/126","Saldo Actual":"\ud83d\udcb22100 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 2100","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"126\",\"Domicilio\": \"\ud83d\udccd Chiapas, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 DANIEL INNU RATA\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/126\",\"Saldo Actual\": \"\ud83d\udcb22100 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 2100\",\"Estado\": \"\ud83d\udd34 Suspendido\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 07\/06\/2024 13:36 con PayPal \ud83c\udf10\ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/02\/2025 10:00\",\"Clabe Interbancaria\": \"002180704572078989\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/06\/2024 13:36 con PayPal \ud83c\udf10\ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/02\/2025 10:00","Clabe Interbancaria":"002180704572078989"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"DANIEL INNU RATA","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-23T13:05:58Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Suspendido"],"assignedUser":null,"customFields":{"Acciones":"NOBOT-SIIP","user entry point":"inbound_message","Nombre":"👤 DANIEL INNU RATA","Clabe Interbancaria":"002180704572078989","Estado":"🔴 Suspendido","Cliente":"126","Domicilio":"📍 Chiapas, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 07/06/2024 13:36 con PayPal 🌐💳","Saldo Actual":"💲2100 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 24/02/2025 10:00","Resumen":"{\"Cliente\": \"126\",\"Domicilio\": \"📍 Chiapas, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 DANIEL INNU RATA\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/126\",\"Saldo Actual\": \"💲2100 pendientes\",\"Monto Ultimo Pago\": \"💲 2100\",\"Estado\": \"🔴 Suspendido\",\"Fecha Ultimo Pago\": \"📆💰 07/06/2024 13:36 con PayPal 🌐💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 24/02/2025 10:00\",\"Clabe Interbancaria\": \"002180704572078989\"}","Monto Ultimo Pago":"💲 2100","URL":"🌐 https://sistema.siip.mx/crm/client/126","user name":"Daniel Humberto 🐁"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-24 21:13:28.044778] [notice] Logging level set to:debug -[2025-02-24 21:13:28.141638] [error] Error for request http://localhost/crm/api/v1.0/clients/services/134. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-24 21:13:28.285177] [notice] Logging level set to:debug -[2025-02-24 21:13:28.423075] [debug] valor el evento recibido por webhook: service.add - -[2025-02-24 21:13:28.423173] [debug] Valor de JSON: {"uuid":"3879f385-f140-44ec-a659-d54301bd1955","changeType":"insert","entity":"service","entityId":"136","eventName":"service.add","extraData":{"entity":{"id":136,"prepaid":false,"clientId":2,"status":1,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":134,"prepaid":false,"clientId":2,"status":5,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":"2025-02-23T00:00:00-0600","contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-18T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":null,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-31T00:00:00-0600","unmsClientSiteId":null,"attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}} - -[2025-02-24 21:14:25.037425] [notice] Logging level set to:debug -[2025-02-24 21:14:25.111964] [error] Error for request http://localhost/crm/api/v1.0/clients/services/136. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-24 21:14:25.231237] [notice] Logging level set to:debug -[2025-02-24 21:14:25.360521] [debug] valor el evento recibido por webhook: service.add - -[2025-02-24 21:14:25.360714] [debug] Valor de JSON: {"uuid":"e39d1306-75a6-411b-80ed-65e271314b1c","changeType":"insert","entity":"service","entityId":"137","eventName":"service.add","extraData":{"entity":{"id":137,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":136,"prepaid":false,"clientId":2,"status":5,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":"2025-02-23T00:00:00-0600","contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":null,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":null,"attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}} - -[2025-02-24 21:14:41.811259] [notice] Logging level set to:debug -[2025-02-24 21:14:41.873250] [error] Error for request http://localhost/crm/api/v1.0/clients/services/137. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-24 21:14:42.015350] [notice] Logging level set to:debug -[2025-02-24 21:14:42.151176] [debug] valor el evento recibido por webhook: service.add - -[2025-02-24 21:14:42.151382] [debug] Valor de JSON: {"uuid":"88d2ea78-fa02-40d5-a2ef-472916d53cfb","changeType":"insert","entity":"service","entityId":"138","eventName":"service.add","extraData":{"entity":{"id":138,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":137,"prepaid":false,"clientId":2,"status":5,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":"2025-02-23T00:00:00-0600","contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":null,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":null,"attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}} - -[2025-02-24 21:14:59.528161] [notice] Logging level set to:debug -[2025-02-24 21:14:59.594542] [error] Error for request http://localhost/crm/api/v1.0/invoices/1564. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-24 21:15:00.608517] [notice] Logging level set to:debug -[2025-02-24 21:15:00.716700] [error] Error for request http://localhost/crm/api/v1.0/invoices/1566. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-24 21:15:11.603540] [notice] Logging level set to:debug -[2025-02-24 21:15:11.660046] [error] Error for request http://localhost/crm/api/v1.0/payments/587. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-24 21:15:12.582690] [notice] Logging level set to:debug -[2025-02-24 21:15:12.639950] [error] Error for request http://localhost/crm/api/v1.0/payments/588. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-24 21:15:24.750968] [notice] Logging level set to:debug -[2025-02-24 21:15:24.905296] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-24 21:15:24.905450] [debug] Valor de JSON: {"uuid":"57e09102-8e97-48ba-b55f-5740e638ee54","changeType":"insert","entity":"invoice","entityId":"1581","eventName":"invoice.add_draft","extraData":{"entity":{"id":1581,"clientId":2,"number":"001538","createdDate":"2025-02-24T15:15:23-0600","dueDate":"2025-03-10T15:15:23-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1584,"type":"service","label":"PREMIUM 24\/02\/2025 \u2013 31\/03\/2025","price":700,"quantity":1.1666666666666667,"total":816.6666666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":138,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":816.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":816.67,"amountPaid":0,"totalUntaxed":816.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":816.67,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-24 21:15:24.905708] [debug] Adición de borrador de Factura - -[2025-02-24 21:15:24.905810] [debug] {"uuid":"57e09102-8e97-48ba-b55f-5740e638ee54","changeType":"insert","entity":"invoice","entityId":1581,"message":null,"clientId":2,"eventName":"invoice.add_draft","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-816.67,"accountCredit":0,"accountOutstanding":816.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1581,"clientId":2,"number":"001538","createdDate":"2025-02-24T15:15:23-0600","dueDate":"2025-03-10T15:15:23-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1584,"type":"service","label":"PREMIUM 24\/02\/2025 \u2013 31\/03\/2025","price":700,"quantity":1.1666666666667,"total":816.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":138,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":816.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":816.67,"amountPaid":0,"totalUntaxed":816.67,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":816.67,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-24 21:15:24.905914] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-24 21:15:24.905957] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2816.67 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2816.67 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 \",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 24\/02\/2025 21:15 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/02\/2025 15:15\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 24\/02\/2025 21:15 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/02\/2025 15:15","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"error":{"custom_fields":["Cliente do not exist or are misspelled, please check before retrying"]}} - -[2025-02-24 21:15:26.622029] [notice] Logging level set to:debug -[2025-02-24 21:15:26.760679] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-24 21:15:26.760818] [debug] Valor de JSON: {"uuid":"33f1f0ab-7389-46a6-a277-9edd23ee1d3b","changeType":"draft_approved","entity":"invoice","entityId":"1581","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1581,"clientId":2,"number":"001538","createdDate":"2025-02-24T15:15:23-0600","dueDate":"2025-03-10T15:15:23-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1584,"type":"service","label":"PREMIUM 24\/02\/2025 \u2013 31\/03\/2025","price":700,"quantity":1.1666666666666667,"total":816.6666666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":138,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":816.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":816.67,"amountPaid":0,"totalUntaxed":816.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":816.67,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-24 21:15:26.760951] [debug] Aprobación de Factura - -[2025-02-24 21:15:26.761055] [debug] {"uuid":"33f1f0ab-7389-46a6-a277-9edd23ee1d3b","changeType":"draft_approved","entity":"invoice","entityId":1581,"message":null,"clientId":2,"eventName":"invoice.draft_approved","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-816.67,"accountCredit":0,"accountOutstanding":816.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1581,"clientId":2,"number":"001538","createdDate":"2025-02-24T15:15:23-0600","dueDate":"2025-03-10T15:15:23-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1584,"type":"service","label":"PREMIUM 24\/02\/2025 \u2013 31\/03\/2025","price":700,"quantity":1.1666666666667,"total":816.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":138,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":816.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":816.67,"amountPaid":0,"totalUntaxed":816.67,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":816.67,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-24 21:15:26.761133] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-24 21:15:26.761173] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2816.67 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2816.67 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 \",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 24\/02\/2025 21:15 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/02\/2025 15:15\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 24\/02\/2025 21:15 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/02\/2025 15:15","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"error":{"custom_fields":["Cliente do not exist or are misspelled, please check before retrying"]}} - -[2025-02-24 21:16:53.578789] [notice] Logging level set to:debug -[2025-02-24 21:16:53.695609] [error] Error for request http://localhost/crm/api/v1.0/clients/services/138. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-24 21:16:53.813873] [notice] Logging level set to:debug -[2025-02-24 21:16:53.952159] [debug] valor el evento recibido por webhook: service.add - -[2025-02-24 21:16:53.952367] [debug] Valor de JSON: {"uuid":"6efe54d0-e4e2-4de6-9879-a3f851701ca7","changeType":"insert","entity":"service","entityId":"139","eventName":"service.add","extraData":{"entity":{"id":139,"prepaid":false,"clientId":2,"status":1,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":138,"prepaid":false,"clientId":2,"status":5,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":"2025-02-23T00:00:00-0600","contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":null,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-31T00:00:00-0600","unmsClientSiteId":null,"attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}} - -[2025-02-24 21:17:05.195597] [notice] Logging level set to:debug -[2025-02-24 21:17:05.254460] [error] Error for request http://localhost/crm/api/v1.0/invoices/1581. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-24 21:17:19.455065] [notice] Logging level set to:debug -[2025-02-24 21:17:19.645229] [debug] valor el evento recibido por webhook: invoice.add - -[2025-02-24 21:17:19.645299] [debug] Valor de JSON: {"uuid":"78b8039f-cc13-46df-8bef-a3689e1b8f51","changeType":"insert","entity":"invoice","entityId":"1582","eventName":"invoice.add","extraData":{"entity":{"id":1582,"clientId":2,"number":"001538","createdDate":"2025-02-24T15:17:12-0600","dueDate":"2025-03-10T15:17:12-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1585,"type":"service","label":"Basico 300 24\/02\/2025 \u2013 31\/03\/2025","price":300,"quantity":1.1666666666667,"total":350.00000000001,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":139,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":350,"discount":null,"discountLabel":"Descuento","taxes":[],"total":350,"amountPaid":0,"totalUntaxed":350,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":350,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":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 el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-24 21:17:19.645502] [debug] Adición de Factura - -[2025-02-24 21:17:19.645556] [debug] datos del notification para el invoice add:{"uuid":"78b8039f-cc13-46df-8bef-a3689e1b8f51","changeType":"insert","entity":"invoice","entityId":1582,"message":null,"clientId":2,"eventName":"invoice.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-350,"accountCredit":0,"accountOutstanding":350,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1582,"clientId":2,"number":"001538","createdDate":"2025-02-24T15:17:12-0600","dueDate":"2025-03-10T15:17:12-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1585,"type":"service","label":"Basico 300 24\/02\/2025 \u2013 31\/03\/2025","price":300,"quantity":1.1666666666667,"total":350.00000000001,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":139,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":350,"discount":null,"discountLabel":"Descuento","taxes":[],"total":350,"amountPaid":0,"totalUntaxed":350,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":350,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":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 el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-24 21:17:19.645586] [debug] Account Balance: -350 - -[2025-02-24 21:17:19.645622] [debug] {"uuid":"78b8039f-cc13-46df-8bef-a3689e1b8f51","changeType":"insert","entity":"invoice","entityId":1582,"message":null,"clientId":2,"eventName":"invoice.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-350,"accountCredit":0,"accountOutstanding":350,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1582,"clientId":2,"number":"001538","createdDate":"2025-02-24T15:17:12-0600","dueDate":"2025-03-10T15:17:12-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1585,"type":"service","label":"Basico 300 24\/02\/2025 \u2013 31\/03\/2025","price":300,"quantity":1.1666666666667,"total":350.00000000001,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":139,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":350,"discount":null,"discountLabel":"Descuento","taxes":[],"total":350,"amountPaid":0,"totalUntaxed":350,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":350,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":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 el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-24 21:17:19.645711] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-24 21:17:19.645726] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2350 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2350 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 \",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 24\/02\/2025 21:17 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/02\/2025 15:17\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 24\/02\/2025 21:17 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/02\/2025 15:17","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"error":{"custom_fields":["Cliente do not exist or are misspelled, please check before retrying"]}} - -[2025-02-24 21:18:24.427036] [notice] Logging level set to:debug -[2025-02-24 21:18:24.488980] [error] Error for request http://localhost/crm/api/v1.0/clients/services/139. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-24 21:18:24.603583] [notice] Logging level set to:debug -[2025-02-24 21:18:24.746947] [debug] valor el evento recibido por webhook: service.add - -[2025-02-24 21:18:24.747118] [debug] Valor de JSON: {"uuid":"bf29fd26-7b54-4a3f-9f64-8c2439ddc666","changeType":"insert","entity":"service","entityId":"140","eventName":"service.add","extraData":{"entity":{"id":140,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":139,"prepaid":false,"clientId":2,"status":5,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":"2025-02-23T00:00:00-0600","contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":null,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-31T00:00:00-0600","unmsClientSiteId":null,"attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}} - -[2025-02-24 21:19:20.350112] [notice] Logging level set to:debug -[2025-02-24 21:19:20.418656] [error] Error for request http://localhost/crm/api/v1.0/clients/services/140. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-24 21:19:20.538166] [notice] Logging level set to:debug -[2025-02-24 21:19:20.666774] [debug] valor el evento recibido por webhook: service.add - -[2025-02-24 21:19:20.666975] [debug] Valor de JSON: {"uuid":"fc49e2fb-aa42-42bf-938a-939962e9fbb3","changeType":"insert","entity":"service","entityId":"141","eventName":"service.add","extraData":{"entity":{"id":141,"prepaid":false,"clientId":2,"status":1,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":140,"prepaid":false,"clientId":2,"status":5,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":"2025-02-23T00:00:00-0600","contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":null,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":null,"attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}} - -[2025-02-24 21:19:57.930496] [notice] Logging level set to:debug -[2025-02-24 21:19:58.067117] [debug] valor el evento recibido por webhook: service.edit - -[2025-02-24 21:19:58.067220] [debug] Valor de JSON: {"uuid":"43e028d5-3335-4d53-990e-9ded3c918a64","changeType":"edit","entity":"service","entityId":"141","eventName":"service.edit","extraData":{"entity":{"id":141,"prepaid":false,"clientId":2,"status":1,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":141,"prepaid":false,"clientId":2,"status":1,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"}],"surcharges":[]}}} - -[2025-02-24 21:19:58.067442] [debug] Se editó el servicio a un cliente - -[2025-02-24 21:19:58.067514] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-24 21:19:58.067528] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-02-24 21:19:58.067579] [info] {"uuid":"43e028d5-3335-4d53-990e-9ded3c918a64","changeType":"edit","entity":"service","entityId":141,"message":null,"clientId":2,"eventName":"service.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-350,"accountCredit":0,"accountOutstanding":350,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":141,"prepaid":false,"clientId":2,"status":1,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"}],"surcharges":[]},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas el boy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/02\/2025 15:19"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"DANIEL HUMBERTO SOTO VILLEGAS","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-23T13:05:58Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Suspendido"],"assignedUser":null,"customFields":{"Acciones":"NOBOT-SIIP","user entry point":"inbound_message","Nombre":"👤 DANIEL HUMBERTO SOTO VILLEGAS","Clabe Interbancaria":"124180650741646979","Estado":"🟢 Activo","Sectorial":"3201","Domicilio":"📍 CALLE CHIAPAS #31, ZONA CENTRO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Fecha Ultimo Pago":"📆💸 20/02/2025 23:17 con PayPal 🌐💳","Saldo Actual":"💲10 a favor","Fecha Ultima Actualizacion":"📆🔄️ 24/02/2025 15:19","Resumen":"{\"Cliente\": \"3201\",\"Domicilio\": \"📍 CALLE CHIAPAS #31, ZONA CENTRO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800\",\"Nombre\": \"👤 DANIEL HUMBERTO SOTO VILLEGAS\",\"URL\": \"🌐 https://172.16.5.120/crm/client/3201\",\"Saldo Actual\": \"💲10 a favor\",\"Monto Ultimo Pago\": \"💲 10\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 20/02/2025 23:17 con PayPal 🌐💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 24/02/2025 12:19\",\"Clabe Interbancaria\": \"124180650741646979\"}","Monto Ultimo Pago":"💲 10","URL":"🌐 https://172.16.5.120/crm/client/3201","user name":"Daniel Humberto 🐁"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-24 21:20:03.413271] [notice] Logging level set to:debug -[2025-02-24 21:20:03.632970] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-24 21:20:03.633169] [debug] Valor de JSON: {"uuid":"5b6f1e64-c59f-4924-9cd6-90a576bc1c79","changeType":"insert","entity":"invoice","entityId":"1583","eventName":"invoice.add_draft","extraData":{"entity":{"id":1583,"clientId":2,"number":"001539","createdDate":"2025-02-24T15:20:02-0600","dueDate":"2025-03-10T15:20:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1586,"type":"service","label":"Basico 300 24\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":0.16666666666666666,"total":50,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":141,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":50,"discount":null,"discountLabel":"Descuento","taxes":[],"total":50,"amountPaid":0,"totalUntaxed":50,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":50,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-24 21:20:03.633354] [debug] Adición de borrador de Factura - -[2025-02-24 21:20:03.633449] [debug] {"uuid":"5b6f1e64-c59f-4924-9cd6-90a576bc1c79","changeType":"insert","entity":"invoice","entityId":1583,"message":null,"clientId":2,"eventName":"invoice.add_draft","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-700,"accountCredit":0,"accountOutstanding":700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1583,"clientId":2,"number":"001539","createdDate":"2025-02-24T15:20:02-0600","dueDate":"2025-03-10T15:20:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1586,"type":"service","label":"Basico 300 24\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":0.16666666666667,"total":50,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":141,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":50,"discount":null,"discountLabel":"Descuento","taxes":[],"total":50,"amountPaid":0,"totalUntaxed":50,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":50,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-24 21:20:03.633531] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-24 21:20:03.633574] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2700 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2700 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 \",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 24\/02\/2025 21:20 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/02\/2025 15:20\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 24\/02\/2025 21:20 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/02\/2025 15:20","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"error":{"custom_fields":["Cliente do not exist or are misspelled, please check before retrying"]}} - -[2025-02-24 21:20:05.426286] [notice] Logging level set to:debug -[2025-02-24 21:20:05.578366] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-24 21:20:05.578558] [debug] Valor de JSON: {"uuid":"05da5a80-9128-44c1-b805-1d7c9dc6a5cf","changeType":"draft_approved","entity":"invoice","entityId":"1583","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1583,"clientId":2,"number":"001539","createdDate":"2025-02-24T15:20:02-0600","dueDate":"2025-03-10T15:20:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1586,"type":"service","label":"Basico 300 24\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":0.16666666666666666,"total":50,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":141,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":50,"discount":null,"discountLabel":"Descuento","taxes":[],"total":50,"amountPaid":0,"totalUntaxed":50,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":50,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-24 21:20:05.578768] [debug] Aprobación de Factura - -[2025-02-24 21:20:05.578881] [debug] {"uuid":"05da5a80-9128-44c1-b805-1d7c9dc6a5cf","changeType":"draft_approved","entity":"invoice","entityId":1583,"message":null,"clientId":2,"eventName":"invoice.draft_approved","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-700,"accountCredit":0,"accountOutstanding":700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1583,"clientId":2,"number":"001539","createdDate":"2025-02-24T15:20:02-0600","dueDate":"2025-03-10T15:20:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1586,"type":"service","label":"Basico 300 24\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":0.16666666666667,"total":50,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":141,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":50,"discount":null,"discountLabel":"Descuento","taxes":[],"total":50,"amountPaid":0,"totalUntaxed":50,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":50,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-24 21:20:05.578974] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-24 21:20:05.579031] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2700 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2700 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 \",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 24\/02\/2025 21:20 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/02\/2025 15:20\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 24\/02\/2025 21:20 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/02\/2025 15:20","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"error":{"custom_fields":["Cliente do not exist or are misspelled, please check before retrying"]}} - -[2025-02-24 21:20:07.352206] [notice] Logging level set to:debug -[2025-02-24 21:20:07.520657] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-24 21:20:07.520723] [debug] Valor de JSON: {"uuid":"e18216f2-dcf0-4892-bd7d-01492b1d5e16","changeType":"insert","entity":"invoice","entityId":"1584","eventName":"invoice.add_draft","extraData":{"entity":{"id":1584,"clientId":2,"number":"001540","createdDate":"2025-02-24T15:20:02-0600","dueDate":"2025-03-10T15:20:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1587,"type":"service","label":"Basico 300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":141,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":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 el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-24 21:20:07.520857] [debug] Adición de borrador de Factura - -[2025-02-24 21:20:07.520910] [debug] {"uuid":"e18216f2-dcf0-4892-bd7d-01492b1d5e16","changeType":"insert","entity":"invoice","entityId":1584,"message":null,"clientId":2,"eventName":"invoice.add_draft","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-700,"accountCredit":0,"accountOutstanding":700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1584,"clientId":2,"number":"001540","createdDate":"2025-02-24T15:20:02-0600","dueDate":"2025-03-10T15:20:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1587,"type":"service","label":"Basico 300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":141,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":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 el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-24 21:20:07.520961] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-24 21:20:07.520972] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2700 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2700 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 \",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 24\/02\/2025 21:20 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/02\/2025 15:20\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 24\/02\/2025 21:20 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/02\/2025 15:20","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"error":{"custom_fields":["Cliente do not exist or are misspelled, please check before retrying"]}} - -[2025-02-24 21:20:09.221527] [notice] Logging level set to:debug -[2025-02-24 21:20:09.352931] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-24 21:20:09.353106] [debug] Valor de JSON: {"uuid":"be21a33d-8667-4fc2-ab10-9b5c3ab681ec","changeType":"draft_approved","entity":"invoice","entityId":"1584","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1584,"clientId":2,"number":"001540","createdDate":"2025-02-24T15:20:02-0600","dueDate":"2025-03-10T15:20:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1587,"type":"service","label":"Basico 300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":141,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":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 el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-24 21:20:09.353254] [debug] Aprobación de Factura - -[2025-02-24 21:20:09.353341] [debug] {"uuid":"be21a33d-8667-4fc2-ab10-9b5c3ab681ec","changeType":"draft_approved","entity":"invoice","entityId":1584,"message":null,"clientId":2,"eventName":"invoice.draft_approved","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-700,"accountCredit":0,"accountOutstanding":700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1584,"clientId":2,"number":"001540","createdDate":"2025-02-24T15:20:02-0600","dueDate":"2025-03-10T15:20:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1587,"type":"service","label":"Basico 300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":141,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":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 el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-24 21:20:09.353406] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-24 21:20:09.353449] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2700 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2700 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 \",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 24\/02\/2025 21:20 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/02\/2025 15:20\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 24\/02\/2025 21:20 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/02\/2025 15:20","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"error":{"custom_fields":["Cliente do not exist or are misspelled, please check before retrying"]}} - -[2025-02-24 21:20:26.428982] [notice] Logging level set to:debug -[2025-02-24 21:20:26.570903] [error] Error for request http://localhost/crm/api/v1.0/invoices/1583. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-24 21:20:27.587191] [notice] Logging level set to:debug -[2025-02-24 21:20:27.651053] [error] Error for request http://localhost/crm/api/v1.0/invoices/1584. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-24 21:20:48.363858] [notice] Logging level set to:debug -[2025-02-24 21:20:48.538961] [debug] valor el evento recibido por webhook: service.edit - -[2025-02-24 21:20:48.539176] [debug] Valor de JSON: {"uuid":"98fd9a99-b977-45c8-8751-84cec3311035","changeType":"edit","entity":"service","entityId":"141","eventName":"service.edit","extraData":{"entity":{"id":141,"prepaid":false,"clientId":2,"status":1,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-23T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":141,"prepaid":false,"clientId":2,"status":1,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-31T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"}],"surcharges":[]}}} - -[2025-02-24 21:20:48.539416] [debug] Se editó el servicio a un cliente - -[2025-02-24 21:20:48.539520] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-24 21:20:48.539561] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-02-24 21:20:48.539635] [info] {"uuid":"98fd9a99-b977-45c8-8751-84cec3311035","changeType":"edit","entity":"service","entityId":141,"message":null,"clientId":2,"eventName":"service.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-350,"accountCredit":0,"accountOutstanding":350,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":141,"prepaid":false,"clientId":2,"status":1,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-23T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"}],"surcharges":[]},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas el boy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/02\/2025 15:20"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"DANIEL HUMBERTO SOTO VILLEGAS","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-02-23T13:05:58Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Suspendido"],"assignedUser":null,"customFields":{"Acciones":"NOBOT-SIIP","user entry point":"inbound_message","Nombre":"👤 DANIEL HUMBERTO SOTO VILLEGAS","Clabe Interbancaria":"124180650741646979","Estado":"🟢 Activo","Sectorial":"3201","Domicilio":"📍 CALLE CHIAPAS #31, ZONA CENTRO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Fecha Ultimo Pago":"📆💸 20/02/2025 23:17 con PayPal 🌐💳","Saldo Actual":"💲10 a favor","Fecha Ultima Actualizacion":"📆🔄️ 24/02/2025 15:20","Resumen":"{\"Cliente\": \"3201\",\"Domicilio\": \"📍 CALLE CHIAPAS #31, ZONA CENTRO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800\",\"Nombre\": \"👤 DANIEL HUMBERTO SOTO VILLEGAS\",\"URL\": \"🌐 https://172.16.5.120/crm/client/3201\",\"Saldo Actual\": \"💲10 a favor\",\"Monto Ultimo Pago\": \"💲 10\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 20/02/2025 23:17 con PayPal 🌐💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 24/02/2025 12:19\",\"Clabe Interbancaria\": \"124180650741646979\"}","Monto Ultimo Pago":"💲 10","URL":"🌐 https://172.16.5.120/crm/client/3201","user name":"Daniel Humberto 🐁"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-24 21:20:50.323370] [notice] Logging level set to:debug -[2025-02-24 21:20:50.458435] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-24 21:20:50.458638] [debug] Valor de JSON: {"uuid":"1767d68c-f2db-4166-ade4-2a0b815acb42","changeType":"insert","entity":"invoice","entityId":"1585","eventName":"invoice.add_draft","extraData":{"entity":{"id":1585,"clientId":2,"number":"001539","createdDate":"2025-02-24T15:20:48-0600","dueDate":"2025-03-10T15:20:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1588,"type":"service","label":"Basico 300 24\/02\/2025 \u2013 31\/03\/2025","price":300,"quantity":1.1666666666666667,"total":350,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":141,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":350,"discount":null,"discountLabel":"Descuento","taxes":[],"total":350,"amountPaid":0,"totalUntaxed":350,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":350,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":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 el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-24 21:20:50.458818] [debug] Adición de borrador de Factura - -[2025-02-24 21:20:50.458904] [debug] {"uuid":"1767d68c-f2db-4166-ade4-2a0b815acb42","changeType":"insert","entity":"invoice","entityId":1585,"message":null,"clientId":2,"eventName":"invoice.add_draft","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-700,"accountCredit":0,"accountOutstanding":700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1585,"clientId":2,"number":"001539","createdDate":"2025-02-24T15:20:48-0600","dueDate":"2025-03-10T15:20:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1588,"type":"service","label":"Basico 300 24\/02\/2025 \u2013 31\/03\/2025","price":300,"quantity":1.1666666666667,"total":350,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":141,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":350,"discount":null,"discountLabel":"Descuento","taxes":[],"total":350,"amountPaid":0,"totalUntaxed":350,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":350,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":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 el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-24 21:20:50.458969] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-24 21:20:50.459007] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2700 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2700 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 \",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 24\/02\/2025 21:20 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/02\/2025 15:20\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 24\/02\/2025 21:20 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/02\/2025 15:20","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"error":{"custom_fields":["Cliente do not exist or are misspelled, please check before retrying"]}} - -[2025-02-24 21:20:52.271420] [notice] Logging level set to:debug -[2025-02-24 21:20:52.410140] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-24 21:20:52.410336] [debug] Valor de JSON: {"uuid":"b148cb56-fcc1-4d6a-9ad8-a8fe804a92b0","changeType":"draft_approved","entity":"invoice","entityId":"1585","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1585,"clientId":2,"number":"001539","createdDate":"2025-02-24T15:20:48-0600","dueDate":"2025-03-10T15:20:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1588,"type":"service","label":"Basico 300 24\/02\/2025 \u2013 31\/03\/2025","price":300,"quantity":1.1666666666666667,"total":350,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":141,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":350,"discount":null,"discountLabel":"Descuento","taxes":[],"total":350,"amountPaid":0,"totalUntaxed":350,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":350,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":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 el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-24 21:20:52.410511] [debug] Aprobación de Factura - -[2025-02-24 21:20:52.410594] [debug] {"uuid":"b148cb56-fcc1-4d6a-9ad8-a8fe804a92b0","changeType":"draft_approved","entity":"invoice","entityId":1585,"message":null,"clientId":2,"eventName":"invoice.draft_approved","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-700,"accountCredit":0,"accountOutstanding":700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1585,"clientId":2,"number":"001539","createdDate":"2025-02-24T15:20:48-0600","dueDate":"2025-03-10T15:20:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1588,"type":"service","label":"Basico 300 24\/02\/2025 \u2013 31\/03\/2025","price":300,"quantity":1.1666666666667,"total":350,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":141,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":350,"discount":null,"discountLabel":"Descuento","taxes":[],"total":350,"amountPaid":0,"totalUntaxed":350,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":350,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":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 el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-24 21:20:52.410670] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-24 21:20:52.410710] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2700 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2700 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 \",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 24\/02\/2025 21:20 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/02\/2025 15:20\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 24\/02\/2025 21:20 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/02\/2025 15:20","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"error":{"custom_fields":["Cliente do not exist or are misspelled, please check before retrying"]}} - -[2025-02-24 21:24:21.998574] [notice] Logging level set to:debug -[2025-02-24 21:24:22.109930] [error] Error for request http://localhost/crm/api/v1.0/clients/services/141. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-24 21:24:22.234121] [notice] Logging level set to:debug -[2025-02-24 21:24:22.372273] [debug] valor el evento recibido por webhook: service.add - -[2025-02-24 21:24:22.372479] [debug] Valor de JSON: {"uuid":"632f7b68-c87a-45a9-ae6b-674419a4f544","changeType":"insert","entity":"service","entityId":"142","eventName":"service.add","extraData":{"entity":{"id":142,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":0,"hasIndividualPrice":true,"totalPrice":0,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":141,"prepaid":false,"clientId":2,"status":5,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":"2025-02-23T00:00:00-0600","contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":null,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-31T00:00:00-0600","unmsClientSiteId":null,"attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}} - -[2025-02-24 21:24:28.839353] [notice] Logging level set to:debug -[2025-02-24 21:24:29.002964] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-24 21:24:29.003113] [debug] Valor de JSON: {"uuid":"6d56fa7a-6c16-43f9-ba35-ec0c926203b0","changeType":"insert","entity":"invoice","entityId":"1586","eventName":"invoice.add_draft","extraData":{"entity":{"id":1586,"clientId":2,"number":"001540","createdDate":"2025-02-24T15:24:27-0600","dueDate":"2025-03-10T15:24:27-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1589,"type":"service","label":"PREMIUM 24\/02\/2025 \u2013 31\/03\/2025","price":0,"quantity":1.1666666666666667,"total":0,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":142,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":0,"discount":null,"discountLabel":"Descuento","taxes":[],"total":0,"amountPaid":0,"totalUntaxed":0,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":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 el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-24 21:24:29.003261] [debug] Adición de borrador de Factura - -[2025-02-24 21:24:29.003345] [debug] {"uuid":"6d56fa7a-6c16-43f9-ba35-ec0c926203b0","changeType":"insert","entity":"invoice","entityId":1586,"message":null,"clientId":2,"eventName":"invoice.add_draft","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-700,"accountCredit":0,"accountOutstanding":700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1586,"clientId":2,"number":"001540","createdDate":"2025-02-24T15:24:27-0600","dueDate":"2025-03-10T15:24:27-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1589,"type":"service","label":"PREMIUM 24\/02\/2025 \u2013 31\/03\/2025","price":0,"quantity":1.1666666666667,"total":0,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":142,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":0,"discount":null,"discountLabel":"Descuento","taxes":[],"total":0,"amountPaid":0,"totalUntaxed":0,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":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 el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-24 21:24:29.003463] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-24 21:24:29.003505] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2700 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2700 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 \",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 24\/02\/2025 21:24 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/02\/2025 15:24\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 24\/02\/2025 21:24 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/02\/2025 15:24","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"error":{"custom_fields":["Cliente do not exist or are misspelled, please check before retrying"]}} - -[2025-02-24 21:24:30.775527] [notice] Logging level set to:debug -[2025-02-24 21:24:30.929841] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-24 21:24:30.929908] [debug] Valor de JSON: {"uuid":"9ea13de8-4f82-4539-958c-996ae61e65d4","changeType":"draft_approved","entity":"invoice","entityId":"1586","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1586,"clientId":2,"number":"001540","createdDate":"2025-02-24T15:24:27-0600","dueDate":"2025-03-10T15:24:27-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1589,"type":"service","label":"PREMIUM 24\/02\/2025 \u2013 31\/03\/2025","price":0,"quantity":1.1666666666666667,"total":0,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":142,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":0,"discount":null,"discountLabel":"Descuento","taxes":[],"total":0,"amountPaid":0,"totalUntaxed":0,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":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 el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-24 21:24:30.930008] [debug] Aprobación de Factura - -[2025-02-24 21:24:30.930064] [debug] {"uuid":"9ea13de8-4f82-4539-958c-996ae61e65d4","changeType":"draft_approved","entity":"invoice","entityId":1586,"message":null,"clientId":2,"eventName":"invoice.draft_approved","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-700,"accountCredit":0,"accountOutstanding":700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1586,"clientId":2,"number":"001540","createdDate":"2025-02-24T15:24:27-0600","dueDate":"2025-03-10T15:24:27-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1589,"type":"service","label":"PREMIUM 24\/02\/2025 \u2013 31\/03\/2025","price":0,"quantity":1.1666666666667,"total":0,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":142,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":0,"discount":null,"discountLabel":"Descuento","taxes":[],"total":0,"amountPaid":0,"totalUntaxed":0,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":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 el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-24 21:24:30.930107] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-24 21:24:30.930183] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2700 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2700 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 \",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 24\/02\/2025 21:24 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/02\/2025 15:24\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 24\/02\/2025 21:24 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/02\/2025 15:24","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"error":{"custom_fields":["Cliente do not exist or are misspelled, please check before retrying"]}} - -[2025-02-24 21:25:50.771483] [notice] Logging level set to:debug -[2025-02-24 21:25:50.866686] [error] Error for request http://localhost/crm/api/v1.0/clients/services/142. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-24 21:25:51.010029] [notice] Logging level set to:debug -[2025-02-24 21:25:51.146250] [debug] valor el evento recibido por webhook: service.add - -[2025-02-24 21:25:51.146353] [debug] Valor de JSON: {"uuid":"c223c18e-dc20-4ad4-8ca1-e17901084bf6","changeType":"insert","entity":"service","entityId":"143","eventName":"service.add","extraData":{"entity":{"id":143,"prepaid":false,"clientId":2,"status":1,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":142,"prepaid":false,"clientId":2,"status":5,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":0,"hasIndividualPrice":true,"totalPrice":0,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":"2025-02-23T00:00:00-0600","contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":null,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-31T00:00:00-0600","unmsClientSiteId":null,"attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}} - -[2025-02-24 21:26:17.993328] [notice] Logging level set to:debug -[2025-02-24 21:26:18.116206] [error] Error for request http://localhost/crm/api/v1.0/invoices/1582. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-24 21:26:19.062408] [notice] Logging level set to:debug -[2025-02-24 21:26:19.125724] [error] Error for request http://localhost/crm/api/v1.0/invoices/1585. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-24 21:26:20.057945] [notice] Logging level set to:debug -[2025-02-24 21:26:20.131206] [error] Error for request http://localhost/crm/api/v1.0/invoices/1586. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-24 21:27:00.532973] [notice] Logging level set to:debug -[2025-02-24 21:27:00.596812] [error] Error for request http://localhost/crm/api/v1.0/clients/services/143. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-02-24 21:27:00.716963] [notice] Logging level set to:debug -[2025-02-24 21:27:00.846466] [debug] valor el evento recibido por webhook: service.add - -[2025-02-24 21:27:00.846649] [debug] Valor de JSON: {"uuid":"564ba44d-aa3f-4691-9a19-1240784173a1","changeType":"insert","entity":"service","entityId":"144","eventName":"service.add","extraData":{"entity":{"id":144,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":143,"prepaid":false,"clientId":2,"status":5,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":"2025-02-23T00:00:00-0600","contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":null,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":null,"attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}} - -[2025-02-24 21:27:04.701383] [notice] Logging level set to:debug -[2025-02-24 21:27:04.863321] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-24 21:27:04.863466] [debug] Valor de JSON: {"uuid":"bea5d6af-d226-449f-848b-f80ebbc55d60","changeType":"insert","entity":"invoice","entityId":"1587","eventName":"invoice.add_draft","extraData":{"entity":{"id":1587,"clientId":2,"number":"001538","createdDate":"2025-02-24T15:27:03-0600","dueDate":"2025-03-10T15:27:03-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1590,"type":"service","label":"PREMIUM 24\/02\/2025 \u2013 31\/03\/2025","price":700,"quantity":1.1666666666666667,"total":816.6666666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":144,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":816.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":816.67,"amountPaid":0,"totalUntaxed":816.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":816.67,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-24 21:27:04.863609] [debug] Adición de borrador de Factura - -[2025-02-24 21:27:04.863692] [debug] {"uuid":"bea5d6af-d226-449f-848b-f80ebbc55d60","changeType":"insert","entity":"invoice","entityId":1587,"message":null,"clientId":2,"eventName":"invoice.add_draft","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-816.67,"accountCredit":0,"accountOutstanding":816.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1587,"clientId":2,"number":"001538","createdDate":"2025-02-24T15:27:03-0600","dueDate":"2025-03-10T15:27:03-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1590,"type":"service","label":"PREMIUM 24\/02\/2025 \u2013 31\/03\/2025","price":700,"quantity":1.1666666666667,"total":816.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":144,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":816.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":816.67,"amountPaid":0,"totalUntaxed":816.67,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":816.67,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-24 21:27:04.863806] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-24 21:27:04.863851] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2816.67 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2816.67 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 \",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 24\/02\/2025 21:27 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/02\/2025 15:27\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 24\/02\/2025 21:27 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/02\/2025 15:27","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"error":{"custom_fields":["Cliente do not exist or are misspelled, please check before retrying"]}} - -[2025-02-24 21:27:06.286576] [notice] Logging level set to:debug -[2025-02-24 21:27:06.438740] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-24 21:27:06.438939] [debug] Valor de JSON: {"uuid":"46f0b45e-e31a-49ac-8ca5-c685ecdb2704","changeType":"draft_approved","entity":"invoice","entityId":"1587","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1587,"clientId":2,"number":"001538","createdDate":"2025-02-24T15:27:03-0600","dueDate":"2025-03-10T15:27:03-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1590,"type":"service","label":"PREMIUM 24\/02\/2025 \u2013 31\/03\/2025","price":700,"quantity":1.1666666666666667,"total":816.6666666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":144,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":816.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":816.67,"amountPaid":0,"totalUntaxed":816.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":816.67,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-24 21:27:06.439054] [debug] Aprobación de Factura - -[2025-02-24 21:27:06.439111] [debug] {"uuid":"46f0b45e-e31a-49ac-8ca5-c685ecdb2704","changeType":"draft_approved","entity":"invoice","entityId":1587,"message":null,"clientId":2,"eventName":"invoice.draft_approved","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-816.67,"accountCredit":0,"accountOutstanding":816.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1587,"clientId":2,"number":"001538","createdDate":"2025-02-24T15:27:03-0600","dueDate":"2025-03-10T15:27:03-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1590,"type":"service","label":"PREMIUM 24\/02\/2025 \u2013 31\/03\/2025","price":700,"quantity":1.1666666666667,"total":816.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":144,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":816.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":816.67,"amountPaid":0,"totalUntaxed":816.67,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":816.67,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-24 21:27:06.439152] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-24 21:27:06.439165] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2816.67 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2816.67 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 \",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 24\/02\/2025 21:27 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/02\/2025 15:27\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 24\/02\/2025 21:27 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/02\/2025 15:27","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"error":{"custom_fields":["Cliente do not exist or are misspelled, please check before retrying"]}} - -[2025-02-25 16:00:03.510715] [notice] Logging level set to:debug -[2025-02-25 16:00:03.713716] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-25 16:00:03.713886] [debug] Valor de JSON: {"uuid":"34ac816c-2e46-46c2-a9ba-aa5a315fec43","changeType":"insert","entity":"invoice","entityId":"1588","eventName":"invoice.add_draft","extraData":{"entity":{"id":1588,"clientId":1,"number":"001539","createdDate":"2025-02-25T10:00:01-0600","dueDate":"2025-03-11T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-24T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1591,"type":"service","label":"PREMIUM 18\/02\/2025 \u2013 24\/02\/2025","price":700,"quantity":0.23333333333333334,"total":163.33333333333334,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":132,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":163.33,"discount":null,"discountLabel":"Descuento","taxes":[],"total":163.33,"amountPaid":163.32999999999998,"totalUntaxed":163.33,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":666,"invoiceId":1588,"paymentId":480,"creditNoteId":null,"refundId":null,"amount":40},{"id":667,"invoiceId":1588,"paymentId":490,"creditNoteId":null,"refundId":null,"amount":123.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":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-25 16:00:03.714143] [debug] Adición de borrador de Factura - -[2025-02-25 16:00:03.714248] [debug] {"uuid":"34ac816c-2e46-46c2-a9ba-aa5a315fec43","changeType":"insert","entity":"invoice","entityId":1588,"message":null,"clientId":1,"eventName":"invoice.add_draft","clientData":{"id":1,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true}],"accountBalance":1676.67,"accountCredit":1676.67,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1588,"clientId":1,"number":"001539","createdDate":"2025-02-25T10:00:01-0600","dueDate":"2025-03-11T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-23T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1591,"type":"service","label":"PREMIUM 18\/02\/2025 \u2013 24\/02\/2025","price":700,"quantity":0.23333333333333,"total":163.33333333333,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":132,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":163.33,"discount":null,"discountLabel":"Descuento","taxes":[],"total":163.33,"amountPaid":163.33,"totalUntaxed":163.33,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":666,"invoiceId":1588,"paymentId":480,"creditNoteId":null,"refundId":null,"amount":40},{"id":667,"invoiceId":1588,"paymentId":490,"creditNoteId":null,"refundId":null,"amount":123.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":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-25 16:00:03.714373] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-25 16:00:03.714418] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":585,"clientId":1,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-15T10:28:13-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-02-15T10:28:14-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Don Miguel Ángel Guerrero González - -UUID: 0e53e926ce424db5b9284a75915d24fe - -JSON con los datos a actualizar: {"name":"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","custom_fields":{"Cliente":1,"Domicilio":"\ud83d\udccd Calle Morelos 34, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/1","Saldo Actual":"\ud83d\udcb21676.67 a favor","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\ud83d\udccd Calle Morelos 34, Dolores Hidalgo, 37800\",\"Nombre\": \"\ud83d\udc64 Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/1\",\"Saldo Actual\": \"\ud83d\udcb21676.67 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 300\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 15\/02\/2025 10:28 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 25\/02\/2025 10:00\",\"Clabe Interbancaria\": \"002180697144444854\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 15\/02\/2025 10:28 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 25\/02\/2025 10:00","Clabe Interbancaria":"002180697144444854"}} - -Response Patch CallBell: {"contact":{"uuid":"0e53e926ce424db5b9284a75915d24fe","name":"Don Miguel Ángel Guerrero González","phoneNumber":"5214181148554","avatarUrl":null,"createdAt":"2024-01-26T17:29:28Z","closedAt":null,"source":"whatsapp","href":"https://dash.callbell.eu/contacts/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https://dash.callbell.eu/chat/f017e454a6b94ab297509274216c6795","tags":["SIIP"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clientes Relacionados":"oxxo","Sectorial":"1","Nombre":"👤 Don Miguel Ángel Guerrero González","Clabe Interbancaria":"002180697144444854","Fecha Ultima Actualizacion":"📆🔄️ 25/02/2025 10:00","Monto Ultimo Pago":"💲 300","Acciones":"1","Fecha Ultimo Pago":"📆💸 15/02/2025 10:28 con Tarjeta de crédito Stripe 💳","Domicilio":"📍 Calle Morelos 34, Dolores Hidalgo, 37800","Estado":"🟢 Activo ","Saldo Actual":"💲1676.67 a favor","user name":"Angel","URL":"🌐 https://sistema.siip.mx/crm/client/1","Cliente":"1","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"📍 Calle Morelos 34, Dolores Hidalgo, 37800\",\"Nombre\": \"👤 Don Miguel Ángel Guerrero González\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/1\",\"Saldo Actual\": \"💲1676.67 a favor\",\"Monto Ultimo Pago\": \"💲 300\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 15/02/2025 10:28 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 25/02/2025 10:00\",\"Clabe Interbancaria\": \"002180697144444854\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-25 16:00:05.991471] [notice] Logging level set to:debug -[2025-02-25 16:00:06.151415] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-25 16:00:06.151483] [debug] Valor de JSON: {"uuid":"4884ffea-e536-403e-aa20-3ad38019f509","changeType":"draft_approved","entity":"invoice","entityId":"1588","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1588,"clientId":1,"number":"001539","createdDate":"2025-02-25T10:00:01-0600","dueDate":"2025-03-11T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-24T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1591,"type":"service","label":"PREMIUM 18\/02\/2025 \u2013 24\/02\/2025","price":700,"quantity":0.23333333333333334,"total":163.33333333333334,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":132,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":163.33,"discount":null,"discountLabel":"Descuento","taxes":[],"total":163.33,"amountPaid":163.32999999999998,"totalUntaxed":163.33,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":666,"invoiceId":1588,"paymentId":480,"creditNoteId":null,"refundId":null,"amount":40},{"id":667,"invoiceId":1588,"paymentId":490,"creditNoteId":null,"refundId":null,"amount":123.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":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-25 16:00:06.151587] [debug] Aprobación de Factura - -[2025-02-25 16:00:06.151642] [debug] {"uuid":"4884ffea-e536-403e-aa20-3ad38019f509","changeType":"draft_approved","entity":"invoice","entityId":1588,"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":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true}],"accountBalance":1676.67,"accountCredit":1676.67,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1588,"clientId":1,"number":"001539","createdDate":"2025-02-25T10:00:01-0600","dueDate":"2025-03-11T10:00:01-0600","emailSentDate":"2025-02-25T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-23T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1591,"type":"service","label":"PREMIUM 18\/02\/2025 \u2013 24\/02\/2025","price":700,"quantity":0.23333333333333,"total":163.33333333333,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":132,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":163.33,"discount":null,"discountLabel":"Descuento","taxes":[],"total":163.33,"amountPaid":163.33,"totalUntaxed":163.33,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":666,"invoiceId":1588,"paymentId":480,"creditNoteId":null,"refundId":null,"amount":40},{"id":667,"invoiceId":1588,"paymentId":490,"creditNoteId":null,"refundId":null,"amount":123.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":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-25 16:00:06.151675] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-25 16:00:06.151685] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":585,"clientId":1,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-15T10:28:13-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-02-15T10:28:14-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Don Miguel Ángel Guerrero González - -UUID: 0e53e926ce424db5b9284a75915d24fe - -JSON con los datos a actualizar: {"name":"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","custom_fields":{"Cliente":1,"Domicilio":"\ud83d\udccd Calle Morelos 34, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/1","Saldo Actual":"\ud83d\udcb21676.67 a favor","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\ud83d\udccd Calle Morelos 34, Dolores Hidalgo, 37800\",\"Nombre\": \"\ud83d\udc64 Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/1\",\"Saldo Actual\": \"\ud83d\udcb21676.67 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 300\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 15\/02\/2025 10:28 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 25\/02\/2025 10:00\",\"Clabe Interbancaria\": \"002180697144444854\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 15\/02\/2025 10:28 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 25\/02\/2025 10:00","Clabe Interbancaria":"002180697144444854"}} - -Response Patch CallBell: {"contact":{"uuid":"0e53e926ce424db5b9284a75915d24fe","name":"Don Miguel Ángel Guerrero González","phoneNumber":"5214181148554","avatarUrl":null,"createdAt":"2024-01-26T17:29:28Z","closedAt":null,"source":"whatsapp","href":"https://dash.callbell.eu/contacts/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https://dash.callbell.eu/chat/f017e454a6b94ab297509274216c6795","tags":["SIIP"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clientes Relacionados":"oxxo","Sectorial":"1","Nombre":"👤 Don Miguel Ángel Guerrero González","Clabe Interbancaria":"002180697144444854","Fecha Ultima Actualizacion":"📆🔄️ 25/02/2025 10:00","Monto Ultimo Pago":"💲 300","Acciones":"1","Fecha Ultimo Pago":"📆💸 15/02/2025 10:28 con Tarjeta de crédito Stripe 💳","Domicilio":"📍 Calle Morelos 34, Dolores Hidalgo, 37800","Estado":"🟢 Activo ","Saldo Actual":"💲1676.67 a favor","user name":"Angel","URL":"🌐 https://sistema.siip.mx/crm/client/1","Cliente":"1","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"📍 Calle Morelos 34, Dolores Hidalgo, 37800\",\"Nombre\": \"👤 Don Miguel Ángel Guerrero González\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/1\",\"Saldo Actual\": \"💲1676.67 a favor\",\"Monto Ultimo Pago\": \"💲 300\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 15/02/2025 10:28 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 25/02/2025 10:00\",\"Clabe Interbancaria\": \"002180697144444854\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-27 16:00:03.438308] [notice] Logging level set to:debug -[2025-02-27 16:00:03.580612] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-27 16:00:03.580686] [debug] Valor de JSON: {"uuid":"9d8a3e62-8662-4210-b4d0-ef1a7395cd41","changeType":"insert","entity":"invoice","entityId":"1589","eventName":"invoice.add_draft","extraData":{"entity":{"id":1589,"clientId":1,"number":"001540","createdDate":"2025-02-27T10:00:01-0600","dueDate":"2025-03-13T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1592,"type":"service","label":"plan300 18\/02\/2025 \u2013 26\/02\/2025","price":300,"quantity":0.3,"total":90,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":133,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":90,"discount":null,"discountLabel":"Descuento","taxes":[],"total":90,"amountPaid":90,"totalUntaxed":90,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":668,"invoiceId":1589,"paymentId":490,"creditNoteId":null,"refundId":null,"amount":76.67},{"id":669,"invoiceId":1589,"paymentId":500,"creditNoteId":null,"refundId":null,"amount":13.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":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-27 16:00:03.580904] [debug] Adición de borrador de Factura - -[2025-02-27 16:00:03.580967] [debug] {"uuid":"9d8a3e62-8662-4210-b4d0-ef1a7395cd41","changeType":"insert","entity":"invoice","entityId":1589,"message":null,"clientId":1,"eventName":"invoice.add_draft","clientData":{"id":1,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true}],"accountBalance":1586.67,"accountCredit":1586.67,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1589,"clientId":1,"number":"001540","createdDate":"2025-02-27T10:00:01-0600","dueDate":"2025-03-13T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1592,"type":"service","label":"plan300 18\/02\/2025 \u2013 26\/02\/2025","price":300,"quantity":0.3,"total":90,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":133,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":90,"discount":null,"discountLabel":"Descuento","taxes":[],"total":90,"amountPaid":90,"totalUntaxed":90,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":668,"invoiceId":1589,"paymentId":490,"creditNoteId":null,"refundId":null,"amount":76.67},{"id":669,"invoiceId":1589,"paymentId":500,"creditNoteId":null,"refundId":null,"amount":13.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":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-27 16:00:03.581048] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-27 16:00:03.581063] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":585,"clientId":1,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-15T10:28:13-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-02-15T10:28:14-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Don Miguel Ángel Guerrero González - -UUID: 0e53e926ce424db5b9284a75915d24fe - -JSON con los datos a actualizar: {"name":"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","custom_fields":{"Cliente":1,"Domicilio":"\ud83d\udccd Calle Morelos 34, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/1","Saldo Actual":"\ud83d\udcb21586.67 a favor","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\ud83d\udccd Calle Morelos 34, Dolores Hidalgo, 37800\",\"Nombre\": \"\ud83d\udc64 Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/1\",\"Saldo Actual\": \"\ud83d\udcb21586.67 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 300\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 15\/02\/2025 10:28 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 27\/02\/2025 10:00\",\"Clabe Interbancaria\": \"002180697144444854\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 15\/02\/2025 10:28 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 27\/02\/2025 10:00","Clabe Interbancaria":"002180697144444854"}} - -Response Patch CallBell: {"contact":{"uuid":"0e53e926ce424db5b9284a75915d24fe","name":"Don Miguel Ángel Guerrero González","phoneNumber":"5214181148554","avatarUrl":null,"createdAt":"2024-01-26T17:29:28Z","closedAt":null,"source":"whatsapp","href":"https://dash.callbell.eu/contacts/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https://dash.callbell.eu/chat/f017e454a6b94ab297509274216c6795","tags":["SIIP","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clientes Relacionados":"oxxo","Sectorial":"1","Nombre":"👤 Don Miguel Ángel Guerrero González","Clabe Interbancaria":"002180697144444854","Fecha Ultima Actualizacion":"📆🔄️ 27/02/2025 10:00","Monto Ultimo Pago":"💲 300","Acciones":"1","Fecha Ultimo Pago":"📆💸 15/02/2025 10:28 con Tarjeta de crédito Stripe 💳","Domicilio":"📍 Calle Morelos 34, Dolores Hidalgo, 37800","Estado":"🟢 Activo ","Saldo Actual":"💲1586.67 a favor","user name":"Angel","URL":"🌐 https://sistema.siip.mx/crm/client/1","Cliente":"1","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"📍 Calle Morelos 34, Dolores Hidalgo, 37800\",\"Nombre\": \"👤 Don Miguel Ángel Guerrero González\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/1\",\"Saldo Actual\": \"💲1586.67 a favor\",\"Monto Ultimo Pago\": \"💲 300\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 15/02/2025 10:28 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 27/02/2025 10:00\",\"Clabe Interbancaria\": \"002180697144444854\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-27 16:00:05.665967] [notice] Logging level set to:debug -[2025-02-27 16:00:05.961097] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-27 16:00:05.961162] [debug] Valor de JSON: {"uuid":"baedca1c-8b08-43ae-b840-cb7c7a439136","changeType":"draft_approved","entity":"invoice","entityId":"1589","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1589,"clientId":1,"number":"001540","createdDate":"2025-02-27T10:00:01-0600","dueDate":"2025-03-13T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1592,"type":"service","label":"plan300 18\/02\/2025 \u2013 26\/02\/2025","price":300,"quantity":0.3,"total":90,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":133,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":90,"discount":null,"discountLabel":"Descuento","taxes":[],"total":90,"amountPaid":90,"totalUntaxed":90,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":668,"invoiceId":1589,"paymentId":490,"creditNoteId":null,"refundId":null,"amount":76.67},{"id":669,"invoiceId":1589,"paymentId":500,"creditNoteId":null,"refundId":null,"amount":13.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":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-27 16:00:05.961265] [debug] Aprobación de Factura - -[2025-02-27 16:00:05.961314] [debug] {"uuid":"baedca1c-8b08-43ae-b840-cb7c7a439136","changeType":"draft_approved","entity":"invoice","entityId":1589,"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":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true}],"accountBalance":1586.67,"accountCredit":1586.67,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1589,"clientId":1,"number":"001540","createdDate":"2025-02-27T10:00:01-0600","dueDate":"2025-03-13T10:00:01-0600","emailSentDate":"2025-02-27T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1592,"type":"service","label":"plan300 18\/02\/2025 \u2013 26\/02\/2025","price":300,"quantity":0.3,"total":90,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":133,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":90,"discount":null,"discountLabel":"Descuento","taxes":[],"total":90,"amountPaid":90,"totalUntaxed":90,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":668,"invoiceId":1589,"paymentId":490,"creditNoteId":null,"refundId":null,"amount":76.67},{"id":669,"invoiceId":1589,"paymentId":500,"creditNoteId":null,"refundId":null,"amount":13.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":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-27 16:00:05.961347] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-27 16:00:05.961359] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":585,"clientId":1,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-02-15T10:28:13-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-02-15T10:28:14-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Don Miguel Ángel Guerrero González - -UUID: 0e53e926ce424db5b9284a75915d24fe - -JSON con los datos a actualizar: {"name":"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","custom_fields":{"Cliente":1,"Domicilio":"\ud83d\udccd Calle Morelos 34, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/1","Saldo Actual":"\ud83d\udcb21586.67 a favor","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\ud83d\udccd Calle Morelos 34, Dolores Hidalgo, 37800\",\"Nombre\": \"\ud83d\udc64 Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/1\",\"Saldo Actual\": \"\ud83d\udcb21586.67 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 300\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 15\/02\/2025 10:28 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 27\/02\/2025 10:00\",\"Clabe Interbancaria\": \"002180697144444854\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 15\/02\/2025 10:28 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 27\/02\/2025 10:00","Clabe Interbancaria":"002180697144444854"}} - -Response Patch CallBell: {"contact":{"uuid":"0e53e926ce424db5b9284a75915d24fe","name":"Don Miguel Ángel Guerrero González","phoneNumber":"5214181148554","avatarUrl":null,"createdAt":"2024-01-26T17:29:28Z","closedAt":null,"source":"whatsapp","href":"https://dash.callbell.eu/contacts/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https://dash.callbell.eu/chat/f017e454a6b94ab297509274216c6795","tags":["SIIP","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clientes Relacionados":"oxxo","Sectorial":"1","Nombre":"👤 Don Miguel Ángel Guerrero González","Clabe Interbancaria":"002180697144444854","Fecha Ultima Actualizacion":"📆🔄️ 27/02/2025 10:00","Monto Ultimo Pago":"💲 300","Acciones":"1","Fecha Ultimo Pago":"📆💸 15/02/2025 10:28 con Tarjeta de crédito Stripe 💳","Domicilio":"📍 Calle Morelos 34, Dolores Hidalgo, 37800","Estado":"🟢 Activo ","Saldo Actual":"💲1586.67 a favor","user name":"Angel","URL":"🌐 https://sistema.siip.mx/crm/client/1","Cliente":"1","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"📍 Calle Morelos 34, Dolores Hidalgo, 37800\",\"Nombre\": \"👤 Don Miguel Ángel Guerrero González\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/1\",\"Saldo Actual\": \"💲1586.67 a favor\",\"Monto Ultimo Pago\": \"💲 300\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 15/02/2025 10:28 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 27/02/2025 10:00\",\"Clabe Interbancaria\": \"002180697144444854\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-27 16:00:07.798213] [notice] Logging level set to:debug -[2025-02-27 16:00:07.941385] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-27 16:00:07.941531] [debug] Valor de JSON: {"uuid":"b09b713d-dd3d-4b19-9e7a-13d331a72fab","changeType":"insert","entity":"invoice","entityId":"1590","eventName":"invoice.add_draft","extraData":{"entity":{"id":1590,"clientId":3,"number":"001541","createdDate":"2025-02-27T10:00:01-0600","dueDate":"2025-03-13T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1593,"type":"service","label":"plan300 27\/01\/2025 \u2013 26\/02\/2025","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},"entityBeforeEdit":null}} - -[2025-02-27 16:00:07.941803] [debug] Adición de borrador de Factura - -[2025-02-27 16:00:07.941900] [debug] {"uuid":"b09b713d-dd3d-4b19-9e7a-13d331a72fab","changeType":"insert","entity":"invoice","entityId":1590,"message":null,"clientId":3,"eventName":"invoice.add_draft","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":"5214181577623","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}],"accountBalance":-900,"accountCredit":0,"accountOutstanding":900,"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":1590,"clientId":3,"number":"001541","createdDate":"2025-02-27T10:00:01-0600","dueDate":"2025-03-13T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1593,"type":"service","label":"plan300 27\/01\/2025 \u2013 26\/02\/2025","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},"paymentData":null} - -[2025-02-27 16:00:08.055283] [notice] Logging level set to:debug -[2025-02-27 16:00:08.219214] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-27 16:00:08.219372] [debug] Valor de JSON: {"uuid":"5fdc61d1-dbaf-4869-b3e3-6bee57e032c8","changeType":"draft_approved","entity":"invoice","entityId":"1590","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1590,"clientId":3,"number":"001541","createdDate":"2025-02-27T10:00:01-0600","dueDate":"2025-03-13T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1593,"type":"service","label":"plan300 27\/01\/2025 \u2013 26\/02\/2025","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},"entityBeforeEdit":null}} - -[2025-02-27 16:00:08.219512] [debug] Aprobación de Factura - -[2025-02-27 16:00:08.219594] [debug] {"uuid":"5fdc61d1-dbaf-4869-b3e3-6bee57e032c8","changeType":"draft_approved","entity":"invoice","entityId":1590,"message":null,"clientId":3,"eventName":"invoice.draft_approved","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":"5214181577623","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}],"accountBalance":-900,"accountCredit":0,"accountOutstanding":900,"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":1590,"clientId":3,"number":"001541","createdDate":"2025-02-27T10:00:01-0600","dueDate":"2025-03-13T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1593,"type":"service","label":"plan300 27\/01\/2025 \u2013 26\/02\/2025","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},"paymentData":null} - -[2025-02-27 16:00:09.048444] [notice] Logging level set to:debug -[2025-02-27 16:00:09.184433] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-27 16:00:09.184586] [debug] Valor de JSON: {"uuid":"7eb8c3cc-943d-44f5-9c8c-251ca247a821","changeType":"insert","entity":"invoice","entityId":"1591","eventName":"invoice.add_draft","extraData":{"entity":{"id":1591,"clientId":4,"number":"001542","createdDate":"2025-02-27T10:00:01-0600","dueDate":"2025-03-13T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1594,"type":"service","label":"plan300 27\/01\/2025 \u2013 26\/02\/2025","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},"entityBeforeEdit":null}} - -[2025-02-27 16:00:09.184712] [debug] Adición de borrador de Factura - -[2025-02-27 16:00:09.184792] [debug] {"uuid":"7eb8c3cc-943d-44f5-9c8c-251ca247a821","changeType":"insert","entity":"invoice","entityId":1591,"message":null,"clientId":4,"eventName":"invoice.add_draft","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":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1591,"clientId":4,"number":"001542","createdDate":"2025-02-27T10:00:01-0600","dueDate":"2025-03-13T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1594,"type":"service","label":"plan300 27\/01\/2025 \u2013 26\/02\/2025","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},"paymentData":null} - -[2025-02-27 16:00:09.184865] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-27 16:00:09.184907] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-02-27 16:00:19.179371] [notice] Logging level set to:debug -[2025-02-27 16:00:19.341376] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-27 16:00:19.341447] [debug] Valor de JSON: {"uuid":"694acf65-5504-476e-9af3-0d85076c2657","changeType":"draft_approved","entity":"invoice","entityId":"1591","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1591,"clientId":4,"number":"001542","createdDate":"2025-02-27T10:00:01-0600","dueDate":"2025-03-13T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1594,"type":"service","label":"plan300 27\/01\/2025 \u2013 26\/02\/2025","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},"entityBeforeEdit":null}} - -[2025-02-27 16:00:19.341691] [debug] Aprobación de Factura - -[2025-02-27 16:00:19.341746] [debug] {"uuid":"694acf65-5504-476e-9af3-0d85076c2657","changeType":"draft_approved","entity":"invoice","entityId":1591,"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":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1591,"clientId":4,"number":"001542","createdDate":"2025-02-27T10:00:01-0600","dueDate":"2025-03-13T10:00:01-0600","emailSentDate":"2025-02-27T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1594,"type":"service","label":"plan300 27\/01\/2025 \u2013 26\/02\/2025","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},"paymentData":null} - -[2025-02-27 16:00:19.341819] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-27 16:00:19.341833] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Griselda Avalos - -UUID: 6620b434a8594fc489e18e90363d59bd - -JSON con los datos a actualizar: {"name":"Griselda Avalos","custom_fields":{"Cliente":4,"Domicilio":"\ud83d\udccd Yucat\u00e1n 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Griselda Avalos","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/4","Saldo Actual":"\ud83d\udcb24200 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"4\",\"Domicilio\": \"\ud83d\udccd Yucat\u00e1n 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Griselda Avalos\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/4\",\"Saldo Actual\": \"\ud83d\udcb24200 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 \",\"Estado\": \"\ud83d\udd34 Suspendido\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 27\/02\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 27\/02\/2025 10:00\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 27\/02\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 27\/02\/2025 10:00","Clabe Interbancaria":null}} - -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","href":"https://dash.callbell.eu/contacts/6620b434a8594fc489e18e90363d59bd","conversationHref":"https://dash.callbell.eu/chat/1a14b3d2ad4141fa8447878f95cce1d6","tags":[],"assignedUser":null,"customFields":{"Sectorial":"4","Domicilio":"📍 Yucatán 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 27/02/2025 10:00","Monto Ultimo Pago":"💲 ","Nombre":"👤 Griselda Avalos","Saldo Actual":"💲4200 pendientes","Cliente":"4","Fecha Ultimo Pago":"📆💸 27/02/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Resumen":"{\"Cliente\": \"4\",\"Domicilio\": \"📍 Yucatán 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Griselda Avalos\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/4\",\"Saldo Actual\": \"💲4200 pendientes\",\"Monto Ultimo Pago\": \"💲 \",\"Estado\": \"🔴 Suspendido\",\"Fecha Ultimo Pago\": \"📆💰 27/02/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 27/02/2025 10:00\",\"Clabe Interbancaria\": \"\"}","URL":"🌐 https://sistema.siip.mx/crm/client/4"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-28 6:25:03.233257] [notice] Logging level set to:debug -[2025-02-28 6:25:03.460489] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-02-28 6:25:03.460695] [debug] Valor de JSON: {"uuid":"87c8b1ff-606a-449e-b343-50449d39401a","changeType":"overdue","entity":"invoice","entityId":"1556","eventName":"invoice.overdue","extraData":{"entity":{"id":1556,"clientId":146,"number":"001519","createdDate":"2025-02-13T14:41:59-0600","dueDate":"2025-02-27T14:41:59-0600","emailSentDate":"2025-02-28T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-13T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1559,"type":"service","label":"Basico 300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":131,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 6:25:03.460952] [debug] Factura vencida - -[2025-02-28 6:25:03.461040] [debug] datos del notification para el invoice overdue:{"uuid":"87c8b1ff-606a-449e-b343-50449d39401a","changeType":"overdue","entity":"invoice","entityId":1556,"message":null,"clientId":146,"eventName":"invoice.overdue","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"4188897415","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true}],"accountBalance":-800,"accountCredit":0,"accountOutstanding":800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":4,"name":"EQUIPO A CREDITO","colorBackground":"#fed74a","colorText":"#444"}],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1556,"clientId":146,"number":"001519","createdDate":"2025-02-13T14:41:59-0600","dueDate":"2025-02-27T14:41:59-0600","emailSentDate":"2025-02-28T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-13T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1559,"type":"service","label":"Basico 300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":131,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 6:25:03.461105] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-02-28 6:25:03.461250] [debug] Numero de cel obtenido - -[2025-02-28 6:25:03.461297] [warning] No se encontró un teléfono celular válido para el cliente: 146 -[2025-02-28 16:00:03.859440] [notice] Logging level set to:debug -[2025-02-28 16:00:04.009769] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:00:04.009835] [debug] Valor de JSON: {"uuid":"e12abe23-a161-4c03-93cc-a8994b5562e8","changeType":"insert","entity":"invoice","entityId":"1592","eventName":"invoice.add_draft","extraData":{"entity":{"id":1592,"clientId":7,"number":"001543","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1595,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":7,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JESUS","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:04.010065] [debug] Adición de borrador de Factura - -[2025-02-28 16:00:04.010122] [debug] {"uuid":"e12abe23-a161-4c03-93cc-a8994b5562e8","changeType":"insert","entity":"invoice","entityId":1592,"message":null,"clientId":7,"eventName":"invoice.add_draft","clientData":{"id":7,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"ADJUNTAS DEL RIO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"ADJUNTAS DEL RIO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JESUS","lastName":"GONZALEZ","username":"jgonzalez07","contacts":[{"id":8,"clientId":7,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1592,"clientId":7,"number":"001543","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1595,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":7,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JESUS","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:04.166449] [notice] Logging level set to:debug -[2025-02-28 16:00:04.309869] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:00:04.309933] [debug] Valor de JSON: {"uuid":"5423239b-cb43-416e-8501-d812c7cf1b87","changeType":"draft_approved","entity":"invoice","entityId":"1592","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1592,"clientId":7,"number":"001543","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1595,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":7,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JESUS","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:04.310034] [debug] Aprobación de Factura - -[2025-02-28 16:00:04.310084] [debug] {"uuid":"5423239b-cb43-416e-8501-d812c7cf1b87","changeType":"draft_approved","entity":"invoice","entityId":1592,"message":null,"clientId":7,"eventName":"invoice.draft_approved","clientData":{"id":7,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"ADJUNTAS DEL RIO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"ADJUNTAS DEL RIO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JESUS","lastName":"GONZALEZ","username":"jgonzalez07","contacts":[{"id":8,"clientId":7,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1592,"clientId":7,"number":"001543","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1595,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":7,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JESUS","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:05.317384] [notice] Logging level set to:debug -[2025-02-28 16:00:05.460689] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:00:05.460782] [debug] Valor de JSON: {"uuid":"51566942-5484-4b9d-83f1-46ff5a5e4afc","changeType":"insert","entity":"invoice","entityId":"1593","eventName":"invoice.add_draft","extraData":{"entity":{"id":1593,"clientId":43,"number":"001544","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1596,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":42,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"VICTORIO","clientLastName":"DIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:05.460926] [debug] Adición de borrador de Factura - -[2025-02-28 16:00:05.460988] [debug] {"uuid":"51566942-5484-4b9d-83f1-46ff5a5e4afc","changeType":"insert","entity":"invoice","entityId":1593,"message":null,"clientId":43,"eventName":"invoice.add_draft","clientData":{"id":43,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LAS FLORES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LAS FLORES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"VICTORIO","lastName":"DIAS","username":"vdias43","contacts":[{"id":44,"clientId":43,"email":null,"phone":"4181818706","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-9123.33,"accountCredit":0,"accountOutstanding":9123.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":1593,"clientId":43,"number":"001544","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1596,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":42,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"VICTORIO","clientLastName":"DIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:05.577101] [notice] Logging level set to:debug -[2025-02-28 16:00:05.716590] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:00:05.716778] [debug] Valor de JSON: {"uuid":"4edadc3f-327a-4a35-838e-9d277c99dc77","changeType":"draft_approved","entity":"invoice","entityId":"1593","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1593,"clientId":43,"number":"001544","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1596,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":42,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"VICTORIO","clientLastName":"DIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:05.716934] [debug] Aprobación de Factura - -[2025-02-28 16:00:05.717020] [debug] {"uuid":"4edadc3f-327a-4a35-838e-9d277c99dc77","changeType":"draft_approved","entity":"invoice","entityId":1593,"message":null,"clientId":43,"eventName":"invoice.draft_approved","clientData":{"id":43,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LAS FLORES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LAS FLORES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"VICTORIO","lastName":"DIAS","username":"vdias43","contacts":[{"id":44,"clientId":43,"email":null,"phone":"4181818706","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-9123.33,"accountCredit":0,"accountOutstanding":9123.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":1593,"clientId":43,"number":"001544","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1596,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":42,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"VICTORIO","clientLastName":"DIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:06.717907] [notice] Logging level set to:debug -[2025-02-28 16:00:06.879214] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:00:06.879281] [debug] Valor de JSON: {"uuid":"1b40bed6-d7ce-4270-9de8-a9fa4a133b90","changeType":"insert","entity":"invoice","entityId":"1594","eventName":"invoice.add_draft","extraData":{"entity":{"id":1594,"clientId":68,"number":"001545","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1597,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":67,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DOLORES","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:06.879400] [debug] Adición de borrador de Factura - -[2025-02-28 16:00:06.879451] [debug] {"uuid":"1b40bed6-d7ce-4270-9de8-a9fa4a133b90","changeType":"insert","entity":"invoice","entityId":1594,"message":null,"clientId":68,"eventName":"invoice.add_draft","clientData":{"id":68,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DOLORES","lastName":"GARCIA","username":"dgarcia68","contacts":[{"id":69,"clientId":68,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#9e9d24","addressGpsLat":21.2516667,"addressGpsLon":-101.0924998,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1594,"clientId":68,"number":"001545","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1597,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":67,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DOLORES","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:06.992886] [notice] Logging level set to:debug -[2025-02-28 16:00:07.127408] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:00:07.127558] [debug] Valor de JSON: {"uuid":"9a6a4d2a-f11a-4d43-9c3e-f58800bc1b6b","changeType":"draft_approved","entity":"invoice","entityId":"1594","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1594,"clientId":68,"number":"001545","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1597,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":67,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DOLORES","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:07.127697] [debug] Aprobación de Factura - -[2025-02-28 16:00:07.127782] [debug] {"uuid":"9a6a4d2a-f11a-4d43-9c3e-f58800bc1b6b","changeType":"draft_approved","entity":"invoice","entityId":1594,"message":null,"clientId":68,"eventName":"invoice.draft_approved","clientData":{"id":68,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DOLORES","lastName":"GARCIA","username":"dgarcia68","contacts":[{"id":69,"clientId":68,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#9e9d24","addressGpsLat":21.2516667,"addressGpsLon":-101.0924998,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1594,"clientId":68,"number":"001545","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1597,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":67,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DOLORES","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:08.040349] [notice] Logging level set to:debug -[2025-02-28 16:00:08.178553] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:00:08.178714] [debug] Valor de JSON: {"uuid":"f7ee7a17-cc80-478e-b36f-c9a29a8f701a","changeType":"insert","entity":"invoice","entityId":"1595","eventName":"invoice.add_draft","extraData":{"entity":{"id":1595,"clientId":33,"number":"001546","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1598,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":32,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURELIA","clientLastName":"BARAJAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA CECILIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:08.178855] [debug] Adición de borrador de Factura - -[2025-02-28 16:00:08.178945] [debug] {"uuid":"f7ee7a17-cc80-478e-b36f-c9a29a8f701a","changeType":"insert","entity":"invoice","entityId":1595,"message":null,"clientId":33,"eventName":"invoice.add_draft","clientData":{"id":33,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA CECILIA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA CECILIA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"AURELIA","lastName":"BARAJAS","username":"abarajas33","contacts":[{"id":34,"clientId":33,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4450,"accountCredit":0,"accountOutstanding":4450,"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":1595,"clientId":33,"number":"001546","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1598,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":32,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURELIA","clientLastName":"BARAJAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA CECILIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:08.288810] [notice] Logging level set to:debug -[2025-02-28 16:00:08.431019] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:00:08.431082] [debug] Valor de JSON: {"uuid":"3d07b306-6ffa-43c5-8c25-a2a25256d66e","changeType":"draft_approved","entity":"invoice","entityId":"1595","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1595,"clientId":33,"number":"001546","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1598,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":32,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURELIA","clientLastName":"BARAJAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA CECILIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:08.431193] [debug] Aprobación de Factura - -[2025-02-28 16:00:08.431243] [debug] {"uuid":"3d07b306-6ffa-43c5-8c25-a2a25256d66e","changeType":"draft_approved","entity":"invoice","entityId":1595,"message":null,"clientId":33,"eventName":"invoice.draft_approved","clientData":{"id":33,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA CECILIA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA CECILIA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"AURELIA","lastName":"BARAJAS","username":"abarajas33","contacts":[{"id":34,"clientId":33,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4450,"accountCredit":0,"accountOutstanding":4450,"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":1595,"clientId":33,"number":"001546","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1598,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":32,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURELIA","clientLastName":"BARAJAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA CECILIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:09.335985] [notice] Logging level set to:debug -[2025-02-28 16:00:09.502398] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:00:09.502475] [debug] Valor de JSON: {"uuid":"fc50630b-9d99-462d-b06f-e2aeb5bf45aa","changeType":"insert","entity":"invoice","entityId":"1596","eventName":"invoice.add_draft","extraData":{"entity":{"id":1596,"clientId":53,"number":"001547","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1599,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":52,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONIO","clientLastName":"CHAVEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:09.502612] [debug] Adición de borrador de Factura - -[2025-02-28 16:00:09.502661] [debug] {"uuid":"fc50630b-9d99-462d-b06f-e2aeb5bf45aa","changeType":"insert","entity":"invoice","entityId":1596,"message":null,"clientId":53,"eventName":"invoice.add_draft","clientData":{"id":53,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA VENTA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA VENTA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANTONIO","lastName":"CHAVEZ","username":"achavez53","contacts":[{"id":54,"clientId":53,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1197222,"addressGpsLon":-100.7872222,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1596,"clientId":53,"number":"001547","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1599,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":52,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONIO","clientLastName":"CHAVEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:09.611768] [notice] Logging level set to:debug -[2025-02-28 16:00:09.759376] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:00:09.759439] [debug] Valor de JSON: {"uuid":"917bd77b-2d9d-48c4-b002-2b704d1c34c1","changeType":"draft_approved","entity":"invoice","entityId":"1596","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1596,"clientId":53,"number":"001547","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1599,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":52,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONIO","clientLastName":"CHAVEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:09.759536] [debug] Aprobación de Factura - -[2025-02-28 16:00:09.759582] [debug] {"uuid":"917bd77b-2d9d-48c4-b002-2b704d1c34c1","changeType":"draft_approved","entity":"invoice","entityId":1596,"message":null,"clientId":53,"eventName":"invoice.draft_approved","clientData":{"id":53,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA VENTA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA VENTA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANTONIO","lastName":"CHAVEZ","username":"achavez53","contacts":[{"id":54,"clientId":53,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1197222,"addressGpsLon":-100.7872222,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1596,"clientId":53,"number":"001547","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1599,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":52,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONIO","clientLastName":"CHAVEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:10.705362] [notice] Logging level set to:debug -[2025-02-28 16:00:10.843591] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:00:10.843658] [debug] Valor de JSON: {"uuid":"1b598826-6fb3-47bf-b4d1-01aa9b3c383c","changeType":"insert","entity":"invoice","entityId":"1597","eventName":"invoice.add_draft","extraData":{"entity":{"id":1597,"clientId":10,"number":"001548","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1600,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":10,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CARLOS","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:10.843766] [debug] Adición de borrador de Factura - -[2025-02-28 16:00:10.843818] [debug] {"uuid":"1b598826-6fb3-47bf-b4d1-01aa9b3c383c","changeType":"insert","entity":"invoice","entityId":1597,"message":null,"clientId":10,"eventName":"invoice.add_draft","clientData":{"id":10,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"CARLOS","lastName":"MESA","username":"cmesa10","contacts":[{"id":11,"clientId":10,"email":null,"phone":"4425476911","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1001,"name":"WhatsApptmp"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1597,"clientId":10,"number":"001548","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1600,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":10,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CARLOS","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:10.951862] [notice] Logging level set to:debug -[2025-02-28 16:00:11.091521] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:00:11.091706] [debug] Valor de JSON: {"uuid":"43d96960-daf9-4a4c-bded-21753d1e53ab","changeType":"draft_approved","entity":"invoice","entityId":"1597","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1597,"clientId":10,"number":"001548","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1600,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":10,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CARLOS","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:11.091842] [debug] Aprobación de Factura - -[2025-02-28 16:00:11.091923] [debug] {"uuid":"43d96960-daf9-4a4c-bded-21753d1e53ab","changeType":"draft_approved","entity":"invoice","entityId":1597,"message":null,"clientId":10,"eventName":"invoice.draft_approved","clientData":{"id":10,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"CARLOS","lastName":"MESA","username":"cmesa10","contacts":[{"id":11,"clientId":10,"email":null,"phone":"4425476911","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1001,"name":"WhatsApptmp"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1597,"clientId":10,"number":"001548","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1600,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":10,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CARLOS","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:12.003755] [notice] Logging level set to:debug -[2025-02-28 16:00:12.169245] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:00:12.169313] [debug] Valor de JSON: {"uuid":"6be2c45e-cc7c-4090-b4e3-b6b9674a5922","changeType":"insert","entity":"invoice","entityId":"1598","eventName":"invoice.add_draft","extraData":{"entity":{"id":1598,"clientId":48,"number":"001549","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1601,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":47,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISELA","clientLastName":"AZPEITIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:12.169456] [debug] Adición de borrador de Factura - -[2025-02-28 16:00:12.169508] [debug] {"uuid":"6be2c45e-cc7c-4090-b4e3-b6b9674a5922","changeType":"insert","entity":"invoice","entityId":1598,"message":null,"clientId":48,"eventName":"invoice.add_draft","clientData":{"id":48,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTIAGUILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTIAGUILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ISELA","lastName":"AZPEITIA","username":"iazpeitia48","contacts":[{"id":49,"clientId":48,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":104,"clientId":48,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1VUj6JXVCcUu","clientZoneVisible":true},{"id":105,"clientId":48,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"4896043950637164","clientZoneVisible":true}],"accountBalance":-6900,"accountCredit":0,"accountOutstanding":6900,"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":1598,"clientId":48,"number":"001549","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1601,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":47,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISELA","clientLastName":"AZPEITIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:12.280961] [notice] Logging level set to:debug -[2025-02-28 16:00:12.426589] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:00:12.426768] [debug] Valor de JSON: {"uuid":"5e713e5a-31e4-4e0d-ab21-4577de8de77a","changeType":"draft_approved","entity":"invoice","entityId":"1598","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1598,"clientId":48,"number":"001549","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1601,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":47,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISELA","clientLastName":"AZPEITIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:12.426903] [debug] Aprobación de Factura - -[2025-02-28 16:00:12.426987] [debug] {"uuid":"5e713e5a-31e4-4e0d-ab21-4577de8de77a","changeType":"draft_approved","entity":"invoice","entityId":1598,"message":null,"clientId":48,"eventName":"invoice.draft_approved","clientData":{"id":48,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTIAGUILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTIAGUILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ISELA","lastName":"AZPEITIA","username":"iazpeitia48","contacts":[{"id":49,"clientId":48,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":104,"clientId":48,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1VUj6JXVCcUu","clientZoneVisible":true},{"id":105,"clientId":48,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"4896043950637164","clientZoneVisible":true}],"accountBalance":-6900,"accountCredit":0,"accountOutstanding":6900,"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":1598,"clientId":48,"number":"001549","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1601,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":47,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISELA","clientLastName":"AZPEITIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:13.363780] [notice] Logging level set to:debug -[2025-02-28 16:00:13.506742] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:00:13.506930] [debug] Valor de JSON: {"uuid":"69767841-d80b-4c52-80f3-09f111c2c99c","changeType":"insert","entity":"invoice","entityId":"1599","eventName":"invoice.add_draft","extraData":{"entity":{"id":1599,"clientId":19,"number":"001550","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1602,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":18,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARIA","clientLastName":"RODRIGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:13.507095] [debug] Adición de borrador de Factura - -[2025-02-28 16:00:13.507177] [debug] {"uuid":"69767841-d80b-4c52-80f3-09f111c2c99c","changeType":"insert","entity":"invoice","entityId":1599,"message":null,"clientId":19,"eventName":"invoice.add_draft","clientData":{"id":19,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARIA","lastName":"RODRIGUEZ","username":"mrodriguez19","contacts":[{"id":20,"clientId":19,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-8433.33,"accountCredit":0,"accountOutstanding":8433.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":1599,"clientId":19,"number":"001550","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1602,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":18,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARIA","clientLastName":"RODRIGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:13.622500] [notice] Logging level set to:debug -[2025-02-28 16:00:13.762505] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:00:13.762687] [debug] Valor de JSON: {"uuid":"1cf084fd-2e9f-490d-b73f-2335b13358ff","changeType":"draft_approved","entity":"invoice","entityId":"1599","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1599,"clientId":19,"number":"001550","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1602,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":18,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARIA","clientLastName":"RODRIGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:13.762841] [debug] Aprobación de Factura - -[2025-02-28 16:00:13.762923] [debug] {"uuid":"1cf084fd-2e9f-490d-b73f-2335b13358ff","changeType":"draft_approved","entity":"invoice","entityId":1599,"message":null,"clientId":19,"eventName":"invoice.draft_approved","clientData":{"id":19,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARIA","lastName":"RODRIGUEZ","username":"mrodriguez19","contacts":[{"id":20,"clientId":19,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-8433.33,"accountCredit":0,"accountOutstanding":8433.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":1599,"clientId":19,"number":"001550","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1602,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":18,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARIA","clientLastName":"RODRIGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:14.701231] [notice] Logging level set to:debug -[2025-02-28 16:00:14.853451] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:00:14.853636] [debug] Valor de JSON: {"uuid":"5c253f73-ecef-419a-bf0a-bb03cbc7758b","changeType":"insert","entity":"invoice","entityId":"1600","eventName":"invoice.add_draft","extraData":{"entity":{"id":1600,"clientId":34,"number":"001551","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1603,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":33,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NORMA","clientLastName":"ALMAGUER","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSALITO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:14.853821] [debug] Adición de borrador de Factura - -[2025-02-28 16:00:14.853909] [debug] {"uuid":"5c253f73-ecef-419a-bf0a-bb03cbc7758b","changeType":"insert","entity":"invoice","entityId":1600,"message":null,"clientId":34,"eventName":"invoice.add_draft","clientData":{"id":34,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL ROSALITO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL ROSALITO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"NORMA","lastName":"ALMAGUER","username":"nalmaguer34","contacts":[{"id":35,"clientId":34,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4510,"accountCredit":0,"accountOutstanding":4510,"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":1600,"clientId":34,"number":"001551","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1603,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":33,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NORMA","clientLastName":"ALMAGUER","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSALITO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:14.970340] [notice] Logging level set to:debug -[2025-02-28 16:00:15.123905] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:00:15.124094] [debug] Valor de JSON: {"uuid":"b2f12796-daac-44ab-921b-9cdb952394c4","changeType":"draft_approved","entity":"invoice","entityId":"1600","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1600,"clientId":34,"number":"001551","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1603,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":33,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NORMA","clientLastName":"ALMAGUER","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSALITO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:15.124245] [debug] Aprobación de Factura - -[2025-02-28 16:00:15.124329] [debug] {"uuid":"b2f12796-daac-44ab-921b-9cdb952394c4","changeType":"draft_approved","entity":"invoice","entityId":1600,"message":null,"clientId":34,"eventName":"invoice.draft_approved","clientData":{"id":34,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL ROSALITO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL ROSALITO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"NORMA","lastName":"ALMAGUER","username":"nalmaguer34","contacts":[{"id":35,"clientId":34,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4510,"accountCredit":0,"accountOutstanding":4510,"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":1600,"clientId":34,"number":"001551","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1603,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":33,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NORMA","clientLastName":"ALMAGUER","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSALITO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:16.030946] [notice] Logging level set to:debug -[2025-02-28 16:00:16.172240] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:00:16.172384] [debug] Valor de JSON: {"uuid":"d63c9a69-cfad-496a-92bb-84c5aea61201","changeType":"insert","entity":"invoice","entityId":"1601","eventName":"invoice.add_draft","extraData":{"entity":{"id":1601,"clientId":89,"number":"001552","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1604,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":88,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RIO LAJA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:16.172527] [debug] Adición de borrador de Factura - -[2025-02-28 16:00:16.172602] [debug] {"uuid":"d63c9a69-cfad-496a-92bb-84c5aea61201","changeType":"insert","entity":"invoice","entityId":1601,"message":null,"clientId":89,"eventName":"invoice.add_draft","clientData":{"id":89,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"RIO LAJA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"RIO LAJA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"TERESA","lastName":"SANCHEZ","username":"tsanchez89","contacts":[{"id":90,"clientId":89,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1601,"clientId":89,"number":"001552","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1604,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":88,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RIO LAJA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:16.285213] [notice] Logging level set to:debug -[2025-02-28 16:00:16.437333] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:00:16.437490] [debug] Valor de JSON: {"uuid":"8dfcfc7c-f879-4115-8a4b-7fcaea7e3d71","changeType":"draft_approved","entity":"invoice","entityId":"1601","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1601,"clientId":89,"number":"001552","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1604,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":88,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RIO LAJA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:16.437678] [debug] Aprobación de Factura - -[2025-02-28 16:00:16.437779] [debug] {"uuid":"8dfcfc7c-f879-4115-8a4b-7fcaea7e3d71","changeType":"draft_approved","entity":"invoice","entityId":1601,"message":null,"clientId":89,"eventName":"invoice.draft_approved","clientData":{"id":89,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"RIO LAJA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"RIO LAJA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"TERESA","lastName":"SANCHEZ","username":"tsanchez89","contacts":[{"id":90,"clientId":89,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1601,"clientId":89,"number":"001552","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1604,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":88,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RIO LAJA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:17.387691] [notice] Logging level set to:debug -[2025-02-28 16:00:17.522372] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:00:17.522525] [debug] Valor de JSON: {"uuid":"a32d491d-28f8-4d70-a7cb-94db95a74bac","changeType":"insert","entity":"invoice","entityId":"1602","eventName":"invoice.add_draft","extraData":{"entity":{"id":1602,"clientId":54,"number":"001553","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1605,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":53,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORETO","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"COLORADO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:17.522658] [debug] Adición de borrador de Factura - -[2025-02-28 16:00:17.522741] [debug] {"uuid":"a32d491d-28f8-4d70-a7cb-94db95a74bac","changeType":"insert","entity":"invoice","entityId":1602,"message":null,"clientId":54,"eventName":"invoice.add_draft","clientData":{"id":54,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"COLORADO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"COLORADO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"LORETO","lastName":"HERRERA","username":"lherrera54","contacts":[{"id":55,"clientId":54,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1602,"clientId":54,"number":"001553","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1605,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":53,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORETO","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"COLORADO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:17.634116] [notice] Logging level set to:debug -[2025-02-28 16:00:17.811269] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:00:17.811542] [debug] Valor de JSON: {"uuid":"58f6e705-56e0-4082-b09e-f4669b3f6315","changeType":"draft_approved","entity":"invoice","entityId":"1602","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1602,"clientId":54,"number":"001553","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1605,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":53,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORETO","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"COLORADO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:17.811685] [debug] Aprobación de Factura - -[2025-02-28 16:00:17.811767] [debug] {"uuid":"58f6e705-56e0-4082-b09e-f4669b3f6315","changeType":"draft_approved","entity":"invoice","entityId":1602,"message":null,"clientId":54,"eventName":"invoice.draft_approved","clientData":{"id":54,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"COLORADO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"COLORADO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"LORETO","lastName":"HERRERA","username":"lherrera54","contacts":[{"id":55,"clientId":54,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1602,"clientId":54,"number":"001553","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1605,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":53,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORETO","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"COLORADO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:18.755815] [notice] Logging level set to:debug -[2025-02-28 16:00:18.927639] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:00:18.927709] [debug] Valor de JSON: {"uuid":"3cb83c22-44dd-46ff-bbed-46a645d25a3b","changeType":"insert","entity":"invoice","entityId":"1603","eventName":"invoice.add_draft","extraData":{"entity":{"id":1603,"clientId":72,"number":"001554","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1606,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":71,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BRANDOM","clientLastName":"EZQUIVEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:18.927814] [debug] Adición de borrador de Factura - -[2025-02-28 16:00:18.927864] [debug] {"uuid":"3cb83c22-44dd-46ff-bbed-46a645d25a3b","changeType":"insert","entity":"invoice","entityId":1603,"message":null,"clientId":72,"eventName":"invoice.add_draft","clientData":{"id":72,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"MONTELONGO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"MONTELONGO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"BRANDOM","lastName":"EZQUIVEL","username":"bezquivel72","contacts":[{"id":73,"clientId":72,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1603,"clientId":72,"number":"001554","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1606,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":71,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BRANDOM","clientLastName":"EZQUIVEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:19.041572] [notice] Logging level set to:debug -[2025-02-28 16:00:19.190232] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:00:19.190376] [debug] Valor de JSON: {"uuid":"a7b0fd09-581d-4cfc-bc27-fc536e3b8744","changeType":"draft_approved","entity":"invoice","entityId":"1603","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1603,"clientId":72,"number":"001554","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1606,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":71,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BRANDOM","clientLastName":"EZQUIVEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:19.190524] [debug] Aprobación de Factura - -[2025-02-28 16:00:19.190602] [debug] {"uuid":"a7b0fd09-581d-4cfc-bc27-fc536e3b8744","changeType":"draft_approved","entity":"invoice","entityId":1603,"message":null,"clientId":72,"eventName":"invoice.draft_approved","clientData":{"id":72,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"MONTELONGO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"MONTELONGO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"BRANDOM","lastName":"EZQUIVEL","username":"bezquivel72","contacts":[{"id":73,"clientId":72,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1603,"clientId":72,"number":"001554","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1606,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":71,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BRANDOM","clientLastName":"EZQUIVEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:23.065392] [notice] Logging level set to:debug -[2025-02-28 16:00:23.221157] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:00:23.221224] [debug] Valor de JSON: {"uuid":"f3a93f13-c440-4245-9672-7cb71f81b40d","changeType":"insert","entity":"invoice","entityId":"1604","eventName":"invoice.add_draft","extraData":{"entity":{"id":1604,"clientId":91,"number":"001555","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1607,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":90,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CAROLINA","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:23.221353] [debug] Adición de borrador de Factura - -[2025-02-28 16:00:23.221405] [debug] {"uuid":"f3a93f13-c440-4245-9672-7cb71f81b40d","changeType":"insert","entity":"invoice","entityId":1604,"message":null,"clientId":91,"eventName":"invoice.add_draft","clientData":{"id":91,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA CALIORNIA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA CALIORNIA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"CAROLINA","lastName":"PE\u00d1A","username":"cpe\u00d1a91","contacts":[{"id":92,"clientId":91,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7100,"accountCredit":0,"accountOutstanding":7100,"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":1604,"clientId":91,"number":"001555","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1607,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":90,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CAROLINA","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:23.333478] [notice] Logging level set to:debug -[2025-02-28 16:00:23.466114] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:00:23.466172] [debug] Valor de JSON: {"uuid":"d3a99e71-a29a-4f8e-a56f-99815b52cf5d","changeType":"draft_approved","entity":"invoice","entityId":"1604","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1604,"clientId":91,"number":"001555","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1607,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":90,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CAROLINA","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:23.466265] [debug] Aprobación de Factura - -[2025-02-28 16:00:23.466310] [debug] {"uuid":"d3a99e71-a29a-4f8e-a56f-99815b52cf5d","changeType":"draft_approved","entity":"invoice","entityId":1604,"message":null,"clientId":91,"eventName":"invoice.draft_approved","clientData":{"id":91,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA CALIORNIA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA CALIORNIA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"CAROLINA","lastName":"PE\u00d1A","username":"cpe\u00d1a91","contacts":[{"id":92,"clientId":91,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7100,"accountCredit":0,"accountOutstanding":7100,"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":1604,"clientId":91,"number":"001555","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1607,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":90,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CAROLINA","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:24.385793] [notice] Logging level set to:debug -[2025-02-28 16:00:24.523325] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:00:24.523483] [debug] Valor de JSON: {"uuid":"2bd61de2-95bb-44a6-9416-303d0bbd0629","changeType":"insert","entity":"invoice","entityId":"1605","eventName":"invoice.add_draft","extraData":{"entity":{"id":1605,"clientId":60,"number":"001556","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1608,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":59,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MANUEL","clientLastName":"CORENEO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:24.523639] [debug] Adición de borrador de Factura - -[2025-02-28 16:00:24.523732] [debug] {"uuid":"2bd61de2-95bb-44a6-9416-303d0bbd0629","changeType":"insert","entity":"invoice","entityId":1605,"message":null,"clientId":60,"eventName":"invoice.add_draft","clientData":{"id":60,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TECOLOTE","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TECOLOTE, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MANUEL","lastName":"CORENEO","username":"mcoreneo60","contacts":[{"id":61,"clientId":60,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1605,"clientId":60,"number":"001556","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1608,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":59,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MANUEL","clientLastName":"CORENEO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:24.636081] [notice] Logging level set to:debug -[2025-02-28 16:00:24.772913] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:00:24.773051] [debug] Valor de JSON: {"uuid":"27fe9945-ea77-4285-9891-984daa1aba70","changeType":"draft_approved","entity":"invoice","entityId":"1605","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1605,"clientId":60,"number":"001556","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1608,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":59,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MANUEL","clientLastName":"CORENEO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:24.773185] [debug] Aprobación de Factura - -[2025-02-28 16:00:24.773261] [debug] {"uuid":"27fe9945-ea77-4285-9891-984daa1aba70","changeType":"draft_approved","entity":"invoice","entityId":1605,"message":null,"clientId":60,"eventName":"invoice.draft_approved","clientData":{"id":60,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TECOLOTE","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TECOLOTE, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MANUEL","lastName":"CORENEO","username":"mcoreneo60","contacts":[{"id":61,"clientId":60,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1605,"clientId":60,"number":"001556","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1608,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":59,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MANUEL","clientLastName":"CORENEO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:25.689625] [notice] Logging level set to:debug -[2025-02-28 16:00:25.820086] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:00:25.820280] [debug] Valor de JSON: {"uuid":"a80f2c9a-00e4-4332-bfba-846c9f4e06aa","changeType":"insert","entity":"invoice","entityId":"1606","eventName":"invoice.add_draft","extraData":{"entity":{"id":1606,"clientId":102,"number":"001557","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1609,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":101,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"XX","clientLastName":"XX","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:25.820437] [debug] Adición de borrador de Factura - -[2025-02-28 16:00:25.820537] [debug] {"uuid":"a80f2c9a-00e4-4332-bfba-846c9f4e06aa","changeType":"insert","entity":"invoice","entityId":1606,"message":null,"clientId":102,"eventName":"invoice.add_draft","clientData":{"id":102,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"YERBAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"YERBAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"XX","lastName":"XX","username":"xxx02","contacts":[{"id":103,"clientId":102,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1606,"clientId":102,"number":"001557","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1609,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":101,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"XX","clientLastName":"XX","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:25.930943] [notice] Logging level set to:debug -[2025-02-28 16:00:26.079355] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:00:26.079623] [debug] Valor de JSON: {"uuid":"b7cfbc61-bcc5-44e8-b368-aad978996af0","changeType":"draft_approved","entity":"invoice","entityId":"1606","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1606,"clientId":102,"number":"001557","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1609,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":101,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"XX","clientLastName":"XX","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:26.079771] [debug] Aprobación de Factura - -[2025-02-28 16:00:26.079852] [debug] {"uuid":"b7cfbc61-bcc5-44e8-b368-aad978996af0","changeType":"draft_approved","entity":"invoice","entityId":1606,"message":null,"clientId":102,"eventName":"invoice.draft_approved","clientData":{"id":102,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"YERBAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"YERBAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"XX","lastName":"XX","username":"xxx02","contacts":[{"id":103,"clientId":102,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1606,"clientId":102,"number":"001557","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1609,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":101,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"XX","clientLastName":"XX","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:27.021579] [notice] Logging level set to:debug -[2025-02-28 16:00:27.171928] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:00:27.171991] [debug] Valor de JSON: {"uuid":"a3f80a03-624e-4f6c-ac54-4ed6e1bf2e32","changeType":"insert","entity":"invoice","entityId":"1607","eventName":"invoice.add_draft","extraData":{"entity":{"id":1607,"clientId":98,"number":"001558","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1610,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":97,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JULIO","clientLastName":"OLACHIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:27.172110] [debug] Adición de borrador de Factura - -[2025-02-28 16:00:27.172157] [debug] {"uuid":"a3f80a03-624e-4f6c-ac54-4ed6e1bf2e32","changeType":"insert","entity":"invoice","entityId":1607,"message":null,"clientId":98,"eventName":"invoice.add_draft","clientData":{"id":98,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS AGUILAR","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS AGUILAR, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JULIO","lastName":"OLACHIA","username":"jolachia98","contacts":[{"id":99,"clientId":98,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1607,"clientId":98,"number":"001558","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1610,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":97,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JULIO","clientLastName":"OLACHIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:27.285947] [notice] Logging level set to:debug -[2025-02-28 16:00:27.418366] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:00:27.418425] [debug] Valor de JSON: {"uuid":"e6f77dee-dafe-4421-b314-34f653df9357","changeType":"draft_approved","entity":"invoice","entityId":"1607","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1607,"clientId":98,"number":"001558","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1610,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":97,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JULIO","clientLastName":"OLACHIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:27.418521] [debug] Aprobación de Factura - -[2025-02-28 16:00:27.418565] [debug] {"uuid":"e6f77dee-dafe-4421-b314-34f653df9357","changeType":"draft_approved","entity":"invoice","entityId":1607,"message":null,"clientId":98,"eventName":"invoice.draft_approved","clientData":{"id":98,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS AGUILAR","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS AGUILAR, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JULIO","lastName":"OLACHIA","username":"jolachia98","contacts":[{"id":99,"clientId":98,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1607,"clientId":98,"number":"001558","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1610,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":97,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JULIO","clientLastName":"OLACHIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:28.323975] [notice] Logging level set to:debug -[2025-02-28 16:00:28.461815] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:00:28.461875] [debug] Valor de JSON: {"uuid":"40cefa56-28a2-43a9-9875-f320bd9a57c9","changeType":"insert","entity":"invoice","entityId":"1608","eventName":"invoice.add_draft","extraData":{"entity":{"id":1608,"clientId":49,"number":"001559","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1611,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":48,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"ARGOTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:28.461975] [debug] Adición de borrador de Factura - -[2025-02-28 16:00:28.462023] [debug] {"uuid":"40cefa56-28a2-43a9-9875-f320bd9a57c9","changeType":"insert","entity":"invoice","entityId":1608,"message":null,"clientId":49,"eventName":"invoice.add_draft","clientData":{"id":49,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"HUMBERTO","lastName":"ARGOTE","username":"hargote49","contacts":[{"id":50,"clientId":49,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":106,"clientId":49,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1TKNidnkizX4","clientZoneVisible":true},{"id":107,"clientId":49,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"5239864893662909","clientZoneVisible":true}],"accountBalance":-3910,"accountCredit":0,"accountOutstanding":3910,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.0502031,"addressGpsLon":-101.0096832,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1608,"clientId":49,"number":"001559","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1611,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":48,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"ARGOTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:28.591114] [notice] Logging level set to:debug -[2025-02-28 16:00:28.812341] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:00:28.812403] [debug] Valor de JSON: {"uuid":"442a2a07-9c81-4108-8072-3cd7ccadd692","changeType":"draft_approved","entity":"invoice","entityId":"1608","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1608,"clientId":49,"number":"001559","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1611,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":48,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"ARGOTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:28.812517] [debug] Aprobación de Factura - -[2025-02-28 16:00:28.812568] [debug] {"uuid":"442a2a07-9c81-4108-8072-3cd7ccadd692","changeType":"draft_approved","entity":"invoice","entityId":1608,"message":null,"clientId":49,"eventName":"invoice.draft_approved","clientData":{"id":49,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"HUMBERTO","lastName":"ARGOTE","username":"hargote49","contacts":[{"id":50,"clientId":49,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":106,"clientId":49,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1TKNidnkizX4","clientZoneVisible":true},{"id":107,"clientId":49,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"5239864893662909","clientZoneVisible":true}],"accountBalance":-3910,"accountCredit":0,"accountOutstanding":3910,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.0502031,"addressGpsLon":-101.0096832,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1608,"clientId":49,"number":"001559","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1611,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":48,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"ARGOTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:29.674915] [notice] Logging level set to:debug -[2025-02-28 16:00:29.829794] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:00:29.829957] [debug] Valor de JSON: {"uuid":"276d57f8-fafc-4025-b19c-5debb6dcbac5","changeType":"insert","entity":"invoice","entityId":"1609","eventName":"invoice.add_draft","extraData":{"entity":{"id":1609,"clientId":47,"number":"001560","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1612,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":46,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ASRAEL","clientLastName":"PONCE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:29.830118] [debug] Adición de borrador de Factura - -[2025-02-28 16:00:29.830204] [debug] {"uuid":"276d57f8-fafc-4025-b19c-5debb6dcbac5","changeType":"insert","entity":"invoice","entityId":1609,"message":null,"clientId":47,"eventName":"invoice.add_draft","clientData":{"id":47,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ASRAEL","lastName":"PONCE","username":"aponce47","contacts":[{"id":48,"clientId":47,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":102,"clientId":47,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1ERR1n4E6GPk","clientZoneVisible":true},{"id":103,"clientId":47,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"8205258963078605","clientZoneVisible":true}],"accountBalance":-3880,"accountCredit":0,"accountOutstanding":3880,"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":1609,"clientId":47,"number":"001560","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1612,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":46,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ASRAEL","clientLastName":"PONCE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:29.943711] [notice] Logging level set to:debug -[2025-02-28 16:00:30.192909] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:00:30.193068] [debug] Valor de JSON: {"uuid":"f9bcd0b6-dbe4-488f-af88-2f554c358739","changeType":"draft_approved","entity":"invoice","entityId":"1609","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1609,"clientId":47,"number":"001560","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1612,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":46,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ASRAEL","clientLastName":"PONCE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:30.193205] [debug] Aprobación de Factura - -[2025-02-28 16:00:30.193290] [debug] {"uuid":"f9bcd0b6-dbe4-488f-af88-2f554c358739","changeType":"draft_approved","entity":"invoice","entityId":1609,"message":null,"clientId":47,"eventName":"invoice.draft_approved","clientData":{"id":47,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ASRAEL","lastName":"PONCE","username":"aponce47","contacts":[{"id":48,"clientId":47,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":102,"clientId":47,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1ERR1n4E6GPk","clientZoneVisible":true},{"id":103,"clientId":47,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"8205258963078605","clientZoneVisible":true}],"accountBalance":-3880,"accountCredit":0,"accountOutstanding":3880,"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":1609,"clientId":47,"number":"001560","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1612,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":46,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ASRAEL","clientLastName":"PONCE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:31.006948] [notice] Logging level set to:debug -[2025-02-28 16:00:31.141846] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:00:31.141989] [debug] Valor de JSON: {"uuid":"45aa768b-b76b-403c-8495-a5cb5869b61f","changeType":"insert","entity":"invoice","entityId":"1610","eventName":"invoice.add_draft","extraData":{"entity":{"id":1610,"clientId":80,"number":"001561","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1613,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":79,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AXEL","clientLastName":"FERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:31.142148] [debug] Adición de borrador de Factura - -[2025-02-28 16:00:31.142225] [debug] {"uuid":"45aa768b-b76b-403c-8495-a5cb5869b61f","changeType":"insert","entity":"invoice","entityId":1610,"message":null,"clientId":80,"eventName":"invoice.add_draft","clientData":{"id":80,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN SEBASTIAN","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN SEBASTIAN, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"AXEL","lastName":"FERNANDEZ","username":"afernandez80","contacts":[{"id":81,"clientId":80,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1610,"clientId":80,"number":"001561","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1613,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":79,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AXEL","clientLastName":"FERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:31.260818] [notice] Logging level set to:debug -[2025-02-28 16:00:31.533885] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:00:31.534060] [debug] Valor de JSON: {"uuid":"cde4116c-28f9-4214-aae1-162076500de6","changeType":"draft_approved","entity":"invoice","entityId":"1610","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1610,"clientId":80,"number":"001561","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1613,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":79,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AXEL","clientLastName":"FERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:31.534205] [debug] Aprobación de Factura - -[2025-02-28 16:00:31.534286] [debug] {"uuid":"cde4116c-28f9-4214-aae1-162076500de6","changeType":"draft_approved","entity":"invoice","entityId":1610,"message":null,"clientId":80,"eventName":"invoice.draft_approved","clientData":{"id":80,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN SEBASTIAN","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN SEBASTIAN, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"AXEL","lastName":"FERNANDEZ","username":"afernandez80","contacts":[{"id":81,"clientId":80,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1610,"clientId":80,"number":"001561","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1613,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":79,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AXEL","clientLastName":"FERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:32.335402] [notice] Logging level set to:debug -[2025-02-28 16:00:32.489221] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:00:32.489281] [debug] Valor de JSON: {"uuid":"89b13732-7d7c-4098-acbb-2ca7dec80ac4","changeType":"insert","entity":"invoice","entityId":"1611","eventName":"invoice.add_draft","extraData":{"entity":{"id":1611,"clientId":73,"number":"001562","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1614,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":72,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ERICK","clientLastName":"VAZQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:32.489387] [debug] Adición de borrador de Factura - -[2025-02-28 16:00:32.489433] [debug] {"uuid":"89b13732-7d7c-4098-acbb-2ca7dec80ac4","changeType":"insert","entity":"invoice","entityId":1611,"message":null,"clientId":73,"eventName":"invoice.add_draft","clientData":{"id":73,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ERICK","lastName":"VAZQUEZ","username":"evazquez73","contacts":[{"id":74,"clientId":73,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1611,"clientId":73,"number":"001562","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1614,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":72,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ERICK","clientLastName":"VAZQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:32.603746] [notice] Logging level set to:debug -[2025-02-28 16:00:32.816778] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:00:32.816956] [debug] Valor de JSON: {"uuid":"bd2113ff-d4a6-461d-aebb-eda3dd0faa3d","changeType":"draft_approved","entity":"invoice","entityId":"1611","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1611,"clientId":73,"number":"001562","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1614,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":72,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ERICK","clientLastName":"VAZQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:32.817090] [debug] Aprobación de Factura - -[2025-02-28 16:00:32.817167] [debug] {"uuid":"bd2113ff-d4a6-461d-aebb-eda3dd0faa3d","changeType":"draft_approved","entity":"invoice","entityId":1611,"message":null,"clientId":73,"eventName":"invoice.draft_approved","clientData":{"id":73,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ERICK","lastName":"VAZQUEZ","username":"evazquez73","contacts":[{"id":74,"clientId":73,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1611,"clientId":73,"number":"001562","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1614,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":72,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ERICK","clientLastName":"VAZQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:33.728760] [notice] Logging level set to:debug -[2025-02-28 16:00:33.865243] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:00:33.865418] [debug] Valor de JSON: {"uuid":"7d4f4e92-8789-4273-89ba-ade3f352f269","changeType":"insert","entity":"invoice","entityId":"1612","eventName":"invoice.add_draft","extraData":{"entity":{"id":1612,"clientId":95,"number":"001563","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1615,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":94,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SOFIA","clientLastName":"VALENCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:33.865562] [debug] Adición de borrador de Factura - -[2025-02-28 16:00:33.865639] [debug] {"uuid":"7d4f4e92-8789-4273-89ba-ade3f352f269","changeType":"insert","entity":"invoice","entityId":1612,"message":null,"clientId":95,"eventName":"invoice.add_draft","clientData":{"id":95,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SOFIA","lastName":"VALENCIA","username":"svalencia95","contacts":[{"id":96,"clientId":95,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7000,"accountCredit":0,"accountOutstanding":7000,"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":1612,"clientId":95,"number":"001563","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1615,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":94,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SOFIA","clientLastName":"VALENCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:33.979768] [notice] Logging level set to:debug -[2025-02-28 16:00:34.202352] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:00:34.202538] [debug] Valor de JSON: {"uuid":"e925211c-6e81-4e54-a18b-0671a0b81840","changeType":"draft_approved","entity":"invoice","entityId":"1612","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1612,"clientId":95,"number":"001563","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1615,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":94,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SOFIA","clientLastName":"VALENCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:34.202677] [debug] Aprobación de Factura - -[2025-02-28 16:00:34.202759] [debug] {"uuid":"e925211c-6e81-4e54-a18b-0671a0b81840","changeType":"draft_approved","entity":"invoice","entityId":1612,"message":null,"clientId":95,"eventName":"invoice.draft_approved","clientData":{"id":95,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SOFIA","lastName":"VALENCIA","username":"svalencia95","contacts":[{"id":96,"clientId":95,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7000,"accountCredit":0,"accountOutstanding":7000,"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":1612,"clientId":95,"number":"001563","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1615,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":94,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SOFIA","clientLastName":"VALENCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:35.075051] [notice] Logging level set to:debug -[2025-02-28 16:00:35.221296] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:00:35.221474] [debug] Valor de JSON: {"uuid":"f5a4eca9-2495-4760-b3e5-3d1edc9fc823","changeType":"insert","entity":"invoice","entityId":"1613","eventName":"invoice.add_draft","extraData":{"entity":{"id":1613,"clientId":51,"number":"001564","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1616,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":50,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"MORENO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PADRE HIDALGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:35.221631] [debug] Adición de borrador de Factura - -[2025-02-28 16:00:35.221729] [debug] {"uuid":"f5a4eca9-2495-4760-b3e5-3d1edc9fc823","changeType":"insert","entity":"invoice","entityId":1613,"message":null,"clientId":51,"eventName":"invoice.add_draft","clientData":{"id":51,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"PADRE HIDALGO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"PADRE HIDALGO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DANIEL","lastName":"MORENO","username":"dmoreno51","contacts":[{"id":52,"clientId":51,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7450,"accountCredit":0,"accountOutstanding":7450,"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":1613,"clientId":51,"number":"001564","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1616,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":50,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"MORENO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PADRE HIDALGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:35.333954] [notice] Logging level set to:debug -[2025-02-28 16:00:35.540913] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:00:35.541093] [debug] Valor de JSON: {"uuid":"3cf48bf4-0fdf-4354-94f5-7c0913dd5c5a","changeType":"draft_approved","entity":"invoice","entityId":"1613","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1613,"clientId":51,"number":"001564","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1616,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":50,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"MORENO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PADRE HIDALGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:35.541249] [debug] Aprobación de Factura - -[2025-02-28 16:00:35.541331] [debug] {"uuid":"3cf48bf4-0fdf-4354-94f5-7c0913dd5c5a","changeType":"draft_approved","entity":"invoice","entityId":1613,"message":null,"clientId":51,"eventName":"invoice.draft_approved","clientData":{"id":51,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"PADRE HIDALGO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"PADRE HIDALGO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DANIEL","lastName":"MORENO","username":"dmoreno51","contacts":[{"id":52,"clientId":51,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7450,"accountCredit":0,"accountOutstanding":7450,"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":1613,"clientId":51,"number":"001564","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1616,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":50,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"MORENO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PADRE HIDALGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:36.387351] [notice] Logging level set to:debug -[2025-02-28 16:00:36.530024] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:00:36.530198] [debug] Valor de JSON: {"uuid":"91df12c3-ee05-4405-894d-1e4b2a8aac03","changeType":"insert","entity":"invoice","entityId":"1614","eventName":"invoice.add_draft","extraData":{"entity":{"id":1614,"clientId":67,"number":"001565","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1617,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":66,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TOMAS","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:36.530334] [debug] Adición de borrador de Factura - -[2025-02-28 16:00:36.530412] [debug] {"uuid":"91df12c3-ee05-4405-894d-1e4b2a8aac03","changeType":"insert","entity":"invoice","entityId":1614,"message":null,"clientId":67,"eventName":"invoice.add_draft","clientData":{"id":67,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"TOMAS","lastName":"SUASTE","username":"tsuaste67","contacts":[{"id":68,"clientId":67,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1614,"clientId":67,"number":"001565","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1617,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":66,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TOMAS","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:36.639652] [notice] Logging level set to:debug -[2025-02-28 16:00:36.860126] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:00:36.860302] [debug] Valor de JSON: {"uuid":"cd3fa3a6-f42d-44bf-9d3d-c1e3016d94e8","changeType":"draft_approved","entity":"invoice","entityId":"1614","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1614,"clientId":67,"number":"001565","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1617,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":66,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TOMAS","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:36.860445] [debug] Aprobación de Factura - -[2025-02-28 16:00:36.860524] [debug] {"uuid":"cd3fa3a6-f42d-44bf-9d3d-c1e3016d94e8","changeType":"draft_approved","entity":"invoice","entityId":1614,"message":null,"clientId":67,"eventName":"invoice.draft_approved","clientData":{"id":67,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"TOMAS","lastName":"SUASTE","username":"tsuaste67","contacts":[{"id":68,"clientId":67,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1614,"clientId":67,"number":"001565","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1617,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":66,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TOMAS","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:38.075048] [notice] Logging level set to:debug -[2025-02-28 16:00:38.360280] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:00:38.360465] [debug] Valor de JSON: {"uuid":"bdf9fcf3-835a-44f1-bd50-61966f44ec52","changeType":"insert","entity":"invoice","entityId":"1615","eventName":"invoice.add_draft","extraData":{"entity":{"id":1615,"clientId":85,"number":"001566","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1618,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":84,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GISELLE","clientLastName":"ARREDONDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GARABATILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:38.360622] [debug] Adición de borrador de Factura - -[2025-02-28 16:00:38.360697] [debug] {"uuid":"bdf9fcf3-835a-44f1-bd50-61966f44ec52","changeType":"insert","entity":"invoice","entityId":1615,"message":null,"clientId":85,"eventName":"invoice.add_draft","clientData":{"id":85,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"GARABATILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"GARABATILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"GISELLE","lastName":"ARREDONDO","username":"garredondo85","contacts":[{"id":86,"clientId":85,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7400,"accountCredit":0,"accountOutstanding":7400,"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":1615,"clientId":85,"number":"001566","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1618,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":84,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GISELLE","clientLastName":"ARREDONDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GARABATILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:38.475395] [notice] Logging level set to:debug -[2025-02-28 16:00:38.678173] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:00:38.678369] [debug] Valor de JSON: {"uuid":"2b786efc-5e24-406e-9f8d-e8b4500f0b9f","changeType":"draft_approved","entity":"invoice","entityId":"1615","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1615,"clientId":85,"number":"001566","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1618,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":84,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GISELLE","clientLastName":"ARREDONDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GARABATILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:38.678513] [debug] Aprobación de Factura - -[2025-02-28 16:00:38.678606] [debug] {"uuid":"2b786efc-5e24-406e-9f8d-e8b4500f0b9f","changeType":"draft_approved","entity":"invoice","entityId":1615,"message":null,"clientId":85,"eventName":"invoice.draft_approved","clientData":{"id":85,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"GARABATILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"GARABATILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"GISELLE","lastName":"ARREDONDO","username":"garredondo85","contacts":[{"id":86,"clientId":85,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7400,"accountCredit":0,"accountOutstanding":7400,"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":1615,"clientId":85,"number":"001566","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1618,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":84,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GISELLE","clientLastName":"ARREDONDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GARABATILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:39.397289] [notice] Logging level set to:debug -[2025-02-28 16:00:39.544217] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:00:39.544364] [debug] Valor de JSON: {"uuid":"59e438f9-9bb6-4221-8ec5-ceda4573f383","changeType":"insert","entity":"invoice","entityId":"1616","eventName":"invoice.add_draft","extraData":{"entity":{"id":1616,"clientId":8,"number":"001567","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1619,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":8,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALFREDO","clientLastName":"GUTIERREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:39.544502] [debug] Adición de borrador de Factura - -[2025-02-28 16:00:39.544579] [debug] {"uuid":"59e438f9-9bb6-4221-8ec5-ceda4573f383","changeType":"insert","entity":"invoice","entityId":1616,"message":null,"clientId":8,"eventName":"invoice.add_draft","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":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7030,"accountCredit":0,"accountOutstanding":7030,"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":1616,"clientId":8,"number":"001567","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1619,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":8,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALFREDO","clientLastName":"GUTIERREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:39.652667] [notice] Logging level set to:debug -[2025-02-28 16:00:39.911576] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:00:39.911875] [debug] Valor de JSON: {"uuid":"87765c0d-abb0-4137-b3f4-af8f20b3368d","changeType":"draft_approved","entity":"invoice","entityId":"1616","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1616,"clientId":8,"number":"001567","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1619,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":8,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALFREDO","clientLastName":"GUTIERREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:39.912328] [debug] Aprobación de Factura - -[2025-02-28 16:00:39.912436] [debug] {"uuid":"87765c0d-abb0-4137-b3f4-af8f20b3368d","changeType":"draft_approved","entity":"invoice","entityId":1616,"message":null,"clientId":8,"eventName":"invoice.draft_approved","clientData":{"id":8,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL BOBO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALFREDO","lastName":"GUTIERREZ","username":"agutierrez08","contacts":[{"id":9,"clientId":8,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7030,"accountCredit":0,"accountOutstanding":7030,"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":1616,"clientId":8,"number":"001567","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1619,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":8,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALFREDO","clientLastName":"GUTIERREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:40.976232] [notice] Logging level set to:debug -[2025-02-28 16:00:41.119811] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:00:41.119872] [debug] Valor de JSON: {"uuid":"6d66bf87-8055-40dc-ad22-cd3fb38b0f2a","changeType":"insert","entity":"invoice","entityId":"1617","eventName":"invoice.add_draft","extraData":{"entity":{"id":1617,"clientId":29,"number":"001568","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1620,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":28,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTELA","clientLastName":"ORTIZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EJIDO DOLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:41.119976] [debug] Adición de borrador de Factura - -[2025-02-28 16:00:41.120023] [debug] {"uuid":"6d66bf87-8055-40dc-ad22-cd3fb38b0f2a","changeType":"insert","entity":"invoice","entityId":1617,"message":null,"clientId":29,"eventName":"invoice.add_draft","clientData":{"id":29,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EJIDO DOLORES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EJIDO DOLORES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ESTELA","lastName":"ORTIZ","username":"eortiz29","contacts":[{"id":30,"clientId":29,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-6816.67,"accountCredit":0,"accountOutstanding":6816.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1617,"clientId":29,"number":"001568","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1620,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":28,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTELA","clientLastName":"ORTIZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EJIDO DOLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:41.272115] [notice] Logging level set to:debug -[2025-02-28 16:00:41.416764] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:00:41.416955] [debug] Valor de JSON: {"uuid":"32d47585-7740-484f-b84a-de483ed1ef8e","changeType":"draft_approved","entity":"invoice","entityId":"1617","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1617,"clientId":29,"number":"001568","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1620,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":28,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTELA","clientLastName":"ORTIZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EJIDO DOLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:41.417140] [debug] Aprobación de Factura - -[2025-02-28 16:00:41.417224] [debug] {"uuid":"32d47585-7740-484f-b84a-de483ed1ef8e","changeType":"draft_approved","entity":"invoice","entityId":1617,"message":null,"clientId":29,"eventName":"invoice.draft_approved","clientData":{"id":29,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EJIDO DOLORES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EJIDO DOLORES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ESTELA","lastName":"ORTIZ","username":"eortiz29","contacts":[{"id":30,"clientId":29,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-6816.67,"accountCredit":0,"accountOutstanding":6816.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1617,"clientId":29,"number":"001568","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1620,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":28,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTELA","clientLastName":"ORTIZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EJIDO DOLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:42.296716] [notice] Logging level set to:debug -[2025-02-28 16:00:42.431713] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:00:42.431890] [debug] Valor de JSON: {"uuid":"4f6776b2-999b-4926-ad81-44141c47424a","changeType":"insert","entity":"invoice","entityId":"1618","eventName":"invoice.add_draft","extraData":{"entity":{"id":1618,"clientId":99,"number":"001569","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1621,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":98,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BELINDA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:42.432044] [debug] Adición de borrador de Factura - -[2025-02-28 16:00:42.432143] [debug] {"uuid":"4f6776b2-999b-4926-ad81-44141c47424a","changeType":"insert","entity":"invoice","entityId":1618,"message":null,"clientId":99,"eventName":"invoice.add_draft","clientData":{"id":99,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"MONTELONGO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"MONTELONGO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"BELINDA","lastName":"REYES","username":"breyes99","contacts":[{"id":100,"clientId":99,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5400,"accountCredit":0,"accountOutstanding":5400,"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":1618,"clientId":99,"number":"001569","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1621,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":98,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BELINDA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:42.548767] [notice] Logging level set to:debug -[2025-02-28 16:00:42.684567] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:00:42.684741] [debug] Valor de JSON: {"uuid":"0920fff0-33b7-42cf-97c3-e2b8a4a747ca","changeType":"draft_approved","entity":"invoice","entityId":"1618","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1618,"clientId":99,"number":"001569","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1621,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":98,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BELINDA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:42.685002] [debug] Aprobación de Factura - -[2025-02-28 16:00:42.685092] [debug] {"uuid":"0920fff0-33b7-42cf-97c3-e2b8a4a747ca","changeType":"draft_approved","entity":"invoice","entityId":1618,"message":null,"clientId":99,"eventName":"invoice.draft_approved","clientData":{"id":99,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"MONTELONGO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"MONTELONGO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"BELINDA","lastName":"REYES","username":"breyes99","contacts":[{"id":100,"clientId":99,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5400,"accountCredit":0,"accountOutstanding":5400,"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":1618,"clientId":99,"number":"001569","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1621,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":98,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BELINDA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:43.566395] [notice] Logging level set to:debug -[2025-02-28 16:00:43.774394] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:00:43.774610] [debug] Valor de JSON: {"uuid":"317161d6-ecc0-4c85-947e-7a1798f854b6","changeType":"insert","entity":"invoice","entityId":"1619","eventName":"invoice.add_draft","extraData":{"entity":{"id":1619,"clientId":65,"number":"001570","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1622,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":64,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS MONCADA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:43.774761] [debug] Adición de borrador de Factura - -[2025-02-28 16:00:43.774852] [debug] {"uuid":"317161d6-ecc0-4c85-947e-7a1798f854b6","changeType":"insert","entity":"invoice","entityId":1619,"message":null,"clientId":65,"eventName":"invoice.add_draft","clientData":{"id":65,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS MONCADA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS MONCADA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SEBASTIAN","lastName":"MESA","username":"smesa65","contacts":[{"id":66,"clientId":65,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1619,"clientId":65,"number":"001570","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1622,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":64,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS MONCADA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:43.892038] [notice] Logging level set to:debug -[2025-02-28 16:00:44.044259] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:00:44.044435] [debug] Valor de JSON: {"uuid":"1512cbef-75fb-4237-8009-baf3e2a133ce","changeType":"draft_approved","entity":"invoice","entityId":"1619","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1619,"clientId":65,"number":"001570","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1622,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":64,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS MONCADA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:44.044581] [debug] Aprobación de Factura - -[2025-02-28 16:00:44.044660] [debug] {"uuid":"1512cbef-75fb-4237-8009-baf3e2a133ce","changeType":"draft_approved","entity":"invoice","entityId":1619,"message":null,"clientId":65,"eventName":"invoice.draft_approved","clientData":{"id":65,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS MONCADA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS MONCADA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SEBASTIAN","lastName":"MESA","username":"smesa65","contacts":[{"id":66,"clientId":65,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1619,"clientId":65,"number":"001570","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1622,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":64,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS MONCADA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:44.964725] [notice] Logging level set to:debug -[2025-02-28 16:00:45.114029] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:00:45.114088] [debug] Valor de JSON: {"uuid":"9fa6e79f-753e-49ca-ba3c-dad3078106bb","changeType":"insert","entity":"invoice","entityId":"1620","eventName":"invoice.add_draft","extraData":{"entity":{"id":1620,"clientId":101,"number":"001571","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1623,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":100,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OCTAVIO","clientLastName":"VIDAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ESTA\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:45.114196] [debug] Adición de borrador de Factura - -[2025-02-28 16:00:45.114243] [debug] {"uuid":"9fa6e79f-753e-49ca-ba3c-dad3078106bb","changeType":"insert","entity":"invoice","entityId":1620,"message":null,"clientId":101,"eventName":"invoice.add_draft","clientData":{"id":101,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL ESTA\u00d1O","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL ESTA\u00d1O, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OCTAVIO","lastName":"VIDAL","username":"ovidal01","contacts":[{"id":102,"clientId":101,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1620,"clientId":101,"number":"001571","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1623,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":100,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OCTAVIO","clientLastName":"VIDAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ESTA\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:45.230377] [notice] Logging level set to:debug -[2025-02-28 16:00:45.364617] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:00:45.364753] [debug] Valor de JSON: {"uuid":"10da976a-6e74-4e90-b5fc-26ad33f57bbb","changeType":"draft_approved","entity":"invoice","entityId":"1620","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1620,"clientId":101,"number":"001571","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1623,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":100,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OCTAVIO","clientLastName":"VIDAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ESTA\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:45.364883] [debug] Aprobación de Factura - -[2025-02-28 16:00:45.364960] [debug] {"uuid":"10da976a-6e74-4e90-b5fc-26ad33f57bbb","changeType":"draft_approved","entity":"invoice","entityId":1620,"message":null,"clientId":101,"eventName":"invoice.draft_approved","clientData":{"id":101,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL ESTA\u00d1O","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL ESTA\u00d1O, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OCTAVIO","lastName":"VIDAL","username":"ovidal01","contacts":[{"id":102,"clientId":101,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1620,"clientId":101,"number":"001571","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1623,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":100,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OCTAVIO","clientLastName":"VIDAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ESTA\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:46.288566] [notice] Logging level set to:debug -[2025-02-28 16:00:46.433891] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:00:46.434052] [debug] Valor de JSON: {"uuid":"96b794b6-30f3-4a3b-9346-ab84e08ba89e","changeType":"insert","entity":"invoice","entityId":"1621","eventName":"invoice.add_draft","extraData":{"entity":{"id":1621,"clientId":5,"number":"001572","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1624,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":5,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MUCIO","clientLastName":"ROBLEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CORREGIDORA #61, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:46.434200] [debug] Adición de borrador de Factura - -[2025-02-28 16:00:46.434308] [debug] {"uuid":"96b794b6-30f3-4a3b-9346-ab84e08ba89e","changeType":"insert","entity":"invoice","entityId":1621,"message":null,"clientId":5,"eventName":"invoice.add_draft","clientData":{"id":5,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"CORREGIDORA #61, ZONA CENTRO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"CORREGIDORA #61, ZONA CENTRO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MUCIO","lastName":"ROBLEDO","username":"mrobledo05","contacts":[{"id":6,"clientId":5,"email":null,"phone":"5214181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-11033.33,"accountCredit":0,"accountOutstanding":11033.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.158357169062,"addressGpsLon":-100.93191261001,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1621,"clientId":5,"number":"001572","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1624,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":5,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MUCIO","clientLastName":"ROBLEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CORREGIDORA #61, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:46.434405] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-28 16:00:46.434472] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: MUCIO ROBLEDO - -UUID: 92dd9fb15b8f4ff6860f8a32ea9bd7e4 - -JSON con los datos a actualizar: {"name":"MUCIO ROBLEDO","custom_fields":{"Cliente":5,"Domicilio":"\ud83d\udccd CORREGIDORA #61, ZONA CENTRO, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 MUCIO ROBLEDO","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/5","Saldo Actual":"\ud83d\udcb211033.33 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"5\",\"Domicilio\": \"\ud83d\udccd CORREGIDORA #61, ZONA CENTRO, Dolores Hidalgo, 37800\",\"Nombre\": \"\ud83d\udc64 MUCIO ROBLEDO\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/5\",\"Saldo Actual\": \"\ud83d\udcb211033.33 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 \",\"Estado\": \"\ud83d\udd34 Suspendido\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 28\/02\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 28\/02\/2025 10:00\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 28\/02\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 28\/02\/2025 10:00","Clabe Interbancaria":null}} - -Response Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"MUCIO ROBLEDO","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2024-07-11T22:49:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":[],"assignedUser":null,"customFields":{"Domicilio":"📍 CORREGIDORA #61, ZONA CENTRO, Dolores Hidalgo, 37800","Monto Ultimo Pago":"💲 ","Clabe Interbancaria":"124180650659256341","Resumen":"{\"Cliente\": \"5\",\"Domicilio\": \"📍 CORREGIDORA #61, ZONA CENTRO, Dolores Hidalgo, 37800\",\"Nombre\": \"👤 MUCIO ROBLEDO\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/5\",\"Saldo Actual\": \"💲11033.33 pendientes\",\"Monto Ultimo Pago\": \"💲 \",\"Estado\": \"🔴 Suspendido\",\"Fecha Ultimo Pago\": \"📆💰 28/02/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 28/02/2025 10:00\",\"Clabe Interbancaria\": \"\"}","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 28/02/2025 10:00","Fecha Ultimo Pago":"📆💸 28/02/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Saldo Actual":"💲11033.33 pendientes","Nombre":"👤 MUCIO ROBLEDO","URL":"🌐 https://sistema.siip.mx/crm/client/5","Antena/Sectorial":"Sec3-Sb >> 172.16.55.13/24","Site":"SBARB","Cliente":"5"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-28 16:00:48.461042] [notice] Logging level set to:debug -[2025-02-28 16:00:48.598647] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:00:48.598786] [debug] Valor de JSON: {"uuid":"4160574a-defd-4610-9503-b0baa426f163","changeType":"draft_approved","entity":"invoice","entityId":"1621","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1621,"clientId":5,"number":"001572","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1624,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":5,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MUCIO","clientLastName":"ROBLEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CORREGIDORA #61, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:48.598931] [debug] Aprobación de Factura - -[2025-02-28 16:00:48.599011] [debug] {"uuid":"4160574a-defd-4610-9503-b0baa426f163","changeType":"draft_approved","entity":"invoice","entityId":1621,"message":null,"clientId":5,"eventName":"invoice.draft_approved","clientData":{"id":5,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"CORREGIDORA #61, ZONA CENTRO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"CORREGIDORA #61, ZONA CENTRO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MUCIO","lastName":"ROBLEDO","username":"mrobledo05","contacts":[{"id":6,"clientId":5,"email":null,"phone":"5214181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-11033.33,"accountCredit":0,"accountOutstanding":11033.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.158357169062,"addressGpsLon":-100.93191261001,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1621,"clientId":5,"number":"001572","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1624,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":5,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MUCIO","clientLastName":"ROBLEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CORREGIDORA #61, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:48.599092] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-28 16:00:48.599132] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: MUCIO ROBLEDO - -UUID: 92dd9fb15b8f4ff6860f8a32ea9bd7e4 - -JSON con los datos a actualizar: {"name":"MUCIO ROBLEDO","custom_fields":{"Cliente":5,"Domicilio":"\ud83d\udccd CORREGIDORA #61, ZONA CENTRO, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 MUCIO ROBLEDO","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/5","Saldo Actual":"\ud83d\udcb211033.33 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"5\",\"Domicilio\": \"\ud83d\udccd CORREGIDORA #61, ZONA CENTRO, Dolores Hidalgo, 37800\",\"Nombre\": \"\ud83d\udc64 MUCIO ROBLEDO\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/5\",\"Saldo Actual\": \"\ud83d\udcb211033.33 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 \",\"Estado\": \"\ud83d\udd34 Suspendido\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 28\/02\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 28\/02\/2025 10:00\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 28\/02\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 28\/02\/2025 10:00","Clabe Interbancaria":null}} - -Response Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"MUCIO ROBLEDO","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2024-07-11T22:49:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":[],"assignedUser":null,"customFields":{"Domicilio":"📍 CORREGIDORA #61, ZONA CENTRO, Dolores Hidalgo, 37800","Monto Ultimo Pago":"💲 ","Clabe Interbancaria":"124180650659256341","Resumen":"{\"Cliente\": \"5\",\"Domicilio\": \"📍 CORREGIDORA #61, ZONA CENTRO, Dolores Hidalgo, 37800\",\"Nombre\": \"👤 MUCIO ROBLEDO\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/5\",\"Saldo Actual\": \"💲11033.33 pendientes\",\"Monto Ultimo Pago\": \"💲 \",\"Estado\": \"🔴 Suspendido\",\"Fecha Ultimo Pago\": \"📆💰 28/02/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 28/02/2025 10:00\",\"Clabe Interbancaria\": \"\"}","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 28/02/2025 10:00","Fecha Ultimo Pago":"📆💸 28/02/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Saldo Actual":"💲11033.33 pendientes","Nombre":"👤 MUCIO ROBLEDO","URL":"🌐 https://sistema.siip.mx/crm/client/5","Antena/Sectorial":"Sec3-Sb >> 172.16.55.13/24","Site":"SBARB","Cliente":"5"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-28 16:00:50.499252] [notice] Logging level set to:debug -[2025-02-28 16:00:50.640737] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:00:50.640913] [debug] Valor de JSON: {"uuid":"73e01ee0-88e2-4d66-bf40-a639f2470575","changeType":"insert","entity":"invoice","entityId":"1622","eventName":"invoice.add_draft","extraData":{"entity":{"id":1622,"clientId":6,"number":"001573","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1625,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":6,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEJANDRO","clientLastName":"MOCTEZUMA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:50.641051] [debug] Adición de borrador de Factura - -[2025-02-28 16:00:50.641141] [debug] {"uuid":"73e01ee0-88e2-4d66-bf40-a639f2470575","changeType":"insert","entity":"invoice","entityId":1622,"message":null,"clientId":6,"eventName":"invoice.add_draft","clientData":{"id":6,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"ALEJANDRO","lastName":"MOCTEZUMA","username":"amoctezuma06","contacts":[{"id":7,"clientId":6,"email":null,"phone":"5214181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-3880,"accountCredit":0,"accountOutstanding":3880,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574,"addressGpsLon":-100.934617,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1622,"clientId":6,"number":"001573","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1625,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":6,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEJANDRO","clientLastName":"MOCTEZUMA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:50.641201] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-28 16:00:50.641238] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":27,"clientId":6,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2024-02-01T12:57:53-0600","amount":2000,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":30,"invoiceId":7,"paymentId":27,"creditNoteId":null,"refundId":null,"amount":1700},{"id":31,"invoiceId":5,"paymentId":27,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1000,"attributes":[]}] - -Nombre del cliente que se va a actualizar: ALEJANDRO MOCTEZUMA - -UUID: 71a76e57f89441ff978a5ece070f21d7 - -JSON con los datos a actualizar: {"name":"ALEJANDRO MOCTEZUMA","custom_fields":{"Cliente":6,"Domicilio":"\ud83d\udccd DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 ALEJANDRO MOCTEZUMA","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/6","Saldo Actual":"\ud83d\udcb23880 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 2000","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"6\",\"Domicilio\": \"\ud83d\udccd DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800\",\"Nombre\": \"\ud83d\udc64 ALEJANDRO MOCTEZUMA\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/6\",\"Saldo Actual\": \"\ud83d\udcb23880 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 2000\",\"Estado\": \"\ud83d\udd34 Suspendido\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 01\/02\/2024 12:57 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 28\/02\/2025 10:00\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 01\/02\/2024 12:57 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 28\/02\/2025 10:00","Clabe Interbancaria":null}} - -Response Patch CallBell: {"contact":{"uuid":"71a76e57f89441ff978a5ece070f21d7","name":"ALEJANDRO MOCTEZUMA","phoneNumber":"5214181811375","avatarUrl":null,"createdAt":"2021-06-25T15:57:32Z","closedAt":"2024-03-08T18:53:35Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/71a76e57f89441ff978a5ece070f21d7","conversationHref":"https://dash.callbell.eu/chat/6c83978a945141db820592787b7184d5","tags":[],"assignedUser":null,"customFields":{"Antena/Sectorial":"6","Nombre":"👤 ALEJANDRO MOCTEZUMA","Domicilio":"📍 DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800","Fecha Ultimo Pago":"📆💸 01/02/2024 12:57 con Efectivo 💵","Monto Ultimo Pago":"💲 2000","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 28/02/2025 10:00","Cliente":"6","Resumen":"{\"Cliente\": \"6\",\"Domicilio\": \"📍 DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800\",\"Nombre\": \"👤 ALEJANDRO MOCTEZUMA\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/6\",\"Saldo Actual\": \"💲3880 pendientes\",\"Monto Ultimo Pago\": \"💲 2000\",\"Estado\": \"🔴 Suspendido\",\"Fecha Ultimo Pago\": \"📆💰 01/02/2024 12:57 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 28/02/2025 10:00\",\"Clabe Interbancaria\": \"\"}","Saldo Actual":"💲3880 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/6"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-28 16:00:52.592902] [notice] Logging level set to:debug -[2025-02-28 16:00:52.723860] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:00:52.723920] [debug] Valor de JSON: {"uuid":"aa17da83-54ab-4c16-9f22-551a5372a36e","changeType":"draft_approved","entity":"invoice","entityId":"1622","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1622,"clientId":6,"number":"001573","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1625,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":6,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEJANDRO","clientLastName":"MOCTEZUMA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:52.724040] [debug] Aprobación de Factura - -[2025-02-28 16:00:52.724090] [debug] {"uuid":"aa17da83-54ab-4c16-9f22-551a5372a36e","changeType":"draft_approved","entity":"invoice","entityId":1622,"message":null,"clientId":6,"eventName":"invoice.draft_approved","clientData":{"id":6,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"ALEJANDRO","lastName":"MOCTEZUMA","username":"amoctezuma06","contacts":[{"id":7,"clientId":6,"email":null,"phone":"5214181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-3880,"accountCredit":0,"accountOutstanding":3880,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574,"addressGpsLon":-100.934617,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1622,"clientId":6,"number":"001573","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1625,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":6,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEJANDRO","clientLastName":"MOCTEZUMA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:52.724138] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-28 16:00:52.724153] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":27,"clientId":6,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2024-02-01T12:57:53-0600","amount":2000,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":30,"invoiceId":7,"paymentId":27,"creditNoteId":null,"refundId":null,"amount":1700},{"id":31,"invoiceId":5,"paymentId":27,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1000,"attributes":[]}] - -Nombre del cliente que se va a actualizar: ALEJANDRO MOCTEZUMA - -UUID: 71a76e57f89441ff978a5ece070f21d7 - -JSON con los datos a actualizar: {"name":"ALEJANDRO MOCTEZUMA","custom_fields":{"Cliente":6,"Domicilio":"\ud83d\udccd DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 ALEJANDRO MOCTEZUMA","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/6","Saldo Actual":"\ud83d\udcb23880 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 2000","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"6\",\"Domicilio\": \"\ud83d\udccd DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800\",\"Nombre\": \"\ud83d\udc64 ALEJANDRO MOCTEZUMA\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/6\",\"Saldo Actual\": \"\ud83d\udcb23880 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 2000\",\"Estado\": \"\ud83d\udd34 Suspendido\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 01\/02\/2024 12:57 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 28\/02\/2025 10:00\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 01\/02\/2024 12:57 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 28\/02\/2025 10:00","Clabe Interbancaria":null}} - -Response Patch CallBell: {"contact":{"uuid":"71a76e57f89441ff978a5ece070f21d7","name":"ALEJANDRO MOCTEZUMA","phoneNumber":"5214181811375","avatarUrl":null,"createdAt":"2021-06-25T15:57:32Z","closedAt":"2024-03-08T18:53:35Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/71a76e57f89441ff978a5ece070f21d7","conversationHref":"https://dash.callbell.eu/chat/6c83978a945141db820592787b7184d5","tags":[],"assignedUser":null,"customFields":{"Antena/Sectorial":"6","Nombre":"👤 ALEJANDRO MOCTEZUMA","Domicilio":"📍 DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800","Fecha Ultimo Pago":"📆💸 01/02/2024 12:57 con Efectivo 💵","Monto Ultimo Pago":"💲 2000","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 28/02/2025 10:00","Cliente":"6","Resumen":"{\"Cliente\": \"6\",\"Domicilio\": \"📍 DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800\",\"Nombre\": \"👤 ALEJANDRO MOCTEZUMA\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/6\",\"Saldo Actual\": \"💲3880 pendientes\",\"Monto Ultimo Pago\": \"💲 2000\",\"Estado\": \"🔴 Suspendido\",\"Fecha Ultimo Pago\": \"📆💰 01/02/2024 12:57 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 28/02/2025 10:00\",\"Clabe Interbancaria\": \"\"}","Saldo Actual":"💲3880 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/6"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-28 16:00:54.545228] [notice] Logging level set to:debug -[2025-02-28 16:00:54.692060] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:00:54.692209] [debug] Valor de JSON: {"uuid":"1147f6fb-144f-4f6e-8614-39e08c23eaaa","changeType":"insert","entity":"invoice","entityId":"1623","eventName":"invoice.add_draft","extraData":{"entity":{"id":1623,"clientId":12,"number":"001574","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1626,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":12,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MIRIAM","clientLastName":"ZURITA RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:54.692337] [debug] Adición de borrador de Factura - -[2025-02-28 16:00:54.692420] [debug] {"uuid":"1147f6fb-144f-4f6e-8614-39e08c23eaaa","changeType":"insert","entity":"invoice","entityId":1623,"message":null,"clientId":12,"eventName":"invoice.add_draft","clientData":{"id":12,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"DOLORES HIDALGO","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MIRIAM","lastName":"ZURITA RAMIREZ","username":"mzurita12","contacts":[{"id":13,"clientId":12,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-8433.33,"accountCredit":0,"accountOutstanding":8433.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":1623,"clientId":12,"number":"001574","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1626,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":12,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MIRIAM","clientLastName":"ZURITA RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:54.692508] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-28 16:00:54.692548] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":11,"clientId":12,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2024-01-29T11:46:50-0600","amount":3500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":13,"invoiceId":20,"paymentId":11,"creditNoteId":null,"refundId":null,"amount":3500}],"creditAmount":0,"userId":1000,"attributes":[]}] - -Nombre del cliente que se va a actualizar: MIRIAM ZURITA RAMIREZ - -UUID: 7ec1948ad8af4bcd8eff0d7c2a995d09 - -JSON con los datos a actualizar: {"name":"MIRIAM ZURITA RAMIREZ","custom_fields":{"Cliente":12,"Domicilio":"\ud83d\udccd DOLORES HIDALGO","Nombre":"\ud83d\udc64 MIRIAM ZURITA RAMIREZ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/12","Saldo Actual":"\ud83d\udcb28433.33 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 3500","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"12\",\"Domicilio\": \"\ud83d\udccd DOLORES HIDALGO\",\"Nombre\": \"\ud83d\udc64 MIRIAM ZURITA RAMIREZ\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/12\",\"Saldo Actual\": \"\ud83d\udcb28433.33 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 3500\",\"Estado\": \"\ud83d\udd34 Suspendido\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 29\/01\/2024 11:46 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 28\/02\/2025 10:00\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 29\/01\/2024 11:46 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 28\/02\/2025 10:00","Clabe Interbancaria":null}} - -Response Patch CallBell: {"contact":{"uuid":"7ec1948ad8af4bcd8eff0d7c2a995d09","name":"MIRIAM ZURITA RAMIREZ","phoneNumber":"5214181577623","avatarUrl":null,"createdAt":"2023-12-22T16:52:57Z","closedAt":"2025-01-07T23:12:30Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7ec1948ad8af4bcd8eff0d7c2a995d09","conversationHref":"https://dash.callbell.eu/chat/d06f5a96768c4945b7a659a6930e5fa0","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"124180650725363841","Fecha Ultimo Pago":"📆💸 29/01/2024 11:46 con Efectivo 💵","Saldo Actual":"💲8433.33 pendientes","user name":"Míriam Moctezuma","Estado":"🔴 Suspendido","Monto Ultimo Pago":"💲 3500","URL":"🌐 https://sistema.siip.mx/crm/client/12","Domicilio":"📍 DOLORES HIDALGO","Resumen":"{\"Cliente\": \"12\",\"Domicilio\": \"📍 DOLORES HIDALGO\",\"Nombre\": \"👤 MIRIAM ZURITA RAMIREZ\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/12\",\"Saldo Actual\": \"💲8433.33 pendientes\",\"Monto Ultimo Pago\": \"💲 3500\",\"Estado\": \"🔴 Suspendido\",\"Fecha Ultimo Pago\": \"📆💰 29/01/2024 11:46 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 28/02/2025 10:00\",\"Clabe Interbancaria\": \"\"}","Antena/Sectorial":"Rocket Prism 5AC >> 172.16.12.12/24","Site":"GPE1","Cliente":"12","Fecha Ultima Actualizacion":"📆🔄️ 28/02/2025 10:00","Nombre":"👤 MIRIAM ZURITA RAMIREZ"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-28 16:00:56.630234] [notice] Logging level set to:debug -[2025-02-28 16:00:56.776166] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:00:56.776228] [debug] Valor de JSON: {"uuid":"2830daaf-d331-42b3-b91c-2329ccfc3f48","changeType":"draft_approved","entity":"invoice","entityId":"1623","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1623,"clientId":12,"number":"001574","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1626,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":12,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MIRIAM","clientLastName":"ZURITA RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:56.776341] [debug] Aprobación de Factura - -[2025-02-28 16:00:56.776388] [debug] {"uuid":"2830daaf-d331-42b3-b91c-2329ccfc3f48","changeType":"draft_approved","entity":"invoice","entityId":1623,"message":null,"clientId":12,"eventName":"invoice.draft_approved","clientData":{"id":12,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"DOLORES HIDALGO","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MIRIAM","lastName":"ZURITA RAMIREZ","username":"mzurita12","contacts":[{"id":13,"clientId":12,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-8433.33,"accountCredit":0,"accountOutstanding":8433.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":1623,"clientId":12,"number":"001574","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1626,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":12,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MIRIAM","clientLastName":"ZURITA RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:56.776439] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-28 16:00:56.776453] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":11,"clientId":12,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2024-01-29T11:46:50-0600","amount":3500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":13,"invoiceId":20,"paymentId":11,"creditNoteId":null,"refundId":null,"amount":3500}],"creditAmount":0,"userId":1000,"attributes":[]}] - -Nombre del cliente que se va a actualizar: MIRIAM ZURITA RAMIREZ - -UUID: 7ec1948ad8af4bcd8eff0d7c2a995d09 - -JSON con los datos a actualizar: {"name":"MIRIAM ZURITA RAMIREZ","custom_fields":{"Cliente":12,"Domicilio":"\ud83d\udccd DOLORES HIDALGO","Nombre":"\ud83d\udc64 MIRIAM ZURITA RAMIREZ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/12","Saldo Actual":"\ud83d\udcb28433.33 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 3500","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"12\",\"Domicilio\": \"\ud83d\udccd DOLORES HIDALGO\",\"Nombre\": \"\ud83d\udc64 MIRIAM ZURITA RAMIREZ\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/12\",\"Saldo Actual\": \"\ud83d\udcb28433.33 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 3500\",\"Estado\": \"\ud83d\udd34 Suspendido\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 29\/01\/2024 11:46 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 28\/02\/2025 10:00\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 29\/01\/2024 11:46 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 28\/02\/2025 10:00","Clabe Interbancaria":null}} - -Response Patch CallBell: {"contact":{"uuid":"7ec1948ad8af4bcd8eff0d7c2a995d09","name":"MIRIAM ZURITA RAMIREZ","phoneNumber":"5214181577623","avatarUrl":null,"createdAt":"2023-12-22T16:52:57Z","closedAt":"2025-01-07T23:12:30Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7ec1948ad8af4bcd8eff0d7c2a995d09","conversationHref":"https://dash.callbell.eu/chat/d06f5a96768c4945b7a659a6930e5fa0","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"124180650725363841","Fecha Ultimo Pago":"📆💸 29/01/2024 11:46 con Efectivo 💵","Saldo Actual":"💲8433.33 pendientes","user name":"Míriam Moctezuma","Estado":"🔴 Suspendido","Monto Ultimo Pago":"💲 3500","URL":"🌐 https://sistema.siip.mx/crm/client/12","Domicilio":"📍 DOLORES HIDALGO","Resumen":"{\"Cliente\": \"12\",\"Domicilio\": \"📍 DOLORES HIDALGO\",\"Nombre\": \"👤 MIRIAM ZURITA RAMIREZ\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/12\",\"Saldo Actual\": \"💲8433.33 pendientes\",\"Monto Ultimo Pago\": \"💲 3500\",\"Estado\": \"🔴 Suspendido\",\"Fecha Ultimo Pago\": \"📆💰 29/01/2024 11:46 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 28/02/2025 10:00\",\"Clabe Interbancaria\": \"\"}","Antena/Sectorial":"Rocket Prism 5AC >> 172.16.12.12/24","Site":"GPE1","Cliente":"12","Fecha Ultima Actualizacion":"📆🔄️ 28/02/2025 10:00","Nombre":"👤 MIRIAM ZURITA RAMIREZ"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-28 16:00:58.790355] [notice] Logging level set to:debug -[2025-02-28 16:00:58.931056] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:00:58.931231] [debug] Valor de JSON: {"uuid":"32dc1499-97f4-4a75-8ede-59e9892474dd","changeType":"insert","entity":"invoice","entityId":"1624","eventName":"invoice.add_draft","extraData":{"entity":{"id":1624,"clientId":27,"number":"001575","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1627,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":26,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXIS","clientLastName":"DIAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA RITA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:58.931375] [debug] Adición de borrador de Factura - -[2025-02-28 16:00:58.931452] [debug] {"uuid":"32dc1499-97f4-4a75-8ede-59e9892474dd","changeType":"insert","entity":"invoice","entityId":1624,"message":null,"clientId":27,"eventName":"invoice.add_draft","clientData":{"id":27,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA RITA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA RITA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALEXIS","lastName":"DIAZ","username":"adiaz27","contacts":[{"id":28,"clientId":27,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3910,"accountCredit":0,"accountOutstanding":3910,"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":1624,"clientId":27,"number":"001575","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1627,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":26,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXIS","clientLastName":"DIAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA RITA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:59.049834] [notice] Logging level set to:debug -[2025-02-28 16:00:59.196576] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:00:59.196760] [debug] Valor de JSON: {"uuid":"324aa44f-c4ca-4aa6-bf54-6156bed169db","changeType":"draft_approved","entity":"invoice","entityId":"1624","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1624,"clientId":27,"number":"001575","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1627,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":26,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXIS","clientLastName":"DIAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA RITA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:59.196918] [debug] Aprobación de Factura - -[2025-02-28 16:00:59.197002] [debug] {"uuid":"324aa44f-c4ca-4aa6-bf54-6156bed169db","changeType":"draft_approved","entity":"invoice","entityId":1624,"message":null,"clientId":27,"eventName":"invoice.draft_approved","clientData":{"id":27,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA RITA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA RITA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALEXIS","lastName":"DIAZ","username":"adiaz27","contacts":[{"id":28,"clientId":27,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3910,"accountCredit":0,"accountOutstanding":3910,"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":1624,"clientId":27,"number":"001575","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1627,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":26,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXIS","clientLastName":"DIAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA RITA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:59.310192] [notice] Logging level set to:debug -[2025-02-28 16:00:59.447771] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:00:59.447949] [debug] Valor de JSON: {"uuid":"f996169e-bf3f-41f1-9033-0faa4630844e","changeType":"insert","entity":"invoice","entityId":"1625","eventName":"invoice.add_draft","extraData":{"entity":{"id":1625,"clientId":25,"number":"001576","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1628,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":24,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ARIEL","clientLastName":"CORTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL DURAZNO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:59.448098] [debug] Adición de borrador de Factura - -[2025-02-28 16:00:59.448177] [debug] {"uuid":"f996169e-bf3f-41f1-9033-0faa4630844e","changeType":"insert","entity":"invoice","entityId":1625,"message":null,"clientId":25,"eventName":"invoice.add_draft","clientData":{"id":25,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL DURAZNO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL DURAZNO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ARIEL","lastName":"CORTES","username":"acortes25","contacts":[{"id":26,"clientId":25,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-11900,"accountCredit":0,"accountOutstanding":11900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1625,"clientId":25,"number":"001576","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1628,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":24,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ARIEL","clientLastName":"CORTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL DURAZNO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:59.563090] [notice] Logging level set to:debug -[2025-02-28 16:00:59.749584] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:00:59.749790] [debug] Valor de JSON: {"uuid":"b2b7b9fa-2abd-4c15-a144-10fe823edea7","changeType":"draft_approved","entity":"invoice","entityId":"1625","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1625,"clientId":25,"number":"001576","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1628,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":24,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ARIEL","clientLastName":"CORTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL DURAZNO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:00:59.749948] [debug] Aprobación de Factura - -[2025-02-28 16:00:59.750039] [debug] {"uuid":"b2b7b9fa-2abd-4c15-a144-10fe823edea7","changeType":"draft_approved","entity":"invoice","entityId":1625,"message":null,"clientId":25,"eventName":"invoice.draft_approved","clientData":{"id":25,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL DURAZNO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL DURAZNO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ARIEL","lastName":"CORTES","username":"acortes25","contacts":[{"id":26,"clientId":25,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-11900,"accountCredit":0,"accountOutstanding":11900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1625,"clientId":25,"number":"001576","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1628,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":24,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ARIEL","clientLastName":"CORTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL DURAZNO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:00:59.887293] [notice] Logging level set to:debug -[2025-02-28 16:01:00.080408] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:00.080586] [debug] Valor de JSON: {"uuid":"f9ab7707-a137-4e47-9c0b-0b8d1f3591be","changeType":"insert","entity":"invoice","entityId":"1626","eventName":"invoice.add_draft","extraData":{"entity":{"id":1626,"clientId":71,"number":"001577","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1629,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":70,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":300,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":670,"invoiceId":1626,"paymentId":581,"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":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:00.080725] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:00.080801] [debug] {"uuid":"f9ab7707-a137-4e47-9c0b-0b8d1f3591be","changeType":"insert","entity":"invoice","entityId":1626,"message":null,"clientId":71,"eventName":"invoice.add_draft","clientData":{"id":71,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MNARIA","lastName":"ALVAREZ","username":"malvarez71","contacts":[{"id":72,"clientId":71,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4caf50","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1626,"clientId":71,"number":"001577","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1629,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":70,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":300,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":670,"invoiceId":1626,"paymentId":581,"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":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:00.192270] [notice] Logging level set to:debug -[2025-02-28 16:01:00.355596] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:00.355781] [debug] Valor de JSON: {"uuid":"c5277f20-8706-4238-b617-30defa68fa23","changeType":"draft_approved","entity":"invoice","entityId":"1626","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1626,"clientId":71,"number":"001577","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1629,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":70,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":300,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":670,"invoiceId":1626,"paymentId":581,"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":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:00.355942] [debug] Aprobación de Factura - -[2025-02-28 16:01:00.356024] [debug] {"uuid":"c5277f20-8706-4238-b617-30defa68fa23","changeType":"draft_approved","entity":"invoice","entityId":1626,"message":null,"clientId":71,"eventName":"invoice.draft_approved","clientData":{"id":71,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MNARIA","lastName":"ALVAREZ","username":"malvarez71","contacts":[{"id":72,"clientId":71,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4caf50","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1626,"clientId":71,"number":"001577","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1629,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":70,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":300,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":670,"invoiceId":1626,"paymentId":581,"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":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:00.465125] [notice] Logging level set to:debug -[2025-02-28 16:01:00.693185] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:00.693381] [debug] Valor de JSON: {"uuid":"cc00785e-7d06-4220-9563-5120ed68a271","changeType":"insert","entity":"invoice","entityId":"1627","eventName":"invoice.add_draft","extraData":{"entity":{"id":1627,"clientId":56,"number":"001578","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1630,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":55,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NOE","clientLastName":"SANDOVAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:00.693526] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:00.693608] [debug] {"uuid":"cc00785e-7d06-4220-9563-5120ed68a271","changeType":"insert","entity":"invoice","entityId":1627,"message":null,"clientId":56,"eventName":"invoice.add_draft","clientData":{"id":56,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTIAGUILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":null,"fullAddress":"SANTIAGUILLO, Dolores Hidalgo Cuna de la Independencia Nacional","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"NOE","lastName":"SANDOVAL","username":"nsandoval56","contacts":[{"id":57,"clientId":56,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#039be5","addressGpsLat":21.0165209,"addressGpsLon":-100.9831731,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1627,"clientId":56,"number":"001578","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1630,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":55,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NOE","clientLastName":"SANDOVAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:00.801886] [notice] Logging level set to:debug -[2025-02-28 16:01:01.054538] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:01.057812] [debug] Valor de JSON: {"uuid":"21a203ba-0007-4ede-b3cb-6984221daa50","changeType":"draft_approved","entity":"invoice","entityId":"1627","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1627,"clientId":56,"number":"001578","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1630,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":55,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NOE","clientLastName":"SANDOVAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:01.058043] [debug] Aprobación de Factura - -[2025-02-28 16:01:01.058129] [debug] {"uuid":"21a203ba-0007-4ede-b3cb-6984221daa50","changeType":"draft_approved","entity":"invoice","entityId":1627,"message":null,"clientId":56,"eventName":"invoice.draft_approved","clientData":{"id":56,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTIAGUILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":null,"fullAddress":"SANTIAGUILLO, Dolores Hidalgo Cuna de la Independencia Nacional","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"NOE","lastName":"SANDOVAL","username":"nsandoval56","contacts":[{"id":57,"clientId":56,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#039be5","addressGpsLat":21.0165209,"addressGpsLon":-100.9831731,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1627,"clientId":56,"number":"001578","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1630,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":55,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NOE","clientLastName":"SANDOVAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:01.166112] [notice] Logging level set to:debug -[2025-02-28 16:01:01.344707] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:01.344892] [debug] Valor de JSON: {"uuid":"ea0bf663-6345-4d87-bf23-94a8b2afccc1","changeType":"insert","entity":"invoice","entityId":"1628","eventName":"invoice.add_draft","extraData":{"entity":{"id":1628,"clientId":32,"number":"001579","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1631,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":31,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EMILIO","clientLastName":"PEREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON DE LAS MINAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:01.345026] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:01.345182] [debug] {"uuid":"ea0bf663-6345-4d87-bf23-94a8b2afccc1","changeType":"insert","entity":"invoice","entityId":1628,"message":null,"clientId":32,"eventName":"invoice.add_draft","clientData":{"id":32,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ANTON DE LAS MINAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ANTON DE LAS MINAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EMILIO","lastName":"PEREZ","username":"eperez32","contacts":[{"id":33,"clientId":32,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5140,"accountCredit":0,"accountOutstanding":5140,"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":1628,"clientId":32,"number":"001579","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1631,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":31,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EMILIO","clientLastName":"PEREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON DE LAS MINAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:01.459469] [notice] Logging level set to:debug -[2025-02-28 16:01:01.645068] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:01.648185] [debug] Valor de JSON: {"uuid":"454a87a6-07f0-4b9a-996a-b440530eef4f","changeType":"draft_approved","entity":"invoice","entityId":"1628","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1628,"clientId":32,"number":"001579","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1631,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":31,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EMILIO","clientLastName":"PEREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON DE LAS MINAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:01.648384] [debug] Aprobación de Factura - -[2025-02-28 16:01:01.648469] [debug] {"uuid":"454a87a6-07f0-4b9a-996a-b440530eef4f","changeType":"draft_approved","entity":"invoice","entityId":1628,"message":null,"clientId":32,"eventName":"invoice.draft_approved","clientData":{"id":32,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ANTON DE LAS MINAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ANTON DE LAS MINAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EMILIO","lastName":"PEREZ","username":"eperez32","contacts":[{"id":33,"clientId":32,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5140,"accountCredit":0,"accountOutstanding":5140,"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":1628,"clientId":32,"number":"001579","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1631,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":31,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EMILIO","clientLastName":"PEREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON DE LAS MINAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:02.439743] [notice] Logging level set to:debug -[2025-02-28 16:01:02.595033] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:02.595215] [debug] Valor de JSON: {"uuid":"e33d115b-bdb5-4a2e-b383-6d6560211f19","changeType":"insert","entity":"invoice","entityId":"1629","eventName":"invoice.add_draft","extraData":{"entity":{"id":1629,"clientId":42,"number":"001580","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1632,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":41,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORENA","clientLastName":"MARTINEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:02.595382] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:02.595462] [debug] {"uuid":"e33d115b-bdb5-4a2e-b383-6d6560211f19","changeType":"insert","entity":"invoice","entityId":1629,"message":null,"clientId":42,"eventName":"invoice.add_draft","clientData":{"id":42,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"LORENA","lastName":"MARTINEZ","username":"lmartinez42","contacts":[{"id":43,"clientId":42,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4210,"accountCredit":0,"accountOutstanding":4210,"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":1629,"clientId":42,"number":"001580","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1632,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":41,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORENA","clientLastName":"MARTINEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:02.710315] [notice] Logging level set to:debug -[2025-02-28 16:01:02.854434] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:02.854628] [debug] Valor de JSON: {"uuid":"717d4084-538a-49b9-8b8b-5b5f327c712e","changeType":"draft_approved","entity":"invoice","entityId":"1629","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1629,"clientId":42,"number":"001580","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1632,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":41,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORENA","clientLastName":"MARTINEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:02.854875] [debug] Aprobación de Factura - -[2025-02-28 16:01:02.854959] [debug] {"uuid":"717d4084-538a-49b9-8b8b-5b5f327c712e","changeType":"draft_approved","entity":"invoice","entityId":1629,"message":null,"clientId":42,"eventName":"invoice.draft_approved","clientData":{"id":42,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"LORENA","lastName":"MARTINEZ","username":"lmartinez42","contacts":[{"id":43,"clientId":42,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4210,"accountCredit":0,"accountOutstanding":4210,"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":1629,"clientId":42,"number":"001580","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1632,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":41,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORENA","clientLastName":"MARTINEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:03.821935] [notice] Logging level set to:debug -[2025-02-28 16:01:03.967710] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:03.967773] [debug] Valor de JSON: {"uuid":"67d90a52-5c00-4f70-b998-d8b1fa4721ff","changeType":"insert","entity":"invoice","entityId":"1630","eventName":"invoice.add_draft","extraData":{"entity":{"id":1630,"clientId":15,"number":"001581","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1633,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":15,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"VILLEGAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:03.967878] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:03.967941] [debug] {"uuid":"67d90a52-5c00-4f70-b998-d8b1fa4721ff","changeType":"insert","entity":"invoice","entityId":1630,"message":null,"clientId":15,"eventName":"invoice.add_draft","clientData":{"id":15,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDUARDO","lastName":"VILLEGAZ","username":"evillegaz15","contacts":[{"id":16,"clientId":15,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-10500,"accountCredit":0,"accountOutstanding":10500,"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":1630,"clientId":15,"number":"001581","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1633,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":15,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"VILLEGAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:03.968009] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-28 16:01:03.968028] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":16,"clientId":15,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2024-01-29T16:50:24-0600","amount":3500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":18,"invoiceId":25,"paymentId":16,"creditNoteId":null,"refundId":null,"amount":3500}],"creditAmount":0,"userId":1000,"attributes":[]}] - -Nombre del cliente que se va a actualizar: EDUARDO VILLEGAZ - -UUID: 92dd9fb15b8f4ff6860f8a32ea9bd7e4 - -JSON con los datos a actualizar: {"name":"EDUARDO VILLEGAZ","custom_fields":{"Cliente":15,"Domicilio":"\ud83d\udccd SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Nombre":"\ud83d\udc64 EDUARDO VILLEGAZ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/15","Saldo Actual":"\ud83d\udcb210500 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 3500","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"15\",\"Domicilio\": \"\ud83d\udccd SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800\",\"Nombre\": \"\ud83d\udc64 EDUARDO VILLEGAZ\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/15\",\"Saldo Actual\": \"\ud83d\udcb210500 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 3500\",\"Estado\": \"\ud83d\udd34 Suspendido\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 29\/01\/2024 16:50 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 28\/02\/2025 10:01\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 29\/01\/2024 16:50 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 28\/02\/2025 10:01","Clabe Interbancaria":null}} - -Response Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"EDUARDO VILLEGAZ","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2024-07-11T22:49:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Resumen":"{\"Cliente\": \"15\",\"Domicilio\": \"📍 SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800\",\"Nombre\": \"👤 EDUARDO VILLEGAZ\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/15\",\"Saldo Actual\": \"💲10500 pendientes\",\"Monto Ultimo Pago\": \"💲 3500\",\"Estado\": \"🔴 Suspendido\",\"Fecha Ultimo Pago\": \"📆💰 29/01/2024 16:50 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 28/02/2025 10:01\",\"Clabe Interbancaria\": \"\"}","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 28/02/2025 10:01","Fecha Ultimo Pago":"📆💸 29/01/2024 16:50 con Efectivo 💵","Saldo Actual":"💲10500 pendientes","Nombre":"👤 EDUARDO VILLEGAZ","URL":"🌐 https://sistema.siip.mx/crm/client/15","Antena/Sectorial":"Sec3-Sb >> 172.16.55.13/24","Site":"SBARB","Cliente":"15","Domicilio":"📍 SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Monto Ultimo Pago":"💲 3500"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-28 16:01:06.016880] [notice] Logging level set to:debug -[2025-02-28 16:01:06.189429] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:06.189718] [debug] Valor de JSON: {"uuid":"228779eb-68ce-44df-971e-d533fd9ac3ab","changeType":"draft_approved","entity":"invoice","entityId":"1630","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1630,"clientId":15,"number":"001581","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1633,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":15,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"VILLEGAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:06.189882] [debug] Aprobación de Factura - -[2025-02-28 16:01:06.189963] [debug] {"uuid":"228779eb-68ce-44df-971e-d533fd9ac3ab","changeType":"draft_approved","entity":"invoice","entityId":1630,"message":null,"clientId":15,"eventName":"invoice.draft_approved","clientData":{"id":15,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDUARDO","lastName":"VILLEGAZ","username":"evillegaz15","contacts":[{"id":16,"clientId":15,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-10500,"accountCredit":0,"accountOutstanding":10500,"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":1630,"clientId":15,"number":"001581","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1633,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":15,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"VILLEGAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:06.190046] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-28 16:01:06.190084] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":16,"clientId":15,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2024-01-29T16:50:24-0600","amount":3500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":18,"invoiceId":25,"paymentId":16,"creditNoteId":null,"refundId":null,"amount":3500}],"creditAmount":0,"userId":1000,"attributes":[]}] - -Nombre del cliente que se va a actualizar: EDUARDO VILLEGAZ - -UUID: 92dd9fb15b8f4ff6860f8a32ea9bd7e4 - -JSON con los datos a actualizar: {"name":"EDUARDO VILLEGAZ","custom_fields":{"Cliente":15,"Domicilio":"\ud83d\udccd SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Nombre":"\ud83d\udc64 EDUARDO VILLEGAZ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/15","Saldo Actual":"\ud83d\udcb210500 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 3500","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"15\",\"Domicilio\": \"\ud83d\udccd SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800\",\"Nombre\": \"\ud83d\udc64 EDUARDO VILLEGAZ\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/15\",\"Saldo Actual\": \"\ud83d\udcb210500 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 3500\",\"Estado\": \"\ud83d\udd34 Suspendido\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 29\/01\/2024 16:50 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 28\/02\/2025 10:01\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 29\/01\/2024 16:50 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 28\/02\/2025 10:01","Clabe Interbancaria":null}} - -Response Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"EDUARDO VILLEGAZ","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2024-07-11T22:49:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Resumen":"{\"Cliente\": \"15\",\"Domicilio\": \"📍 SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800\",\"Nombre\": \"👤 EDUARDO VILLEGAZ\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/15\",\"Saldo Actual\": \"💲10500 pendientes\",\"Monto Ultimo Pago\": \"💲 3500\",\"Estado\": \"🔴 Suspendido\",\"Fecha Ultimo Pago\": \"📆💰 29/01/2024 16:50 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 28/02/2025 10:01\",\"Clabe Interbancaria\": \"\"}","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 28/02/2025 10:01","Fecha Ultimo Pago":"📆💸 29/01/2024 16:50 con Efectivo 💵","Saldo Actual":"💲10500 pendientes","Nombre":"👤 EDUARDO VILLEGAZ","URL":"🌐 https://sistema.siip.mx/crm/client/15","Antena/Sectorial":"Sec3-Sb >> 172.16.55.13/24","Site":"SBARB","Cliente":"15","Domicilio":"📍 SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Monto Ultimo Pago":"💲 3500"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-28 16:01:07.642519] [notice] Logging level set to:debug -[2025-02-28 16:01:07.774240] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:07.774301] [debug] Valor de JSON: {"uuid":"b20733b8-0661-4855-aac8-eabe58437dab","changeType":"insert","entity":"invoice","entityId":"1631","eventName":"invoice.add_draft","extraData":{"entity":{"id":1631,"clientId":59,"number":"001582","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1634,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":58,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAMSES","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:07.774395] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:07.774441] [debug] {"uuid":"b20733b8-0661-4855-aac8-eabe58437dab","changeType":"insert","entity":"invoice","entityId":1631,"message":null,"clientId":59,"eventName":"invoice.add_draft","clientData":{"id":59,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"GUSANO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"GUSANO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"RAMSES","lastName":"HERRERA","username":"rherrera59","contacts":[{"id":60,"clientId":59,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1631,"clientId":59,"number":"001582","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1634,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":58,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAMSES","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:07.886560] [notice] Logging level set to:debug -[2025-02-28 16:01:08.035836] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:08.035906] [debug] Valor de JSON: {"uuid":"639d8b93-01ee-4bd8-90b7-7b12a165e00a","changeType":"draft_approved","entity":"invoice","entityId":"1631","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1631,"clientId":59,"number":"001582","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1634,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":58,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAMSES","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:08.036019] [debug] Aprobación de Factura - -[2025-02-28 16:01:08.036138] [debug] {"uuid":"639d8b93-01ee-4bd8-90b7-7b12a165e00a","changeType":"draft_approved","entity":"invoice","entityId":1631,"message":null,"clientId":59,"eventName":"invoice.draft_approved","clientData":{"id":59,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"GUSANO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"GUSANO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"RAMSES","lastName":"HERRERA","username":"rherrera59","contacts":[{"id":60,"clientId":59,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1631,"clientId":59,"number":"001582","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1634,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":58,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAMSES","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:08.150638] [notice] Logging level set to:debug -[2025-02-28 16:01:08.309864] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:08.310035] [debug] Valor de JSON: {"uuid":"b3d959c5-d453-4ff1-bef3-2a2fd99d043e","changeType":"insert","entity":"invoice","entityId":"1632","eventName":"invoice.add_draft","extraData":{"entity":{"id":1632,"clientId":58,"number":"001583","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1635,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":57,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"DOMINGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MOLINO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:08.310183] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:08.310262] [debug] {"uuid":"b3d959c5-d453-4ff1-bef3-2a2fd99d043e","changeType":"insert","entity":"invoice","entityId":1632,"message":null,"clientId":58,"eventName":"invoice.add_draft","clientData":{"id":58,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL MOLINO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL MOLINO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDGAR","lastName":"DOMINGUEZ","username":"edominguez58","contacts":[{"id":59,"clientId":58,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1632,"clientId":58,"number":"001583","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1635,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":57,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"DOMINGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MOLINO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:08.424983] [notice] Logging level set to:debug -[2025-02-28 16:01:08.559089] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:08.559262] [debug] Valor de JSON: {"uuid":"f4007a06-2708-4513-bfa0-1d41d9f90d70","changeType":"draft_approved","entity":"invoice","entityId":"1632","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1632,"clientId":58,"number":"001583","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1635,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":57,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"DOMINGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MOLINO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:08.559403] [debug] Aprobación de Factura - -[2025-02-28 16:01:08.559482] [debug] {"uuid":"f4007a06-2708-4513-bfa0-1d41d9f90d70","changeType":"draft_approved","entity":"invoice","entityId":1632,"message":null,"clientId":58,"eventName":"invoice.draft_approved","clientData":{"id":58,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL MOLINO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL MOLINO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDGAR","lastName":"DOMINGUEZ","username":"edominguez58","contacts":[{"id":59,"clientId":58,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1632,"clientId":58,"number":"001583","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1635,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":57,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"DOMINGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MOLINO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:08.870826] [notice] Logging level set to:debug -[2025-02-28 16:01:09.013082] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:09.013268] [debug] Valor de JSON: {"uuid":"4923d19a-113d-4ede-8608-05281be3f615","changeType":"insert","entity":"invoice","entityId":"1633","eventName":"invoice.add_draft","extraData":{"entity":{"id":1633,"clientId":87,"number":"001584","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1636,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":86,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:09.013403] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:09.013484] [debug] {"uuid":"4923d19a-113d-4ede-8608-05281be3f615","changeType":"insert","entity":"invoice","entityId":1633,"message":null,"clientId":87,"eventName":"invoice.add_draft","clientData":{"id":87,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ANTON","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ANTON, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"TERESA","lastName":"REYES","username":"treyes87","contacts":[{"id":88,"clientId":87,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1565c0","addressGpsLat":21.1473165,"addressGpsLon":-100.9333759,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1633,"clientId":87,"number":"001584","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1636,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":86,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:09.124624] [notice] Logging level set to:debug -[2025-02-28 16:01:09.310211] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:09.310400] [debug] Valor de JSON: {"uuid":"9ee0fb13-704d-4d77-998a-d4c657e3a5b6","changeType":"draft_approved","entity":"invoice","entityId":"1633","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1633,"clientId":87,"number":"001584","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1636,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":86,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:09.310570] [debug] Aprobación de Factura - -[2025-02-28 16:01:09.310652] [debug] {"uuid":"9ee0fb13-704d-4d77-998a-d4c657e3a5b6","changeType":"draft_approved","entity":"invoice","entityId":1633,"message":null,"clientId":87,"eventName":"invoice.draft_approved","clientData":{"id":87,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ANTON","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ANTON, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"TERESA","lastName":"REYES","username":"treyes87","contacts":[{"id":88,"clientId":87,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1565c0","addressGpsLat":21.1473165,"addressGpsLon":-100.9333759,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1633,"clientId":87,"number":"001584","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1636,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":86,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:10.240642] [notice] Logging level set to:debug -[2025-02-28 16:01:10.375119] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:10.375188] [debug] Valor de JSON: {"uuid":"3bfbf423-9de8-4987-b9da-fe139d797c9a","changeType":"insert","entity":"invoice","entityId":"1634","eventName":"invoice.add_draft","extraData":{"entity":{"id":1634,"clientId":83,"number":"001585","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1637,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":82,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"SOLIS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL VERGEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:10.375298] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:10.375346] [debug] {"uuid":"3bfbf423-9de8-4987-b9da-fe139d797c9a","changeType":"insert","entity":"invoice","entityId":1634,"message":null,"clientId":83,"eventName":"invoice.add_draft","clientData":{"id":83,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL VERGEL","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL VERGEL, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDUARDO","lastName":"SOLIS","username":"esolis83","contacts":[{"id":84,"clientId":83,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-8500,"accountCredit":0,"accountOutstanding":8500,"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":1634,"clientId":83,"number":"001585","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1637,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":82,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"SOLIS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL VERGEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:10.489337] [notice] Logging level set to:debug -[2025-02-28 16:01:10.630939] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:10.631002] [debug] Valor de JSON: {"uuid":"5e5bf7b1-6932-42b7-8e58-a4fff07a097d","changeType":"draft_approved","entity":"invoice","entityId":"1634","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1634,"clientId":83,"number":"001585","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1637,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":82,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"SOLIS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL VERGEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:10.631094] [debug] Aprobación de Factura - -[2025-02-28 16:01:10.631140] [debug] {"uuid":"5e5bf7b1-6932-42b7-8e58-a4fff07a097d","changeType":"draft_approved","entity":"invoice","entityId":1634,"message":null,"clientId":83,"eventName":"invoice.draft_approved","clientData":{"id":83,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL VERGEL","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL VERGEL, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDUARDO","lastName":"SOLIS","username":"esolis83","contacts":[{"id":84,"clientId":83,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-8500,"accountCredit":0,"accountOutstanding":8500,"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":1634,"clientId":83,"number":"001585","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1637,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":82,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"SOLIS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL VERGEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:11.637876] [notice] Logging level set to:debug -[2025-02-28 16:01:11.789073] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:11.789141] [debug] Valor de JSON: {"uuid":"39ceddbe-e99a-4f29-910c-eb427b5faeb6","changeType":"insert","entity":"invoice","entityId":"1635","eventName":"invoice.add_draft","extraData":{"entity":{"id":1635,"clientId":36,"number":"001586","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1638,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":35,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURORA","clientLastName":"FLORES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:11.789252] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:11.789300] [debug] {"uuid":"39ceddbe-e99a-4f29-910c-eb427b5faeb6","changeType":"insert","entity":"invoice","entityId":1635,"message":null,"clientId":36,"eventName":"invoice.add_draft","clientData":{"id":36,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LAS FLORES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LAS FLORES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"AURORA","lastName":"FLORES","username":"aflores36","contacts":[{"id":37,"clientId":36,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5690,"accountCredit":0,"accountOutstanding":5690,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00695c","addressGpsLat":21.1511969,"addressGpsLon":-100.9132525,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1635,"clientId":36,"number":"001586","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1638,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":35,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURORA","clientLastName":"FLORES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:11.903038] [notice] Logging level set to:debug -[2025-02-28 16:01:12.040812] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:12.040879] [debug] Valor de JSON: {"uuid":"bf463831-5014-4aa1-abee-13c2a57cfef1","changeType":"draft_approved","entity":"invoice","entityId":"1635","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1635,"clientId":36,"number":"001586","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1638,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":35,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURORA","clientLastName":"FLORES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:12.040975] [debug] Aprobación de Factura - -[2025-02-28 16:01:12.041023] [debug] {"uuid":"bf463831-5014-4aa1-abee-13c2a57cfef1","changeType":"draft_approved","entity":"invoice","entityId":1635,"message":null,"clientId":36,"eventName":"invoice.draft_approved","clientData":{"id":36,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LAS FLORES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LAS FLORES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"AURORA","lastName":"FLORES","username":"aflores36","contacts":[{"id":37,"clientId":36,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5690,"accountCredit":0,"accountOutstanding":5690,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00695c","addressGpsLat":21.1511969,"addressGpsLon":-100.9132525,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1635,"clientId":36,"number":"001586","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1638,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":35,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURORA","clientLastName":"FLORES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:12.979631] [notice] Logging level set to:debug -[2025-02-28 16:01:13.138051] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:13.138202] [debug] Valor de JSON: {"uuid":"7498320e-ccd4-43ab-ac72-a6aef449b80f","changeType":"insert","entity":"invoice","entityId":"1636","eventName":"invoice.add_draft","extraData":{"entity":{"id":1636,"clientId":64,"number":"001587","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1639,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":63,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"LANDEROS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:13.138365] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:13.138448] [debug] {"uuid":"7498320e-ccd4-43ab-ac72-a6aef449b80f","changeType":"insert","entity":"invoice","entityId":1636,"message":null,"clientId":64,"eventName":"invoice.add_draft","clientData":{"id":64,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OMAR","lastName":"LANDEROS","username":"olanderos64","contacts":[{"id":65,"clientId":64,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1636,"clientId":64,"number":"001587","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1639,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":63,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"LANDEROS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:13.250823] [notice] Logging level set to:debug -[2025-02-28 16:01:13.421669] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:13.421850] [debug] Valor de JSON: {"uuid":"c50b8558-3060-4a26-9af3-8cddde3b6f03","changeType":"draft_approved","entity":"invoice","entityId":"1636","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1636,"clientId":64,"number":"001587","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1639,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":63,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"LANDEROS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:13.422008] [debug] Aprobación de Factura - -[2025-02-28 16:01:13.422090] [debug] {"uuid":"c50b8558-3060-4a26-9af3-8cddde3b6f03","changeType":"draft_approved","entity":"invoice","entityId":1636,"message":null,"clientId":64,"eventName":"invoice.draft_approved","clientData":{"id":64,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OMAR","lastName":"LANDEROS","username":"olanderos64","contacts":[{"id":65,"clientId":64,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1636,"clientId":64,"number":"001587","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1639,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":63,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"LANDEROS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:14.345248] [notice] Logging level set to:debug -[2025-02-28 16:01:14.496793] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:14.496964] [debug] Valor de JSON: {"uuid":"ebbf42bb-b8e9-44d3-b480-b73b4c1b8512","changeType":"insert","entity":"invoice","entityId":"1637","eventName":"invoice.add_draft","extraData":{"entity":{"id":1637,"clientId":30,"number":"001588","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1640,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":29,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUANA","clientLastName":"MONTES DE OCA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:14.497109] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:14.497186] [debug] {"uuid":"ebbf42bb-b8e9-44d3-b480-b73b4c1b8512","changeType":"insert","entity":"invoice","entityId":1637,"message":null,"clientId":30,"eventName":"invoice.add_draft","clientData":{"id":30,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"FRACCIONAMIENTO GUANAJUATO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JUANA","lastName":"MONTES DE OCA","username":"jmontes30","contacts":[{"id":31,"clientId":30,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-10500,"accountCredit":0,"accountOutstanding":10500,"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":1637,"clientId":30,"number":"001588","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1640,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":29,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUANA","clientLastName":"MONTES DE OCA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:14.611135] [notice] Logging level set to:debug -[2025-02-28 16:01:14.755577] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:14.755639] [debug] Valor de JSON: {"uuid":"5c2d9b80-5d83-476d-9217-507659adb45b","changeType":"draft_approved","entity":"invoice","entityId":"1637","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1637,"clientId":30,"number":"001588","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1640,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":29,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUANA","clientLastName":"MONTES DE OCA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:14.755743] [debug] Aprobación de Factura - -[2025-02-28 16:01:14.755791] [debug] {"uuid":"5c2d9b80-5d83-476d-9217-507659adb45b","changeType":"draft_approved","entity":"invoice","entityId":1637,"message":null,"clientId":30,"eventName":"invoice.draft_approved","clientData":{"id":30,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"FRACCIONAMIENTO GUANAJUATO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JUANA","lastName":"MONTES DE OCA","username":"jmontes30","contacts":[{"id":31,"clientId":30,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-10500,"accountCredit":0,"accountOutstanding":10500,"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":1637,"clientId":30,"number":"001588","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1640,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":29,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUANA","clientLastName":"MONTES DE OCA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:15.684772] [notice] Logging level set to:debug -[2025-02-28 16:01:15.831674] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:15.831736] [debug] Valor de JSON: {"uuid":"34b21424-dbeb-48fe-95f0-9cb59f9dd335","changeType":"insert","entity":"invoice","entityId":"1638","eventName":"invoice.add_draft","extraData":{"entity":{"id":1638,"clientId":88,"number":"001589","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1641,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":87,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CECILIA","clientLastName":"GRANDE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIFORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:15.831851] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:15.831899] [debug] {"uuid":"34b21424-dbeb-48fe-95f0-9cb59f9dd335","changeType":"insert","entity":"invoice","entityId":1638,"message":null,"clientId":88,"eventName":"invoice.add_draft","clientData":{"id":88,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA CALIFORNIA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA CALIFORNIA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"CECILIA","lastName":"GRANDE","username":"cgrande88","contacts":[{"id":89,"clientId":88,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-9600,"accountCredit":0,"accountOutstanding":9600,"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":1638,"clientId":88,"number":"001589","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1641,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":87,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CECILIA","clientLastName":"GRANDE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIFORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:15.942842] [notice] Logging level set to:debug -[2025-02-28 16:01:16.084397] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:16.084592] [debug] Valor de JSON: {"uuid":"ae92e28b-6d3a-423c-95b3-8dae9cd4958c","changeType":"draft_approved","entity":"invoice","entityId":"1638","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1638,"clientId":88,"number":"001589","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1641,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":87,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CECILIA","clientLastName":"GRANDE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIFORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:16.084860] [debug] Aprobación de Factura - -[2025-02-28 16:01:16.084945] [debug] {"uuid":"ae92e28b-6d3a-423c-95b3-8dae9cd4958c","changeType":"draft_approved","entity":"invoice","entityId":1638,"message":null,"clientId":88,"eventName":"invoice.draft_approved","clientData":{"id":88,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA CALIFORNIA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA CALIFORNIA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"CECILIA","lastName":"GRANDE","username":"cgrande88","contacts":[{"id":89,"clientId":88,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-9600,"accountCredit":0,"accountOutstanding":9600,"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":1638,"clientId":88,"number":"001589","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1641,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":87,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CECILIA","clientLastName":"GRANDE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIFORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:17.028232] [notice] Logging level set to:debug -[2025-02-28 16:01:17.175851] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:17.176037] [debug] Valor de JSON: {"uuid":"023c7fae-d4ae-4c95-bc4e-9dce03bea50c","changeType":"insert","entity":"invoice","entityId":"1639","eventName":"invoice.add_draft","extraData":{"entity":{"id":1639,"clientId":17,"number":"001590","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1642,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":16,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUAN","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CIENEGUILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:17.176178] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:17.176261] [debug] {"uuid":"023c7fae-d4ae-4c95-bc4e-9dce03bea50c","changeType":"insert","entity":"invoice","entityId":1639,"message":null,"clientId":17,"eventName":"invoice.add_draft","clientData":{"id":17,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"CIENEGUILLA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"CIENEGUILLA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JUAN","lastName":"LOPEZ","username":"jlopez17","contacts":[{"id":18,"clientId":17,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4790,"accountCredit":0,"accountOutstanding":4790,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.0749852,"addressGpsLon":-100.937613,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1639,"clientId":17,"number":"001590","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1642,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":16,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUAN","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CIENEGUILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:17.290556] [notice] Logging level set to:debug -[2025-02-28 16:01:17.434133] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:17.434307] [debug] Valor de JSON: {"uuid":"26f798dc-6b6d-4bd1-8a21-b28bc53061a8","changeType":"draft_approved","entity":"invoice","entityId":"1639","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1639,"clientId":17,"number":"001590","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1642,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":16,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUAN","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CIENEGUILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:17.434453] [debug] Aprobación de Factura - -[2025-02-28 16:01:17.434533] [debug] {"uuid":"26f798dc-6b6d-4bd1-8a21-b28bc53061a8","changeType":"draft_approved","entity":"invoice","entityId":1639,"message":null,"clientId":17,"eventName":"invoice.draft_approved","clientData":{"id":17,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"CIENEGUILLA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"CIENEGUILLA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JUAN","lastName":"LOPEZ","username":"jlopez17","contacts":[{"id":18,"clientId":17,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4790,"accountCredit":0,"accountOutstanding":4790,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.0749852,"addressGpsLon":-100.937613,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1639,"clientId":17,"number":"001590","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1642,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":16,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUAN","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CIENEGUILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:18.327681] [notice] Logging level set to:debug -[2025-02-28 16:01:18.497355] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:18.497421] [debug] Valor de JSON: {"uuid":"4d5a43ec-09ee-4214-b1a9-094e3d76288a","changeType":"insert","entity":"invoice","entityId":"1640","eventName":"invoice.add_draft","extraData":{"entity":{"id":1640,"clientId":63,"number":"001591","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1643,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":62,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONELA","clientLastName":"ROBLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:18.497534] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:18.497581] [debug] {"uuid":"4d5a43ec-09ee-4214-b1a9-094e3d76288a","changeType":"insert","entity":"invoice","entityId":1640,"message":null,"clientId":63,"eventName":"invoice.add_draft","clientData":{"id":63,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANTONELA","lastName":"ROBLES","username":"arobles63","contacts":[{"id":64,"clientId":63,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1640,"clientId":63,"number":"001591","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1643,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":62,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONELA","clientLastName":"ROBLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:18.608491] [notice] Logging level set to:debug -[2025-02-28 16:01:18.745218] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:18.745388] [debug] Valor de JSON: {"uuid":"934cf44e-ebbc-4f7f-9316-afb7b95cd8b7","changeType":"draft_approved","entity":"invoice","entityId":"1640","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1640,"clientId":63,"number":"001591","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1643,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":62,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONELA","clientLastName":"ROBLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:18.745521] [debug] Aprobación de Factura - -[2025-02-28 16:01:18.745599] [debug] {"uuid":"934cf44e-ebbc-4f7f-9316-afb7b95cd8b7","changeType":"draft_approved","entity":"invoice","entityId":1640,"message":null,"clientId":63,"eventName":"invoice.draft_approved","clientData":{"id":63,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANTONELA","lastName":"ROBLES","username":"arobles63","contacts":[{"id":64,"clientId":63,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1640,"clientId":63,"number":"001591","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1643,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":62,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONELA","clientLastName":"ROBLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:19.688802] [notice] Logging level set to:debug -[2025-02-28 16:01:19.832346] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:19.832411] [debug] Valor de JSON: {"uuid":"39bfd11d-b588-41f7-b9af-59a3866cbd5f","changeType":"insert","entity":"invoice","entityId":"1641","eventName":"invoice.add_draft","extraData":{"entity":{"id":1641,"clientId":39,"number":"001592","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1644,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":38,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FRANCISCO","clientLastName":"BALDERAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PIEDRA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:19.832518] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:19.832567] [debug] {"uuid":"39bfd11d-b588-41f7-b9af-59a3866cbd5f","changeType":"insert","entity":"invoice","entityId":1641,"message":null,"clientId":39,"eventName":"invoice.add_draft","clientData":{"id":39,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA PIEDRA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA PIEDRA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"FRANCISCO","lastName":"BALDERAS","username":"fbalderas39","contacts":[{"id":40,"clientId":39,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4210,"accountCredit":0,"accountOutstanding":4210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#546e7a","addressGpsLat":21.2708978,"addressGpsLon":-100.7973281,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1641,"clientId":39,"number":"001592","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1644,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":38,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FRANCISCO","clientLastName":"BALDERAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PIEDRA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:19.941874] [notice] Logging level set to:debug -[2025-02-28 16:01:20.078717] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:20.078777] [debug] Valor de JSON: {"uuid":"23967a16-8540-4729-9ea8-02eeabe9e61c","changeType":"draft_approved","entity":"invoice","entityId":"1641","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1641,"clientId":39,"number":"001592","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1644,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":38,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FRANCISCO","clientLastName":"BALDERAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PIEDRA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:20.078870] [debug] Aprobación de Factura - -[2025-02-28 16:01:20.078917] [debug] {"uuid":"23967a16-8540-4729-9ea8-02eeabe9e61c","changeType":"draft_approved","entity":"invoice","entityId":1641,"message":null,"clientId":39,"eventName":"invoice.draft_approved","clientData":{"id":39,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA PIEDRA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA PIEDRA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"FRANCISCO","lastName":"BALDERAS","username":"fbalderas39","contacts":[{"id":40,"clientId":39,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4210,"accountCredit":0,"accountOutstanding":4210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#546e7a","addressGpsLat":21.2708978,"addressGpsLon":-100.7973281,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1641,"clientId":39,"number":"001592","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1644,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":38,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FRANCISCO","clientLastName":"BALDERAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PIEDRA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:21.086214] [notice] Logging level set to:debug -[2025-02-28 16:01:21.220329] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:21.220402] [debug] Valor de JSON: {"uuid":"40670d1c-726f-4fd5-b6b3-65ff52158cc2","changeType":"insert","entity":"invoice","entityId":"1642","eventName":"invoice.add_draft","extraData":{"entity":{"id":1642,"clientId":18,"number":"001593","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1645,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":17,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"INGRID","clientLastName":"CORONADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:21.220537] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:21.220596] [debug] {"uuid":"40670d1c-726f-4fd5-b6b3-65ff52158cc2","changeType":"insert","entity":"invoice","entityId":1642,"message":null,"clientId":18,"eventName":"invoice.add_draft","clientData":{"id":18,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"INGRID","lastName":"CORONADO","username":"icoronado18","contacts":[{"id":19,"clientId":18,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-9800,"accountCredit":0,"accountOutstanding":9800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#039be5","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1642,"clientId":18,"number":"001593","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1645,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":17,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"INGRID","clientLastName":"CORONADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:21.373378] [notice] Logging level set to:debug -[2025-02-28 16:01:21.509073] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:21.509253] [debug] Valor de JSON: {"uuid":"f132a32e-28e6-4454-867d-bd06189df381","changeType":"draft_approved","entity":"invoice","entityId":"1642","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1642,"clientId":18,"number":"001593","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1645,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":17,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"INGRID","clientLastName":"CORONADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:21.509396] [debug] Aprobación de Factura - -[2025-02-28 16:01:21.509476] [debug] {"uuid":"f132a32e-28e6-4454-867d-bd06189df381","changeType":"draft_approved","entity":"invoice","entityId":1642,"message":null,"clientId":18,"eventName":"invoice.draft_approved","clientData":{"id":18,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"INGRID","lastName":"CORONADO","username":"icoronado18","contacts":[{"id":19,"clientId":18,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-9800,"accountCredit":0,"accountOutstanding":9800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#039be5","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1642,"clientId":18,"number":"001593","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1645,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":17,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"INGRID","clientLastName":"CORONADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:22.435376] [notice] Logging level set to:debug -[2025-02-28 16:01:22.587546] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:22.587697] [debug] Valor de JSON: {"uuid":"8b2f360e-2b51-4eab-a30d-0eb38d948cb9","changeType":"insert","entity":"invoice","entityId":"1643","eventName":"invoice.add_draft","extraData":{"entity":{"id":1643,"clientId":24,"number":"001594","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1646,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":23,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JACIEL","clientLastName":"CERVANTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTO NI\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:22.587836] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:22.587915] [debug] {"uuid":"8b2f360e-2b51-4eab-a30d-0eb38d948cb9","changeType":"insert","entity":"invoice","entityId":1643,"message":null,"clientId":24,"eventName":"invoice.add_draft","clientData":{"id":24,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTO NI\u00d1O","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTO NI\u00d1O, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JACIEL","lastName":"CERVANTES","username":"jcervantes24","contacts":[{"id":25,"clientId":24,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4180,"accountCredit":0,"accountOutstanding":4180,"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":1643,"clientId":24,"number":"001594","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1646,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":23,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JACIEL","clientLastName":"CERVANTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTO NI\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:22.701145] [notice] Logging level set to:debug -[2025-02-28 16:01:22.860035] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:22.860193] [debug] Valor de JSON: {"uuid":"e9467e46-28a2-4d9b-bf47-f3d68d1402ea","changeType":"draft_approved","entity":"invoice","entityId":"1643","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1643,"clientId":24,"number":"001594","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1646,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":23,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JACIEL","clientLastName":"CERVANTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTO NI\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:22.860337] [debug] Aprobación de Factura - -[2025-02-28 16:01:22.860421] [debug] {"uuid":"e9467e46-28a2-4d9b-bf47-f3d68d1402ea","changeType":"draft_approved","entity":"invoice","entityId":1643,"message":null,"clientId":24,"eventName":"invoice.draft_approved","clientData":{"id":24,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTO NI\u00d1O","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTO NI\u00d1O, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JACIEL","lastName":"CERVANTES","username":"jcervantes24","contacts":[{"id":25,"clientId":24,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4180,"accountCredit":0,"accountOutstanding":4180,"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":1643,"clientId":24,"number":"001594","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1646,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":23,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JACIEL","clientLastName":"CERVANTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTO NI\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:23.776601] [notice] Logging level set to:debug -[2025-02-28 16:01:23.920223] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:23.920375] [debug] Valor de JSON: {"uuid":"2e121284-0c8f-4139-b099-3bd681be52d2","changeType":"insert","entity":"invoice","entityId":"1644","eventName":"invoice.add_draft","extraData":{"entity":{"id":1644,"clientId":40,"number":"001595","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1647,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":39,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"PADRON","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RANCHO GUADALUPE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:23.920506] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:23.920587] [debug] {"uuid":"2e121284-0c8f-4139-b099-3bd681be52d2","changeType":"insert","entity":"invoice","entityId":1644,"message":null,"clientId":40,"eventName":"invoice.add_draft","clientData":{"id":40,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"RANCHO GUADALUPE","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"RANCHO GUADALUPE, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OMAR","lastName":"PADRON","username":"opadron40","contacts":[{"id":41,"clientId":40,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3910,"accountCredit":0,"accountOutstanding":3910,"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":1644,"clientId":40,"number":"001595","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1647,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":39,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"PADRON","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RANCHO GUADALUPE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:24.036698] [notice] Logging level set to:debug -[2025-02-28 16:01:24.178365] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:24.178519] [debug] Valor de JSON: {"uuid":"4f701e1f-31b0-494d-8771-001d30143648","changeType":"draft_approved","entity":"invoice","entityId":"1644","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1644,"clientId":40,"number":"001595","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1647,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":39,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"PADRON","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RANCHO GUADALUPE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:24.178680] [debug] Aprobación de Factura - -[2025-02-28 16:01:24.178761] [debug] {"uuid":"4f701e1f-31b0-494d-8771-001d30143648","changeType":"draft_approved","entity":"invoice","entityId":1644,"message":null,"clientId":40,"eventName":"invoice.draft_approved","clientData":{"id":40,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"RANCHO GUADALUPE","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"RANCHO GUADALUPE, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OMAR","lastName":"PADRON","username":"opadron40","contacts":[{"id":41,"clientId":40,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3910,"accountCredit":0,"accountOutstanding":3910,"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":1644,"clientId":40,"number":"001595","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1647,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":39,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"PADRON","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RANCHO GUADALUPE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:25.080337] [notice] Logging level set to:debug -[2025-02-28 16:01:25.230025] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:25.230165] [debug] Valor de JSON: {"uuid":"929e5cbc-7c7d-4a6a-9f25-f61123af9cd2","changeType":"insert","entity":"invoice","entityId":"1645","eventName":"invoice.add_draft","extraData":{"entity":{"id":1645,"clientId":35,"number":"001596","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1648,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":34,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GABRIELA","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CANTERA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:25.230284] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:25.230357] [debug] {"uuid":"929e5cbc-7c7d-4a6a-9f25-f61123af9cd2","changeType":"insert","entity":"invoice","entityId":1645,"message":null,"clientId":35,"eventName":"invoice.add_draft","clientData":{"id":35,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA CANTERA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA CANTERA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"GABRIELA","lastName":"SUASTE","username":"gsuaste35","contacts":[{"id":36,"clientId":35,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1645,"clientId":35,"number":"001596","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1648,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":34,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GABRIELA","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CANTERA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:25.342930] [notice] Logging level set to:debug -[2025-02-28 16:01:25.482150] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:25.482295] [debug] Valor de JSON: {"uuid":"fa6ba1a9-6414-4e03-948c-2ba8624862db","changeType":"draft_approved","entity":"invoice","entityId":"1645","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1645,"clientId":35,"number":"001596","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1648,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":34,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GABRIELA","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CANTERA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:25.482443] [debug] Aprobación de Factura - -[2025-02-28 16:01:25.482527] [debug] {"uuid":"fa6ba1a9-6414-4e03-948c-2ba8624862db","changeType":"draft_approved","entity":"invoice","entityId":1645,"message":null,"clientId":35,"eventName":"invoice.draft_approved","clientData":{"id":35,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA CANTERA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA CANTERA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"GABRIELA","lastName":"SUASTE","username":"gsuaste35","contacts":[{"id":36,"clientId":35,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1645,"clientId":35,"number":"001596","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1648,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":34,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GABRIELA","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CANTERA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:26.328176] [notice] Logging level set to:debug -[2025-02-28 16:01:26.470033] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:26.470195] [debug] Valor de JSON: {"uuid":"fc3e4310-4991-47c6-9aaa-90e394207283","changeType":"insert","entity":"invoice","entityId":"1646","eventName":"invoice.add_draft","extraData":{"entity":{"id":1646,"clientId":96,"number":"001597","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1649,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":95,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PAMELA","clientLastName":"RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:26.470362] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:26.470485] [debug] {"uuid":"fc3e4310-4991-47c6-9aaa-90e394207283","changeType":"insert","entity":"invoice","entityId":1646,"message":null,"clientId":96,"eventName":"invoice.add_draft","clientData":{"id":96,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"PAMELA","lastName":"RAMIREZ","username":"pramirez96","contacts":[{"id":97,"clientId":96,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#c0ca33","addressGpsLat":21.0502031,"addressGpsLon":-101.0096832,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1646,"clientId":96,"number":"001597","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1649,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":95,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PAMELA","clientLastName":"RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:26.590504] [notice] Logging level set to:debug -[2025-02-28 16:01:26.725635] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:26.725794] [debug] Valor de JSON: {"uuid":"be8d3299-765e-46f3-8669-4921755f852e","changeType":"draft_approved","entity":"invoice","entityId":"1646","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1646,"clientId":96,"number":"001597","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1649,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":95,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PAMELA","clientLastName":"RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:26.725910] [debug] Aprobación de Factura - -[2025-02-28 16:01:26.725994] [debug] {"uuid":"be8d3299-765e-46f3-8669-4921755f852e","changeType":"draft_approved","entity":"invoice","entityId":1646,"message":null,"clientId":96,"eventName":"invoice.draft_approved","clientData":{"id":96,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"PAMELA","lastName":"RAMIREZ","username":"pramirez96","contacts":[{"id":97,"clientId":96,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#c0ca33","addressGpsLat":21.0502031,"addressGpsLon":-101.0096832,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1646,"clientId":96,"number":"001597","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1649,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":95,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PAMELA","clientLastName":"RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:27.632275] [notice] Logging level set to:debug -[2025-02-28 16:01:27.782119] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:27.782279] [debug] Valor de JSON: {"uuid":"488c7007-108d-4796-9349-0936ea3fcf09","changeType":"insert","entity":"invoice","entityId":"1647","eventName":"invoice.add_draft","extraData":{"entity":{"id":1647,"clientId":26,"number":"001598","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1650,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":25,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SAMANTA","clientLastName":"FUENTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:27.782449] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:27.782536] [debug] {"uuid":"488c7007-108d-4796-9349-0936ea3fcf09","changeType":"insert","entity":"invoice","entityId":1647,"message":null,"clientId":26,"eventName":"invoice.add_draft","clientData":{"id":26,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"GUSANO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"GUSANO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SAMANTA","lastName":"FUENTES","username":"sfuentes26","contacts":[{"id":27,"clientId":26,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4780,"accountCredit":0,"accountOutstanding":4780,"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":1647,"clientId":26,"number":"001598","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1650,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":25,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SAMANTA","clientLastName":"FUENTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:27.895328] [notice] Logging level set to:debug -[2025-02-28 16:01:28.032305] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:28.032488] [debug] Valor de JSON: {"uuid":"0dacef8f-81ca-45fd-9089-e3d5ab8040f3","changeType":"draft_approved","entity":"invoice","entityId":"1647","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1647,"clientId":26,"number":"001598","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1650,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":25,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SAMANTA","clientLastName":"FUENTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:28.032624] [debug] Aprobación de Factura - -[2025-02-28 16:01:28.032702] [debug] {"uuid":"0dacef8f-81ca-45fd-9089-e3d5ab8040f3","changeType":"draft_approved","entity":"invoice","entityId":1647,"message":null,"clientId":26,"eventName":"invoice.draft_approved","clientData":{"id":26,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"GUSANO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"GUSANO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SAMANTA","lastName":"FUENTES","username":"sfuentes26","contacts":[{"id":27,"clientId":26,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4780,"accountCredit":0,"accountOutstanding":4780,"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":1647,"clientId":26,"number":"001598","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1650,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":25,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SAMANTA","clientLastName":"FUENTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:28.982394] [notice] Logging level set to:debug -[2025-02-28 16:01:29.125830] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:29.125897] [debug] Valor de JSON: {"uuid":"1c6aa8bd-eb3c-4692-a964-7d6fe699fd26","changeType":"insert","entity":"invoice","entityId":"1648","eventName":"invoice.add_draft","extraData":{"entity":{"id":1648,"clientId":28,"number":"001599","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1651,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":27,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSVALDO","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN GABRIEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:29.126012] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:29.126060] [debug] {"uuid":"1c6aa8bd-eb3c-4692-a964-7d6fe699fd26","changeType":"insert","entity":"invoice","entityId":1648,"message":null,"clientId":28,"eventName":"invoice.add_draft","clientData":{"id":28,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN GABRIEL","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN GABRIEL, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OSVALDO","lastName":"GONZALEZ","username":"ogonzalez28","contacts":[{"id":29,"clientId":28,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-6983.33,"accountCredit":0,"accountOutstanding":6983.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#03a9f4","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1648,"clientId":28,"number":"001599","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1651,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":27,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSVALDO","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN GABRIEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:29.242084] [notice] Logging level set to:debug -[2025-02-28 16:01:29.391413] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:29.391593] [debug] Valor de JSON: {"uuid":"5ea1d31f-8d94-4b28-8572-3e3482ce6870","changeType":"draft_approved","entity":"invoice","entityId":"1648","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1648,"clientId":28,"number":"001599","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1651,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":27,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSVALDO","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN GABRIEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:29.391726] [debug] Aprobación de Factura - -[2025-02-28 16:01:29.391807] [debug] {"uuid":"5ea1d31f-8d94-4b28-8572-3e3482ce6870","changeType":"draft_approved","entity":"invoice","entityId":1648,"message":null,"clientId":28,"eventName":"invoice.draft_approved","clientData":{"id":28,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN GABRIEL","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN GABRIEL, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OSVALDO","lastName":"GONZALEZ","username":"ogonzalez28","contacts":[{"id":29,"clientId":28,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-6983.33,"accountCredit":0,"accountOutstanding":6983.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#03a9f4","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1648,"clientId":28,"number":"001599","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1651,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":27,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSVALDO","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN GABRIEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:30.281114] [notice] Logging level set to:debug -[2025-02-28 16:01:30.414465] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:30.414660] [debug] Valor de JSON: {"uuid":"70d4dc1c-6922-4ae7-9378-583ff60a08c0","changeType":"insert","entity":"invoice","entityId":"1649","eventName":"invoice.add_draft","extraData":{"entity":{"id":1649,"clientId":78,"number":"001600","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1652,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":77,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDER","clientLastName":"ROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:30.414834] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:30.414917] [debug] {"uuid":"70d4dc1c-6922-4ae7-9378-583ff60a08c0","changeType":"insert","entity":"invoice","entityId":1649,"message":null,"clientId":78,"eventName":"invoice.add_draft","clientData":{"id":78,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL BOBO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALEXANDER","lastName":"ROSTRO","username":"arostro78","contacts":[{"id":79,"clientId":78,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1649,"clientId":78,"number":"001600","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1652,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":77,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDER","clientLastName":"ROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:30.529561] [notice] Logging level set to:debug -[2025-02-28 16:01:30.675733] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:30.675914] [debug] Valor de JSON: {"uuid":"3f11aea5-2775-4f17-ac97-f007a780cb27","changeType":"draft_approved","entity":"invoice","entityId":"1649","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1649,"clientId":78,"number":"001600","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1652,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":77,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDER","clientLastName":"ROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:30.676143] [debug] Aprobación de Factura - -[2025-02-28 16:01:30.676229] [debug] {"uuid":"3f11aea5-2775-4f17-ac97-f007a780cb27","changeType":"draft_approved","entity":"invoice","entityId":1649,"message":null,"clientId":78,"eventName":"invoice.draft_approved","clientData":{"id":78,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL BOBO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALEXANDER","lastName":"ROSTRO","username":"arostro78","contacts":[{"id":79,"clientId":78,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1649,"clientId":78,"number":"001600","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1652,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":77,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDER","clientLastName":"ROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:31.571144] [notice] Logging level set to:debug -[2025-02-28 16:01:31.720664] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:31.720730] [debug] Valor de JSON: {"uuid":"5d180e05-7629-4306-b726-141b9ed6d073","changeType":"insert","entity":"invoice","entityId":"1650","eventName":"invoice.add_draft","extraData":{"entity":{"id":1650,"clientId":57,"number":"001601","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1653,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":56,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SANDRO","clientLastName":"MARQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:31.720830] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:31.720880] [debug] {"uuid":"5d180e05-7629-4306-b726-141b9ed6d073","changeType":"insert","entity":"invoice","entityId":1650,"message":null,"clientId":57,"eventName":"invoice.add_draft","clientData":{"id":57,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SANDRO","lastName":"MARQUEZ","username":"smarquez57","contacts":[{"id":58,"clientId":57,"email":null,"phone":"181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1650,"clientId":57,"number":"001601","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1653,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":56,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SANDRO","clientLastName":"MARQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:31.833725] [notice] Logging level set to:debug -[2025-02-28 16:01:31.971740] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:31.971884] [debug] Valor de JSON: {"uuid":"3bab794b-bf5f-47ff-9473-de552be08482","changeType":"draft_approved","entity":"invoice","entityId":"1650","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1650,"clientId":57,"number":"001601","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1653,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":56,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SANDRO","clientLastName":"MARQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:31.972017] [debug] Aprobación de Factura - -[2025-02-28 16:01:31.972095] [debug] {"uuid":"3bab794b-bf5f-47ff-9473-de552be08482","changeType":"draft_approved","entity":"invoice","entityId":1650,"message":null,"clientId":57,"eventName":"invoice.draft_approved","clientData":{"id":57,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SANDRO","lastName":"MARQUEZ","username":"smarquez57","contacts":[{"id":58,"clientId":57,"email":null,"phone":"181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1650,"clientId":57,"number":"001601","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1653,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":56,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SANDRO","clientLastName":"MARQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:32.863745] [notice] Logging level set to:debug -[2025-02-28 16:01:33.012974] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:33.013134] [debug] Valor de JSON: {"uuid":"4b242080-5a38-492c-bb13-84aae10cb81f","changeType":"insert","entity":"invoice","entityId":"1651","eventName":"invoice.add_draft","extraData":{"entity":{"id":1651,"clientId":46,"number":"001602","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1654,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":45,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISMAEL","clientLastName":"PUGA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:33.013274] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:33.013412] [debug] {"uuid":"4b242080-5a38-492c-bb13-84aae10cb81f","changeType":"insert","entity":"invoice","entityId":1651,"message":null,"clientId":46,"eventName":"invoice.add_draft","clientData":{"id":46,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL ROSILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL ROSILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ISMAEL","lastName":"PUGA","username":"ipuga46","contacts":[{"id":47,"clientId":46,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":100,"clientId":46,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtMzv6GBcULCcTh","clientZoneVisible":true},{"id":101,"clientId":46,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"6881305189499928","clientZoneVisible":true}],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1651,"clientId":46,"number":"001602","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1654,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":45,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISMAEL","clientLastName":"PUGA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:33.140341] [notice] Logging level set to:debug -[2025-02-28 16:01:33.289756] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:33.289933] [debug] Valor de JSON: {"uuid":"bd50e8ea-bf3e-4e23-9d2b-690a8b8a5e6f","changeType":"draft_approved","entity":"invoice","entityId":"1651","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1651,"clientId":46,"number":"001602","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1654,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":45,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISMAEL","clientLastName":"PUGA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:33.290098] [debug] Aprobación de Factura - -[2025-02-28 16:01:33.290182] [debug] {"uuid":"bd50e8ea-bf3e-4e23-9d2b-690a8b8a5e6f","changeType":"draft_approved","entity":"invoice","entityId":1651,"message":null,"clientId":46,"eventName":"invoice.draft_approved","clientData":{"id":46,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL ROSILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL ROSILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ISMAEL","lastName":"PUGA","username":"ipuga46","contacts":[{"id":47,"clientId":46,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":100,"clientId":46,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtMzv6GBcULCcTh","clientZoneVisible":true},{"id":101,"clientId":46,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"6881305189499928","clientZoneVisible":true}],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1651,"clientId":46,"number":"001602","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1654,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":45,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISMAEL","clientLastName":"PUGA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:34.199158] [notice] Logging level set to:debug -[2025-02-28 16:01:34.357593] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:34.357768] [debug] Valor de JSON: {"uuid":"7676d0b2-7d1b-419e-bc97-dc1591663ae7","changeType":"insert","entity":"invoice","entityId":"1652","eventName":"invoice.add_draft","extraData":{"entity":{"id":1652,"clientId":50,"number":"001603","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1655,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":49,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GLORIA","clientLastName":"DELGADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:34.357901] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:34.357995] [debug] {"uuid":"7676d0b2-7d1b-419e-bc97-dc1591663ae7","changeType":"insert","entity":"invoice","entityId":1652,"message":null,"clientId":50,"eventName":"invoice.add_draft","clientData":{"id":50,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL BOBO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"GLORIA","lastName":"DELGADO","username":"gdelgado50","contacts":[{"id":51,"clientId":50,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":108,"clientId":50,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN2hegnjiQhR7M","clientZoneVisible":true},{"id":109,"clientId":50,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"1847644339402745","clientZoneVisible":true}],"accountBalance":-3910,"accountCredit":0,"accountOutstanding":3910,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1652,"clientId":50,"number":"001603","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1655,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":49,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GLORIA","clientLastName":"DELGADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:34.473618] [notice] Logging level set to:debug -[2025-02-28 16:01:34.616939] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:34.617085] [debug] Valor de JSON: {"uuid":"01b730d9-fa20-4288-ab93-3c3588f0282a","changeType":"draft_approved","entity":"invoice","entityId":"1652","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1652,"clientId":50,"number":"001603","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1655,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":49,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GLORIA","clientLastName":"DELGADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:34.617221] [debug] Aprobación de Factura - -[2025-02-28 16:01:34.617296] [debug] {"uuid":"01b730d9-fa20-4288-ab93-3c3588f0282a","changeType":"draft_approved","entity":"invoice","entityId":1652,"message":null,"clientId":50,"eventName":"invoice.draft_approved","clientData":{"id":50,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL BOBO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"GLORIA","lastName":"DELGADO","username":"gdelgado50","contacts":[{"id":51,"clientId":50,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":108,"clientId":50,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN2hegnjiQhR7M","clientZoneVisible":true},{"id":109,"clientId":50,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"1847644339402745","clientZoneVisible":true}],"accountBalance":-3910,"accountCredit":0,"accountOutstanding":3910,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1652,"clientId":50,"number":"001603","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1655,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":49,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GLORIA","clientLastName":"DELGADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:35.529228] [notice] Logging level set to:debug -[2025-02-28 16:01:35.665174] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:35.665383] [debug] Valor de JSON: {"uuid":"e0dcf12b-6c1a-46a5-8912-4ed8c2052a9a","changeType":"insert","entity":"invoice","entityId":"1653","eventName":"invoice.add_draft","extraData":{"entity":{"id":1653,"clientId":23,"number":"001604","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1656,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":22,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSCAR","clientLastName":"GUERRERO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TABASCO #45, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:35.665555] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:35.665702] [debug] {"uuid":"e0dcf12b-6c1a-46a5-8912-4ed8c2052a9a","changeType":"insert","entity":"invoice","entityId":1653,"message":null,"clientId":23,"eventName":"invoice.add_draft","clientData":{"id":23,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TABASCO #45, ZONA CENTRO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TABASCO #45, ZONA CENTRO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OSCAR","lastName":"GUERRERO","username":"oguerrero23","contacts":[{"id":24,"clientId":23,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#283593","addressGpsLat":21.1550814,"addressGpsLon":-100.9341575,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1653,"clientId":23,"number":"001604","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1656,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":22,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSCAR","clientLastName":"GUERRERO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TABASCO #45, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:35.775583] [notice] Logging level set to:debug -[2025-02-28 16:01:35.910603] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:35.910753] [debug] Valor de JSON: {"uuid":"b04369b6-7686-4bd1-8630-6fc505463cde","changeType":"draft_approved","entity":"invoice","entityId":"1653","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1653,"clientId":23,"number":"001604","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1656,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":22,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSCAR","clientLastName":"GUERRERO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TABASCO #45, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:35.910888] [debug] Aprobación de Factura - -[2025-02-28 16:01:35.910978] [debug] {"uuid":"b04369b6-7686-4bd1-8630-6fc505463cde","changeType":"draft_approved","entity":"invoice","entityId":1653,"message":null,"clientId":23,"eventName":"invoice.draft_approved","clientData":{"id":23,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TABASCO #45, ZONA CENTRO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TABASCO #45, ZONA CENTRO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OSCAR","lastName":"GUERRERO","username":"oguerrero23","contacts":[{"id":24,"clientId":23,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#283593","addressGpsLat":21.1550814,"addressGpsLon":-100.9341575,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1653,"clientId":23,"number":"001604","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1656,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":22,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSCAR","clientLastName":"GUERRERO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TABASCO #45, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:36.848412] [notice] Logging level set to:debug -[2025-02-28 16:01:37.000399] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:37.000555] [debug] Valor de JSON: {"uuid":"c0037184-0429-4f18-917c-c57104d6e83a","changeType":"insert","entity":"invoice","entityId":"1654","eventName":"invoice.add_draft","extraData":{"entity":{"id":1654,"clientId":94,"number":"001605","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1657,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":93,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARTIN","clientLastName":"TREJO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:37.000704] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:37.000787] [debug] {"uuid":"c0037184-0429-4f18-917c-c57104d6e83a","changeType":"insert","entity":"invoice","entityId":1654,"message":null,"clientId":94,"eventName":"invoice.add_draft","clientData":{"id":94,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARTIN","lastName":"TREJO","username":"mtrejo94","contacts":[{"id":95,"clientId":94,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1654,"clientId":94,"number":"001605","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1657,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":93,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARTIN","clientLastName":"TREJO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:37.000870] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-28 16:01:37.000911] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":17,"clientId":94,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2024-01-31T15:59:03-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":22,"invoiceId":87,"paymentId":17,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":1000,"attributes":[]}] - -Nombre del cliente que se va a actualizar: MARTIN TREJO - -UUID: 92dd9fb15b8f4ff6860f8a32ea9bd7e4 - -JSON con los datos a actualizar: {"name":"MARTIN TREJO","custom_fields":{"Cliente":94,"Domicilio":"\ud83d\udccd Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Nombre":"\ud83d\udc64 MARTIN TREJO","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/94","Saldo Actual":"\ud83d\udcb24200 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 200","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"94\",\"Domicilio\": \"\ud83d\udccd Dolores Hidalgo Cuna de la Independencia Nacional, 37800\",\"Nombre\": \"\ud83d\udc64 MARTIN TREJO\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/94\",\"Saldo Actual\": \"\ud83d\udcb24200 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 200\",\"Estado\": \"\ud83d\udd34 Suspendido\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 31\/01\/2024 15:59 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 28\/02\/2025 10:01\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 31\/01\/2024 15:59 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 28\/02\/2025 10:01","Clabe Interbancaria":null}} - -Response Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"MARTIN TREJO","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2024-07-11T22:49:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 28/02/2025 10:01","Fecha Ultimo Pago":"📆💸 31/01/2024 15:59 con Efectivo 💵","Saldo Actual":"💲4200 pendientes","Nombre":"👤 MARTIN TREJO","URL":"🌐 https://sistema.siip.mx/crm/client/94","Antena/Sectorial":"Sec3-Sb >> 172.16.55.13/24","Site":"SBARB","Cliente":"94","Resumen":"{\"Cliente\": \"94\",\"Domicilio\": \"📍 Dolores Hidalgo Cuna de la Independencia Nacional, 37800\",\"Nombre\": \"👤 MARTIN TREJO\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/94\",\"Saldo Actual\": \"💲4200 pendientes\",\"Monto Ultimo Pago\": \"💲 200\",\"Estado\": \"🔴 Suspendido\",\"Fecha Ultimo Pago\": \"📆💰 31/01/2024 15:59 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 28/02/2025 10:01\",\"Clabe Interbancaria\": \"\"}","Domicilio":"📍 Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Monto Ultimo Pago":"💲 200"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-28 16:01:38.524105] [notice] Logging level set to:debug -[2025-02-28 16:01:38.685497] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:38.685691] [debug] Valor de JSON: {"uuid":"ee534e99-d5a2-4ffa-a159-fa5e04147b71","changeType":"draft_approved","entity":"invoice","entityId":"1654","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1654,"clientId":94,"number":"001605","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1657,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":93,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARTIN","clientLastName":"TREJO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:38.685827] [debug] Aprobación de Factura - -[2025-02-28 16:01:38.685904] [debug] {"uuid":"ee534e99-d5a2-4ffa-a159-fa5e04147b71","changeType":"draft_approved","entity":"invoice","entityId":1654,"message":null,"clientId":94,"eventName":"invoice.draft_approved","clientData":{"id":94,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARTIN","lastName":"TREJO","username":"mtrejo94","contacts":[{"id":95,"clientId":94,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1654,"clientId":94,"number":"001605","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1657,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":93,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARTIN","clientLastName":"TREJO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:38.685972] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-28 16:01:38.686012] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":17,"clientId":94,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2024-01-31T15:59:03-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":22,"invoiceId":87,"paymentId":17,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":1000,"attributes":[]}] - -Nombre del cliente que se va a actualizar: MARTIN TREJO - -UUID: 92dd9fb15b8f4ff6860f8a32ea9bd7e4 - -JSON con los datos a actualizar: {"name":"MARTIN TREJO","custom_fields":{"Cliente":94,"Domicilio":"\ud83d\udccd Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Nombre":"\ud83d\udc64 MARTIN TREJO","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/94","Saldo Actual":"\ud83d\udcb24200 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 200","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"94\",\"Domicilio\": \"\ud83d\udccd Dolores Hidalgo Cuna de la Independencia Nacional, 37800\",\"Nombre\": \"\ud83d\udc64 MARTIN TREJO\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/94\",\"Saldo Actual\": \"\ud83d\udcb24200 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 200\",\"Estado\": \"\ud83d\udd34 Suspendido\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 31\/01\/2024 15:59 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 28\/02\/2025 10:01\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 31\/01\/2024 15:59 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 28\/02\/2025 10:01","Clabe Interbancaria":null}} - -Response Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"MARTIN TREJO","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2024-07-11T22:49:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 28/02/2025 10:01","Fecha Ultimo Pago":"📆💸 31/01/2024 15:59 con Efectivo 💵","Saldo Actual":"💲4200 pendientes","Nombre":"👤 MARTIN TREJO","URL":"🌐 https://sistema.siip.mx/crm/client/94","Antena/Sectorial":"Sec3-Sb >> 172.16.55.13/24","Site":"SBARB","Cliente":"94","Resumen":"{\"Cliente\": \"94\",\"Domicilio\": \"📍 Dolores Hidalgo Cuna de la Independencia Nacional, 37800\",\"Nombre\": \"👤 MARTIN TREJO\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/94\",\"Saldo Actual\": \"💲4200 pendientes\",\"Monto Ultimo Pago\": \"💲 200\",\"Estado\": \"🔴 Suspendido\",\"Fecha Ultimo Pago\": \"📆💰 31/01/2024 15:59 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 28/02/2025 10:01\",\"Clabe Interbancaria\": \"\"}","Domicilio":"📍 Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Monto Ultimo Pago":"💲 200"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-28 16:01:40.583725] [notice] Logging level set to:debug -[2025-02-28 16:01:40.790199] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:40.790474] [debug] Valor de JSON: {"uuid":"c2001913-3d24-45bc-a80e-ddc616eef27b","changeType":"insert","entity":"invoice","entityId":"1655","eventName":"invoice.add_draft","extraData":{"entity":{"id":1655,"clientId":97,"number":"001606","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1658,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":96,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"YOLANDA","clientLastName":"CANO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AVILES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:40.790647] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:40.790726] [debug] {"uuid":"c2001913-3d24-45bc-a80e-ddc616eef27b","changeType":"insert","entity":"invoice","entityId":1655,"message":null,"clientId":97,"eventName":"invoice.add_draft","clientData":{"id":97,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS AVILES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS AVILES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"YOLANDA","lastName":"CANO","username":"ycano97","contacts":[{"id":98,"clientId":97,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7000,"accountCredit":0,"accountOutstanding":7000,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.151597,"addressGpsLon":-100.9367183,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1655,"clientId":97,"number":"001606","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1658,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":96,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"YOLANDA","clientLastName":"CANO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AVILES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:40.906126] [notice] Logging level set to:debug -[2025-02-28 16:01:41.050837] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:41.051135] [debug] Valor de JSON: {"uuid":"0cd71e10-8c33-4dd2-8c7f-c80c68e2c2ca","changeType":"draft_approved","entity":"invoice","entityId":"1655","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1655,"clientId":97,"number":"001606","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1658,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":96,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"YOLANDA","clientLastName":"CANO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AVILES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:41.051284] [debug] Aprobación de Factura - -[2025-02-28 16:01:41.051364] [debug] {"uuid":"0cd71e10-8c33-4dd2-8c7f-c80c68e2c2ca","changeType":"draft_approved","entity":"invoice","entityId":1655,"message":null,"clientId":97,"eventName":"invoice.draft_approved","clientData":{"id":97,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS AVILES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS AVILES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"YOLANDA","lastName":"CANO","username":"ycano97","contacts":[{"id":98,"clientId":97,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7000,"accountCredit":0,"accountOutstanding":7000,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.151597,"addressGpsLon":-100.9367183,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1655,"clientId":97,"number":"001606","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1658,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":96,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"YOLANDA","clientLastName":"CANO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AVILES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:41.159914] [notice] Logging level set to:debug -[2025-02-28 16:01:41.315968] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:41.316152] [debug] Valor de JSON: {"uuid":"83884732-b8e3-4c5d-a1bf-21399c50e7ea","changeType":"insert","entity":"invoice","entityId":"1656","eventName":"invoice.add_draft","extraData":{"entity":{"id":1656,"clientId":79,"number":"001607","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1659,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":78,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"ESPONIZA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:41.316293] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:41.316384] [debug] {"uuid":"83884732-b8e3-4c5d-a1bf-21399c50e7ea","changeType":"insert","entity":"invoice","entityId":1656,"message":null,"clientId":79,"eventName":"invoice.add_draft","clientData":{"id":79,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LAS YERBAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LAS YERBAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SEBASTIAN","lastName":"ESPONIZA","username":"sesponiza79","contacts":[{"id":80,"clientId":79,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-6500,"accountCredit":0,"accountOutstanding":6500,"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":1656,"clientId":79,"number":"001607","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1659,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":78,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"ESPONIZA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:41.429768] [notice] Logging level set to:debug -[2025-02-28 16:01:41.573625] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:41.573813] [debug] Valor de JSON: {"uuid":"2ffe8cc9-9b58-4962-a0eb-28a2a4f2bc49","changeType":"draft_approved","entity":"invoice","entityId":"1656","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1656,"clientId":79,"number":"001607","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1659,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":78,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"ESPONIZA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:41.573957] [debug] Aprobación de Factura - -[2025-02-28 16:01:41.574038] [debug] {"uuid":"2ffe8cc9-9b58-4962-a0eb-28a2a4f2bc49","changeType":"draft_approved","entity":"invoice","entityId":1656,"message":null,"clientId":79,"eventName":"invoice.draft_approved","clientData":{"id":79,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LAS YERBAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LAS YERBAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SEBASTIAN","lastName":"ESPONIZA","username":"sesponiza79","contacts":[{"id":80,"clientId":79,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-6500,"accountCredit":0,"accountOutstanding":6500,"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":1656,"clientId":79,"number":"001607","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1659,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":78,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"ESPONIZA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:42.112936] [notice] Logging level set to:debug -[2025-02-28 16:01:42.258510] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:42.258657] [debug] Valor de JSON: {"uuid":"1a99dce5-250f-4cb1-bb5c-22cde4a068af","changeType":"insert","entity":"invoice","entityId":"1657","eventName":"invoice.add_draft","extraData":{"entity":{"id":1657,"clientId":22,"number":"001608","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1660,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":21,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEBAN","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PUERTA DE SAN FRANCISCO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:42.258784] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:42.258862] [debug] {"uuid":"1a99dce5-250f-4cb1-bb5c-22cde4a068af","changeType":"insert","entity":"invoice","entityId":1657,"message":null,"clientId":22,"eventName":"invoice.add_draft","clientData":{"id":22,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA PUERTA DE SAN FRANCISCO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA PUERTA DE SAN FRANCISCO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ESTEBAN","lastName":"GARCIA","username":"egarcia22","contacts":[{"id":23,"clientId":22,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4530,"accountCredit":0,"accountOutstanding":4530,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#7cb342","addressGpsLat":21.2091666,"addressGpsLon":-100.76,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1657,"clientId":22,"number":"001608","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1660,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":21,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEBAN","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PUERTA DE SAN FRANCISCO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:42.375144] [notice] Logging level set to:debug -[2025-02-28 16:01:42.517044] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:42.517182] [debug] Valor de JSON: {"uuid":"a3892e23-0959-4b64-8cb2-fe4534aa17cc","changeType":"draft_approved","entity":"invoice","entityId":"1657","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1657,"clientId":22,"number":"001608","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1660,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":21,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEBAN","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PUERTA DE SAN FRANCISCO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:42.517312] [debug] Aprobación de Factura - -[2025-02-28 16:01:42.517385] [debug] {"uuid":"a3892e23-0959-4b64-8cb2-fe4534aa17cc","changeType":"draft_approved","entity":"invoice","entityId":1657,"message":null,"clientId":22,"eventName":"invoice.draft_approved","clientData":{"id":22,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA PUERTA DE SAN FRANCISCO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA PUERTA DE SAN FRANCISCO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ESTEBAN","lastName":"GARCIA","username":"egarcia22","contacts":[{"id":23,"clientId":22,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4530,"accountCredit":0,"accountOutstanding":4530,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#7cb342","addressGpsLat":21.2091666,"addressGpsLon":-100.76,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1657,"clientId":22,"number":"001608","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1660,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":21,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEBAN","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PUERTA DE SAN FRANCISCO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:43.450495] [notice] Logging level set to:debug -[2025-02-28 16:01:43.591128] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:43.591275] [debug] Valor de JSON: {"uuid":"6c78cdbe-193f-40fe-ad9d-31f27dab1f85","changeType":"insert","entity":"invoice","entityId":"1658","eventName":"invoice.add_draft","extraData":{"entity":{"id":1658,"clientId":45,"number":"001609","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1661,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":44,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"GRANADOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:43.591425] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:43.591510] [debug] {"uuid":"6c78cdbe-193f-40fe-ad9d-31f27dab1f85","changeType":"insert","entity":"invoice","entityId":1658,"message":null,"clientId":45,"eventName":"invoice.add_draft","clientData":{"id":45,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALBERTO","lastName":"GRANADOS","username":"agranados45","contacts":[{"id":46,"clientId":45,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":98,"clientId":45,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1E1ePcRAA689","clientZoneVisible":true},{"id":99,"clientId":45,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"9271357829475893","clientZoneVisible":true}],"accountBalance":-3910,"accountCredit":0,"accountOutstanding":3910,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ff9800","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1658,"clientId":45,"number":"001609","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1661,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":44,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"GRANADOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:43.699655] [notice] Logging level set to:debug -[2025-02-28 16:01:43.849136] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:43.849204] [debug] Valor de JSON: {"uuid":"11ab13d1-a4a7-4db9-b1bf-ae2e7cccd327","changeType":"draft_approved","entity":"invoice","entityId":"1658","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1658,"clientId":45,"number":"001609","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1661,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":44,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"GRANADOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:43.849313] [debug] Aprobación de Factura - -[2025-02-28 16:01:43.849365] [debug] {"uuid":"11ab13d1-a4a7-4db9-b1bf-ae2e7cccd327","changeType":"draft_approved","entity":"invoice","entityId":1658,"message":null,"clientId":45,"eventName":"invoice.draft_approved","clientData":{"id":45,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALBERTO","lastName":"GRANADOS","username":"agranados45","contacts":[{"id":46,"clientId":45,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":98,"clientId":45,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1E1ePcRAA689","clientZoneVisible":true},{"id":99,"clientId":45,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"9271357829475893","clientZoneVisible":true}],"accountBalance":-3910,"accountCredit":0,"accountOutstanding":3910,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ff9800","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1658,"clientId":45,"number":"001609","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1661,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":44,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"GRANADOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:44.735524] [notice] Logging level set to:debug -[2025-02-28 16:01:44.877269] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:44.877443] [debug] Valor de JSON: {"uuid":"4a20b146-c3ee-4982-99c5-ae71e492d4f9","changeType":"insert","entity":"invoice","entityId":"1659","eventName":"invoice.add_draft","extraData":{"entity":{"id":1659,"clientId":76,"number":"001610","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1662,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":75,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"RANGEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:44.877576] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:44.877676] [debug] {"uuid":"4a20b146-c3ee-4982-99c5-ae71e492d4f9","changeType":"insert","entity":"invoice","entityId":1659,"message":null,"clientId":76,"eventName":"invoice.add_draft","clientData":{"id":76,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TRANCAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TRANCAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDGAR","lastName":"RANGEL","username":"erangel76","contacts":[{"id":77,"clientId":76,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1659,"clientId":76,"number":"001610","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1662,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":75,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"RANGEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:44.992379] [notice] Logging level set to:debug -[2025-02-28 16:01:45.201045] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:45.201225] [debug] Valor de JSON: {"uuid":"3fffcee9-0528-49fa-a5d9-4ef93cd9648e","changeType":"draft_approved","entity":"invoice","entityId":"1659","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1659,"clientId":76,"number":"001610","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1662,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":75,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"RANGEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:45.201378] [debug] Aprobación de Factura - -[2025-02-28 16:01:45.201453] [debug] {"uuid":"3fffcee9-0528-49fa-a5d9-4ef93cd9648e","changeType":"draft_approved","entity":"invoice","entityId":1659,"message":null,"clientId":76,"eventName":"invoice.draft_approved","clientData":{"id":76,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TRANCAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TRANCAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDGAR","lastName":"RANGEL","username":"erangel76","contacts":[{"id":77,"clientId":76,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1659,"clientId":76,"number":"001610","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1662,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":75,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"RANGEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:46.079979] [notice] Logging level set to:debug -[2025-02-28 16:01:46.216295] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:46.216491] [debug] Valor de JSON: {"uuid":"0c0e6d49-3d7a-467c-9192-f8020db18be2","changeType":"insert","entity":"invoice","entityId":"1660","eventName":"invoice.add_draft","extraData":{"entity":{"id":1660,"clientId":9,"number":"001611","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1663,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":9,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JHOVANY","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GALLINERO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:46.216656] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:46.216757] [debug] {"uuid":"0c0e6d49-3d7a-467c-9192-f8020db18be2","changeType":"insert","entity":"invoice","entityId":1660,"message":null,"clientId":9,"eventName":"invoice.add_draft","clientData":{"id":9,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"GALLINERO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"GALLINERO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JHOVANY","lastName":"LOPEZ","username":"jlopez09","contacts":[{"id":10,"clientId":9,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4000,"accountCredit":0,"accountOutstanding":4000,"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":1660,"clientId":9,"number":"001611","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1663,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":9,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JHOVANY","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GALLINERO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:46.331948] [notice] Logging level set to:debug -[2025-02-28 16:01:46.592953] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:46.593131] [debug] Valor de JSON: {"uuid":"118aa24c-aa8c-48ca-9391-62b626e0a05f","changeType":"draft_approved","entity":"invoice","entityId":"1660","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1660,"clientId":9,"number":"001611","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1663,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":9,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JHOVANY","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GALLINERO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:46.593264] [debug] Aprobación de Factura - -[2025-02-28 16:01:46.593718] [debug] {"uuid":"118aa24c-aa8c-48ca-9391-62b626e0a05f","changeType":"draft_approved","entity":"invoice","entityId":1660,"message":null,"clientId":9,"eventName":"invoice.draft_approved","clientData":{"id":9,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"GALLINERO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"GALLINERO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JHOVANY","lastName":"LOPEZ","username":"jlopez09","contacts":[{"id":10,"clientId":9,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4000,"accountCredit":0,"accountOutstanding":4000,"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":1660,"clientId":9,"number":"001611","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1663,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":9,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JHOVANY","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GALLINERO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:47.414900] [notice] Logging level set to:debug -[2025-02-28 16:01:47.555411] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:47.555588] [debug] Valor de JSON: {"uuid":"03bb4899-b422-4489-bd31-996d6c056ec5","changeType":"insert","entity":"invoice","entityId":"1661","eventName":"invoice.add_draft","extraData":{"entity":{"id":1661,"clientId":37,"number":"001612","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1664,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":36,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA SOLEDAD","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:47.555769] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:47.555850] [debug] {"uuid":"03bb4899-b422-4489-bd31-996d6c056ec5","changeType":"insert","entity":"invoice","entityId":1661,"message":null,"clientId":37,"eventName":"invoice.add_draft","clientData":{"id":37,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA SOLEDAD","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA SOLEDAD, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANGEL","lastName":"ARVIZU","username":"aarvizu37","contacts":[{"id":38,"clientId":37,"email":null,"phone":"4181818706","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3910,"accountCredit":0,"accountOutstanding":3910,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1661,"clientId":37,"number":"001612","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1664,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":36,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA SOLEDAD","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:47.674607] [notice] Logging level set to:debug -[2025-02-28 16:01:47.929784] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:47.929981] [debug] Valor de JSON: {"uuid":"31f109ff-833d-4593-ad1c-a5772469e536","changeType":"draft_approved","entity":"invoice","entityId":"1661","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1661,"clientId":37,"number":"001612","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1664,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":36,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA SOLEDAD","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:47.930141] [debug] Aprobación de Factura - -[2025-02-28 16:01:47.930253] [debug] {"uuid":"31f109ff-833d-4593-ad1c-a5772469e536","changeType":"draft_approved","entity":"invoice","entityId":1661,"message":null,"clientId":37,"eventName":"invoice.draft_approved","clientData":{"id":37,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA SOLEDAD","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA SOLEDAD, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANGEL","lastName":"ARVIZU","username":"aarvizu37","contacts":[{"id":38,"clientId":37,"email":null,"phone":"4181818706","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3910,"accountCredit":0,"accountOutstanding":3910,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1661,"clientId":37,"number":"001612","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1664,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":36,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA SOLEDAD","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:48.759373] [notice] Logging level set to:debug -[2025-02-28 16:01:48.904051] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:48.904225] [debug] Valor de JSON: {"uuid":"1c93f607-a736-4be7-9247-0d1c613d98d4","changeType":"insert","entity":"invoice","entityId":"1662","eventName":"invoice.add_draft","extraData":{"entity":{"id":1662,"clientId":81,"number":"001613","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1665,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":80,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FERNANDO","clientLastName":"ALCAZAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:48.904366] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:48.904443] [debug] {"uuid":"1c93f607-a736-4be7-9247-0d1c613d98d4","changeType":"insert","entity":"invoice","entityId":1662,"message":null,"clientId":81,"eventName":"invoice.add_draft","clientData":{"id":81,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"FERNANDO","lastName":"ALCAZAR","username":"falcazar81","contacts":[{"id":82,"clientId":81,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-9800,"accountCredit":0,"accountOutstanding":9800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d81b60","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1662,"clientId":81,"number":"001613","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1665,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":80,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FERNANDO","clientLastName":"ALCAZAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:49.027324] [notice] Logging level set to:debug -[2025-02-28 16:01:49.277225] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:49.277457] [debug] Valor de JSON: {"uuid":"0dd095e7-df82-42f3-be29-bce7a2c0a380","changeType":"draft_approved","entity":"invoice","entityId":"1662","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1662,"clientId":81,"number":"001613","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1665,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":80,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FERNANDO","clientLastName":"ALCAZAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:49.277688] [debug] Aprobación de Factura - -[2025-02-28 16:01:49.277779] [debug] {"uuid":"0dd095e7-df82-42f3-be29-bce7a2c0a380","changeType":"draft_approved","entity":"invoice","entityId":1662,"message":null,"clientId":81,"eventName":"invoice.draft_approved","clientData":{"id":81,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"FERNANDO","lastName":"ALCAZAR","username":"falcazar81","contacts":[{"id":82,"clientId":81,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-9800,"accountCredit":0,"accountOutstanding":9800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d81b60","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1662,"clientId":81,"number":"001613","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1665,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":80,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FERNANDO","clientLastName":"ALCAZAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:50.058034] [notice] Logging level set to:debug -[2025-02-28 16:01:50.197479] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:50.197643] [debug] Valor de JSON: {"uuid":"7ca7dd21-4515-4c65-8a6a-15ea244a8c3e","changeType":"insert","entity":"invoice","entityId":"1663","eventName":"invoice.add_draft","extraData":{"entity":{"id":1663,"clientId":11,"number":"001614","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1666,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":11,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"KARIME","clientLastName":"QUINTERO HERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:50.197786] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:50.197860] [debug] {"uuid":"7ca7dd21-4515-4c65-8a6a-15ea244a8c3e","changeType":"insert","entity":"invoice","entityId":1663,"message":null,"clientId":11,"eventName":"invoice.add_draft","clientData":{"id":11,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TRANCAS","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TRANCAS, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"KARIME","lastName":"QUINTERO HERNANDEZ","username":"kquintero11","contacts":[{"id":12,"clientId":11,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3000,"accountCredit":0,"accountOutstanding":3000,"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":1663,"clientId":11,"number":"001614","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1666,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":11,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"KARIME","clientLastName":"QUINTERO HERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:50.309834] [notice] Logging level set to:debug -[2025-02-28 16:01:50.540961] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:50.541115] [debug] Valor de JSON: {"uuid":"6e4a75b9-3f72-4ad6-af44-498c851030c6","changeType":"draft_approved","entity":"invoice","entityId":"1663","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1663,"clientId":11,"number":"001614","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1666,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":11,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"KARIME","clientLastName":"QUINTERO HERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:50.541255] [debug] Aprobación de Factura - -[2025-02-28 16:01:50.541336] [debug] {"uuid":"6e4a75b9-3f72-4ad6-af44-498c851030c6","changeType":"draft_approved","entity":"invoice","entityId":1663,"message":null,"clientId":11,"eventName":"invoice.draft_approved","clientData":{"id":11,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TRANCAS","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TRANCAS, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"KARIME","lastName":"QUINTERO HERNANDEZ","username":"kquintero11","contacts":[{"id":12,"clientId":11,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3000,"accountCredit":0,"accountOutstanding":3000,"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":1663,"clientId":11,"number":"001614","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1666,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":11,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"KARIME","clientLastName":"QUINTERO HERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:51.336870] [notice] Logging level set to:debug -[2025-02-28 16:01:51.489048] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:51.489195] [debug] Valor de JSON: {"uuid":"a370d466-3f9c-40e1-9bd1-7137f8fccb8d","changeType":"insert","entity":"invoice","entityId":"1664","eventName":"invoice.add_draft","extraData":{"entity":{"id":1664,"clientId":55,"number":"001615","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1667,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":54,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JOSE","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:51.489315] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:51.489392] [debug] {"uuid":"a370d466-3f9c-40e1-9bd1-7137f8fccb8d","changeType":"insert","entity":"invoice","entityId":1664,"message":null,"clientId":55,"eventName":"invoice.add_draft","clientData":{"id":55,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL MEZQUITAL","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL MEZQUITAL, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JOSE","lastName":"SANCHEZ","username":"jsanchez55","contacts":[{"id":56,"clientId":55,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#8e24aa","addressGpsLat":21.1081412,"addressGpsLon":-100.9422033,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1664,"clientId":55,"number":"001615","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1667,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":54,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JOSE","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:51.599602] [notice] Logging level set to:debug -[2025-02-28 16:01:51.837941] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:51.838088] [debug] Valor de JSON: {"uuid":"c858b0de-c737-400d-b87f-1c8eea1569e2","changeType":"draft_approved","entity":"invoice","entityId":"1664","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1664,"clientId":55,"number":"001615","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1667,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":54,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JOSE","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:51.838218] [debug] Aprobación de Factura - -[2025-02-28 16:01:51.838296] [debug] {"uuid":"c858b0de-c737-400d-b87f-1c8eea1569e2","changeType":"draft_approved","entity":"invoice","entityId":1664,"message":null,"clientId":55,"eventName":"invoice.draft_approved","clientData":{"id":55,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL MEZQUITAL","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL MEZQUITAL, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JOSE","lastName":"SANCHEZ","username":"jsanchez55","contacts":[{"id":56,"clientId":55,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#8e24aa","addressGpsLat":21.1081412,"addressGpsLon":-100.9422033,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1664,"clientId":55,"number":"001615","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1667,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":54,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JOSE","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:52.676436] [notice] Logging level set to:debug -[2025-02-28 16:01:52.817189] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:52.817347] [debug] Valor de JSON: {"uuid":"a73863e5-bd66-4360-92a2-6e5799c2e105","changeType":"insert","entity":"invoice","entityId":"1665","eventName":"invoice.add_draft","extraData":{"entity":{"id":1665,"clientId":31,"number":"001616","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1668,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":30,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANA","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SIETE REALES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:52.817503] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:52.817584] [debug] {"uuid":"a73863e5-bd66-4360-92a2-6e5799c2e105","changeType":"insert","entity":"invoice","entityId":1665,"message":null,"clientId":31,"eventName":"invoice.add_draft","clientData":{"id":31,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SIETE REALES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SIETE REALES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANA","lastName":"CASTILLO","username":"acastillo31","contacts":[{"id":32,"clientId":31,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3880,"accountCredit":0,"accountOutstanding":3880,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4caf50","addressGpsLat":21.2302531,"addressGpsLon":-100.7594666,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1665,"clientId":31,"number":"001616","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1668,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":30,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANA","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SIETE REALES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:52.926137] [notice] Logging level set to:debug -[2025-02-28 16:01:53.160564] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:53.160743] [debug] Valor de JSON: {"uuid":"99293ddf-1ae7-4ac0-97b7-e55d23902f8c","changeType":"draft_approved","entity":"invoice","entityId":"1665","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1665,"clientId":31,"number":"001616","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1668,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":30,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANA","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SIETE REALES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:53.160868] [debug] Aprobación de Factura - -[2025-02-28 16:01:53.160943] [debug] {"uuid":"99293ddf-1ae7-4ac0-97b7-e55d23902f8c","changeType":"draft_approved","entity":"invoice","entityId":1665,"message":null,"clientId":31,"eventName":"invoice.draft_approved","clientData":{"id":31,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SIETE REALES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SIETE REALES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANA","lastName":"CASTILLO","username":"acastillo31","contacts":[{"id":32,"clientId":31,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3880,"accountCredit":0,"accountOutstanding":3880,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4caf50","addressGpsLat":21.2302531,"addressGpsLon":-100.7594666,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1665,"clientId":31,"number":"001616","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1668,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":30,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANA","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SIETE REALES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:54.042678] [notice] Logging level set to:debug -[2025-02-28 16:01:54.181453] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:54.181603] [debug] Valor de JSON: {"uuid":"0ab55174-cf0d-4fe7-8cc0-013c1e773ad6","changeType":"insert","entity":"invoice","entityId":"1666","eventName":"invoice.add_draft","extraData":{"entity":{"id":1666,"clientId":20,"number":"001617","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1669,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":19,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEFANIA","clientLastName":"BUENROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN PABLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:54.181768] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:54.181854] [debug] {"uuid":"0ab55174-cf0d-4fe7-8cc0-013c1e773ad6","changeType":"insert","entity":"invoice","entityId":1666,"message":null,"clientId":20,"eventName":"invoice.add_draft","clientData":{"id":20,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN PABLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN PABLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ESTEFANIA","lastName":"BUENROSTRO","username":"ebuenrostro20","contacts":[{"id":21,"clientId":20,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3880,"accountCredit":0,"accountOutstanding":3880,"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":1666,"clientId":20,"number":"001617","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1669,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":19,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEFANIA","clientLastName":"BUENROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN PABLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:54.295140] [notice] Logging level set to:debug -[2025-02-28 16:01:54.517925] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:54.518130] [debug] Valor de JSON: {"uuid":"a02002eb-96d9-4da3-ba62-ecf7ca4cee53","changeType":"draft_approved","entity":"invoice","entityId":"1666","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1666,"clientId":20,"number":"001617","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1669,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":19,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEFANIA","clientLastName":"BUENROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN PABLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:54.518274] [debug] Aprobación de Factura - -[2025-02-28 16:01:54.518357] [debug] {"uuid":"a02002eb-96d9-4da3-ba62-ecf7ca4cee53","changeType":"draft_approved","entity":"invoice","entityId":1666,"message":null,"clientId":20,"eventName":"invoice.draft_approved","clientData":{"id":20,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN PABLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN PABLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ESTEFANIA","lastName":"BUENROSTRO","username":"ebuenrostro20","contacts":[{"id":21,"clientId":20,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3880,"accountCredit":0,"accountOutstanding":3880,"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":1666,"clientId":20,"number":"001617","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1669,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":19,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEFANIA","clientLastName":"BUENROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN PABLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:55.614032] [notice] Logging level set to:debug -[2025-02-28 16:01:55.743697] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:55.743756] [debug] Valor de JSON: {"uuid":"914f7400-1435-4319-94f4-e6d3e6cde6bc","changeType":"insert","entity":"invoice","entityId":"1667","eventName":"invoice.add_draft","extraData":{"entity":{"id":1667,"clientId":75,"number":"001618","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1670,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":74,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAUL","clientLastName":"AYALA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:55.743877] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:55.743925] [debug] {"uuid":"914f7400-1435-4319-94f4-e6d3e6cde6bc","changeType":"insert","entity":"invoice","entityId":1667,"message":null,"clientId":75,"eventName":"invoice.add_draft","clientData":{"id":75,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"RAUL","lastName":"AYALA","username":"rayala75","contacts":[{"id":76,"clientId":75,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.2516667,"addressGpsLon":-101.0924998,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1667,"clientId":75,"number":"001618","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1670,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":74,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAUL","clientLastName":"AYALA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:55.902695] [notice] Logging level set to:debug -[2025-02-28 16:01:56.271771] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:56.271845] [debug] Valor de JSON: {"uuid":"5ae4ce6d-65c1-4bc4-b761-924db5a0078a","changeType":"draft_approved","entity":"invoice","entityId":"1667","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1667,"clientId":75,"number":"001618","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1670,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":74,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAUL","clientLastName":"AYALA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:56.271960] [debug] Aprobación de Factura - -[2025-02-28 16:01:56.272017] [debug] {"uuid":"5ae4ce6d-65c1-4bc4-b761-924db5a0078a","changeType":"draft_approved","entity":"invoice","entityId":1667,"message":null,"clientId":75,"eventName":"invoice.draft_approved","clientData":{"id":75,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"RAUL","lastName":"AYALA","username":"rayala75","contacts":[{"id":76,"clientId":75,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.2516667,"addressGpsLon":-101.0924998,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1667,"clientId":75,"number":"001618","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1670,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":74,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAUL","clientLastName":"AYALA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:57.307121] [notice] Logging level set to:debug -[2025-02-28 16:01:57.445709] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:57.445893] [debug] Valor de JSON: {"uuid":"4e6f28ed-f2d0-4f10-8c4d-b817b5c87ed7","changeType":"insert","entity":"invoice","entityId":"1668","eventName":"invoice.add_draft","extraData":{"entity":{"id":1668,"clientId":69,"number":"001619","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1671,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":68,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CIRILA","clientLastName":"AVILES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:57.446037] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:57.446124] [debug] {"uuid":"4e6f28ed-f2d0-4f10-8c4d-b817b5c87ed7","changeType":"insert","entity":"invoice","entityId":1668,"message":null,"clientId":69,"eventName":"invoice.add_draft","clientData":{"id":69,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"CIRILA","lastName":"AVILES","username":"caviles69","contacts":[{"id":70,"clientId":69,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#8bc34a","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1668,"clientId":69,"number":"001619","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1671,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":68,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CIRILA","clientLastName":"AVILES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:57.557543] [notice] Logging level set to:debug -[2025-02-28 16:01:57.697143] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:57.697329] [debug] Valor de JSON: {"uuid":"4c29efa0-33ec-412d-93a3-49b0f23ed6e3","changeType":"draft_approved","entity":"invoice","entityId":"1668","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1668,"clientId":69,"number":"001619","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1671,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":68,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CIRILA","clientLastName":"AVILES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:57.697460] [debug] Aprobación de Factura - -[2025-02-28 16:01:57.697539] [debug] {"uuid":"4c29efa0-33ec-412d-93a3-49b0f23ed6e3","changeType":"draft_approved","entity":"invoice","entityId":1668,"message":null,"clientId":69,"eventName":"invoice.draft_approved","clientData":{"id":69,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"CIRILA","lastName":"AVILES","username":"caviles69","contacts":[{"id":70,"clientId":69,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#8bc34a","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1668,"clientId":69,"number":"001619","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1671,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":68,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CIRILA","clientLastName":"AVILES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:58.585485] [notice] Logging level set to:debug -[2025-02-28 16:01:58.720170] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:01:58.720237] [debug] Valor de JSON: {"uuid":"e616b662-6b3d-4259-9977-36b94762fd6a","changeType":"insert","entity":"invoice","entityId":"1669","eventName":"invoice.add_draft","extraData":{"entity":{"id":1669,"clientId":66,"number":"001620","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1672,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":65,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LAURA","clientLastName":"CRUCES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:58.720357] [debug] Adición de borrador de Factura - -[2025-02-28 16:01:58.720405] [debug] {"uuid":"e616b662-6b3d-4259-9977-36b94762fd6a","changeType":"insert","entity":"invoice","entityId":1669,"message":null,"clientId":66,"eventName":"invoice.add_draft","clientData":{"id":66,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"LAURA","lastName":"CRUCES","username":"lcruces66","contacts":[{"id":67,"clientId":66,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1669,"clientId":66,"number":"001620","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1672,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":65,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LAURA","clientLastName":"CRUCES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:58.830605] [notice] Logging level set to:debug -[2025-02-28 16:01:58.997256] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:01:58.997322] [debug] Valor de JSON: {"uuid":"b83db856-72aa-4350-b112-16754d5c2de7","changeType":"draft_approved","entity":"invoice","entityId":"1669","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1669,"clientId":66,"number":"001620","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1672,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":65,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LAURA","clientLastName":"CRUCES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:01:58.997433] [debug] Aprobación de Factura - -[2025-02-28 16:01:58.997483] [debug] {"uuid":"b83db856-72aa-4350-b112-16754d5c2de7","changeType":"draft_approved","entity":"invoice","entityId":1669,"message":null,"clientId":66,"eventName":"invoice.draft_approved","clientData":{"id":66,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"LAURA","lastName":"CRUCES","username":"lcruces66","contacts":[{"id":67,"clientId":66,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1669,"clientId":66,"number":"001620","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1672,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":65,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LAURA","clientLastName":"CRUCES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:01:59.920779] [notice] Logging level set to:debug -[2025-02-28 16:02:00.069489] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:02:00.069546] [debug] Valor de JSON: {"uuid":"a6fa6e61-bcc1-4be7-939d-eb2437756a22","changeType":"insert","entity":"invoice","entityId":"1670","eventName":"invoice.add_draft","extraData":{"entity":{"id":1670,"clientId":86,"number":"001621","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1673,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":85,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PALMITAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:02:00.069636] [debug] Adición de borrador de Factura - -[2025-02-28 16:02:00.069808] [debug] {"uuid":"a6fa6e61-bcc1-4be7-939d-eb2437756a22","changeType":"insert","entity":"invoice","entityId":1670,"message":null,"clientId":86,"eventName":"invoice.add_draft","clientData":{"id":86,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"PALMITAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"PALMITAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"HUMBERTO","lastName":"CASTILLO","username":"hcastillo86","contacts":[{"id":87,"clientId":86,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-6100,"accountCredit":0,"accountOutstanding":6100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#c62828","addressGpsLat":21.2394677,"addressGpsLon":-100.9803471,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1670,"clientId":86,"number":"001621","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1673,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":85,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PALMITAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:02:00.180871] [notice] Logging level set to:debug -[2025-02-28 16:02:00.439063] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:02:00.439126] [debug] Valor de JSON: {"uuid":"94868b21-b2e8-434f-a33b-35edb899ae0a","changeType":"draft_approved","entity":"invoice","entityId":"1670","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1670,"clientId":86,"number":"001621","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1673,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":85,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PALMITAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:02:00.439229] [debug] Aprobación de Factura - -[2025-02-28 16:02:00.439275] [debug] {"uuid":"94868b21-b2e8-434f-a33b-35edb899ae0a","changeType":"draft_approved","entity":"invoice","entityId":1670,"message":null,"clientId":86,"eventName":"invoice.draft_approved","clientData":{"id":86,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"PALMITAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"PALMITAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"HUMBERTO","lastName":"CASTILLO","username":"hcastillo86","contacts":[{"id":87,"clientId":86,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-6100,"accountCredit":0,"accountOutstanding":6100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#c62828","addressGpsLat":21.2394677,"addressGpsLon":-100.9803471,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1670,"clientId":86,"number":"001621","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1673,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":85,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PALMITAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:02:01.809165] [notice] Logging level set to:debug -[2025-02-28 16:02:01.964095] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:02:01.964168] [debug] Valor de JSON: {"uuid":"c3698a37-df7c-4302-877e-2f1d7d6bfbd3","changeType":"insert","entity":"invoice","entityId":"1671","eventName":"invoice.add_draft","extraData":{"entity":{"id":1671,"clientId":74,"number":"001622","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1674,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":73,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARCELO","clientLastName":"PALACIOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:02:01.964292] [debug] Adición de borrador de Factura - -[2025-02-28 16:02:01.964343] [debug] {"uuid":"c3698a37-df7c-4302-877e-2f1d7d6bfbd3","changeType":"insert","entity":"invoice","entityId":1671,"message":null,"clientId":74,"eventName":"invoice.add_draft","clientData":{"id":74,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARCELO","lastName":"PALACIOS","username":"mpalacios74","contacts":[{"id":75,"clientId":74,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2e7d32","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1671,"clientId":74,"number":"001622","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1674,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":73,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARCELO","clientLastName":"PALACIOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:02:02.079333] [notice] Logging level set to:debug -[2025-02-28 16:02:02.229819] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:02:02.229908] [debug] Valor de JSON: {"uuid":"0e45a8a7-ab1d-42a0-a2cb-7e2e16959bbe","changeType":"draft_approved","entity":"invoice","entityId":"1671","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1671,"clientId":74,"number":"001622","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1674,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":73,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARCELO","clientLastName":"PALACIOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:02:02.230014] [debug] Aprobación de Factura - -[2025-02-28 16:02:02.230072] [debug] {"uuid":"0e45a8a7-ab1d-42a0-a2cb-7e2e16959bbe","changeType":"draft_approved","entity":"invoice","entityId":1671,"message":null,"clientId":74,"eventName":"invoice.draft_approved","clientData":{"id":74,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARCELO","lastName":"PALACIOS","username":"mpalacios74","contacts":[{"id":75,"clientId":74,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2e7d32","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1671,"clientId":74,"number":"001622","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1674,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":73,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARCELO","clientLastName":"PALACIOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:02:03.118180] [notice] Logging level set to:debug -[2025-02-28 16:02:03.269742] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:02:03.269809] [debug] Valor de JSON: {"uuid":"5f6c0c41-8b06-43b4-b883-81a2cd8e8c6c","changeType":"insert","entity":"invoice","entityId":"1672","eventName":"invoice.add_draft","extraData":{"entity":{"id":1672,"clientId":44,"number":"001623","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1675,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":43,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JAVIER","clientLastName":"BRIONES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ESTANCIA DE ZAMARRIPA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:02:03.269920] [debug] Adición de borrador de Factura - -[2025-02-28 16:02:03.269972] [debug] {"uuid":"5f6c0c41-8b06-43b4-b883-81a2cd8e8c6c","changeType":"insert","entity":"invoice","entityId":1672,"message":null,"clientId":44,"eventName":"invoice.add_draft","clientData":{"id":44,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"ESTANCIA DE ZAMARRIPA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"ESTANCIA DE ZAMARRIPA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JAVIER","lastName":"BRIONES","username":"jbriones44","contacts":[{"id":45,"clientId":44,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3910,"accountCredit":0,"accountOutstanding":3910,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#c0ca33","addressGpsLat":21.2370877,"addressGpsLon":-101.116799,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1672,"clientId":44,"number":"001623","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1675,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":43,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JAVIER","clientLastName":"BRIONES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ESTANCIA DE ZAMARRIPA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:02:03.377815] [notice] Logging level set to:debug -[2025-02-28 16:02:03.510648] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:02:03.510704] [debug] Valor de JSON: {"uuid":"b90b4d45-3340-4c21-afd5-b35907ccb3c4","changeType":"draft_approved","entity":"invoice","entityId":"1672","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1672,"clientId":44,"number":"001623","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1675,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":43,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JAVIER","clientLastName":"BRIONES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ESTANCIA DE ZAMARRIPA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:02:03.510798] [debug] Aprobación de Factura - -[2025-02-28 16:02:03.510845] [debug] {"uuid":"b90b4d45-3340-4c21-afd5-b35907ccb3c4","changeType":"draft_approved","entity":"invoice","entityId":1672,"message":null,"clientId":44,"eventName":"invoice.draft_approved","clientData":{"id":44,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"ESTANCIA DE ZAMARRIPA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"ESTANCIA DE ZAMARRIPA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JAVIER","lastName":"BRIONES","username":"jbriones44","contacts":[{"id":45,"clientId":44,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3910,"accountCredit":0,"accountOutstanding":3910,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#c0ca33","addressGpsLat":21.2370877,"addressGpsLon":-101.116799,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1672,"clientId":44,"number":"001623","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1675,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":43,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JAVIER","clientLastName":"BRIONES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ESTANCIA DE ZAMARRIPA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:02:04.459530] [notice] Logging level set to:debug -[2025-02-28 16:02:04.596576] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:02:04.596734] [debug] Valor de JSON: {"uuid":"75f99f6e-1468-4d68-af4a-e5bb3ef3b223","changeType":"insert","entity":"invoice","entityId":"1673","eventName":"invoice.add_draft","extraData":{"entity":{"id":1673,"clientId":14,"number":"001624","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1676,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":14,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDRO","clientLastName":"ARIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:02:04.596879] [debug] Adición de borrador de Factura - -[2025-02-28 16:02:04.596952] [debug] {"uuid":"75f99f6e-1468-4d68-af4a-e5bb3ef3b223","changeType":"insert","entity":"invoice","entityId":1673,"message":null,"clientId":14,"eventName":"invoice.add_draft","clientData":{"id":14,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LINDAVISTA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LINDAVISTA, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALEXANDRO","lastName":"ARIAS","username":"aarias14","contacts":[{"id":15,"clientId":14,"email":null,"phone":"+1 682-260-4759","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-2700,"accountCredit":0,"accountOutstanding":2700,"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":1673,"clientId":14,"number":"001624","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1676,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":14,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDRO","clientLastName":"ARIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:02:04.597024] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-28 16:02:04.597063] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":15,"clientId":14,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2024-01-29T12:00:41-0600","amount":1800,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":17,"invoiceId":23,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300},{"id":19,"invoiceId":67,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300},{"id":36,"invoiceId":126,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300},{"id":122,"invoiceId":318,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300},{"id":125,"invoiceId":382,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300},{"id":312,"invoiceId":582,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1000,"attributes":[]}] - -Nombre del cliente que se va a actualizar: ALEXANDRO ARIAS - -UUID: be760b254a694e8b94b002789d68d388 - -JSON con los datos a actualizar: {"name":"ALEXANDRO ARIAS","custom_fields":{"Cliente":14,"Domicilio":"\ud83d\udccd LINDAVISTA, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 ALEXANDRO ARIAS","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/14","Saldo Actual":"\ud83d\udcb22700 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 1800","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"14\",\"Domicilio\": \"\ud83d\udccd LINDAVISTA, Dolores Hidalgo, 37800\",\"Nombre\": \"\ud83d\udc64 ALEXANDRO ARIAS\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/14\",\"Saldo Actual\": \"\ud83d\udcb22700 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 1800\",\"Estado\": \"\ud83d\udd34 Suspendido\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 29\/01\/2024 12:00 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 28\/02\/2025 10:02\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 29\/01\/2024 12:00 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 28\/02\/2025 10:02","Clabe Interbancaria":null}} - -Response Patch CallBell: {"contact":{"uuid":"be760b254a694e8b94b002789d68d388","name":"ALEXANDRO ARIAS","phoneNumber":"+1 682-260-4759","avatarUrl":null,"createdAt":"2024-01-29T18:03:03Z","closedAt":"2024-01-29T18:32:46Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/be760b254a694e8b94b002789d68d388","conversationHref":"https://dash.callbell.eu/chat/b95896c60a7e4541b9d378d9d9ef938b","tags":[],"assignedUser":null,"customFields":{"Antena/Sectorial":"14","Estado":"🔴 Suspendido","Nombre":"👤 ALEXANDRO ARIAS","Cliente":"14","Domicilio":"📍 LINDAVISTA, Dolores Hidalgo, 37800","Fecha Ultima Actualizacion":"📆🔄️ 28/02/2025 10:02","Fecha Ultimo Pago":"📆💸 29/01/2024 12:00 con Efectivo 💵","Monto Ultimo Pago":"💲 1800","Resumen":"{\"Cliente\": \"14\",\"Domicilio\": \"📍 LINDAVISTA, Dolores Hidalgo, 37800\",\"Nombre\": \"👤 ALEXANDRO ARIAS\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/14\",\"Saldo Actual\": \"💲2700 pendientes\",\"Monto Ultimo Pago\": \"💲 1800\",\"Estado\": \"🔴 Suspendido\",\"Fecha Ultimo Pago\": \"📆💰 29/01/2024 12:00 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 28/02/2025 10:02\",\"Clabe Interbancaria\": \"\"}","Saldo Actual":"💲2700 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/14"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-28 16:02:06.558092] [notice] Logging level set to:debug -[2025-02-28 16:02:06.698654] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:02:06.698725] [debug] Valor de JSON: {"uuid":"39c08ced-c3db-42e0-b268-bce249bbce44","changeType":"draft_approved","entity":"invoice","entityId":"1673","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1673,"clientId":14,"number":"001624","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1676,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":14,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDRO","clientLastName":"ARIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:02:06.698812] [debug] Aprobación de Factura - -[2025-02-28 16:02:06.698859] [debug] {"uuid":"39c08ced-c3db-42e0-b268-bce249bbce44","changeType":"draft_approved","entity":"invoice","entityId":1673,"message":null,"clientId":14,"eventName":"invoice.draft_approved","clientData":{"id":14,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LINDAVISTA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LINDAVISTA, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALEXANDRO","lastName":"ARIAS","username":"aarias14","contacts":[{"id":15,"clientId":14,"email":null,"phone":"+1 682-260-4759","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-2700,"accountCredit":0,"accountOutstanding":2700,"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":1673,"clientId":14,"number":"001624","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1676,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":14,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDRO","clientLastName":"ARIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:02:06.698898] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-02-28 16:02:06.698909] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":15,"clientId":14,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2024-01-29T12:00:41-0600","amount":1800,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":17,"invoiceId":23,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300},{"id":19,"invoiceId":67,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300},{"id":36,"invoiceId":126,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300},{"id":122,"invoiceId":318,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300},{"id":125,"invoiceId":382,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300},{"id":312,"invoiceId":582,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1000,"attributes":[]}] - -Nombre del cliente que se va a actualizar: ALEXANDRO ARIAS - -UUID: be760b254a694e8b94b002789d68d388 - -JSON con los datos a actualizar: {"name":"ALEXANDRO ARIAS","custom_fields":{"Cliente":14,"Domicilio":"\ud83d\udccd LINDAVISTA, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 ALEXANDRO ARIAS","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/14","Saldo Actual":"\ud83d\udcb22700 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 1800","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"14\",\"Domicilio\": \"\ud83d\udccd LINDAVISTA, Dolores Hidalgo, 37800\",\"Nombre\": \"\ud83d\udc64 ALEXANDRO ARIAS\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/14\",\"Saldo Actual\": \"\ud83d\udcb22700 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 1800\",\"Estado\": \"\ud83d\udd34 Suspendido\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 29\/01\/2024 12:00 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 28\/02\/2025 10:02\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 29\/01\/2024 12:00 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 28\/02\/2025 10:02","Clabe Interbancaria":null}} - -Response Patch CallBell: {"contact":{"uuid":"be760b254a694e8b94b002789d68d388","name":"ALEXANDRO ARIAS","phoneNumber":"+1 682-260-4759","avatarUrl":null,"createdAt":"2024-01-29T18:03:03Z","closedAt":"2024-01-29T18:32:46Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/be760b254a694e8b94b002789d68d388","conversationHref":"https://dash.callbell.eu/chat/b95896c60a7e4541b9d378d9d9ef938b","tags":[],"assignedUser":null,"customFields":{"Antena/Sectorial":"14","Estado":"🔴 Suspendido","Nombre":"👤 ALEXANDRO ARIAS","Cliente":"14","Domicilio":"📍 LINDAVISTA, Dolores Hidalgo, 37800","Fecha Ultima Actualizacion":"📆🔄️ 28/02/2025 10:02","Fecha Ultimo Pago":"📆💸 29/01/2024 12:00 con Efectivo 💵","Monto Ultimo Pago":"💲 1800","Resumen":"{\"Cliente\": \"14\",\"Domicilio\": \"📍 LINDAVISTA, Dolores Hidalgo, 37800\",\"Nombre\": \"👤 ALEXANDRO ARIAS\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/14\",\"Saldo Actual\": \"💲2700 pendientes\",\"Monto Ultimo Pago\": \"💲 1800\",\"Estado\": \"🔴 Suspendido\",\"Fecha Ultimo Pago\": \"📆💰 29/01/2024 12:00 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 28/02/2025 10:02\",\"Clabe Interbancaria\": \"\"}","Saldo Actual":"💲2700 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/14"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-02-28 16:02:08.512527] [notice] Logging level set to:debug -[2025-02-28 16:02:08.654266] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:02:08.654458] [debug] Valor de JSON: {"uuid":"094e2449-0a8f-4dec-a0c7-bc87792f83f4","changeType":"insert","entity":"invoice","entityId":"1674","eventName":"invoice.add_draft","extraData":{"entity":{"id":1674,"clientId":70,"number":"001625","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1677,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":69,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"TRUJILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:02:08.654602] [debug] Adición de borrador de Factura - -[2025-02-28 16:02:08.654683] [debug] {"uuid":"094e2449-0a8f-4dec-a0c7-bc87792f83f4","changeType":"insert","entity":"invoice","entityId":1674,"message":null,"clientId":70,"eventName":"invoice.add_draft","clientData":{"id":70,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALBERTO","lastName":"TRUJILLO","username":"atrujillo70","contacts":[{"id":71,"clientId":70,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-9100,"accountCredit":0,"accountOutstanding":9100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef6c00","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1674,"clientId":70,"number":"001625","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1677,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":69,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"TRUJILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:02:08.770133] [notice] Logging level set to:debug -[2025-02-28 16:02:08.903734] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:02:08.903923] [debug] Valor de JSON: {"uuid":"ab4fe3ff-fde1-4f57-aa31-446c03bb03ae","changeType":"draft_approved","entity":"invoice","entityId":"1674","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1674,"clientId":70,"number":"001625","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1677,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":69,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"TRUJILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:02:08.904071] [debug] Aprobación de Factura - -[2025-02-28 16:02:08.904150] [debug] {"uuid":"ab4fe3ff-fde1-4f57-aa31-446c03bb03ae","changeType":"draft_approved","entity":"invoice","entityId":1674,"message":null,"clientId":70,"eventName":"invoice.draft_approved","clientData":{"id":70,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALBERTO","lastName":"TRUJILLO","username":"atrujillo70","contacts":[{"id":71,"clientId":70,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-9100,"accountCredit":0,"accountOutstanding":9100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef6c00","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1674,"clientId":70,"number":"001625","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1677,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":69,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"TRUJILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:02:09.015853] [notice] Logging level set to:debug -[2025-02-28 16:02:09.177978] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:02:09.178162] [debug] Valor de JSON: {"uuid":"2573dc1c-b130-4838-99b0-cf300206c8a2","changeType":"insert","entity":"invoice","entityId":"1675","eventName":"invoice.add_draft","extraData":{"entity":{"id":1675,"clientId":38,"number":"001626","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1678,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":37,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGELICA","clientLastName":"ROMAN","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:02:09.178304] [debug] Adición de borrador de Factura - -[2025-02-28 16:02:09.178385] [debug] {"uuid":"2573dc1c-b130-4838-99b0-cf300206c8a2","changeType":"insert","entity":"invoice","entityId":1675,"message":null,"clientId":38,"eventName":"invoice.add_draft","clientData":{"id":38,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TECOLOTE","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TECOLOTE, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANGELICA","lastName":"ROMAN","username":"aroman38","contacts":[{"id":39,"clientId":38,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3910,"accountCredit":0,"accountOutstanding":3910,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.22987,"addressGpsLon":-101.0648115,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1675,"clientId":38,"number":"001626","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1678,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":37,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGELICA","clientLastName":"ROMAN","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:02:09.290627] [notice] Logging level set to:debug -[2025-02-28 16:02:09.429677] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:02:09.429874] [debug] Valor de JSON: {"uuid":"efcb2a47-b4f8-4f2c-b4a2-5e7ceee8e4b6","changeType":"draft_approved","entity":"invoice","entityId":"1675","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1675,"clientId":38,"number":"001626","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1678,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":37,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGELICA","clientLastName":"ROMAN","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:02:09.430023] [debug] Aprobación de Factura - -[2025-02-28 16:02:09.430104] [debug] {"uuid":"efcb2a47-b4f8-4f2c-b4a2-5e7ceee8e4b6","changeType":"draft_approved","entity":"invoice","entityId":1675,"message":null,"clientId":38,"eventName":"invoice.draft_approved","clientData":{"id":38,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TECOLOTE","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TECOLOTE, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANGELICA","lastName":"ROMAN","username":"aroman38","contacts":[{"id":39,"clientId":38,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3910,"accountCredit":0,"accountOutstanding":3910,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.22987,"addressGpsLon":-101.0648115,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1675,"clientId":38,"number":"001626","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1678,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":37,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGELICA","clientLastName":"ROMAN","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:02:09.969536] [notice] Logging level set to:debug -[2025-02-28 16:02:10.111212] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:02:10.111403] [debug] Valor de JSON: {"uuid":"a48b3f7f-3953-4d6f-8ee1-539c280bd8df","changeType":"insert","entity":"invoice","entityId":"1676","eventName":"invoice.add_draft","extraData":{"entity":{"id":1676,"clientId":21,"number":"001627","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1679,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":20,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NATALIA","clientLastName":"JUAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:02:10.111546] [debug] Adición de borrador de Factura - -[2025-02-28 16:02:10.111632] [debug] {"uuid":"a48b3f7f-3953-4d6f-8ee1-539c280bd8df","changeType":"insert","entity":"invoice","entityId":1676,"message":null,"clientId":21,"eventName":"invoice.add_draft","clientData":{"id":21,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"MEZQUITAL","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"MEZQUITAL, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"NATALIA","lastName":"JUAREZ","username":"njuarez21","contacts":[{"id":22,"clientId":21,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1676,"clientId":21,"number":"001627","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1679,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":20,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NATALIA","clientLastName":"JUAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:02:10.223521] [notice] Logging level set to:debug -[2025-02-28 16:02:10.357867] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:02:10.358057] [debug] Valor de JSON: {"uuid":"bb1154b7-268b-4d31-9e01-14a1dec6812d","changeType":"draft_approved","entity":"invoice","entityId":"1676","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1676,"clientId":21,"number":"001627","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1679,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":20,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NATALIA","clientLastName":"JUAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:02:10.358206] [debug] Aprobación de Factura - -[2025-02-28 16:02:10.358289] [debug] {"uuid":"bb1154b7-268b-4d31-9e01-14a1dec6812d","changeType":"draft_approved","entity":"invoice","entityId":1676,"message":null,"clientId":21,"eventName":"invoice.draft_approved","clientData":{"id":21,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"MEZQUITAL","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"MEZQUITAL, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"NATALIA","lastName":"JUAREZ","username":"njuarez21","contacts":[{"id":22,"clientId":21,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1676,"clientId":21,"number":"001627","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1679,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":20,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NATALIA","clientLastName":"JUAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:02:11.303092] [notice] Logging level set to:debug -[2025-02-28 16:02:11.454085] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:02:11.454149] [debug] Valor de JSON: {"uuid":"28a2ac17-143a-4810-92f0-f77fe3fa3e20","changeType":"insert","entity":"invoice","entityId":"1677","eventName":"invoice.add_draft","extraData":{"entity":{"id":1677,"clientId":52,"number":"001628","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1680,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":51,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RODRIGO","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL CARMEN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:02:11.454281] [debug] Adición de borrador de Factura - -[2025-02-28 16:02:11.454328] [debug] {"uuid":"28a2ac17-143a-4810-92f0-f77fe3fa3e20","changeType":"insert","entity":"invoice","entityId":1677,"message":null,"clientId":52,"eventName":"invoice.add_draft","clientData":{"id":52,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL CARMEN","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":null,"fullAddress":"EL CARMEN, Dolores Hidalgo Cuna de la Independencia Nacional","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"RODRIGO","lastName":"PE\u00d1A","username":"rpe\u00d1a52","contacts":[{"id":53,"clientId":52,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1677,"clientId":52,"number":"001628","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1680,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":51,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RODRIGO","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL CARMEN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:02:11.567955] [notice] Logging level set to:debug -[2025-02-28 16:02:11.723467] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:02:11.723660] [debug] Valor de JSON: {"uuid":"6de14e5e-71da-4b43-9480-99ba9581d0be","changeType":"draft_approved","entity":"invoice","entityId":"1677","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1677,"clientId":52,"number":"001628","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1680,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":51,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RODRIGO","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL CARMEN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:02:11.723922] [debug] Aprobación de Factura - -[2025-02-28 16:02:11.724011] [debug] {"uuid":"6de14e5e-71da-4b43-9480-99ba9581d0be","changeType":"draft_approved","entity":"invoice","entityId":1677,"message":null,"clientId":52,"eventName":"invoice.draft_approved","clientData":{"id":52,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL CARMEN","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":null,"fullAddress":"EL CARMEN, Dolores Hidalgo Cuna de la Independencia Nacional","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"RODRIGO","lastName":"PE\u00d1A","username":"rpe\u00d1a52","contacts":[{"id":53,"clientId":52,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1677,"clientId":52,"number":"001628","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1680,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":51,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RODRIGO","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL CARMEN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:02:12.667401] [notice] Logging level set to:debug -[2025-02-28 16:02:12.811146] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:02:12.811295] [debug] Valor de JSON: {"uuid":"a69af1b8-5839-4e98-ae4e-f55ec5083f70","changeType":"insert","entity":"invoice","entityId":"1678","eventName":"invoice.add_draft","extraData":{"entity":{"id":1678,"clientId":90,"number":"001629","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1681,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":89,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PEDRO","clientLastName":"HORNEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:02:12.811439] [debug] Adición de borrador de Factura - -[2025-02-28 16:02:12.811522] [debug] {"uuid":"a69af1b8-5839-4e98-ae4e-f55ec5083f70","changeType":"insert","entity":"invoice","entityId":1678,"message":null,"clientId":90,"eventName":"invoice.add_draft","clientData":{"id":90,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"ADJUNTAS DEL RIO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"ADJUNTAS DEL RIO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"PEDRO","lastName":"HORNEDO","username":"phornedo90","contacts":[{"id":91,"clientId":90,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1678,"clientId":90,"number":"001629","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1681,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":89,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PEDRO","clientLastName":"HORNEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:02:12.925071] [notice] Logging level set to:debug -[2025-02-28 16:02:13.058734] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:02:13.058882] [debug] Valor de JSON: {"uuid":"9eb1cbc9-c88d-468d-ace0-76be6fb33a08","changeType":"draft_approved","entity":"invoice","entityId":"1678","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1678,"clientId":90,"number":"001629","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1681,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":89,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PEDRO","clientLastName":"HORNEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:02:13.059006] [debug] Aprobación de Factura - -[2025-02-28 16:02:13.059182] [debug] {"uuid":"9eb1cbc9-c88d-468d-ace0-76be6fb33a08","changeType":"draft_approved","entity":"invoice","entityId":1678,"message":null,"clientId":90,"eventName":"invoice.draft_approved","clientData":{"id":90,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"ADJUNTAS DEL RIO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"ADJUNTAS DEL RIO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"PEDRO","lastName":"HORNEDO","username":"phornedo90","contacts":[{"id":91,"clientId":90,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1678,"clientId":90,"number":"001629","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1681,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":89,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PEDRO","clientLastName":"HORNEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:02:13.977112] [notice] Logging level set to:debug -[2025-02-28 16:02:14.122994] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:02:14.123148] [debug] Valor de JSON: {"uuid":"3ad70a62-dfcb-456b-a5bd-b47a5c63cf14","changeType":"insert","entity":"invoice","entityId":"1679","eventName":"invoice.add_draft","extraData":{"entity":{"id":1679,"clientId":84,"number":"001630","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1682,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":83,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ROLANDO","clientLastName":"CALVILLLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:02:14.123302] [debug] Adición de borrador de Factura - -[2025-02-28 16:02:14.123389] [debug] {"uuid":"3ad70a62-dfcb-456b-a5bd-b47a5c63cf14","changeType":"insert","entity":"invoice","entityId":1679,"message":null,"clientId":84,"eventName":"invoice.add_draft","clientData":{"id":84,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ROLANDO","lastName":"CALVILLLO","username":"rcalvilllo84","contacts":[{"id":85,"clientId":84,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2196f3","addressGpsLat":21.2516667,"addressGpsLon":-101.0924998,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1679,"clientId":84,"number":"001630","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1682,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":83,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ROLANDO","clientLastName":"CALVILLLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:02:14.237173] [notice] Logging level set to:debug -[2025-02-28 16:02:14.375221] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:02:14.375406] [debug] Valor de JSON: {"uuid":"67663013-6c54-429d-8c89-4eba0cd51661","changeType":"draft_approved","entity":"invoice","entityId":"1679","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1679,"clientId":84,"number":"001630","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1682,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":83,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ROLANDO","clientLastName":"CALVILLLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:02:14.375565] [debug] Aprobación de Factura - -[2025-02-28 16:02:14.375665] [debug] {"uuid":"67663013-6c54-429d-8c89-4eba0cd51661","changeType":"draft_approved","entity":"invoice","entityId":1679,"message":null,"clientId":84,"eventName":"invoice.draft_approved","clientData":{"id":84,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ROLANDO","lastName":"CALVILLLO","username":"rcalvilllo84","contacts":[{"id":85,"clientId":84,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2196f3","addressGpsLat":21.2516667,"addressGpsLon":-101.0924998,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1679,"clientId":84,"number":"001630","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1682,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":83,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ROLANDO","clientLastName":"CALVILLLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:02:15.367278] [notice] Logging level set to:debug -[2025-02-28 16:02:15.532207] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:02:15.532301] [debug] Valor de JSON: {"uuid":"b8225dd2-555e-46d8-9192-e711e487a9df","changeType":"insert","entity":"invoice","entityId":"1680","eventName":"invoice.add_draft","extraData":{"entity":{"id":1680,"clientId":62,"number":"001631","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1683,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":61,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"BERNAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:02:15.532440] [debug] Adición de borrador de Factura - -[2025-02-28 16:02:15.532682] [debug] {"uuid":"b8225dd2-555e-46d8-9192-e711e487a9df","changeType":"insert","entity":"invoice","entityId":1680,"message":null,"clientId":62,"eventName":"invoice.add_draft","clientData":{"id":62,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TRANCAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TRANCAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DANIEL","lastName":"BERNAL","username":"dbernal62","contacts":[{"id":63,"clientId":62,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1680,"clientId":62,"number":"001631","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1683,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":61,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"BERNAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:02:15.649955] [notice] Logging level set to:debug -[2025-02-28 16:02:15.816647] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:02:15.816813] [debug] Valor de JSON: {"uuid":"7eef7813-09c6-45cc-bed3-9aae7c2d9592","changeType":"draft_approved","entity":"invoice","entityId":"1680","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1680,"clientId":62,"number":"001631","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1683,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":61,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"BERNAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:02:15.816961] [debug] Aprobación de Factura - -[2025-02-28 16:02:15.817043] [debug] {"uuid":"7eef7813-09c6-45cc-bed3-9aae7c2d9592","changeType":"draft_approved","entity":"invoice","entityId":1680,"message":null,"clientId":62,"eventName":"invoice.draft_approved","clientData":{"id":62,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TRANCAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TRANCAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DANIEL","lastName":"BERNAL","username":"dbernal62","contacts":[{"id":63,"clientId":62,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1680,"clientId":62,"number":"001631","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1683,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":61,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"BERNAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:02:19.702430] [notice] Logging level set to:debug -[2025-02-28 16:02:19.853863] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:02:19.854012] [debug] Valor de JSON: {"uuid":"91ccc359-0d8e-4b6e-b265-0b7d11594893","changeType":"insert","entity":"invoice","entityId":"1681","eventName":"invoice.add_draft","extraData":{"entity":{"id":1681,"clientId":82,"number":"001632","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1684,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":81,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AGUSTINA","clientLastName":"PERICLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:02:19.854155] [debug] Adición de borrador de Factura - -[2025-02-28 16:02:19.854231] [debug] {"uuid":"91ccc359-0d8e-4b6e-b265-0b7d11594893","changeType":"insert","entity":"invoice","entityId":1681,"message":null,"clientId":82,"eventName":"invoice.add_draft","clientData":{"id":82,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"AGUSTINA","lastName":"PERICLES","username":"apericles82","contacts":[{"id":83,"clientId":82,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1681,"clientId":82,"number":"001632","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1684,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":81,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AGUSTINA","clientLastName":"PERICLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:02:19.968259] [notice] Logging level set to:debug -[2025-02-28 16:02:20.112323] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:02:20.112494] [debug] Valor de JSON: {"uuid":"61f4233e-2acc-44b9-925f-365168356f4b","changeType":"draft_approved","entity":"invoice","entityId":"1681","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1681,"clientId":82,"number":"001632","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1684,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":81,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AGUSTINA","clientLastName":"PERICLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:02:20.112648] [debug] Aprobación de Factura - -[2025-02-28 16:02:20.112729] [debug] {"uuid":"61f4233e-2acc-44b9-925f-365168356f4b","changeType":"draft_approved","entity":"invoice","entityId":1681,"message":null,"clientId":82,"eventName":"invoice.draft_approved","clientData":{"id":82,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"AGUSTINA","lastName":"PERICLES","username":"apericles82","contacts":[{"id":83,"clientId":82,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1681,"clientId":82,"number":"001632","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1684,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":81,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AGUSTINA","clientLastName":"PERICLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:02:21.042658] [notice] Logging level set to:debug -[2025-02-28 16:02:21.175720] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:02:21.175889] [debug] Valor de JSON: {"uuid":"0345798c-bfdc-4a28-8996-1def4a9a5833","changeType":"insert","entity":"invoice","entityId":"1682","eventName":"invoice.add_draft","extraData":{"entity":{"id":1682,"clientId":61,"number":"001633","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1685,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":60,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LUIS","clientLastName":"AGULAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:02:21.176042] [debug] Adición de borrador de Factura - -[2025-02-28 16:02:21.176141] [debug] {"uuid":"0345798c-bfdc-4a28-8996-1def4a9a5833","changeType":"insert","entity":"invoice","entityId":1682,"message":null,"clientId":61,"eventName":"invoice.add_draft","clientData":{"id":61,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS AGUILAR","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS AGUILAR, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"LUIS","lastName":"AGULAR","username":"lagular61","contacts":[{"id":62,"clientId":61,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1682,"clientId":61,"number":"001633","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1685,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":60,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LUIS","clientLastName":"AGULAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:02:21.292068] [notice] Logging level set to:debug -[2025-02-28 16:02:21.435693] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:02:21.435875] [debug] Valor de JSON: {"uuid":"9f7140fe-5621-4137-a7a3-3b1ed8f451e0","changeType":"draft_approved","entity":"invoice","entityId":"1682","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1682,"clientId":61,"number":"001633","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1685,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":60,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LUIS","clientLastName":"AGULAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:02:21.436024] [debug] Aprobación de Factura - -[2025-02-28 16:02:21.436104] [debug] {"uuid":"9f7140fe-5621-4137-a7a3-3b1ed8f451e0","changeType":"draft_approved","entity":"invoice","entityId":1682,"message":null,"clientId":61,"eventName":"invoice.draft_approved","clientData":{"id":61,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS AGUILAR","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS AGUILAR, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"LUIS","lastName":"AGULAR","username":"lagular61","contacts":[{"id":62,"clientId":61,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1682,"clientId":61,"number":"001633","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1685,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":60,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LUIS","clientLastName":"AGULAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:02:22.370168] [notice] Logging level set to:debug -[2025-02-28 16:02:22.531344] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:02:22.531552] [debug] Valor de JSON: {"uuid":"09ec9f68-13e0-4dab-8f88-88744178d6e0","changeType":"insert","entity":"invoice","entityId":"1683","eventName":"invoice.add_draft","extraData":{"entity":{"id":1683,"clientId":100,"number":"001634","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1686,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":99,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RENE","clientLastName":"BUSTOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:02:22.531711] [debug] Adición de borrador de Factura - -[2025-02-28 16:02:22.531790] [debug] {"uuid":"09ec9f68-13e0-4dab-8f88-88744178d6e0","changeType":"insert","entity":"invoice","entityId":1683,"message":null,"clientId":100,"eventName":"invoice.add_draft","clientData":{"id":100,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"RENE","lastName":"BUSTOS","username":"rbustos00","contacts":[{"id":101,"clientId":100,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#0277bd","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1683,"clientId":100,"number":"001634","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1686,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":99,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RENE","clientLastName":"BUSTOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:02:22.645106] [notice] Logging level set to:debug -[2025-02-28 16:02:22.849761] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:02:22.849909] [debug] Valor de JSON: {"uuid":"366cb21a-c3cf-416b-a098-0249e315df6a","changeType":"draft_approved","entity":"invoice","entityId":"1683","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1683,"clientId":100,"number":"001634","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1686,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":99,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RENE","clientLastName":"BUSTOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:02:22.850038] [debug] Aprobación de Factura - -[2025-02-28 16:02:22.850116] [debug] {"uuid":"366cb21a-c3cf-416b-a098-0249e315df6a","changeType":"draft_approved","entity":"invoice","entityId":1683,"message":null,"clientId":100,"eventName":"invoice.draft_approved","clientData":{"id":100,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"RENE","lastName":"BUSTOS","username":"rbustos00","contacts":[{"id":101,"clientId":100,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#0277bd","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1683,"clientId":100,"number":"001634","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1686,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":99,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RENE","clientLastName":"BUSTOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:02:23.739242] [notice] Logging level set to:debug -[2025-02-28 16:02:23.873982] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:02:23.874049] [debug] Valor de JSON: {"uuid":"4cd16c7b-36ac-459b-bf8b-5d8fdfc50625","changeType":"insert","entity":"invoice","entityId":"1684","eventName":"invoice.add_draft","extraData":{"entity":{"id":1684,"clientId":41,"number":"001635","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1687,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":40,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"CUELLAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:02:23.874157] [debug] Adición de borrador de Factura - -[2025-02-28 16:02:23.874207] [debug] {"uuid":"4cd16c7b-36ac-459b-bf8b-5d8fdfc50625","changeType":"insert","entity":"invoice","entityId":1684,"message":null,"clientId":41,"eventName":"invoice.add_draft","clientData":{"id":41,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN SEBASTIAN","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN SEBASTIAN, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JUDITH","lastName":"CUELLAR","username":"jcuellar41","contacts":[{"id":42,"clientId":41,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3910,"accountCredit":0,"accountOutstanding":3910,"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":1684,"clientId":41,"number":"001635","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1687,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":40,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"CUELLAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:02:23.987911] [notice] Logging level set to:debug -[2025-02-28 16:02:24.123321] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:02:24.123497] [debug] Valor de JSON: {"uuid":"7952ab3c-31c1-4ee7-bd1c-e07afd1b9c13","changeType":"draft_approved","entity":"invoice","entityId":"1684","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1684,"clientId":41,"number":"001635","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1687,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":40,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"CUELLAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:02:24.123644] [debug] Aprobación de Factura - -[2025-02-28 16:02:24.123728] [debug] {"uuid":"7952ab3c-31c1-4ee7-bd1c-e07afd1b9c13","changeType":"draft_approved","entity":"invoice","entityId":1684,"message":null,"clientId":41,"eventName":"invoice.draft_approved","clientData":{"id":41,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN SEBASTIAN","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN SEBASTIAN, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JUDITH","lastName":"CUELLAR","username":"jcuellar41","contacts":[{"id":42,"clientId":41,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3910,"accountCredit":0,"accountOutstanding":3910,"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":1684,"clientId":41,"number":"001635","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1687,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":40,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"CUELLAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:02:25.032246] [notice] Logging level set to:debug -[2025-02-28 16:02:25.176495] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-02-28 16:02:25.176668] [debug] Valor de JSON: {"uuid":"2d6c761b-e3ad-4fd3-981c-7491ae974b4f","changeType":"insert","entity":"invoice","entityId":"1685","eventName":"invoice.add_draft","extraData":{"entity":{"id":1685,"clientId":77,"number":"001636","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1688,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":76,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARGARITO","clientLastName":"ESTRADA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:02:25.176840] [debug] Adición de borrador de Factura - -[2025-02-28 16:02:25.176939] [debug] {"uuid":"2d6c761b-e3ad-4fd3-981c-7491ae974b4f","changeType":"insert","entity":"invoice","entityId":1685,"message":null,"clientId":77,"eventName":"invoice.add_draft","clientData":{"id":77,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA VENTILLA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA VENTILLA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARGARITO","lastName":"ESTRADA","username":"mestrada77","contacts":[{"id":78,"clientId":77,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#039be5","addressGpsLat":21.1145736,"addressGpsLon":-100.933729,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1685,"clientId":77,"number":"001636","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1688,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":76,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARGARITO","clientLastName":"ESTRADA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-02-28 16:02:25.286412] [notice] Logging level set to:debug -[2025-02-28 16:02:25.434108] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-02-28 16:02:25.437417] [debug] Valor de JSON: {"uuid":"20b7da83-9449-40ad-a65c-ce05327b1a71","changeType":"draft_approved","entity":"invoice","entityId":"1685","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1685,"clientId":77,"number":"001636","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1688,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":76,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARGARITO","clientLastName":"ESTRADA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-02-28 16:02:25.437607] [debug] Aprobación de Factura - -[2025-02-28 16:02:25.437705] [debug] {"uuid":"20b7da83-9449-40ad-a65c-ce05327b1a71","changeType":"draft_approved","entity":"invoice","entityId":1685,"message":null,"clientId":77,"eventName":"invoice.draft_approved","clientData":{"id":77,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA VENTILLA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA VENTILLA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARGARITO","lastName":"ESTRADA","username":"mestrada77","contacts":[{"id":78,"clientId":77,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#039be5","addressGpsLat":21.1145736,"addressGpsLon":-100.933729,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1685,"clientId":77,"number":"001636","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1688,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":76,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARGARITO","clientLastName":"ESTRADA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-01 16:00:04.311172] [notice] Logging level set to:debug -[2025-03-01 16:00:04.456968] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-01 16:00:04.457032] [debug] Valor de JSON: {"uuid":"a5329bbc-8c04-4496-af09-8cf36b67e552","changeType":"insert","entity":"invoice","entityId":"1686","eventName":"invoice.add_draft","extraData":{"entity":{"id":1686,"clientId":132,"number":"001637","createdDate":"2025-03-01T10:00:01-0600","dueDate":"2025-03-15T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-28T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1689,"type":"service","label":"plan300 01\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":115,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Marto","clientLastName":"Vago Payaso","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"20 Avenida Norte","clientStreet2":null,"clientCity":"Guanajuato","clientCountryId":173,"clientStateId":null,"clientZipCode":"37807","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-01 16:00:04.457235] [debug] Adición de borrador de Factura - -[2025-03-01 16:00:04.457294] [debug] {"uuid":"a5329bbc-8c04-4496-af09-8cf36b67e552","changeType":"insert","entity":"invoice","entityId":1686,"message":null,"clientId":132,"eventName":"invoice.add_draft","clientData":{"id":132,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"20 Avenida Norte","street2":null,"city":"Guanajuato","countryId":173,"stateId":null,"zipCode":"37807","fullAddress":"Avenida Norte 20, Dolores, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Marto","lastName":"Vago Payaso","username":null,"contacts":[{"id":136,"clientId":132,"email":"vagopayaso@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-2400,"accountCredit":0,"accountOutstanding":2400,"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":1686,"clientId":132,"number":"001637","createdDate":"2025-03-01T10:00:01-0600","dueDate":"2025-03-15T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1689,"type":"service","label":"plan300 01\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":115,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Marto","clientLastName":"Vago Payaso","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"20 Avenida Norte","clientStreet2":null,"clientCity":"Guanajuato","clientCountryId":173,"clientStateId":null,"clientZipCode":"37807","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-01 16:00:04.610841] [notice] Logging level set to:debug -[2025-03-01 16:00:04.761128] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-01 16:00:04.761281] [debug] Valor de JSON: {"uuid":"b87368e9-2935-472e-aa72-7b1c8f585589","changeType":"draft_approved","entity":"invoice","entityId":"1686","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1686,"clientId":132,"number":"001637","createdDate":"2025-03-01T10:00:01-0600","dueDate":"2025-03-15T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-28T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1689,"type":"service","label":"plan300 01\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":115,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Marto","clientLastName":"Vago Payaso","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"20 Avenida Norte","clientStreet2":null,"clientCity":"Guanajuato","clientCountryId":173,"clientStateId":null,"clientZipCode":"37807","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-01 16:00:04.761424] [debug] Aprobación de Factura - -[2025-03-01 16:00:04.761504] [debug] {"uuid":"b87368e9-2935-472e-aa72-7b1c8f585589","changeType":"draft_approved","entity":"invoice","entityId":1686,"message":null,"clientId":132,"eventName":"invoice.draft_approved","clientData":{"id":132,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"20 Avenida Norte","street2":null,"city":"Guanajuato","countryId":173,"stateId":null,"zipCode":"37807","fullAddress":"Avenida Norte 20, Dolores, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Marto","lastName":"Vago Payaso","username":null,"contacts":[{"id":136,"clientId":132,"email":"vagopayaso@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-2400,"accountCredit":0,"accountOutstanding":2400,"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":1686,"clientId":132,"number":"001637","createdDate":"2025-03-01T10:00:01-0600","dueDate":"2025-03-15T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-27T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1689,"type":"service","label":"plan300 01\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":115,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Marto","clientLastName":"Vago Payaso","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"20 Avenida Norte","clientStreet2":null,"clientCity":"Guanajuato","clientCountryId":173,"clientStateId":null,"clientZipCode":"37807","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-04 8:40:20.120336] [notice] Logging level set to:debug -[2025-03-04 8:40:20.120759] [info] No UUID found in the webhook data -[2025-03-04 8:40:20.120867] [info] Evento de referencia de oxxo recibido - -[2025-03-04 8:40:20.120939] [info] Creando referencia del cliente para OXXO: - -[2025-03-04 8:40:20.259350] [info] Creando referencia del cliente para OXXO: - -[2025-03-04 8:40:20.380693] [info] Creando referencia del cliente para OXXO: - -[2025-03-04 8:40:20.480442] [error] Error al crear la referencia de OXXO: errorUnexpectedPath -[2025-03-04 8:41:24.023823] [notice] Logging level set to:debug -[2025-03-04 8:41:24.023964] [info] No UUID found in the webhook data -[2025-03-04 8:41:24.023987] [info] Evento de referencia de oxxo recibido - -[2025-03-04 8:41:24.023999] [info] Referencia persnoalizada, Valor del monto: 300 - -[2025-03-04 8:41:24.024013] [info] Creando referencia del cliente para OXXO: - -[2025-03-04 8:41:24.176865] [info] Creando referencia del cliente para OXXO: - -[2025-03-04 8:41:24.276897] [info] Creando referencia del cliente para OXXO: - -[2025-03-04 8:41:24.373060] [error] Error al crear la referencia de OXXO: errorUnexpectedPath -[2025-03-04 8:54:15.277009] [notice] Logging level set to:debug -[2025-03-04 8:54:15.277174] [info] No UUID found in the webhook data -[2025-03-04 8:54:15.277210] [info] Evento de referencia de oxxo recibido - -[2025-03-04 8:54:15.277229] [info] Referencia persnoalizada, Valor del monto: 300 - -[2025-03-04 8:54:15.277245] [info] Creando referencia del cliente para OXXO: - -[2025-03-04 8:54:15.399393] [info] Monto proporcionado directamente: 300 - -[2025-03-04 8:54:15.399445] [info] Creando referencia en Stripe por: 30000 para el cliente cus_PetN1dhr4rx0kX - -[2025-03-04 8:54:16.011287] [info] El nombre del cliente es: Daniel Humberto Soto Villegas el boy - -[2025-03-04 8:54:16.011358] [info] Creando payment methods del voucher - -[2025-03-04 8:54:16.263993] [info] Confirmando el paymentIntent con un timeout de 5 segundos - -[2025-03-04 8:54:16.265743] [error] Got unexpected keys in options array: timeout -[2025-03-04 8:54:22.788398] [notice] Logging level set to:debug -[2025-03-04 8:54:22.788486] [info] No UUID found in the webhook data -[2025-03-04 8:54:22.788501] [info] Evento de referencia de oxxo recibido - -[2025-03-04 8:54:22.788511] [info] Referencia persnoalizada, Valor del monto: 300 - -[2025-03-04 8:54:22.788522] [info] Creando referencia del cliente para OXXO: - -[2025-03-04 8:54:22.908890] [info] Monto proporcionado directamente: 300 - -[2025-03-04 8:54:22.908936] [info] Creando referencia en Stripe por: 30000 para el cliente cus_PetN1dhr4rx0kX - -[2025-03-04 8:54:23.437712] [info] El nombre del cliente es: Daniel Humberto Soto Villegas el boy - -[2025-03-04 8:54:23.437787] [info] Creando payment methods del voucher - -[2025-03-04 8:54:23.696660] [info] Confirmando el paymentIntent con un timeout de 5 segundos - -[2025-03-04 8:54:23.697617] [error] Got unexpected keys in options array: timeout -[2025-03-04 8:56:47.327553] [notice] Logging level set to:debug -[2025-03-04 8:56:47.327692] [info] No UUID found in the webhook data -[2025-03-04 8:56:47.327718] [info] Evento de referencia de oxxo recibido - -[2025-03-04 8:56:47.327730] [info] Referencia persnoalizada, Valor del monto: 300 - -[2025-03-04 8:56:47.327744] [info] Creando referencia del cliente para OXXO: - -[2025-03-04 8:56:47.442419] [info] Monto proporcionado directamente: 300 - -[2025-03-04 8:56:47.442466] [info] Creando referencia en Stripe por: 30000 para el cliente cus_PetN1dhr4rx0kX - -[2025-03-04 8:56:48.076184] [info] El nombre del cliente es: Daniel Humberto Soto Villegas el boy - -[2025-03-04 8:56:48.076272] [info] Creando payment methods del voucher - -[2025-03-04 8:56:48.330116] [info] Confirmando el paymentIntent con un timeout de 5 segundos - -[2025-03-04 8:56:48.331545] [error] Got unexpected keys in options array: timeout -[2025-03-04 8:58:39.468239] [notice] Logging level set to:debug -[2025-03-04 8:58:39.468807] [info] No UUID found in the webhook data -[2025-03-04 8:58:39.468949] [info] Evento de referencia de oxxo recibido - -[2025-03-04 8:58:39.469042] [info] Referencia persnoalizada, Valor del monto: 300 - -[2025-03-04 8:58:39.469127] [info] Creando referencia del cliente para OXXO: - -[2025-03-04 8:58:39.637296] [info] Monto proporcionado directamente: 300 - -[2025-03-04 8:58:39.637430] [info] Creando referencia en Stripe por: 30000 para el cliente cus_PetN1dhr4rx0kX - -[2025-03-04 8:58:40.224210] [info] El nombre del cliente es: Daniel Humberto Soto Villegas el boy - -[2025-03-04 8:58:40.224667] [info] Creando payment methods del voucher - -[2025-03-04 8:58:40.470752] [info] Confirmando el paymentIntent - -[2025-03-04 8:58:41.138988] [info] Se terminó de confirmar el paymentIntent - -[2025-03-04 8:58:41.139486] [info] Referencia OXXO: 12345678901234657890123456789012 - -[2025-03-04 8:58:41.139641] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9Sc2NZTVpldkFXcFFqaWx5QTBySndLUHdJN2NabVpq0100xxzlBnpv - -[2025-03-04 8:58:41.140853] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9Sc2NZTVpldkFXcFFqaWx5QTBySndLUHdJN2NabVpq0100xxzlBnpv"} -[2025-03-04 8:58:57.541385] [notice] Logging level set to:debug -[2025-03-04 8:58:57.541853] [info] No UUID found in the webhook data -[2025-03-04 8:58:57.541976] [info] Evento de referencia de oxxo recibido - -[2025-03-04 8:58:57.542045] [info] Referencia persnoalizada, Valor del monto: 310 - -[2025-03-04 8:58:57.542107] [info] Creando referencia del cliente para OXXO: - -[2025-03-04 8:58:57.671545] [info] Monto proporcionado directamente: 310 - -[2025-03-04 8:58:57.671725] [info] Creando referencia en Stripe por: 31000 para el cliente cus_PetN1dhr4rx0kX - -[2025-03-04 8:58:58.236042] [info] El nombre del cliente es: Daniel Humberto Soto Villegas el boy - -[2025-03-04 8:58:58.236296] [info] Creando payment methods del voucher - -[2025-03-04 8:58:58.483521] [info] Confirmando el paymentIntent - -[2025-03-04 8:58:59.151947] [info] Se terminó de confirmar el paymentIntent - -[2025-03-04 8:58:59.152267] [info] Referencia OXXO: 12345678901234657890123456789012 - -[2025-03-04 8:58:59.152568] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9Sc2NZOWczVVBuNFVQR1NQWHJ6Rng0T2RtWm9HVXgx0100UHp99AUX - -[2025-03-04 8:58:59.153281] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9Sc2NZOWczVVBuNFVQR1NQWHJ6Rng0T2RtWm9HVXgx0100UHp99AUX"} -[2025-03-04 8:59:05.653954] [notice] Logging level set to:debug -[2025-03-04 8:59:05.654130] [info] No UUID found in the webhook data -[2025-03-04 8:59:05.654181] [info] Evento de referencia de oxxo recibido - -[2025-03-04 8:59:05.654221] [info] Referencia persnoalizada, Valor del monto: 320 - -[2025-03-04 8:59:05.654258] [info] Creando referencia del cliente para OXXO: - -[2025-03-04 8:59:05.771138] [info] Monto proporcionado directamente: 320 - -[2025-03-04 8:59:05.771267] [info] Creando referencia en Stripe por: 32000 para el cliente cus_PetN1dhr4rx0kX - -[2025-03-04 8:59:06.341250] [info] El nombre del cliente es: Daniel Humberto Soto Villegas el boy - -[2025-03-04 8:59:06.341775] [info] Creando payment methods del voucher - -[2025-03-04 8:59:06.593487] [info] Confirmando el paymentIntent - -[2025-03-04 8:59:07.314057] [info] Se terminó de confirmar el paymentIntent - -[2025-03-04 8:59:07.314548] [info] Referencia OXXO: 12345678901234657890123456789012 - -[2025-03-04 8:59:07.314702] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9Sc2NZdVFPSGxNeWpsa3pueURyUnBlNnlIOWhDb0x30100BMNDztsJ - -[2025-03-04 8:59:07.315396] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9Sc2NZdVFPSGxNeWpsa3pueURyUnBlNnlIOWhDb0x30100BMNDztsJ"} -[2025-03-04 8:59:42.888441] [notice] Logging level set to:debug -[2025-03-04 8:59:42.888575] [info] No UUID found in the webhook data -[2025-03-04 8:59:42.888596] [info] Evento de referencia de oxxo recibido - -[2025-03-04 8:59:42.888608] [info] Creando referencia del cliente para OXXO: - -[2025-03-04 8:59:43.018325] [error] Client error: `GET https://172.16.5.134/crm/api/v1.0/clients/2000` resulted in a `404 Not Found` response: -{"code":404,"message":"Not Found"} - -[2025-03-04 9:00:38.074525] [notice] Logging level set to:debug -[2025-03-04 9:00:38.074903] [info] No UUID found in the webhook data -[2025-03-04 9:00:38.075004] [info] Evento de referencia de oxxo recibido - -[2025-03-04 9:00:38.075071] [info] Creando referencia del cliente para OXXO: - -[2025-03-04 9:00:38.183342] [error] Client error: `GET https://172.16.5.134/crm/api/v1.0/clients/2000` resulted in a `404 Not Found` response: -{"code":404,"message":"Not Found"} - -[2025-03-04 9:00:40.678559] [notice] Logging level set to:debug -[2025-03-04 9:00:40.679053] [info] No UUID found in the webhook data -[2025-03-04 9:00:40.679215] [info] Evento de referencia de oxxo recibido - -[2025-03-04 9:00:40.679335] [info] Creando referencia del cliente para OXXO: - -[2025-03-04 9:00:40.771532] [error] Client error: `GET https://172.16.5.134/crm/api/v1.0/clients/2000` resulted in a `404 Not Found` response: -{"code":404,"message":"Not Found"} - -[2025-03-04 9:01:34.131367] [notice] Logging level set to:debug -[2025-03-04 9:01:34.131498] [info] No UUID found in the webhook data -[2025-03-04 9:01:34.131521] [info] Evento de referencia de oxxo recibido - -[2025-03-04 9:01:34.131545] [info] Creando referencia del cliente para OXXO: - -[2025-03-04 9:01:34.236387] [error] Client error: `GET https://172.16.5.134/crm/api/v1.0/clients/2000` resulted in a `404 Not Found` response: -{"code":404,"message":"Not Found"} - -[2025-03-04 9:01:36.340436] [notice] Logging level set to:debug -[2025-03-04 9:01:36.340570] [info] No UUID found in the webhook data -[2025-03-04 9:01:36.340605] [info] Evento de referencia de oxxo recibido - -[2025-03-04 9:01:36.340630] [info] Creando referencia del cliente para OXXO: - -[2025-03-04 9:01:36.438328] [error] Client error: `GET https://172.16.5.134/crm/api/v1.0/clients/2000` resulted in a `404 Not Found` response: -{"code":404,"message":"Not Found"} - -[2025-03-04 9:01:46.668689] [notice] Logging level set to:debug -[2025-03-04 9:01:46.819555] [debug] valor el evento recibido por webhook: invoice.edit - -[2025-03-04 9:01:46.819765] [debug] Valor de JSON: {"uuid":"1091773e-14d1-42cc-bd78-4623f0a99c59","changeType":"edit","entity":"invoice","entityId":"1587","eventName":"invoice.edit","extraData":{"entity":{"id":1587,"clientId":2,"number":"001538","createdDate":"2025-02-24T15:27:03-0600","dueDate":"2025-03-10T15:27:03-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1590,"type":"service","label":"PREMIUM 24\/02\/2025 \u2013 31\/03\/2025","price":700,"quantity":1.1666666666667,"total":816.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":144,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":816.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":816.67,"amountPaid":300,"totalUntaxed":816.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":516.67,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":671,"invoiceId":1587,"paymentId":589,"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":"Daniel Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":1587,"clientId":2,"number":"001538","createdDate":"2025-02-24T15:27:03-0600","dueDate":"2025-03-10T15:27:03-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1590,"type":"service","label":"PREMIUM 24\/02\/2025 \u2013 31\/03\/2025","price":700,"quantity":1.1666666666667,"total":816.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":144,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":816.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":816.67,"amountPaid":0,"totalUntaxed":816.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":816.67,"currencyCode":"MXN","status":1,"paymentCovers":[{"id":671,"invoiceId":1587,"paymentId":589,"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":"Daniel Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false}}} - -[2025-03-04 9:01:46.819933] [debug] Edición de Factura - -[2025-03-04 9:01:46.820025] [debug] {"uuid":"1091773e-14d1-42cc-bd78-4623f0a99c59","changeType":"edit","entity":"invoice","entityId":1587,"message":null,"clientId":2,"eventName":"invoice.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-516.67,"accountCredit":0,"accountOutstanding":516.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1587,"clientId":2,"number":"001538","createdDate":"2025-02-24T15:27:03-0600","dueDate":"2025-03-10T15:27:03-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1590,"type":"service","label":"PREMIUM 24\/02\/2025 \u2013 31\/03\/2025","price":700,"quantity":1.1666666666667,"total":816.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":144,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":816.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":816.67,"amountPaid":300,"totalUntaxed":816.67,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":516.67,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":671,"invoiceId":1587,"paymentId":589,"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":"Daniel Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-04 9:01:46.820126] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-04 9:01:46.820166] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":589,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:01:46-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":671,"invoiceId":1587,"paymentId":589,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2516.67 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2516.67 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 300\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 04\/03\/2025 03:01 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 04\/03\/2025 03:01\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ulti-mo Pago":"\ud83d\udcc6\ud83d\udcb8 04\/03\/2025 03:01 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 04\/03\/2025 03:01","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"error":{"custom_fields":["Fecha Ulti-mo Pago do not exist or are misspelled, please check before retrying"]}} - -[2025-03-04 9:01:48.589821] [notice] Logging level set to:debug -[2025-03-04 9:01:48.726255] [debug] valor el evento recibido por webhook: payment.add - -[2025-03-04 9:01:48.726429] [debug] Valor de JSON: {"uuid":"bb7b2b03-061e-489d-880a-0e96fd221f04","changeType":"insert","entity":"payment","entityId":"589","eventName":"payment.add","extraData":{"entity":{"id":589,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:01:46-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":671,"invoiceId":1587,"paymentId":589,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":null}} - -[2025-03-04 9:01:48.726584] [debug] Notification encodificado en JSON:{"uuid":"bb7b2b03-061e-489d-880a-0e96fd221f04","changeType":"insert","entity":"payment","entityId":589,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-516.67,"accountCredit":0,"accountOutstanding":516.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":589,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:01:46-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":671,"invoiceId":1587,"paymentId":589,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}} - -[2025-03-04 9:01:48.726649] [debug] valor del payment data: {"id":589,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:01:46-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":671,"invoiceId":1587,"paymentId":589,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]} - -[2025-03-04 9:01:48.726707] [info] {"WhatsApp":["5214181878106"]} -[2025-03-04 9:01:48.726746] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-04 9:01:48.726782] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-04 9:01:48.726819] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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_el_boy.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_el_boy.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_el_boy.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_el_boy.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_el_boy.png - -No se pudo obtener la lista de archivos de la carpeta FTP - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_el_boy.png" - }, - "template_values": ["Daniel Humberto Soto Villegas el boy", "$300", "$516.67 pendientes"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"604927c5a9854444b4ea214af075f82d","status":"enqueued"}} -Hay menos de 100 archivos en el directorio. No se eliminarán archivos. - -La notificación fue enviada correctamente con estado: enqueued - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":589,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:01:46-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":671,"invoiceId":1587,"paymentId":589,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2516.67 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2516.67 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 300\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 04\/03\/2025 03:01 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 04\/03\/2025 03:01\",\"Clabe Interbancaria\": \"\"}","Fecha Ulti-mo Pago":"\ud83d\udcc6\ud83d\udcb8 04\/03\/2025 03:01 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 04\/03\/2025 03:01","Clabe Interbancaria":null}} - -Response Patch CallBell: {"error":{"custom_fields":["Fecha Ulti-mo Pago do not exist or are misspelled, please check before retrying"]}} - -[2025-03-04 9:01:54.187164] [notice] Logging level set to:debug -[2025-03-04 9:01:54.303822] [debug] valor el evento recibido por webhook: payment.edit - -[2025-03-04 9:01:54.303881] [debug] Valor de JSON: {"uuid":"ae0eb0f9-1236-4597-8f9c-9e38845b23e3","changeType":"edit","entity":"payment","entityId":"589","eventName":"payment.edit","extraData":{"entity":{"id":589,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:01:46-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":671,"invoiceId":1587,"paymentId":589,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":589,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:01:46-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":671,"invoiceId":1587,"paymentId":589,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}}} - -[2025-03-04 9:02:05.715626] [notice] Logging level set to:debug -[2025-03-04 9:02:05.879759] [debug] valor el evento recibido por webhook: invoice.edit - -[2025-03-04 9:02:05.879934] [debug] Valor de JSON: {"uuid":"ccb112e6-23b0-4490-92d4-658b96a25d51","changeType":"edit","entity":"invoice","entityId":"1587","eventName":"invoice.edit","extraData":{"entity":{"id":1587,"clientId":2,"number":"001538","createdDate":"2025-02-24T15:27:03-0600","dueDate":"2025-03-10T15:27:03-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1590,"type":"service","label":"PREMIUM 24\/02\/2025 \u2013 31\/03\/2025","price":700,"quantity":1.1666666666667,"total":816.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":144,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":816.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":816.67,"amountPaid":610,"totalUntaxed":816.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":206.67,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":671,"invoiceId":1587,"paymentId":589,"creditNoteId":null,"refundId":null,"amount":300},{"id":672,"invoiceId":1587,"paymentId":590,"creditNoteId":null,"refundId":null,"amount":310}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":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 el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":1587,"clientId":2,"number":"001538","createdDate":"2025-02-24T15:27:03-0600","dueDate":"2025-03-10T15:27:03-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1590,"type":"service","label":"PREMIUM 24\/02\/2025 \u2013 31\/03\/2025","price":700,"quantity":1.1666666666667,"total":816.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":144,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":816.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":816.67,"amountPaid":300,"totalUntaxed":816.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":516.67,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":671,"invoiceId":1587,"paymentId":589,"creditNoteId":null,"refundId":null,"amount":300},{"id":672,"invoiceId":1587,"paymentId":590,"creditNoteId":null,"refundId":null,"amount":310}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":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 el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false}}} - -[2025-03-04 9:02:05.880280] [debug] Edición de Factura - -[2025-03-04 9:02:05.880393] [debug] {"uuid":"ccb112e6-23b0-4490-92d4-658b96a25d51","changeType":"edit","entity":"invoice","entityId":1587,"message":null,"clientId":2,"eventName":"invoice.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-206.67,"accountCredit":0,"accountOutstanding":206.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1587,"clientId":2,"number":"001538","createdDate":"2025-02-24T15:27:03-0600","dueDate":"2025-03-10T15:27:03-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1590,"type":"service","label":"PREMIUM 24\/02\/2025 \u2013 31\/03\/2025","price":700,"quantity":1.1666666666667,"total":816.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":144,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":816.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":816.67,"amountPaid":610,"totalUntaxed":816.67,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":206.67,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":671,"invoiceId":1587,"paymentId":589,"creditNoteId":null,"refundId":null,"amount":300},{"id":672,"invoiceId":1587,"paymentId":590,"creditNoteId":null,"refundId":null,"amount":310}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":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 el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-04 9:02:05.880501] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-04 9:02:05.880543] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":590,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:02:05-0600","amount":310,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":672,"invoiceId":1587,"paymentId":590,"creditNoteId":null,"refundId":null,"amount":310}],"creditAmount":0,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2206.67 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 310","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2206.67 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 310\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 04\/03\/2025 03:02 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 04\/03\/2025 03:02\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ulti-mo Pago":"\ud83d\udcc6\ud83d\udcb8 04\/03\/2025 03:02 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 04\/03\/2025 03:02","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"error":{"custom_fields":["Fecha Ulti-mo Pago do not exist or are misspelled, please check before retrying"]}} - -[2025-03-04 9:02:07.602335] [notice] Logging level set to:debug -[2025-03-04 9:02:07.744863] [debug] valor el evento recibido por webhook: payment.add - -[2025-03-04 9:02:07.745007] [debug] Valor de JSON: {"uuid":"3109ea5a-dc88-4d86-802d-9cf2d8fe1282","changeType":"insert","entity":"payment","entityId":"590","eventName":"payment.add","extraData":{"entity":{"id":590,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:02:05-0600","amount":310,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":672,"invoiceId":1587,"paymentId":590,"creditNoteId":null,"refundId":null,"amount":310}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":null}} - -[2025-03-04 9:02:07.745157] [debug] Notification encodificado en JSON:{"uuid":"3109ea5a-dc88-4d86-802d-9cf2d8fe1282","changeType":"insert","entity":"payment","entityId":590,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":-206.67,"accountCredit":0,"accountOutstanding":206.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":590,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:02:05-0600","amount":310,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":672,"invoiceId":1587,"paymentId":590,"creditNoteId":null,"refundId":null,"amount":310}],"creditAmount":0,"userId":null,"attributes":[]}} - -[2025-03-04 9:02:07.745223] [debug] valor del payment data: {"id":590,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:02:05-0600","amount":310,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":672,"invoiceId":1587,"paymentId":590,"creditNoteId":null,"refundId":null,"amount":310}],"creditAmount":0,"userId":null,"attributes":[]} - -[2025-03-04 9:02:07.745281] [info] {"WhatsApp":["5214181878106"]} -[2025-03-04 9:02:07.745320] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-04 9:02:07.745354] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-04 9:02:07.745390] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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_el_boy.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_el_boy.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_el_boy.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_el_boy.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_el_boy.png - -No se pudo obtener la lista de archivos de la carpeta FTP - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_el_boy.png" - }, - "template_values": ["Daniel Humberto Soto Villegas el boy", "$310", "$206.67 pendientes"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"357f978dec29445c99eca9e5f9eab8bf","status":"enqueued"}} -Hay menos de 100 archivos en el directorio. No se eliminarán archivos. - -La notificación fue enviada correctamente con estado: enqueued - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":591,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:02:11-0600","amount":320,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":673,"invoiceId":1587,"paymentId":591,"creditNoteId":null,"refundId":null,"amount":206.67}],"creditAmount":113.33,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2206.67 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 320","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2206.67 pendientes\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 320\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 04\/03\/2025 03:02 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 04\/03\/2025 03:02\",\"Clabe Interbancaria\": \"\"}","Fecha Ulti-mo Pago":"\ud83d\udcc6\ud83d\udcb8 04\/03\/2025 03:02 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 04\/03\/2025 03:02","Clabe Interbancaria":null}} - -Response Patch CallBell: {"error":{"custom_fields":["Fecha Ulti-mo Pago do not exist or are misspelled, please check before retrying"]}} - -[2025-03-04 9:02:12.466300] [notice] Logging level set to:debug -[2025-03-04 9:02:12.645975] [debug] valor el evento recibido por webhook: payment.edit - -[2025-03-04 9:02:12.646147] [debug] Valor de JSON: {"uuid":"586e25fe-9c77-4578-9c25-5ba565b0dd7a","changeType":"edit","entity":"payment","entityId":"590","eventName":"payment.edit","extraData":{"entity":{"id":590,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:02:05-0600","amount":310,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":672,"invoiceId":1587,"paymentId":590,"creditNoteId":null,"refundId":null,"amount":310}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":590,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:02:05-0600","amount":310,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":672,"invoiceId":1587,"paymentId":590,"creditNoteId":null,"refundId":null,"amount":310}],"creditAmount":0,"userId":null,"attributes":[]}}} - -[2025-03-04 9:02:12.758333] [notice] Logging level set to:debug -[2025-03-04 9:02:12.983217] [debug] valor el evento recibido por webhook: invoice.edit - -[2025-03-04 9:02:12.983408] [debug] Valor de JSON: {"uuid":"ccee943b-d82d-4c76-99aa-6c4526bb6750","changeType":"edit","entity":"invoice","entityId":"1587","eventName":"invoice.edit","extraData":{"entity":{"id":1587,"clientId":2,"number":"001538","createdDate":"2025-02-24T15:27:03-0600","dueDate":"2025-03-10T15:27:03-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1590,"type":"service","label":"PREMIUM 24\/02\/2025 \u2013 31\/03\/2025","price":700,"quantity":1.1666666666667,"total":816.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":144,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":816.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":816.67,"amountPaid":816.67,"totalUntaxed":816.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":671,"invoiceId":1587,"paymentId":589,"creditNoteId":null,"refundId":null,"amount":300},{"id":672,"invoiceId":1587,"paymentId":590,"creditNoteId":null,"refundId":null,"amount":310},{"id":673,"invoiceId":1587,"paymentId":591,"creditNoteId":null,"refundId":null,"amount":206.67}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":1587,"clientId":2,"number":"001538","createdDate":"2025-02-24T15:27:03-0600","dueDate":"2025-03-10T15:27:03-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1590,"type":"service","label":"PREMIUM 24\/02\/2025 \u2013 31\/03\/2025","price":700,"quantity":1.1666666666667,"total":816.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":144,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":816.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":816.67,"amountPaid":610,"totalUntaxed":816.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":206.67,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":671,"invoiceId":1587,"paymentId":589,"creditNoteId":null,"refundId":null,"amount":300},{"id":672,"invoiceId":1587,"paymentId":590,"creditNoteId":null,"refundId":null,"amount":310},{"id":673,"invoiceId":1587,"paymentId":591,"creditNoteId":null,"refundId":null,"amount":206.67}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false}}} - -[2025-03-04 9:02:12.983557] [debug] Edición de Factura - -[2025-03-04 9:02:12.983649] [debug] {"uuid":"ccee943b-d82d-4c76-99aa-6c4526bb6750","changeType":"edit","entity":"invoice","entityId":1587,"message":null,"clientId":2,"eventName":"invoice.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":113.33,"accountCredit":113.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1587,"clientId":2,"number":"001538","createdDate":"2025-02-24T15:27:03-0600","dueDate":"2025-03-10T15:27:03-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1590,"type":"service","label":"PREMIUM 24\/02\/2025 \u2013 31\/03\/2025","price":700,"quantity":1.1666666666667,"total":816.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":144,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":816.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":816.67,"amountPaid":816.67,"totalUntaxed":816.67,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":671,"invoiceId":1587,"paymentId":589,"creditNoteId":null,"refundId":null,"amount":300},{"id":672,"invoiceId":1587,"paymentId":590,"creditNoteId":null,"refundId":null,"amount":310},{"id":673,"invoiceId":1587,"paymentId":591,"creditNoteId":null,"refundId":null,"amount":206.67}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas el boy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-04 9:02:12.983721] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-04 9:02:12.983758] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":591,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:02:11-0600","amount":320,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":673,"invoiceId":1587,"paymentId":591,"creditNoteId":null,"refundId":null,"amount":206.67}],"creditAmount":113.33,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2113.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 320","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2113.33 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 320\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 04\/03\/2025 03:02 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 04\/03\/2025 03:02\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ulti-mo Pago":"\ud83d\udcc6\ud83d\udcb8 04\/03\/2025 03:02 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 04\/03\/2025 03:02","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"error":{"custom_fields":["Fecha Ulti-mo Pago do not exist or are misspelled, please check before retrying"]}} - -[2025-03-04 9:02:14.725914] [notice] Logging level set to:debug -[2025-03-04 9:02:14.848826] [debug] valor el evento recibido por webhook: payment.add - -[2025-03-04 9:02:14.848994] [debug] Valor de JSON: {"uuid":"aa83c560-0437-4b27-bde2-1c027adcef1c","changeType":"insert","entity":"payment","entityId":"591","eventName":"payment.add","extraData":{"entity":{"id":591,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:02:11-0600","amount":320,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":673,"invoiceId":1587,"paymentId":591,"creditNoteId":null,"refundId":null,"amount":206.67}],"creditAmount":113.33000000000001,"userId":null,"attributes":[]},"entityBeforeEdit":null}} - -[2025-03-04 9:02:14.849139] [debug] Notification encodificado en JSON:{"uuid":"aa83c560-0437-4b27-bde2-1c027adcef1c","changeType":"insert","entity":"payment","entityId":591,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":113.33,"accountCredit":113.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":591,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:02:11-0600","amount":320,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":673,"invoiceId":1587,"paymentId":591,"creditNoteId":null,"refundId":null,"amount":206.67}],"creditAmount":113.33,"userId":null,"attributes":[]}} - -[2025-03-04 9:02:14.849200] [debug] valor del payment data: {"id":591,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:02:11-0600","amount":320,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":673,"invoiceId":1587,"paymentId":591,"creditNoteId":null,"refundId":null,"amount":206.67}],"creditAmount":113.33,"userId":null,"attributes":[]} - -[2025-03-04 9:02:14.849271] [info] {"WhatsApp":["5214181878106"]} -[2025-03-04 9:02:14.849308] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-04 9:02:14.849343] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-04 9:02:14.849380] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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_el_boy.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_el_boy.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_el_boy.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_el_boy.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_el_boy.png - -No se pudo obtener la lista de archivos de la carpeta FTP - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_el_boy.png" - }, - "template_values": ["Daniel Humberto Soto Villegas el boy", "$320", "$113.33 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"bc2ce0cafa59427fac8fa1f1ec3464cb","status":"enqueued"}} -Hay menos de 100 archivos en el directorio. No se eliminarán archivos. - -La notificación fue enviada correctamente con estado: enqueued - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":591,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:02:11-0600","amount":320,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":673,"invoiceId":1587,"paymentId":591,"creditNoteId":null,"refundId":null,"amount":206.67}],"creditAmount":113.33,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2113.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 320","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2113.33 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 320\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 04\/03\/2025 03:02 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 04\/03\/2025 03:02\",\"Clabe Interbancaria\": \"\"}","Fecha Ulti-mo Pago":"\ud83d\udcc6\ud83d\udcb8 04\/03\/2025 03:02 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 04\/03\/2025 03:02","Clabe Interbancaria":null}} - -Response Patch CallBell: {"error":{"custom_fields":["Fecha Ulti-mo Pago do not exist or are misspelled, please check before retrying"]}} - -[2025-03-04 9:02:19.611820] [notice] Logging level set to:debug -[2025-03-04 9:02:19.767040] [debug] valor el evento recibido por webhook: payment.edit - -[2025-03-04 9:02:19.767302] [debug] Valor de JSON: {"uuid":"8dc56426-afb1-4024-ba24-2b1a35b21479","changeType":"edit","entity":"payment","entityId":"591","eventName":"payment.edit","extraData":{"entity":{"id":591,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:02:11-0600","amount":320,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":673,"invoiceId":1587,"paymentId":591,"creditNoteId":null,"refundId":null,"amount":206.67}],"creditAmount":113.33,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":591,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:02:11-0600","amount":320,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":673,"invoiceId":1587,"paymentId":591,"creditNoteId":null,"refundId":null,"amount":206.67}],"creditAmount":113.33,"userId":null,"attributes":[]}}} - -[2025-03-04 9:04:49.478704] [notice] Logging level set to:debug -[2025-03-04 9:04:49.478838] [info] No UUID found in the webhook data -[2025-03-04 9:04:49.478861] [info] Evento de referencia de oxxo recibido - -[2025-03-04 9:04:49.478878] [info] Creando referencia del cliente para OXXO: - -[2025-03-04 9:04:49.603017] [error] Client error: `GET https://172.16.5.134/crm/api/v1.0/clients/2000` resulted in a `404 Not Found` response: -{"code":404,"message":"Not Found"} - -[2025-03-04 9:06:49.303426] [notice] Logging level set to:debug -[2025-03-04 9:06:49.303647] [info] No UUID found in the webhook data -[2025-03-04 9:06:49.303675] [info] Evento de referencia de oxxo recibido - -[2025-03-04 9:06:49.303694] [info] Creando referencia del cliente para OXXO: - -[2025-03-04 9:06:49.363835] [info] Obteniendo el cliente de CRM: 2000 - -[2025-03-04 9:06:49.427035] [error] Error al obtener el cliente de CRM: Client error: `GET https://172.16.5.134/crm/api/v1.0/clients/2000` resulted in a `404 Not Found` response: +[2025-05-22 0:19:08.908850] [info] Error al hacer el patch al CRM: Client error: `PATCH https://172.16.5.134/crm/api/v1.0/clients/` resulted in a `404 Not Found` response: {"code":404,"message":"Not Found"} -[2025-03-04 9:06:49.428024] [info] Creando referencia del cliente para OXXO: +[2025-05-22 0:19:08.909379] [info] No se pudo actualizar el atributo personalizado passwordAntenaCliente -[2025-03-04 9:06:49.486450] [info] Obteniendo el cliente de CRM: 2000 +[2025-05-22 0:19:08.909471] [debug] El cliente no cambió de potencial a cliente +[2025-05-22 0:19:08.909513] [debug] Validando claves dentro de entity y entityBeforeEdit +[2025-05-22 0:19:08.909550] [debug] Los datos entity y entityBeforeEdit contienen el campo tags +[2025-05-22 0:19:08.909586] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit +[2025-05-22 0:19:08.909647] [debug] {"uuid":"aacaf5c5-2bf4-44ea-864f-a24121b453bb","changeType":"edit","entity":"client","entityId":171,"message":null,"clientId":171,"eventName":"client.edit","clientData":{"id":171,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-05-21T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Archi","lastName":"Isalas","username":"mainstreamm2@gmail.com","contacts":[{"id":177,"clientId":171,"email":"mainstreamm2@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":198,"clientId":171,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_SM2zH6IsjTz6ol","clientZoneVisible":true},{"id":199,"clientId":171,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180950530868794","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} -[2025-03-04 9:06:49.537833] [error] Error al obtener el cliente de CRM: Client error: `GET https://172.16.5.134/crm/api/v1.0/clients/2000` resulted in a `404 Not Found` response: -{"code":404,"message":"Not Found"} +[2025-05-22 0:50:23.408159] [notice] Logging level set to:debug +[2025-05-22 0:50:23.408576] [debug] valor del webhook: {"uuid":"facafe19-431f-4067-91e1-337e78b93231","changeType":"edit","entity":"client","entityId":"171","eventName":"client.edit","extraData":{"entity":{"id":171,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-05-21T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Archi","lastName":"Isalas","username":"mainstreamm2@gmail.com","contacts":[{"id":177,"clientId":171,"email":"mainstreamm2@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1003,"name":"WhatsNotifica"}]}],"attributes":[{"id":198,"clientId":171,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_SM2zH6IsjTz6ol","clientZoneVisible":true},{"id":199,"clientId":171,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180950530868794","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":171,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-05-21T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Archi","lastName":"Isalas","username":"mainstreamm2@gmail.com","contacts":[{"id":177,"clientId":171,"email":"mainstreamm2@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":198,"clientId":171,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_SM2zH6IsjTz6ol","clientZoneVisible":true},{"id":199,"clientId":171,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180950530868794","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} +[2025-05-22 0:50:23.482923] [debug] valor el evento recibido por webhook: client.edit -[2025-03-04 9:06:49.538305] [info] Creando referencia del cliente para OXXO: +[2025-05-22 0:50:23.483145] [debug] Valor de JSON: {"uuid":"facafe19-431f-4067-91e1-337e78b93231","changeType":"edit","entity":"client","entityId":"171","eventName":"client.edit","extraData":{"entity":{"id":171,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-05-21T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Archi","lastName":"Isalas","username":"mainstreamm2@gmail.com","contacts":[{"id":177,"clientId":171,"email":"mainstreamm2@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1003,"name":"WhatsNotifica"}]}],"attributes":[{"id":198,"clientId":171,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_SM2zH6IsjTz6ol","clientZoneVisible":true},{"id":199,"clientId":171,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180950530868794","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":171,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-05-21T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Archi","lastName":"Isalas","username":"mainstreamm2@gmail.com","contacts":[{"id":177,"clientId":171,"email":"mainstreamm2@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":198,"clientId":171,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_SM2zH6IsjTz6ol","clientZoneVisible":true},{"id":199,"clientId":171,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180950530868794","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-04 9:06:49.583157] [info] Obteniendo el cliente de CRM: 2000 +[2025-05-22 0:50:23.483393] [debug] Se actualiza a un cliente +[2025-05-22 0:50:23.483474] [debug] Valor de json_data: {"uuid":"facafe19-431f-4067-91e1-337e78b93231","changeType":"edit","entity":"client","entityId":"171","eventName":"client.edit","extraData":{"entity":{"id":171,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-05-21T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Archi","lastName":"Isalas","username":"mainstreamm2@gmail.com","contacts":[{"id":177,"clientId":171,"email":"mainstreamm2@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1003,"name":"WhatsNotifica"}]}],"attributes":[{"id":198,"clientId":171,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_SM2zH6IsjTz6ol","clientZoneVisible":true},{"id":199,"clientId":171,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180950530868794","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":171,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-05-21T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Archi","lastName":"Isalas","username":"mainstreamm2@gmail.com","contacts":[{"id":177,"clientId":171,"email":"mainstreamm2@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":198,"clientId":171,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_SM2zH6IsjTz6ol","clientZoneVisible":true},{"id":199,"clientId":171,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180950530868794","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} +[2025-05-22 0:50:23.530049] [info] ID correspondiente a 'passwordAntenaCliente': 17 -[2025-03-04 9:06:49.632427] [error] Error al obtener el cliente de CRM: Client error: `GET https://172.16.5.134/crm/api/v1.0/clients/2000` resulted in a `404 Not Found` response: -{"code":404,"message":"Not Found"} +[2025-05-22 0:50:23.530293] [info] El valor de passwordAntenaValue es null o cadena vacía, se manda llamar la función getVaultCredentials +[2025-05-22 0:50:23.530349] [info] El valor de password es: gYAIEK:Be}SK*01z5+/V -[2025-03-04 9:06:49.632898] [error] Error al crear la referencia de OXXO: errorGetClient -[2025-03-04 9:09:21.832369] [notice] Logging level set to:debug -[2025-03-04 9:09:21.832566] [info] No UUID found in the webhook data -[2025-03-04 9:09:21.832602] [info] Evento de referencia de oxxo recibido +[2025-05-22 0:50:23.651010] [info] Se actualizó el custom attribute del cliente 171 -[2025-03-04 9:09:21.832626] [info] Creando referencia del cliente para OXXO: +[2025-05-22 0:50:23.651479] [info] Se actualizó el atributo personalizado passwordAntenaCliente con el valor: gYAIEK:Be}SK*01z5+/V -[2025-03-04 9:10:40.492543] [notice] Logging level set to:debug -[2025-03-04 9:10:40.492938] [info] No UUID found in the webhook data -[2025-03-04 9:10:40.493029] [info] Evento de referencia de oxxo recibido +[2025-05-22 0:50:23.651519] [debug] El cliente no cambió de potencial a cliente +[2025-05-22 0:50:23.651531] [debug] Validando claves dentro de entity y entityBeforeEdit +[2025-05-22 0:50:23.651540] [debug] Los datos entity y entityBeforeEdit contienen el campo tags +[2025-05-22 0:50:23.651549] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit +[2025-05-22 0:50:23.651587] [debug] {"uuid":"facafe19-431f-4067-91e1-337e78b93231","changeType":"edit","entity":"client","entityId":171,"message":null,"clientId":171,"eventName":"client.edit","clientData":{"id":171,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-05-21T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Archi","lastName":"Isalas","username":"mainstreamm2@gmail.com","contacts":[{"id":177,"clientId":171,"email":"mainstreamm2@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1003,"name":"WhatsNotifica"}]}],"attributes":[{"id":198,"clientId":171,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_SM2zH6IsjTz6ol","clientZoneVisible":true},{"id":199,"clientId":171,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180950530868794","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} -[2025-03-04 9:10:40.493074] [info] Creando referencia del cliente para OXXO: +[2025-05-22 0:50:23.651621] [info] Procesando tipo de contacto original: 'WhatsNotifica' +[2025-05-22 0:50:23.651632] [info] Tipo de contacto normalizado: 'whatsnotifica' +[2025-05-22 0:50:23.651640] [info] Tipo de contacto no reconocido: 'whatsnotifica' -[2025-03-04 9:10:40.619072] [error] Error al obtener el cliente de CRM +[2025-05-22 0:50:23.804236] [notice] Logging level set to:debug +[2025-05-22 0:50:23.804312] [debug] valor del webhook: {"uuid":"aff6b505-571d-4e30-9d18-355a25aaed8a","changeType":"edit","entity":"client","entityId":"171","eventName":"client.edit","extraData":{"entity":{"id":171,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-05-21T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Archi","lastName":"Isalas","username":"mainstreamm2@gmail.com","contacts":[{"id":177,"clientId":171,"email":"mainstreamm2@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1003,"name":"WhatsNotifica"}]}],"attributes":[{"id":198,"clientId":171,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_SM2zH6IsjTz6ol","clientZoneVisible":true},{"id":199,"clientId":171,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180950530868794","clientZoneVisible":true},{"id":201,"clientId":171,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":171,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-05-21T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Archi","lastName":"Isalas","username":"mainstreamm2@gmail.com","contacts":[{"id":177,"clientId":171,"email":"mainstreamm2@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1003,"name":"WhatsNotifica"}]}],"attributes":[{"id":198,"clientId":171,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_SM2zH6IsjTz6ol","clientZoneVisible":true},{"id":199,"clientId":171,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180950530868794","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-04 9:10:40.619502] [info] Creando referencia del cliente para OXXO: +[2025-05-22 0:50:23.907448] [debug] valor el evento recibido por webhook: client.edit -[2025-03-04 9:10:40.707407] [error] Error al obtener el cliente de CRM +[2025-05-22 0:50:23.907525] [debug] Valor de JSON: {"uuid":"aff6b505-571d-4e30-9d18-355a25aaed8a","changeType":"edit","entity":"client","entityId":"171","eventName":"client.edit","extraData":{"entity":{"id":171,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-05-21T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Archi","lastName":"Isalas","username":"mainstreamm2@gmail.com","contacts":[{"id":177,"clientId":171,"email":"mainstreamm2@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1003,"name":"WhatsNotifica"}]}],"attributes":[{"id":198,"clientId":171,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_SM2zH6IsjTz6ol","clientZoneVisible":true},{"id":199,"clientId":171,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180950530868794","clientZoneVisible":true},{"id":201,"clientId":171,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":171,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-05-21T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Archi","lastName":"Isalas","username":"mainstreamm2@gmail.com","contacts":[{"id":177,"clientId":171,"email":"mainstreamm2@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1003,"name":"WhatsNotifica"}]}],"attributes":[{"id":198,"clientId":171,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_SM2zH6IsjTz6ol","clientZoneVisible":true},{"id":199,"clientId":171,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180950530868794","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-04 9:10:40.707782] [info] Creando referencia del cliente para OXXO: +[2025-05-22 0:50:23.907630] [debug] Se actualiza a un cliente +[2025-05-22 0:50:23.907670] [debug] Valor de json_data: {"uuid":"aff6b505-571d-4e30-9d18-355a25aaed8a","changeType":"edit","entity":"client","entityId":"171","eventName":"client.edit","extraData":{"entity":{"id":171,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-05-21T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Archi","lastName":"Isalas","username":"mainstreamm2@gmail.com","contacts":[{"id":177,"clientId":171,"email":"mainstreamm2@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1003,"name":"WhatsNotifica"}]}],"attributes":[{"id":198,"clientId":171,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_SM2zH6IsjTz6ol","clientZoneVisible":true},{"id":199,"clientId":171,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180950530868794","clientZoneVisible":true},{"id":201,"clientId":171,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":171,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-05-21T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Archi","lastName":"Isalas","username":"mainstreamm2@gmail.com","contacts":[{"id":177,"clientId":171,"email":"mainstreamm2@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1003,"name":"WhatsNotifica"}]}],"attributes":[{"id":198,"clientId":171,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_SM2zH6IsjTz6ol","clientZoneVisible":true},{"id":199,"clientId":171,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180950530868794","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} +[2025-05-22 0:50:23.980391] [info] ID correspondiente a 'passwordAntenaCliente': 17 -[2025-03-04 9:10:40.801000] [error] Error al obtener el cliente de CRM +[2025-05-22 0:50:23.980431] [info] El valor de passwordAntenaValue es: gYAIEK:Be}SK*01z5+/V -[2025-03-04 9:10:40.801367] [error] Error al crear la referencia de OXXO: errorGetClientNofFound -[2025-03-04 9:10:49.452183] [notice] Logging level set to:debug -[2025-03-04 9:10:49.452544] [info] No UUID found in the webhook data -[2025-03-04 9:10:49.452629] [info] Evento de referencia de oxxo recibido +[2025-05-22 0:50:23.980442] [info] Ya existe un valor de passwordAntenaValue: gYAIEK:Be}SK*01z5+/V -[2025-03-04 9:10:49.452681] [info] Creando referencia del cliente para OXXO: +[2025-05-22 0:50:23.980453] [debug] El cliente no cambió de potencial a cliente +[2025-05-22 0:50:23.980462] [debug] Validando claves dentro de entity y entityBeforeEdit +[2025-05-22 0:50:23.980468] [debug] Los datos entity y entityBeforeEdit contienen el campo tags +[2025-05-22 0:50:23.980474] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit +[2025-05-22 0:50:23.980510] [debug] {"uuid":"aff6b505-571d-4e30-9d18-355a25aaed8a","changeType":"edit","entity":"client","entityId":171,"message":null,"clientId":171,"eventName":"client.edit","clientData":{"id":171,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-05-21T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Archi","lastName":"Isalas","username":"mainstreamm2@gmail.com","contacts":[{"id":177,"clientId":171,"email":"mainstreamm2@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1003,"name":"WhatsNotifica"}]}],"attributes":[{"id":198,"clientId":171,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_SM2zH6IsjTz6ol","clientZoneVisible":true},{"id":199,"clientId":171,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180950530868794","clientZoneVisible":true},{"id":201,"clientId":171,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} -[2025-03-04 9:10:49.586477] [info] Se obtuvieron los datos del cliente y Stripe Customer ID: cus_PetN1dhr4rx0kX - -[2025-03-04 9:10:49.586517] [info] Este cliente no tiene adeudos por lo tanto no se puede generar su referencia de OXXO. - -[2025-03-04 9:10:49.586824] [info] Creando referencia del cliente para OXXO: - -[2025-03-04 9:10:49.694775] [info] Se obtuvieron los datos del cliente y Stripe Customer ID: cus_PetN1dhr4rx0kX - -[2025-03-04 9:10:49.694924] [info] Este cliente no tiene adeudos por lo tanto no se puede generar su referencia de OXXO. - -[2025-03-04 9:10:49.695235] [info] Creando referencia del cliente para OXXO: - -[2025-03-04 9:10:49.791410] [info] Se obtuvieron los datos del cliente y Stripe Customer ID: cus_PetN1dhr4rx0kX - -[2025-03-04 9:10:49.791552] [info] Este cliente no tiene adeudos por lo tanto no se puede generar su referencia de OXXO. - -[2025-03-04 9:10:49.791825] [error] Error al crear la referencia de OXXO: errorsinadeudo -[2025-03-04 9:11:09.869155] [notice] Logging level set to:debug -[2025-03-04 9:11:09.869718] [info] No UUID found in the webhook data -[2025-03-04 9:11:09.869879] [info] Evento de referencia de oxxo recibido - -[2025-03-04 9:11:09.869980] [info] Referencia persnoalizada, Valor del monto: 30 - -[2025-03-04 9:11:09.870073] [info] Creando referencia del cliente para OXXO: - -[2025-03-04 9:11:09.998758] [info] Monto proporcionado directamente: 30 - -[2025-03-04 9:11:09.998801] [info] Creando referencia en Stripe por: 3000 para el cliente cus_PetN1dhr4rx0kX - -[2025-03-04 9:11:10.571032] [info] El nombre del cliente es: Daniel Humberto Soto Villegas el boy - -[2025-03-04 9:11:10.571146] [info] Creando payment methods del voucher - -[2025-03-04 9:11:10.817809] [info] Confirmando el paymentIntent - -[2025-03-04 9:11:11.483674] [info] Se terminó de confirmar el paymentIntent - -[2025-03-04 9:11:11.484186] [info] Referencia OXXO: 12345678901234657890123456789012 - -[2025-03-04 9:11:11.484343] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9Sc2NrOUFnN3BzeGNMSFJaNmNFQ1NReUZ1czBnUFBB0100xHP3haAs - -[2025-03-04 9:11:11.485323] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9Sc2NrOUFnN3BzeGNMSFJaNmNFQ1NReUZ1czBnUFBB0100xHP3haAs"} -[2025-03-04 9:14:16.071049] [notice] Logging level set to:debug -[2025-03-04 9:14:16.216854] [debug] valor el evento recibido por webhook: payment.add - -[2025-03-04 9:14:16.217045] [debug] Valor de JSON: {"uuid":"32a10247-c981-481c-8d77-a0661927a9d7","changeType":"insert","entity":"payment","entityId":"592","eventName":"payment.add","extraData":{"entity":{"id":592,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:14:15-0600","amount":30,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":30,"userId":null,"attributes":[]},"entityBeforeEdit":null}} - -[2025-03-04 9:14:16.217319] [debug] Notification encodificado en JSON:{"uuid":"32a10247-c981-481c-8d77-a0661927a9d7","changeType":"insert","entity":"payment","entityId":592,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":143.33,"accountCredit":143.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":592,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:14:15-0600","amount":30,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":30,"userId":null,"attributes":[]}} - -[2025-03-04 9:14:16.217394] [debug] valor del payment data: {"id":592,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:14:15-0600","amount":30,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":30,"userId":null,"attributes":[]} - -[2025-03-04 9:14:16.217514] [info] {"WhatsApp":["5214181878106"]} -[2025-03-04 9:14:16.217555] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-04 9:14:16.217591] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-04 9:14:16.217628] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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_el_boy.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_el_boy.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_el_boy.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_el_boy.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_el_boy.png - -No se pudo obtener la lista de archivos de la carpeta FTP - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_el_boy.png" - }, - "template_values": ["Daniel Humberto Soto Villegas el boy", "$30", "$143.33 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"0e327e242d434bc280ff21e5665db080","status":"enqueued"}} -Hay menos de 100 archivos en el directorio. No se eliminarán archivos. - -La notificación fue enviada correctamente con estado: enqueued - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":592,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:14:15-0600","amount":30,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":30,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2143.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 30","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2143.33 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 30\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 04\/03\/2025 03:14 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 04\/03\/2025 03:14\",\"Clabe Interbancaria\": \"\"}","Fecha Ulti-mo Pago":"\ud83d\udcc6\ud83d\udcb8 04\/03\/2025 03:14 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 04\/03\/2025 03:14","Clabe Interbancaria":null}} - -Response Patch CallBell: {"error":{"custom_fields":["Fecha Ulti-mo Pago do not exist or are misspelled, please check before retrying"]}} - -[2025-03-04 9:14:21.824505] [notice] Logging level set to:debug -[2025-03-04 9:14:21.938635] [debug] valor el evento recibido por webhook: payment.edit - -[2025-03-04 9:14:21.938687] [debug] Valor de JSON: {"uuid":"3c7fb6bc-9b3e-49a2-b65a-b5504642fbb5","changeType":"edit","entity":"payment","entityId":"592","eventName":"payment.edit","extraData":{"entity":{"id":592,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:14:15-0600","amount":30,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":30,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":592,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:14:15-0600","amount":30,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":30,"userId":null,"attributes":[]}}} - -[2025-03-04 9:19:02.523612] [notice] Logging level set to:debug -[2025-03-04 9:19:02.523761] [info] No UUID found in the webhook data -[2025-03-04 9:19:02.523786] [info] Evento de referencia de oxxo recibido - -[2025-03-04 9:19:02.523801] [info] Referencia persnoalizada, Valor del monto: 50 - -[2025-03-04 9:19:02.523813] [info] Creando referencia del cliente para OXXO: - -[2025-03-04 9:19:02.665050] [info] Monto proporcionado directamente: 50 - -[2025-03-04 9:19:02.665096] [info] Creando referencia en Stripe por: 5000 para el cliente cus_PetN1dhr4rx0kX - -[2025-03-04 9:19:03.242722] [info] El nombre del cliente es: Daniel Humberto Soto Villegas el boy - -[2025-03-04 9:19:03.242834] [info] Creando payment methods del voucher - -[2025-03-04 9:19:03.487317] [info] Confirmando el paymentIntent - -[2025-03-04 9:19:04.157818] [info] Se terminó de confirmar el paymentIntent - -[2025-03-04 9:19:04.157949] [info] Referencia OXXO: 12345678901234657890123456789012 - -[2025-03-04 9:19:04.157983] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9Sc2NzZ01HVXVxb3Jlc1d3aUdiTUFEWFhJNml4VjVv0100bSJo8Pf7 - -[2025-03-04 9:19:04.158528] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9Sc2NzZ01HVXVxb3Jlc1d3aUdiTUFEWFhJNml4VjVv0100bSJo8Pf7"} -[2025-03-04 9:19:44.749414] [notice] Logging level set to:debug -[2025-03-04 9:19:44.749634] [info] No UUID found in the webhook data -[2025-03-04 9:19:44.749761] [info] Evento de referencia de oxxo recibido - -[2025-03-04 9:19:44.749794] [info] Referencia persnoalizada, Valor del monto: 100 - -[2025-03-04 9:19:44.749821] [info] Creando referencia del cliente para OXXO: - -[2025-03-04 9:19:44.916356] [info] Monto proporcionado directamente: 100 - -[2025-03-04 9:19:44.916413] [info] Creando referencia en Stripe por: 10000 para el cliente cus_PetN1dhr4rx0kX - -[2025-03-04 9:19:45.462225] [info] El nombre del cliente es: Daniel Humberto Soto Villegas el boy - -[2025-03-04 9:19:45.462328] [info] Creando payment methods del voucher - -[2025-03-04 9:19:45.705751] [info] Confirmando el paymentIntent - -[2025-03-04 9:19:46.345418] [info] Se terminó de confirmar el paymentIntent - -[2025-03-04 9:19:46.345725] [info] Referencia OXXO: 12345678901234657890123456789012 - -[2025-03-04 9:19:46.345808] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9Sc2N0UUJHWkVCT29HanNaTFRIRGlSYkNZbkxLU0000100BG7ddHt1 - -[2025-03-04 9:19:46.346137] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9Sc2N0UUJHWkVCT29HanNaTFRIRGlSYkNZbkxLU0000100BG7ddHt1"} -[2025-03-04 9:20:30.434173] [notice] Logging level set to:debug -[2025-03-04 9:20:30.434319] [info] No UUID found in the webhook data -[2025-03-04 9:20:30.434344] [info] Evento de referencia de oxxo recibido - -[2025-03-04 9:20:30.434360] [info] Creando referencia del cliente para OXXO: - -[2025-03-04 9:20:30.567266] [info] Se obtuvieron los datos del cliente y Stripe Customer ID: cus_PetN1dhr4rx0kX - -[2025-03-04 9:20:30.567312] [info] Este cliente no tiene adeudos por lo tanto no se puede generar su referencia de OXXO. - -[2025-03-04 9:20:30.567711] [info] Creando referencia del cliente para OXXO: - -[2025-03-04 9:20:30.663975] [info] Se obtuvieron los datos del cliente y Stripe Customer ID: cus_PetN1dhr4rx0kX - -[2025-03-04 9:20:30.664098] [info] Este cliente no tiene adeudos por lo tanto no se puede generar su referencia de OXXO. - -[2025-03-04 9:20:30.664479] [info] Creando referencia del cliente para OXXO: - -[2025-03-04 9:20:30.762465] [info] Se obtuvieron los datos del cliente y Stripe Customer ID: cus_PetN1dhr4rx0kX - -[2025-03-04 9:20:30.762613] [info] Este cliente no tiene adeudos por lo tanto no se puede generar su referencia de OXXO. - -[2025-03-04 9:20:30.763029] [error] Error al crear la referencia de OXXO: errorsinadeudo -[2025-03-04 9:22:08.747051] [notice] Logging level set to:debug -[2025-03-04 9:22:08.967946] [debug] valor el evento recibido por webhook: payment.add - -[2025-03-04 9:22:08.967998] [debug] Valor de JSON: {"uuid":"d610e6f4-10e2-4a38-9a1a-a6a563db6e13","changeType":"insert","entity":"payment","entityId":"593","eventName":"payment.add","extraData":{"entity":{"id":593,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:22:08-0600","amount":50,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":50,"userId":null,"attributes":[]},"entityBeforeEdit":null}} - -[2025-03-04 9:22:08.968219] [debug] Notification encodificado en JSON:{"uuid":"d610e6f4-10e2-4a38-9a1a-a6a563db6e13","changeType":"insert","entity":"payment","entityId":593,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":193.33,"accountCredit":193.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":593,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:22:08-0600","amount":50,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":50,"userId":null,"attributes":[]}} - -[2025-03-04 9:22:08.968255] [debug] valor del payment data: {"id":593,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:22:08-0600","amount":50,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":50,"userId":null,"attributes":[]} - -[2025-03-04 9:22:08.968317] [info] {"WhatsApp":["5214181878106"]} -[2025-03-04 9:22:08.968328] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-04 9:22:08.968338] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-04 9:22:08.968358] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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_el_boy.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_el_boy.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_el_boy.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_el_boy.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_el_boy.png - -No se pudo obtener la lista de archivos de la carpeta FTP - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_el_boy.png" - }, - "template_values": ["Daniel Humberto Soto Villegas el boy", "$50", "$193.33 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"5dd6c2cd76ed446898a27c53e2d0cc34","status":"enqueued"}} -Hay menos de 100 archivos en el directorio. No se eliminarán archivos. - -La notificación fue enviada correctamente con estado: enqueued - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":593,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:22:08-0600","amount":50,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":50,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2193.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 50","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2193.33 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 50\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 04\/03\/2025 03:22 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 04\/03\/2025 03:22\",\"Clabe Interbancaria\": \"\"}","Fecha Ulti-mo Pago":"\ud83d\udcc6\ud83d\udcb8 04\/03\/2025 03:22 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 04\/03\/2025 03:22","Clabe Interbancaria":null}} - -Response Patch CallBell: {"error":{"custom_fields":["Fecha Ulti-mo Pago do not exist or are misspelled, please check before retrying"]}} - -[2025-03-04 9:22:14.589492] [notice] Logging level set to:debug -[2025-03-04 9:22:14.721870] [debug] valor el evento recibido por webhook: payment.edit - -[2025-03-04 9:22:14.721926] [debug] Valor de JSON: {"uuid":"03497f30-b0f7-4def-af3f-d9b74946432c","changeType":"edit","entity":"payment","entityId":"593","eventName":"payment.edit","extraData":{"entity":{"id":593,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:22:08-0600","amount":50,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":50,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":593,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:22:08-0600","amount":50,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":50,"userId":null,"attributes":[]}}} - -[2025-03-04 9:22:52.320504] [notice] Logging level set to:debug -[2025-03-04 9:22:52.436197] [debug] valor el evento recibido por webhook: payment.add - -[2025-03-04 9:22:52.436332] [debug] Valor de JSON: {"uuid":"dd107823-fc26-4d27-84a4-420c3fc4d578","changeType":"insert","entity":"payment","entityId":"594","eventName":"payment.add","extraData":{"entity":{"id":594,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:22:52-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]},"entityBeforeEdit":null}} - -[2025-03-04 9:22:52.436605] [debug] Notification encodificado en JSON:{"uuid":"dd107823-fc26-4d27-84a4-420c3fc4d578","changeType":"insert","entity":"payment","entityId":594,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":293.33,"accountCredit":293.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":594,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:22:52-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}} - -[2025-03-04 9:22:52.436662] [debug] valor del payment data: {"id":594,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:22:52-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]} - -[2025-03-04 9:22:52.436757] [info] {"WhatsApp":["5214181878106"]} -[2025-03-04 9:22:52.436796] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-04 9:22:52.436831] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-04 9:22:52.436868] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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_el_boy.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_el_boy.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_el_boy.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_el_boy.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_el_boy.png - -No se pudo obtener la lista de archivos de la carpeta FTP - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_el_boy.png" - }, - "template_values": ["Daniel Humberto Soto Villegas el boy", "$100", "$293.33 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"bc5214b57e4040d489b485e8e09d9166","status":"enqueued"}} -Hay menos de 100 archivos en el directorio. No se eliminarán archivos. - -La notificación fue enviada correctamente con estado: enqueued - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":594,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:22:52-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2293.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 100","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2293.33 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 100\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 04\/03\/2025 03:22 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 04\/03\/2025 03:22\",\"Clabe Interbancaria\": \"\"}","Fecha Ulti-mo Pago":"\ud83d\udcc6\ud83d\udcb8 04\/03\/2025 03:22 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 04\/03\/2025 03:22","Clabe Interbancaria":null}} - -Response Patch CallBell: {"error":{"custom_fields":["Fecha Ulti-mo Pago do not exist or are misspelled, please check before retrying"]}} - -[2025-03-04 9:22:57.722095] [notice] Logging level set to:debug -[2025-03-04 9:22:57.823576] [debug] valor el evento recibido por webhook: payment.edit - -[2025-03-04 9:22:57.823735] [debug] Valor de JSON: {"uuid":"52f3cd87-3914-459d-9d0b-05220ec8594d","changeType":"edit","entity":"payment","entityId":"594","eventName":"payment.edit","extraData":{"entity":{"id":594,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:22:52-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":594,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:22:52-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}}} - -[2025-03-04 9:52:26.765544] [notice] Logging level set to:debug -[2025-03-04 9:52:26.765964] [info] No UUID found in the webhook data -[2025-03-04 9:52:26.766105] [info] Evento de referencia de oxxo recibido - -[2025-03-04 9:52:26.766210] [info] Referencia persnoalizada, Valor del monto: 40 - -[2025-03-04 9:52:26.766310] [info] Creando referencia del cliente para OXXO: - -[2025-03-04 9:52:26.900403] [info] Se obtuvo el Stripe Customer ID del cliente: cus_PetN1dhr4rx0kX - -[2025-03-04 9:52:26.900537] [info] Monto proporcionado directamente: 40 - -[2025-03-04 9:52:26.900580] [info] Creando referencia en Stripe por: 4000 para el cliente cus_PetN1dhr4rx0kX - -[2025-03-04 9:52:27.472719] [info] El nombre del cliente es: Daniel Humberto Soto Villegas el boy - -[2025-03-04 9:52:27.473026] [info] Creando payment methods del voucher - -[2025-03-04 9:52:27.719233] [info] Confirmando el paymentIntent - -[2025-03-04 9:52:28.376204] [info] Se terminó de confirmar el paymentIntent - -[2025-03-04 9:52:28.376465] [info] Referencia OXXO: 12345678901234657890123456789012 - -[2025-03-04 9:52:28.376524] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9Sc2RRcUJJOXVZVDlmUExMT05kZTdtc3h2bEdySjRu0100Cla9wpeO - -[2025-03-04 9:52:28.377145] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9Sc2RRcUJJOXVZVDlmUExMT05kZTdtc3h2bEdySjRu0100Cla9wpeO"} -[2025-03-04 9:55:31.162261] [notice] Logging level set to:debug -[2025-03-04 9:55:31.276391] [debug] valor el evento recibido por webhook: payment.add - -[2025-03-04 9:55:31.276521] [debug] Valor de JSON: {"uuid":"0eaaad7a-2668-4155-af6b-6cfe192ab618","changeType":"insert","entity":"payment","entityId":"595","eventName":"payment.add","extraData":{"entity":{"id":595,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:55:30-0600","amount":40,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":40,"userId":null,"attributes":[]},"entityBeforeEdit":null}} - -[2025-03-04 9:55:31.276778] [debug] Notification encodificado en JSON:{"uuid":"0eaaad7a-2668-4155-af6b-6cfe192ab618","changeType":"insert","entity":"payment","entityId":595,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas el boy","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":333.33,"accountCredit":333.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":595,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:55:30-0600","amount":40,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":40,"userId":null,"attributes":[]}} - -[2025-03-04 9:55:31.276845] [debug] valor del payment data: {"id":595,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:55:30-0600","amount":40,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":40,"userId":null,"attributes":[]} - -[2025-03-04 9:55:31.276938] [info] {"WhatsApp":["5214181878106"]} -[2025-03-04 9:55:31.276978] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-04 9:55:31.277013] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-04 9:55:31.277049] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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_el_boy.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_el_boy.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_el_boy.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_el_boy.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_el_boy.png - -No se pudo obtener la lista de archivos de la carpeta FTP - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_el_boy.png" - }, - "template_values": ["Daniel Humberto Soto Villegas el boy", "$40", "$333.33 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"d513e5ce662a40b8af0a80146b57e931","status":"enqueued"}} -Hay menos de 100 archivos en el directorio. No se eliminarán archivos. - -La notificación fue enviada correctamente con estado: enqueued - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":595,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:55:30-0600","amount":40,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":40,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas el boy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas el boy","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas el boy","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2333.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 40","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas el boy\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2333.33 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 40\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 04\/03\/2025 03:55 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 04\/03\/2025 03:55\",\"Clabe Interbancaria\": \"\"}","Fecha Ulti-mo Pago":"\ud83d\udcc6\ud83d\udcb8 04\/03\/2025 03:55 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 04\/03\/2025 03:55","Clabe Interbancaria":null}} - -Response Patch CallBell: {"error":{"custom_fields":["Fecha Ulti-mo Pago do not exist or are misspelled, please check before retrying"]}} - -[2025-03-04 9:55:39.636518] [notice] Logging level set to:debug -[2025-03-04 9:55:39.762156] [debug] valor el evento recibido por webhook: payment.edit - -[2025-03-04 9:55:39.762307] [debug] Valor de JSON: {"uuid":"49dd7ec2-ae09-44b5-af7a-cdef739c74be","changeType":"edit","entity":"payment","entityId":"595","eventName":"payment.edit","extraData":{"entity":{"id":595,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:55:30-0600","amount":40,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":40,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":595,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T03:55:30-0600","amount":40,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":40,"userId":null,"attributes":[]}}} - -[2025-03-05 4:47:10.102519] [notice] Logging level set to:debug -[2025-03-05 4:47:10.102626] [info] No UUID found in the webhook data -[2025-03-05 4:47:10.102641] [info] Evento de referencia de oxxo recibido - -[2025-03-05 4:47:10.102649] [info] Referencia persnoalizada, Valor del monto: 170 - -[2025-03-05 4:47:10.102658] [info] Creando referencia del cliente para OXXO: - -[2025-03-05 4:47:10.229813] [info] Se obtuvo el Stripe Customer ID del cliente: cus_PetN1dhr4rx0kX - -[2025-03-05 4:47:10.229856] [info] Monto proporcionado directamente: 170 - -[2025-03-05 4:47:10.229866] [info] Creando referencia en Stripe por: 17000 para el cliente cus_PetN1dhr4rx0kX - -[2025-03-05 4:55:22.702018] [notice] Logging level set to:debug -[2025-03-05 4:55:22.702296] [info] No UUID found in the webhook data -[2025-03-05 4:55:22.702373] [info] Evento de referencia de oxxo recibido - -[2025-03-05 4:55:22.702429] [info] Referencia persnoalizada, Valor del monto: 170 - -[2025-03-05 4:55:22.702488] [info] Creando referencia del cliente para OXXO: - -[2025-03-05 4:55:22.836225] [info] Stripe Customer ID obtenido: cus_PetN1dhr4rx0kX - -[2025-03-05 4:55:22.836343] [info] Monto proporcionado directamente: 170 - -[2025-03-05 4:55:22.836384] [info] Creando referencia en Stripe por 17000 para el cliente cus_PetN1dhr4rx0kX - -[2025-03-05 4:55:24.325102] [info] Referencia OXXO: 12345678901234657890123456789012 - -[2025-03-05 4:55:24.325268] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9Sc3ZyMlpqVzhHR2QxM1lGNnFEUzhFZk5LczBoaFJ30100YTwcuoNj - -[2025-03-05 4:55:24.327625] [debug] Reponse que se envía a CallBell: {"error": "","url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9Sc3ZyMlpqVzhHR2QxM1lGNnFEUzhFZk5LczBoaFJ30100YTwcuoNj"} -[2025-03-05 4:55:30.969952] [notice] Logging level set to:debug -[2025-03-05 4:55:30.970397] [info] No UUID found in the webhook data -[2025-03-05 4:55:30.970513] [info] Evento de referencia de oxxo recibido - -[2025-03-05 4:55:30.970583] [info] Referencia persnoalizada, Valor del monto: 170 - -[2025-03-05 4:55:30.970645] [info] Creando referencia del cliente para OXXO: - -[2025-03-05 4:55:31.091712] [error] Cliente no encontrado en CRM: 2000 - -[2025-03-05 4:55:31.092164] [info] Creando referencia del cliente para OXXO: - -[2025-03-05 4:55:31.184060] [error] Cliente no encontrado en CRM: 2000 - -[2025-03-05 4:55:31.184520] [info] Creando referencia del cliente para OXXO: - -[2025-03-05 4:55:31.285552] [error] Cliente no encontrado en CRM: 2000 - -[2025-03-05 4:55:31.285936] [error] Error al crear la referencia de OXXO: errorGetClientNotFound -[2025-03-05 4:58:31.429456] [notice] Logging level set to:debug -[2025-03-05 4:58:31.568559] [debug] valor el evento recibido por webhook: payment.add - -[2025-03-05 4:58:31.568749] [debug] Valor de JSON: {"uuid":"b95aa031-e333-4a2d-b016-a1a999c58ee3","changeType":"insert","entity":"payment","entityId":"603","eventName":"payment.add","extraData":{"entity":{"id":603,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T22:58:31-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]},"entityBeforeEdit":null}} - -[2025-03-05 4:58:31.569030] [debug] Notification encodificado en JSON:{"uuid":"b95aa031-e333-4a2d-b016-a1a999c58ee3","changeType":"insert","entity":"payment","entityId":603,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":603,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T22:58:31-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]}} - -[2025-03-05 4:58:31.569098] [debug] valor del payment data: {"id":603,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T22:58:31-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]} - -[2025-03-05 4:58:31.569202] [info] {"WhatsApp":["5214181878106"]} -[2025-03-05 4:58:31.569245] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-05 4:58:31.569282] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-05 4:58:31.569411] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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_Pollerias.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_Pollerias.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_Pollerias.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_Pollerias.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_Pollerias.png - -No se pudo obtener la lista de archivos de la carpeta FTP - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_Pollerias.png" - }, - "template_values": ["Daniel Humberto Soto Villegas Pollerias", "$170", "$1553.33 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"1f8d227655244a608e2b1bcadac5966b","status":"enqueued"}} -Hay menos de 100 archivos en el directorio. No se eliminarán archivos. - -La notificación fue enviada correctamente con estado: enqueued - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":603,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T22:58:31-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas Pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas Pollerias","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas Pollerias","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb21553.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 170","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas Pollerias\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb21553.33 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 170\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 04\/03\/2025 22:58 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 04\/03\/2025 22:58\",\"Clabe Interbancaria\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 04\/03\/2025 22:58 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 04\/03\/2025 22:58","Clabe Interbancaria":null}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas Pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 04/03/2025 22:58","Monto Ultimo Pago":"💲 170","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas Pollerias","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1553.33 a favor","Fecha Ultimo Pago":"📆💸 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas Pollerias\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1553.33 a favor\",\"Monto Ultimo Pago\": \"💲 170\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 04/03/2025 22:58\",\"Clabe Interbancaria\": \"\"}","user name":"Daniel Humberto 🐁"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-05 4:58:37.114582] [notice] Logging level set to:debug -[2025-03-05 4:58:37.224172] [debug] valor el evento recibido por webhook: payment.edit - -[2025-03-05 4:58:37.224345] [debug] Valor de JSON: {"uuid":"45319700-19ac-4c6e-9910-0dcd20b96e19","changeType":"edit","entity":"payment","entityId":"603","eventName":"payment.edit","extraData":{"entity":{"id":603,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T22:58:31-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":603,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T22:58:31-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]}}} - -[2025-03-05 5:02:19.625010] [notice] Logging level set to:debug -[2025-03-05 5:02:19.694950] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-05 5:02:19.695131] [debug] Valor de JSON: {"uuid":"314bfee6-efc6-410c-a470-9e0b58f22bac","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-05 5:02:19.695398] [debug] Se actualiza a un cliente -[2025-03-05 5:02:19.695487] [debug] Valor de json_data: {"uuid":"314bfee6-efc6-410c-a470-9e0b58f22bac","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-05 5:02:19.695535] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-05 5:02:19.695574] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-05 5:02:19.695612] [debug] No hubo cambio de true a false en el campo isLead -[2025-03-05 5:02:19.695647] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-05 5:02:19.695683] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-05 5:02:19.695718] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-05 5:02:19.695754] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-05 5:02:19.695816] [debug] {"uuid":"314bfee6-efc6-410c-a470-9e0b58f22bac","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-05 5:02:19.695926] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-05 5:02:19.695969] [info] Tipo de contacto normalizado: 'whatsapp' -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":603,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T22:58:31-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas Pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas Pollerias","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas Pollerias","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb21553.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 170","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas Pollerias\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb21553.33 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 170\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 04\/03\/2025 22:58 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 04\/03\/2025 23:02\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 04\/03\/2025 22:58 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 04\/03\/2025 23:02","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas Pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 04/03/2025 23:02","Monto Ultimo Pago":"💲 170","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas Pollerias","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1553.33 a favor","Fecha Ultimo Pago":"📆💸 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas Pollerias\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1553.33 a favor\",\"Monto Ultimo Pago\": \"💲 170\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 04/03/2025 23:02\",\"Clabe Interbancaria\": \"0021804341999569810\"}","user name":"Daniel Humberto 🐁"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-05 5:03:56.115549] [notice] Logging level set to:debug -[2025-03-05 5:03:56.190895] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-05 5:03:56.191344] [debug] Valor de JSON: {"uuid":"cad4fa25-176e-4823-9f4c-1421d05d2a31","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Pollerias2","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-05 5:03:56.191618] [debug] Se actualiza a un cliente -[2025-03-05 5:03:56.191705] [debug] Valor de json_data: {"uuid":"cad4fa25-176e-4823-9f4c-1421d05d2a31","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Pollerias2","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-05 5:03:56.191751] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-05 5:03:56.191790] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-05 5:03:56.191823] [debug] No hubo cambio de true a false en el campo isLead -[2025-03-05 5:03:56.191855] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-05 5:03:56.191888] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-05 5:03:56.191919] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-05 5:03:56.191951] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-05 5:03:56.192008] [debug] {"uuid":"cad4fa25-176e-4823-9f4c-1421d05d2a31","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Pollerias2","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-05 5:03:56.192100] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-05 5:03:56.192137] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"cad4fa25-176e-4823-9f4c-1421d05d2a31","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Pollerias2","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":603,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T22:58:31-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas Pollerias2 - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas Pollerias2","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas Pollerias2","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb21553.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 170","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas Pollerias2\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb21553.33 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 170\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 04\/03\/2025 22:58 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 04\/03\/2025 23:03\",\"Clabe Interbancaria\": \"0021804341999569810\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 04\/03\/2025 22:58 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 04\/03\/2025 23:03","Clabe Interbancaria":"0021804341999569810"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas Pollerias2","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 04/03/2025 23:03","Monto Ultimo Pago":"💲 170","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas Pollerias2","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1553.33 a favor","Fecha Ultimo Pago":"📆💸 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas Pollerias2\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1553.33 a favor\",\"Monto Ultimo Pago\": \"💲 170\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 04/03/2025 23:03\",\"Clabe Interbancaria\": \"0021804341999569810\"}","user name":"Daniel Humberto 🐁"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-05 5:14:49.929174] [notice] Logging level set to:debug -[2025-03-05 5:14:50.015281] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-05 5:14:50.015378] [debug] Valor de JSON: {"uuid":"3bb8b0bb-e5d0-4451-aaf1-2ada89e1c424","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Pollerias2","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-05 5:14:50.015620] [debug] Se actualiza a un cliente -[2025-03-05 5:14:50.015672] [debug] Valor de json_data: {"uuid":"3bb8b0bb-e5d0-4451-aaf1-2ada89e1c424","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Pollerias2","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-05 5:14:50.015697] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-05 5:14:50.015707] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-05 5:14:50.015716] [debug] No hubo cambio de true a false en el campo isLead -[2025-03-05 5:14:50.015722] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-05 5:14:50.015731] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-05 5:14:50.015738] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-05 5:14:50.015746] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-05 5:14:50.015779] [debug] {"uuid":"3bb8b0bb-e5d0-4451-aaf1-2ada89e1c424","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-05 5:14:50.015852] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-05 5:14:50.015866] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"3bb8b0bb-e5d0-4451-aaf1-2ada89e1c424","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":603,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T22:58:31-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas Pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas Pollerias","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas Pollerias","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb21553.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 170","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas Pollerias\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb21553.33 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 170\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 04\/03\/2025 22:58 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 04\/03\/2025 23:14\",\"Clabe Interbancaria\": \"0021804341999569810\",\"site\": \"0LOCS\",\"antenaSectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 04\/03\/2025 22:58 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 04\/03\/2025 23:14","Clabe Interbancaria":"0021804341999569810","site":"0LOCS","antenaSectorial":"Sectorial-4b 172.16.13.16\/24"}} - -Response Patch CallBell: {"error":{"custom_fields":["site and antenaSectorial do not exist or are misspelled, please check before retrying"]}} - -[2025-03-05 5:15:51.135564] [notice] Logging level set to:debug -[2025-03-05 5:15:51.224095] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-05 5:15:51.224191] [debug] Valor de JSON: {"uuid":"e4719823-af92-47c4-a19a-71f9eab2faa4","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rosticeria","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-05 5:15:51.224406] [debug] Se actualiza a un cliente -[2025-03-05 5:15:51.224463] [debug] Valor de json_data: {"uuid":"e4719823-af92-47c4-a19a-71f9eab2faa4","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rosticeria","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-05 5:15:51.224483] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-05 5:15:51.224493] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-05 5:15:51.224502] [debug] No hubo cambio de true a false en el campo isLead -[2025-03-05 5:15:51.224509] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-05 5:15:51.224517] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-05 5:15:51.224524] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-05 5:15:51.224534] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-05 5:15:51.224567] [debug] {"uuid":"e4719823-af92-47c4-a19a-71f9eab2faa4","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rosticeria","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-05 5:15:51.224634] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-05 5:15:51.224646] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"e4719823-af92-47c4-a19a-71f9eab2faa4","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rosticeria","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":603,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T22:58:31-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas Rosticeria - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas Rosticeria","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas Rosticeria","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb21553.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 170","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas Rosticeria\",\"URL\": \"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb21553.33 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 170\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 04\/03\/2025 22:58 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 04\/03\/2025 23:15\",\"Clabe Interbancaria\": \"0021804341999569810\",\"site\": \"0LOCS\",\"antenaSectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 04\/03\/2025 22:58 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 04\/03\/2025 23:15","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas Rosticeria","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 04/03/2025 23:15","Monto Ultimo Pago":"💲 170","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas Rosticeria","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1553.33 a favor","Fecha Ultimo Pago":"📆💸 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas Pollerias2\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1553.33 a favor\",\"Monto Ultimo Pago\": \"💲 170\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 04/03/2025 23:03\",\"Clabe Interbancaria\": \"0021804341999569810\"}","user name":"Daniel Humberto 🐁"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-05 5:20:51.033704] [notice] Logging level set to:debug -[2025-03-05 5:20:51.119555] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-05 5:20:51.119781] [debug] Valor de JSON: {"uuid":"b299fc35-e70f-488f-b713-082de3474792","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rosticerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rosticeria","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-05 5:20:51.120085] [debug] Se actualiza a un cliente -[2025-03-05 5:20:51.120177] [debug] Valor de json_data: {"uuid":"b299fc35-e70f-488f-b713-082de3474792","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rosticerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rosticeria","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-05 5:20:51.120228] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-05 5:20:51.120265] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-05 5:20:51.120301] [debug] No hubo cambio de true a false en el campo isLead -[2025-03-05 5:20:51.120336] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-05 5:20:51.120369] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-05 5:20:51.120404] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-05 5:20:51.120438] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-05 5:20:51.120502] [debug] {"uuid":"b299fc35-e70f-488f-b713-082de3474792","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rosticerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-05 5:20:51.120603] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-05 5:20:51.120642] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"b299fc35-e70f-488f-b713-082de3474792","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rosticerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":603,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T22:58:31-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas Rosticerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas Rosticerias","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas Rosticerias","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb21553.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 170","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"Daniel Humberto Soto Villegas Rosticerias\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb21553.33 a favor\",\"Monto Ultimo Pago\": \"$ 170\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 04\/03\/2025 22:58 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"04\/03\/2025 23:20\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 04\/03\/2025 22:58 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 04\/03\/2025 23:20","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas Rosticerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 04/03/2025 23:20","Monto Ultimo Pago":"💲 170","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas Rosticerias","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1553.33 a favor","Fecha Ultimo Pago":"📆💸 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas Pollerias2\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1553.33 a favor\",\"Monto Ultimo Pago\": \"💲 170\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 04/03/2025 23:03\",\"Clabe Interbancaria\": \"0021804341999569810\"}","user name":"Daniel Humberto 🐁"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-05 16:59:08.141833] [notice] Logging level set to:debug -[2025-03-05 16:59:08.233335] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-05 16:59:08.233520] [debug] Valor de JSON: {"uuid":"296debe7-2ca8-487f-b59a-05225114a12f","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rosticerias3","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rosticerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-05 16:59:08.233827] [debug] Se actualiza a un cliente -[2025-03-05 16:59:08.233922] [debug] Valor de json_data: {"uuid":"296debe7-2ca8-487f-b59a-05225114a12f","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rosticerias3","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rosticerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-05 16:59:08.233973] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-05 16:59:08.234011] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-05 16:59:08.234049] [debug] No hubo cambio de true a false en el campo isLead -[2025-03-05 16:59:08.234172] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-05 16:59:08.234211] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-05 16:59:08.234302] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-05 16:59:08.234340] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-05 16:59:08.234431] [debug] {"uuid":"296debe7-2ca8-487f-b59a-05225114a12f","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rosticerias3","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-05 16:59:08.234561] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-05 16:59:08.234606] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"296debe7-2ca8-487f-b59a-05225114a12f","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rosticerias3","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":603,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T22:58:31-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas Rosticerias3 - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas Rosticerias3","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas Rosticerias3","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb21553.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 170","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"Daniel Humberto Soto Villegas Rosticerias3\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb21553.33 a favor\",\"Monto Ultimo Pago\": \"$ 170\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 04\/03\/2025 22:58 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"05\/03\/2025 10:59\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 04\/03\/2025 22:58 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 05\/03\/2025 10:59","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas Rosticerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 04/03/2025 23:20","Monto Ultimo Pago":"💲 170","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas Rosticerias","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1553.33 a favor","Fecha Ultimo Pago":"📆💸 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas Pollerias2\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1553.33 a favor\",\"Monto Ultimo Pago\": \"💲 170\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 04/03/2025 23:03\",\"Clabe Interbancaria\": \"0021804341999569810\"}","user name":"Daniel Humberto 🐁"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas Rosticerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 04/03/2025 23:20","Monto Ultimo Pago":"💲 170","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas Rosticerias","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1553.33 a favor","Fecha Ultimo Pago":"📆💸 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas Pollerias2\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1553.33 a favor\",\"Monto Ultimo Pago\": \"💲 170\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 04/03/2025 23:03\",\"Clabe Interbancaria\": \"0021804341999569810\"}","user name":"Daniel Humberto 🐁"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-05 17:00:26.598387] [notice] Logging level set to:debug -[2025-03-05 17:00:26.706162] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-05 17:00:26.706267] [debug] Valor de JSON: {"uuid":"07433c77-1791-496b-87b8-3f7864e56ae3","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Ros","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rosticerias3","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-05 17:00:26.706505] [debug] Se actualiza a un cliente -[2025-03-05 17:00:26.706557] [debug] Valor de json_data: {"uuid":"07433c77-1791-496b-87b8-3f7864e56ae3","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Ros","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rosticerias3","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-05 17:00:26.706574] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-05 17:00:26.706583] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-05 17:00:26.706593] [debug] No hubo cambio de true a false en el campo isLead -[2025-03-05 17:00:26.706600] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-05 17:00:26.706608] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-05 17:00:26.706614] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-05 17:00:26.706621] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-05 17:00:26.706655] [debug] {"uuid":"07433c77-1791-496b-87b8-3f7864e56ae3","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Ros","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-05 17:00:26.706736] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-05 17:00:26.706748] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"07433c77-1791-496b-87b8-3f7864e56ae3","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Ros","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":603,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T22:58:31-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas Ros - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas Ros","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas Ros","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb21553.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 170","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"Daniel Humberto Soto Villegas Ros\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb21553.33 a favor\",\"Monto Ultimo Pago\": \"$ 170\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 04\/03\/2025 22:58 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"05\/03\/2025 11:00\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 04\/03\/2025 22:58 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 05\/03\/2025 11:00","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas Rosticerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 04/03/2025 23:20","Monto Ultimo Pago":"💲 170","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas Rosticerias","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1553.33 a favor","Fecha Ultimo Pago":"📆💸 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas Pollerias2\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1553.33 a favor\",\"Monto Ultimo Pago\": \"💲 170\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 04/03/2025 23:03\",\"Clabe Interbancaria\": \"0021804341999569810\"}","user name":"Daniel Humberto 🐁"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas Rosticerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 04/03/2025 23:20","Monto Ultimo Pago":"💲 170","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas Rosticerias","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1553.33 a favor","Fecha Ultimo Pago":"📆💸 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas Pollerias2\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1553.33 a favor\",\"Monto Ultimo Pago\": \"💲 170\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 04/03/2025 23:03\",\"Clabe Interbancaria\": \"0021804341999569810\"}","user name":"Daniel Humberto 🐁"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-05 17:02:17.422010] [notice] Logging level set to:debug -[2025-03-05 17:02:17.515804] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-05 17:02:17.516307] [debug] Valor de JSON: {"uuid":"490153ec-82fb-4106-96e9-60981ce790fa","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rost","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Ros","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-05 17:02:17.516813] [debug] Se actualiza a un cliente -[2025-03-05 17:02:17.516916] [debug] Valor de json_data: {"uuid":"490153ec-82fb-4106-96e9-60981ce790fa","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rost","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Ros","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-05 17:02:17.516964] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-05 17:02:17.517003] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-05 17:02:17.517040] [debug] No hubo cambio de true a false en el campo isLead -[2025-03-05 17:02:17.517075] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-05 17:02:17.517110] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-05 17:02:17.517144] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-05 17:02:17.517180] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-05 17:02:17.517242] [debug] {"uuid":"490153ec-82fb-4106-96e9-60981ce790fa","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rost","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-05 17:02:17.517347] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-05 17:02:17.517388] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"490153ec-82fb-4106-96e9-60981ce790fa","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rost","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":603,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T22:58:31-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas Rost - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas Rost","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas Rost","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb21553.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 170","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"Daniel Humberto Soto Villegas Rost\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb21553.33 a favor\",\"Monto Ultimo Pago\": \"$ 170\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 04\/03\/2025 22:58 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"05\/03\/2025 11:02\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 04\/03\/2025 22:58 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 05\/03\/2025 11:02","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas Rosticerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 04/03/2025 23:20","Monto Ultimo Pago":"💲 170","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas Rosticerias","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1553.33 a favor","Fecha Ultimo Pago":"📆💸 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas Pollerias2\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1553.33 a favor\",\"Monto Ultimo Pago\": \"💲 170\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 04/03/2025 23:03\",\"Clabe Interbancaria\": \"0021804341999569810\"}","user name":"Daniel Humberto 🐁"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas Rosticerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 04/03/2025 23:20","Monto Ultimo Pago":"💲 170","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas Rosticerias","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1553.33 a favor","Fecha Ultimo Pago":"📆💸 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas Pollerias2\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1553.33 a favor\",\"Monto Ultimo Pago\": \"💲 170\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 04/03/2025 23:03\",\"Clabe Interbancaria\": \"0021804341999569810\"}","user name":"Daniel Humberto 🐁"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-05 17:05:15.468920] [notice] Logging level set to:debug -[2025-03-05 17:05:15.574877] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-05 17:05:15.575018] [debug] Valor de JSON: {"uuid":"60ad045c-6c31-4894-a82b-2433e5400656","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rostis","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rost","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-05 17:05:15.575269] [debug] Se actualiza a un cliente -[2025-03-05 17:05:15.575325] [debug] Valor de json_data: {"uuid":"60ad045c-6c31-4894-a82b-2433e5400656","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rostis","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rost","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-05 17:05:15.575387] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-05 17:05:15.575397] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-05 17:05:15.575413] [debug] No hubo cambio de true a false en el campo isLead -[2025-03-05 17:05:15.575423] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-05 17:05:15.575429] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-05 17:05:15.575437] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-05 17:05:15.575444] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-05 17:05:15.575496] [debug] {"uuid":"60ad045c-6c31-4894-a82b-2433e5400656","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rostis","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-05 17:05:15.575588] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-05 17:05:15.575602] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"60ad045c-6c31-4894-a82b-2433e5400656","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rostis","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":603,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T22:58:31-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas Rostis - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas Rostis","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas Rostis","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb21553.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 170","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"Daniel Humberto Soto Villegas Rostis\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb21553.33 a favor\",\"Monto Ultimo Pago\": \"$ 170\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 04\/03\/2025 22:58 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"05\/03\/2025 11:05\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 04\/03\/2025 22:58 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 05\/03\/2025 11:05","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas Rosticerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 04/03/2025 23:20","Monto Ultimo Pago":"💲 170","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas Rosticerias","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1553.33 a favor","Fecha Ultimo Pago":"📆💸 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas Pollerias2\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1553.33 a favor\",\"Monto Ultimo Pago\": \"💲 170\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 04/03/2025 23:03\",\"Clabe Interbancaria\": \"0021804341999569810\"}","user name":"Daniel Humberto 🐁"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: - -[2025-03-05 17:22:49.734935] [notice] Logging level set to:debug -[2025-03-05 17:22:49.806847] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-05 17:22:49.806942] [debug] Valor de JSON: {"uuid":"eb5c7801-c6c2-40c7-8f12-e1c0e705f98d","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Pollos","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rostis","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-05 17:22:49.807166] [debug] Se actualiza a un cliente -[2025-03-05 17:22:49.807216] [debug] Valor de json_data: {"uuid":"eb5c7801-c6c2-40c7-8f12-e1c0e705f98d","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Pollos","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rostis","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-05 17:22:49.807235] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-05 17:22:49.807244] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-05 17:22:49.807251] [debug] No hubo cambio de true a false en el campo isLead -[2025-03-05 17:22:49.807260] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-05 17:22:49.807266] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-05 17:22:49.807274] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-05 17:22:49.807281] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-05 17:22:49.807313] [debug] {"uuid":"eb5c7801-c6c2-40c7-8f12-e1c0e705f98d","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Pollos","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-05 17:22:49.807383] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-05 17:22:49.807395] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"eb5c7801-c6c2-40c7-8f12-e1c0e705f98d","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Pollos","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":603,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T22:58:31-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas Pollos - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas Pollos","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas Pollos","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb21553.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 170","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"Daniel Humberto Soto Villegas Pollos\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb21553.33 a favor\",\"Monto Ultimo Pago\": \"$ 170\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 04\/03\/2025 22:58 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"05\/03\/2025 11:22\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 04\/03\/2025 22:58 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 05\/03\/2025 11:22","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas Rosticerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 04/03/2025 23:20","Monto Ultimo Pago":"💲 170","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas Rosticerias","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1553.33 a favor","Fecha Ultimo Pago":"📆💸 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas Pollerias2\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1553.33 a favor\",\"Monto Ultimo Pago\": \"💲 170\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 04/03/2025 23:03\",\"Clabe Interbancaria\": \"0021804341999569810\"}","user name":"Daniel Humberto 🐁"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-05 17:58:06.191467] [notice] Logging level set to:debug -[2025-03-05 17:58:06.265259] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-05 17:58:06.265362] [debug] Valor de JSON: {"uuid":"81bf7c61-8bf4-476e-aace-7646bfdce850","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas PollosRost","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Pollos","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-05 17:58:06.265595] [debug] Se actualiza a un cliente -[2025-03-05 17:58:06.265650] [debug] Valor de json_data: {"uuid":"81bf7c61-8bf4-476e-aace-7646bfdce850","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas PollosRost","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Pollos","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-05 17:58:06.265686] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-05 17:58:06.265696] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-05 17:58:06.265705] [debug] No hubo cambio de true a false en el campo isLead -[2025-03-05 17:58:06.265712] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-05 17:58:06.265719] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-05 17:58:06.265727] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-05 17:58:06.265734] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-05 17:58:06.265768] [debug] {"uuid":"81bf7c61-8bf4-476e-aace-7646bfdce850","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas PollosRost","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-05 17:58:06.265841] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-05 17:58:06.265853] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"81bf7c61-8bf4-476e-aace-7646bfdce850","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas PollosRost","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":603,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T22:58:31-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas PollosRost - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas PollosRost","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas PollosRost","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb21553.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 170","Estado":"\ud83d\udfe2 Activo ","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 04\/03\/2025 22:58 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 05\/03\/2025 11:58","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas PollosRost","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 05/03/2025 11:58","Monto Ultimo Pago":"💲 170","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas PollosRost","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1553.33 a favor","Fecha Ultimo Pago":"📆💸 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas Pollerias2\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1553.33 a favor\",\"Monto Ultimo Pago\": \"💲 170\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 04/03/2025 23:03\",\"Clabe Interbancaria\": \"0021804341999569810\"}","user name":"Daniel Humberto 🐁"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-05 18:02:37.562866] [notice] Logging level set to:debug -[2025-03-05 18:02:37.659219] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-05 18:02:37.659437] [debug] Valor de JSON: {"uuid":"f00410b0-3cdb-4c50-86aa-762672012def","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rostizados","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas PollosRost","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-05 18:02:37.659734] [debug] Se actualiza a un cliente -[2025-03-05 18:02:37.659826] [debug] Valor de json_data: {"uuid":"f00410b0-3cdb-4c50-86aa-762672012def","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rostizados","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas PollosRost","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-05 18:02:37.659876] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-05 18:02:37.659913] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-05 18:02:37.659949] [debug] No hubo cambio de true a false en el campo isLead -[2025-03-05 18:02:37.659982] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-05 18:02:37.660018] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-05 18:02:37.660053] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-05 18:02:37.660087] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-05 18:02:37.660145] [debug] {"uuid":"f00410b0-3cdb-4c50-86aa-762672012def","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rostizados","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-05 18:02:37.660254] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-05 18:02:37.660294] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"f00410b0-3cdb-4c50-86aa-762672012def","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rostizados","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":603,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T22:58:31-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas Rostizados - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas Rostizados","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas Rostizados","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb21553.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 170","Estado":"\ud83d\udfe2 Activo ","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 04\/03\/2025 22:58 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 05\/03\/2025 12:02","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas PollosRost","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 05/03/2025 11:58","Monto Ultimo Pago":"💲 170","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas PollosRost","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1553.33 a favor","Fecha Ultimo Pago":"📆💸 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas Pollerias2\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1553.33 a favor\",\"Monto Ultimo Pago\": \"💲 170\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 04/03/2025 23:03\",\"Clabe Interbancaria\": \"0021804341999569810\"}","user name":"Daniel Humberto 🐁"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: - -[2025-03-05 18:05:55.189963] [notice] Logging level set to:debug -[2025-03-05 18:05:55.263060] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-05 18:05:55.263163] [debug] Valor de JSON: {"uuid":"ca893663-8a3e-493e-bfb9-f53411749506","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rostizados Sabrosos","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rostizados","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-05 18:05:55.263510] [debug] Se actualiza a un cliente -[2025-03-05 18:05:55.263612] [debug] Valor de json_data: {"uuid":"ca893663-8a3e-493e-bfb9-f53411749506","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rostizados Sabrosos","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rostizados","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-05 18:05:55.263668] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-05 18:05:55.263706] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-05 18:05:55.263742] [debug] No hubo cambio de true a false en el campo isLead -[2025-03-05 18:05:55.263777] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-05 18:05:55.263814] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-05 18:05:55.263849] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-05 18:05:55.263885] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-05 18:05:55.263946] [debug] {"uuid":"ca893663-8a3e-493e-bfb9-f53411749506","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rostizados Sabrosos","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-05 18:05:55.264051] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-05 18:05:55.264115] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"ca893663-8a3e-493e-bfb9-f53411749506","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rostizados Sabrosos","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":603,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T22:58:31-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas Rostizados Sabrosos - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas Rostizados Sabrosos","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas Rostizados Sabrosos","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb21553.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 170","Estado":"\ud83d\udfe2 Activo ","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 04\/03\/2025 22:58 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 05\/03\/2025 12:05","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas Rostizados Sabrosos","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 05/03/2025 12:05","Monto Ultimo Pago":"💲 170","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas Rostizados Sabrosos","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1553.33 a favor","Fecha Ultimo Pago":"📆💸 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas Pollerias2\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1553.33 a favor\",\"Monto Ultimo Pago\": \"💲 170\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 04/03/2025 23:03\",\"Clabe Interbancaria\": \"0021804341999569810\"}","user name":"Daniel Humberto 🐁"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: - -[2025-03-05 19:34:34.908582] [notice] Logging level set to:debug -[2025-03-05 19:34:34.979048] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-05 19:34:34.979145] [debug] Valor de JSON: {"uuid":"1045a003-f487-40de-9f44-c2a6a2ecf4ba","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villega","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rostizados Sabrosos","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-05 19:34:34.979408] [debug] Se actualiza a un cliente -[2025-03-05 19:34:34.979474] [debug] Valor de json_data: {"uuid":"1045a003-f487-40de-9f44-c2a6a2ecf4ba","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villega","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Rostizados Sabrosos","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-05 19:34:34.979495] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-05 19:34:34.979504] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-05 19:34:34.979512] [debug] No hubo cambio de true a false en el campo isLead -[2025-03-05 19:34:34.979521] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-05 19:34:34.979527] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-05 19:34:34.979536] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-05 19:34:34.979542] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-05 19:34:34.979573] [debug] {"uuid":"1045a003-f487-40de-9f44-c2a6a2ecf4ba","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villega","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-05 19:34:34.979672] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-05 19:34:34.979690] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"1045a003-f487-40de-9f44-c2a6a2ecf4ba","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villega","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":603,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T22:58:31-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villega - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villega","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villega","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb21553.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 170","Estado":"\ud83d\udfe2 Activo ","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 04\/03\/2025 22:58 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 05\/03\/2025 13:34","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villega","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 05/03/2025 13:34","Monto Ultimo Pago":"💲 170","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villega","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1553.33 a favor","Fecha Ultimo Pago":"📆💸 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas Pollerias2\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1553.33 a favor\",\"Monto Ultimo Pago\": \"💲 170\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 04/03/2025 23:03\",\"Clabe Interbancaria\": \"0021804341999569810\"}","user name":"Daniel Humberto 🐁"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villega","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 05/03/2025 13:34","Monto Ultimo Pago":"💲 170","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villega","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1553.33 a favor","Fecha Ultimo Pago":"📆💸 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas Pollerias2\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1553.33 a favor\",\"Monto Ultimo Pago\": \"💲 170\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 04/03/2025 23:03\",\"Clabe Interbancaria\": \"0021804341999569810\"}","user name":"Daniel Humberto 🐁"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-05 19:51:57.266290] [notice] Logging level set to:debug -[2025-03-05 19:51:57.340750] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-05 19:51:57.340847] [debug] Valor de JSON: {"uuid":"cff47553-3799-4094-9f7e-9d088c5137c0","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villega","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-05 19:51:57.341090] [debug] Se actualiza a un cliente -[2025-03-05 19:51:57.341145] [debug] Valor de json_data: {"uuid":"cff47553-3799-4094-9f7e-9d088c5137c0","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villega","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-05 19:51:57.341164] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-05 19:51:57.341172] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-05 19:51:57.341181] [debug] No hubo cambio de true a false en el campo isLead -[2025-03-05 19:51:57.341188] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-05 19:51:57.341197] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-05 19:51:57.341203] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-05 19:51:57.341211] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-05 19:51:57.341247] [debug] {"uuid":"cff47553-3799-4094-9f7e-9d088c5137c0","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-05 19:51:57.341351] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-05 19:51:57.341367] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"cff47553-3799-4094-9f7e-9d088c5137c0","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":603,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T22:58:31-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]}] - -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":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb21553.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 170","Estado":"\ud83d\udfe2 Activo ","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 04\/03\/2025 22:58 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 05\/03\/2025 13:51","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"custom_fields":{"Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb21553.33 a favor\",\"Monto Ultimo Pago\": \"$ 170\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 04\/03\/2025 22:58 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"05\/03\/2025 13:51\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 05/03/2025 13:51","Monto Ultimo Pago":"💲 170","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1553.33 a favor","Fecha Ultimo Pago":"📆💸 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas Pollerias2\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1553.33 a favor\",\"Monto Ultimo Pago\": \"💲 170\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 04/03/2025 23:03\",\"Clabe Interbancaria\": \"0021804341999569810\"}","user name":"Daniel Humberto 🐁"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 05/03/2025 13:51","Monto Ultimo Pago":"💲 170","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1553.33 a favor","Fecha Ultimo Pago":"📆💸 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas Pollerias2\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1553.33 a favor\",\"Monto Ultimo Pago\": \"💲 170\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 04/03/2025 23:03\",\"Clabe Interbancaria\": \"0021804341999569810\"}","user name":"Daniel Humberto 🐁"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-05 20:03:31.340120] [notice] Logging level set to:debug -[2025-03-05 20:03:31.437104] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-05 20:03:31.437203] [debug] Valor de JSON: {"uuid":"e15ea468-003f-47ba-b631-4005bcebafd9","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas dfd","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-05 20:03:31.437465] [debug] Se actualiza a un cliente -[2025-03-05 20:03:31.437535] [debug] Valor de json_data: {"uuid":"e15ea468-003f-47ba-b631-4005bcebafd9","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas dfd","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-05 20:03:31.437561] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-05 20:03:31.437575] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-05 20:03:31.437583] [debug] No hubo cambio de true a false en el campo isLead -[2025-03-05 20:03:31.437592] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-05 20:03:31.437599] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-05 20:03:31.437609] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-05 20:03:31.437623] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-05 20:03:31.437735] [debug] {"uuid":"e15ea468-003f-47ba-b631-4005bcebafd9","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas dfd","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-05 20:03:31.437825] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-05 20:03:31.437836] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"e15ea468-003f-47ba-b631-4005bcebafd9","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas dfd","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":603,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T22:58:31-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas dfd - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas dfd","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas dfd","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb21553.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 170","Estado":"\ud83d\udfe2 Activo ","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 04\/03\/2025 22:58 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 05\/03\/2025 14:03","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: Array - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas dfd","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 05/03/2025 14:03","Monto Ultimo Pago":"💲 170","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas dfd","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1553.33 a favor","Fecha Ultimo Pago":"📆💸 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas Pollerias2\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1553.33 a favor\",\"Monto Ultimo Pago\": \"💲 170\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 04/03/2025 23:03\",\"Clabe Interbancaria\": \"0021804341999569810\"}","user name":"Daniel Humberto 🐁"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas dfd","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 05/03/2025 14:03","Monto Ultimo Pago":"💲 170","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas dfd","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1553.33 a favor","Fecha Ultimo Pago":"📆💸 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas Pollerias2\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1553.33 a favor\",\"Monto Ultimo Pago\": \"💲 170\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 04/03/2025 23:03\",\"Clabe Interbancaria\": \"0021804341999569810\"}","user name":"Daniel Humberto 🐁"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-05 20:05:17.708779] [notice] Logging level set to:debug -[2025-03-05 20:05:17.792805] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-05 20:05:17.792982] [debug] Valor de JSON: {"uuid":"72ba2d82-c686-443a-99ab-6c7e5351adf9","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas danydhsv","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas dfd","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-05 20:05:17.793349] [debug] Se actualiza a un cliente -[2025-03-05 20:05:17.793509] [debug] Valor de json_data: {"uuid":"72ba2d82-c686-443a-99ab-6c7e5351adf9","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas danydhsv","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas dfd","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-05 20:05:17.793562] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-05 20:05:17.793600] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-05 20:05:17.793636] [debug] No hubo cambio de true a false en el campo isLead -[2025-03-05 20:05:17.793788] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-05 20:05:17.793849] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-05 20:05:17.793884] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-05 20:05:17.793920] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-05 20:05:17.793982] [debug] {"uuid":"72ba2d82-c686-443a-99ab-6c7e5351adf9","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas danydhsv","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-05 20:05:17.794095] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-05 20:05:17.794137] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"72ba2d82-c686-443a-99ab-6c7e5351adf9","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas danydhsv","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":603,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T22:58:31-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas danydhsv - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas danydhsv","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas danydhsv","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb21553.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 170","Estado":"\ud83d\udfe2 Activo ","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 04\/03\/2025 22:58 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 05\/03\/2025 14:05","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": "Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Nombre": "Daniel Humberto Soto Villegas danydhsv","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲1553.33 a favor","Monto Ultimo Pago": "$ 170","Estado": "Activo","Fecha Ultimo Pago": " 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "05/03/2025 14:05","Clabe Interbancaria": "0021804341999569810","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas danydhsv","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 05/03/2025 14:05","Monto Ultimo Pago":"💲 170","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas danydhsv","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1553.33 a favor","Fecha Ultimo Pago":"📆💸 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas Pollerias2\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1553.33 a favor\",\"Monto Ultimo Pago\": \"💲 170\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 04/03/2025 23:03\",\"Clabe Interbancaria\": \"0021804341999569810\"}","user name":"Daniel Humberto 🐁"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas danydhsv","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 05/03/2025 14:05","Monto Ultimo Pago":"💲 170","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas danydhsv","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1553.33 a favor","Fecha Ultimo Pago":"📆💸 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas Pollerias2\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1553.33 a favor\",\"Monto Ultimo Pago\": \"💲 170\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 04/03/2025 23:03\",\"Clabe Interbancaria\": \"0021804341999569810\"}","user name":"Daniel Humberto 🐁"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-05 20:42:32.572513] [notice] Logging level set to:debug -[2025-03-05 20:42:32.643301] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-05 20:42:32.643399] [debug] Valor de JSON: {"uuid":"2899c103-7b9c-47f9-b45f-709eb3a76055","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas danydhsv2","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas danydhsv","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-05 20:42:32.643632] [debug] Se actualiza a un cliente -[2025-03-05 20:42:32.643693] [debug] Valor de json_data: {"uuid":"2899c103-7b9c-47f9-b45f-709eb3a76055","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas danydhsv2","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas danydhsv","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-05 20:42:32.643718] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-05 20:42:32.643728] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-05 20:42:32.643737] [debug] No hubo cambio de true a false en el campo isLead -[2025-03-05 20:42:32.643743] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-05 20:42:32.643750] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-05 20:42:32.643759] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-05 20:42:32.643765] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-05 20:42:32.643798] [debug] {"uuid":"2899c103-7b9c-47f9-b45f-709eb3a76055","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas danydhsv2","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-05 20:42:32.643873] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-05 20:42:32.643887] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"2899c103-7b9c-47f9-b45f-709eb3a76055","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas danydhsv2","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":603,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-04T22:58:31-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas danydhsv2 - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas danydhsv2","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas danydhsv2","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb21553.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 170","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas danydhsv2\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb21553.33 a favor\",\"Monto Ultimo Pago\": \"$ 170\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 04\/03\/2025 22:58 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"05\/03\/2025 14:42\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 04\/03\/2025 22:58 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 05\/03\/2025 14:42","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas danydhsv2","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲1553.33 a favor","Monto Ultimo Pago": "$ 170","Estado": "Activo","Fecha Ultimo Pago": " 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "05/03/2025 14:42","Clabe Interbancaria": "0021804341999569810","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas danydhsv2","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 05/03/2025 14:42","Monto Ultimo Pago":"💲 170","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas danydhsv2","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1553.33 a favor","Fecha Ultimo Pago":"📆💸 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳","user name":"Daniel Humberto 🐁","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas danydhsv2\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1553.33 a favor\",\"Monto Ultimo Pago\": \"$ 170\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"05/03/2025 14:42\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas danydhsv2","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 05/03/2025 14:42","Monto Ultimo Pago":"💲 170","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas danydhsv2","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1553.33 a favor","Fecha Ultimo Pago":"📆💸 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳","user name":"Daniel Humberto 🐁","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas danydhsv2\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1553.33 a favor\",\"Monto Ultimo Pago\": \"$ 170\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 04/03/2025 22:58 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"05/03/2025 14:42\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-06 6:25:03.130870] [notice] Logging level set to:debug -[2025-03-06 6:25:03.496947] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-06 6:25:03.497014] [debug] Valor de JSON: {"uuid":"e499d0fc-53f3-4b88-bde5-b8527f956512","changeType":"overdue","entity":"invoice","entityId":"1570","eventName":"invoice.overdue","extraData":{"entity":{"id":1570,"clientId":157,"number":"001527","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1573,"type":"service","label":"plan300 01\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":127,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Angel Mamey","clientLastName":"Arvizu","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-06 6:25:03.497251] [debug] Factura vencida - -[2025-03-06 6:25:03.497298] [debug] datos del notification para el invoice overdue:{"uuid":"e499d0fc-53f3-4b88-bde5-b8527f956512","changeType":"overdue","entity":"invoice","entityId":1570,"message":null,"clientId":157,"eventName":"invoice.overdue","clientData":{"id":157,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-04T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Angel Mamey","lastName":"Arvizu","username":null,"contacts":[{"id":161,"clientId":157,"email":null,"phone":"5214181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":154,"clientId":157,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RWjBO6Lsy1TgAV","clientZoneVisible":true},{"id":155,"clientId":157,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180695267429334","clientZoneVisible":true}],"accountBalance":-580,"accountCredit":0,"accountOutstanding":580,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1570,"clientId":157,"number":"001527","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1573,"type":"service","label":"plan300 01\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":127,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Angel Mamey","clientLastName":"Arvizu","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-06 6:25:03.497322] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-06 6:25:03.497435] [debug] Numero de cel obtenido - -[2025-03-06 6:25:03.497447] [warning] No se encontró un teléfono celular válido para el cliente: 157 -[2025-03-06 6:25:03.679085] [notice] Logging level set to:debug -[2025-03-06 6:25:03.818878] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-06 6:25:03.818948] [debug] Valor de JSON: {"uuid":"32e7703d-2676-4668-842a-fe77e7caa02c","changeType":"overdue","entity":"invoice","entityId":"1567","eventName":"invoice.overdue","extraData":{"entity":{"id":1567,"clientId":129,"number":"001524","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":"2025-03-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1570,"type":"service","label":"INTERMEDIO 01\/02\/2025 \u2013 28\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":117,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Loco","clientLastName":"Valdez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-06 6:25:03.819061] [debug] Factura vencida - -[2025-03-06 6:25:03.819117] [debug] datos del notification para el invoice overdue:{"uuid":"32e7703d-2676-4668-842a-fe77e7caa02c","changeType":"overdue","entity":"invoice","entityId":1567,"message":null,"clientId":129,"eventName":"invoice.overdue","clientData":{"id":129,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-17T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Loco","lastName":"Valdez","username":null,"contacts":[{"id":133,"clientId":129,"email":"pepepeltoro141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":133,"clientId":129,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJSCgri287Ic0V","clientZoneVisible":true},{"id":134,"clientId":129,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180966482840265","clientZoneVisible":true}],"accountBalance":-1250,"accountCredit":0,"accountOutstanding":1250,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00897b","addressGpsLat":21.1608752,"addressGpsLon":-100.935835,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1567,"clientId":129,"number":"001524","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":"2025-03-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1570,"type":"service","label":"INTERMEDIO 01\/02\/2025 \u2013 28\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":117,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Loco","clientLastName":"Valdez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-06 6:25:03.819144] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-06 6:25:03.819201] [debug] Numero de cel obtenido - -[2025-03-06 6:25:03.819212] [warning] No se encontró un teléfono celular válido para el cliente: 129 -[2025-03-06 6:25:03.933991] [notice] Logging level set to:debug -[2025-03-06 6:25:04.118829] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-06 6:25:04.118882] [debug] Valor de JSON: {"uuid":"ebecf877-39d5-405f-9fef-85a2f00a739f","changeType":"overdue","entity":"invoice","entityId":"1568","eventName":"invoice.overdue","extraData":{"entity":{"id":1568,"clientId":148,"number":"001525","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":"2025-03-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1571,"type":"service","label":"plan300 01\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-06 6:25:04.118987] [debug] Factura vencida - -[2025-03-06 6:25:04.119025] [debug] datos del notification para el invoice overdue:{"uuid":"ebecf877-39d5-405f-9fef-85a2f00a739f","changeType":"overdue","entity":"invoice","entityId":1568,"message":null,"clientId":148,"eventName":"invoice.overdue","clientData":{"id":148,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"24 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-08-19T00:00:00-0600","leadConvertedAt":"2024-08-19T15:08:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El AR","lastName":"Real 3D","username":null,"contacts":[{"id":152,"clientId":148,"email":"elarquijuve@gmail.com","phone":"41818781806","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":147,"clientId":148,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Qh0pTQM9a96D8B","clientZoneVisible":true},{"id":148,"clientId":148,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180834778043086","clientZoneVisible":true},{"id":151,"clientId":148,"customAttributeId":8,"name":"conekta","key":"conekta","value":"aasdad","clientZoneVisible":true}],"accountBalance":-1930,"accountCredit":0,"accountOutstanding":1930,"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":1568,"clientId":148,"number":"001525","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":"2025-03-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1571,"type":"service","label":"plan300 01\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-06 6:25:04.119048] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-06 6:25:04.119102] [debug] Numero de cel obtenido - -[2025-03-06 6:25:04.119112] [warning] No se encontró un teléfono celular válido para el cliente: 148 -[2025-03-06 6:25:04.231956] [notice] Logging level set to:debug -[2025-03-06 6:25:04.371824] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-06 6:25:04.371886] [debug] Valor de JSON: {"uuid":"b79c4270-9f90-40f9-934d-fcecba5878f8","changeType":"overdue","entity":"invoice","entityId":"1571","eventName":"invoice.overdue","extraData":{"entity":{"id":1571,"clientId":162,"number":"001528","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":"2025-03-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1574,"type":"service","label":"PREMIUM 12\/02\/2025 \u2013 28\/02\/2025","price":700,"quantity":0.56666666666667,"total":396.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":128,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":396.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":396.67,"amountPaid":180,"totalUntaxed":396.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":216.67,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":663,"invoiceId":1571,"paymentId":506,"creditNoteId":null,"refundId":null,"amount":180}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Edward","clientLastName":"Elric","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"76 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-06 6:25:04.371984] [debug] Factura vencida - -[2025-03-06 6:25:04.372030] [debug] datos del notification para el invoice overdue:{"uuid":"b79c4270-9f90-40f9-934d-fcecba5878f8","changeType":"overdue","entity":"invoice","entityId":1571,"message":null,"clientId":162,"eventName":"invoice.overdue","clientData":{"id":162,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":"2025-01-10T10:32:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Edward","lastName":"Elric","username":null,"contacts":[{"id":166,"clientId":162,"email":"eduardelric@gmail.com","phone":"5214181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":159,"clientId":162,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"434876867834423324","clientZoneVisible":true},{"id":160,"clientId":162,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RYsuykCEvupaGF","clientZoneVisible":true},{"id":161,"clientId":162,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180599808752427","clientZoneVisible":true}],"accountBalance":-216.67,"accountCredit":0,"accountOutstanding":216.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d84315","addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1571,"clientId":162,"number":"001528","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":"2025-03-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1574,"type":"service","label":"PREMIUM 12\/02\/2025 \u2013 28\/02\/2025","price":700,"quantity":0.56666666666667,"total":396.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":128,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":396.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":396.67,"amountPaid":180,"totalUntaxed":396.67,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":216.67,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":663,"invoiceId":1571,"paymentId":506,"creditNoteId":null,"refundId":null,"amount":180}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Edward","clientLastName":"Elric","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"76 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-06 6:25:04.372059] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-06 6:25:04.372112] [debug] Numero de cel obtenido - -[2025-03-06 6:25:04.372123] [warning] No se encontró un teléfono celular válido para el cliente: 162 -[2025-03-06 6:25:04.489782] [notice] Logging level set to:debug -[2025-03-06 6:25:04.623115] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-06 6:25:04.623172] [debug] Valor de JSON: {"uuid":"1256f873-e177-4549-8d89-9dfb8180d6c3","changeType":"overdue","entity":"invoice","entityId":"1573","eventName":"invoice.overdue","extraData":{"entity":{"id":1573,"clientId":141,"number":"001530","createdDate":"2025-02-19T14:18:52-0600","dueDate":"2025-03-05T14:18:52-0600","emailSentDate":"2025-03-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1576,"type":"service","label":"Basico 300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":135,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Caim\u00e1n","clientLastName":"Dorado","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-06 6:25:04.623277] [debug] Factura vencida - -[2025-03-06 6:25:04.623344] [debug] datos del notification para el invoice overdue:{"uuid":"1256f873-e177-4549-8d89-9dfb8180d6c3","changeType":"overdue","entity":"invoice","entityId":1573,"message":null,"clientId":141,"eventName":"invoice.overdue","clientData":{"id":141,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Caim\u00e1n","lastName":"Dorado","username":null,"contacts":[{"id":145,"clientId":141,"email":"caimangolden@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#43a047","addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1573,"clientId":141,"number":"001530","createdDate":"2025-02-19T14:18:52-0600","dueDate":"2025-03-05T14:18:52-0600","emailSentDate":"2025-03-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1576,"type":"service","label":"Basico 300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":135,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Caim\u00e1n","clientLastName":"Dorado","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-06 6:25:04.623368] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-06 6:25:04.623426] [debug] Numero de cel obtenido - -[2025-03-06 6:25:04.623437] [warning] No se encontró un teléfono celular válido para el cliente: 141 -[2025-03-06 6:25:04.737240] [notice] Logging level set to:debug -[2025-03-06 6:25:04.876316] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-06 6:25:04.876374] [debug] Valor de JSON: {"uuid":"ff343fb1-b819-451a-bb6d-e22a0f7ceceb","changeType":"overdue","entity":"invoice","entityId":"1572","eventName":"invoice.overdue","extraData":{"entity":{"id":1572,"clientId":141,"number":"001529","createdDate":"2025-02-19T14:18:52-0600","dueDate":"2025-03-05T14:18:52-0600","emailSentDate":"2025-03-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1575,"type":"service","label":"Basico 300 19\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":0.33333333333333,"total":100,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":135,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":100,"discount":null,"discountLabel":"Descuento","taxes":[],"total":100,"amountPaid":30,"totalUntaxed":100,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":70,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":664,"invoiceId":1572,"paymentId":337,"creditNoteId":null,"refundId":null,"amount":30}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Caim\u00e1n","clientLastName":"Dorado","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-06 6:25:04.876487] [debug] Factura vencida - -[2025-03-06 6:25:04.876529] [debug] datos del notification para el invoice overdue:{"uuid":"ff343fb1-b819-451a-bb6d-e22a0f7ceceb","changeType":"overdue","entity":"invoice","entityId":1572,"message":null,"clientId":141,"eventName":"invoice.overdue","clientData":{"id":141,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Caim\u00e1n","lastName":"Dorado","username":null,"contacts":[{"id":145,"clientId":141,"email":"caimangolden@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#43a047","addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1572,"clientId":141,"number":"001529","createdDate":"2025-02-19T14:18:52-0600","dueDate":"2025-03-05T14:18:52-0600","emailSentDate":"2025-03-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1575,"type":"service","label":"Basico 300 19\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":0.33333333333333,"total":100,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":135,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":100,"discount":null,"discountLabel":"Descuento","taxes":[],"total":100,"amountPaid":30,"totalUntaxed":100,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":70,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":664,"invoiceId":1572,"paymentId":337,"creditNoteId":null,"refundId":null,"amount":30}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Caim\u00e1n","clientLastName":"Dorado","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-06 6:25:04.876547] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-06 6:25:04.876604] [debug] Numero de cel obtenido - -[2025-03-06 6:25:04.876615] [warning] No se encontró un teléfono celular válido para el cliente: 141 -[2025-03-07 6:25:03.314666] [notice] Logging level set to:debug -[2025-03-07 6:25:03.705863] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-07 6:25:03.705920] [debug] Valor de JSON: {"uuid":"035584ba-562e-4852-879f-e4b1f65ee1eb","changeType":"overdue","entity":"invoice","entityId":"1574","eventName":"invoice.overdue","extraData":{"entity":{"id":1574,"clientId":121,"number":"001531","createdDate":"2025-02-20T10:00:02-0600","dueDate":"2025-03-06T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-18T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1577,"type":"service","label":"INTERMEDIO 20\/01\/2025 \u2013 19\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":106,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"flor","clientLastName":"marquez gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"plutarco elias calles 8,lindavista","clientStreet2":"enfrente del parque","clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-07 6:25:03.706125] [debug] Factura vencida - -[2025-03-07 6:25:03.706173] [debug] datos del notification para el invoice overdue:{"uuid":"035584ba-562e-4852-879f-e4b1f65ee1eb","changeType":"overdue","entity":"invoice","entityId":1574,"message":null,"clientId":121,"eventName":"invoice.overdue","clientData":{"id":121,"userIdent":"-105.998","previousIsp":"angel","isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"plutarco elias calles 8,lindavista","street2":"enfrente del parque","city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"plutarco elias calles 8,lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":false,"invoiceMaturityDays":null,"stopServiceDue":false,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-05-20T00:00:00-0600","leadConvertedAt":"2024-05-20T13:45:39-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"flor","lastName":"marquez gonzalez","username":null,"contacts":[{"id":125,"clientId":121,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":120,"clientId":121,"customAttributeId":2,"name":"CelularNotificaciones","key":"celularnotificaciones","value":"172.16.117.243","clientZoneVisible":true},{"id":121,"clientId":121,"customAttributeId":4,"name":"Whatsapp","key":"whatsapp","value":"Siip.567","clientZoneVisible":true},{"id":122,"clientId":121,"customAttributeId":5,"name":"uuid","key":"uuid","value":"admin1343","clientZoneVisible":true},{"id":123,"clientId":121,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"22372x9000055","clientZoneVisible":true},{"id":124,"clientId":121,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"21.9758566","clientZoneVisible":true}],"accountBalance":-4316.67,"accountCredit":0,"accountOutstanding":4316.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.5,"addressGpsLon":-100,"isArchived":false,"generateProformaInvoices":false,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1574,"clientId":121,"number":"001531","createdDate":"2025-02-20T10:00:02-0600","dueDate":"2025-03-06T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-18T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1577,"type":"service","label":"INTERMEDIO 20\/01\/2025 \u2013 19\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":106,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"flor","clientLastName":"marquez gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"plutarco elias calles 8,lindavista","clientStreet2":"enfrente del parque","clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-07 6:25:03.706199] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -contac vacio -[2025-03-07 6:25:03.706346] [debug] Numero de cel obtenido - -[2025-03-07 6:25:03.706358] [warning] No se encontró un teléfono celular válido para el cliente: 121 -[2025-03-07 6:25:03.951894] [notice] Logging level set to:debug -[2025-03-07 6:25:04.143927] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-07 6:25:04.143980] [debug] Valor de JSON: {"uuid":"3bd2132f-90d4-450c-92ec-291a9c902f51","changeType":"overdue","entity":"invoice","entityId":"1575","eventName":"invoice.overdue","extraData":{"entity":{"id":1575,"clientId":122,"number":"001532","createdDate":"2025-02-20T10:00:02-0600","dueDate":"2025-03-06T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-18T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1578,"type":"service","label":"plan300 20\/01\/2025 \u2013 19\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":107,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"MARQUEZ GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PLTARCO 8, LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-07 6:25:04.144088] [debug] Factura vencida - -[2025-03-07 6:25:04.144128] [debug] datos del notification para el invoice overdue:{"uuid":"3bd2132f-90d4-450c-92ec-291a9c902f51","changeType":"overdue","entity":"invoice","entityId":1575,"message":null,"clientId":122,"eventName":"invoice.overdue","clientData":{"id":122,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"PLTARCO 8, LINDAVISTA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"PLTARCO 8, LINDAVISTA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-05-20T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JUDITH","lastName":"MARQUEZ GONZALEZ","username":null,"contacts":[{"id":126,"clientId":122,"email":null,"phone":"55667788","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":125,"clientId":122,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Q8uWOC8sjQem1K","clientZoneVisible":true},{"id":126,"clientId":122,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180296730137251","clientZoneVisible":true}],"accountBalance":-4590,"accountCredit":0,"accountOutstanding":4590,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.171581132292,"addressGpsLon":-100.9286433436,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1575,"clientId":122,"number":"001532","createdDate":"2025-02-20T10:00:02-0600","dueDate":"2025-03-06T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-18T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1578,"type":"service","label":"plan300 20\/01\/2025 \u2013 19\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":107,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"MARQUEZ GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PLTARCO 8, LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-07 6:25:04.144145] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-07 6:25:04.144197] [debug] Numero de cel obtenido - -[2025-03-07 6:25:04.144208] [warning] No se encontró un teléfono celular válido para el cliente: 122 -[2025-03-07 16:00:03.911611] [notice] Logging level set to:debug -[2025-03-07 16:00:04.079209] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-07 16:00:04.079360] [debug] Valor de JSON: {"uuid":"f3e3f37c-7ab2-4a61-9699-d5c23605bfe9","changeType":"insert","entity":"invoice","entityId":"1687","eventName":"invoice.add_draft","extraData":{"entity":{"id":1687,"clientId":116,"number":"001638","createdDate":"2025-03-07T10:00:00-0600","dueDate":"2025-03-21T10:00:00-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-06T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1690,"type":"service","label":"PREMIUM 07\/02\/2025 \u2013 06\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":110,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jos\u00e9 Humberto","clientLastName":"Rodr\u00edguez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"28 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-07 16:00:04.079613] [debug] Adición de borrador de Factura - -[2025-03-07 16:00:04.079704] [debug] {"uuid":"f3e3f37c-7ab2-4a61-9699-d5c23605bfe9","changeType":"insert","entity":"invoice","entityId":1687,"message":null,"clientId":116,"eventName":"invoice.add_draft","clientData":{"id":116,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"28 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 28, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jos\u00e9 Humberto","lastName":"Rodr\u00edguez","username":null,"contacts":[{"id":120,"clientId":116,"email":"josehumberto@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-6300,"accountCredit":0,"accountOutstanding":6300,"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":1687,"clientId":116,"number":"001638","createdDate":"2025-03-07T10:00:00-0600","dueDate":"2025-03-21T10:00:00-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1690,"type":"service","label":"PREMIUM 07\/02\/2025 \u2013 06\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":110,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jos\u00e9 Humberto","clientLastName":"Rodr\u00edguez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"28 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-07 16:00:04.079802] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-07 16:00:04.079843] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"f3e3f37c-7ab2-4a61-9699-d5c23605bfe9","changeType":"insert","entity":"invoice","entityId":1687,"message":null,"clientId":116,"eventName":"invoice.add_draft","clientData":{"id":116,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"28 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 28, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jos\u00e9 Humberto","lastName":"Rodr\u00edguez","username":null,"contacts":[{"id":120,"clientId":116,"email":"josehumberto@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-6300,"accountCredit":0,"accountOutstanding":6300,"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":1687,"clientId":116,"number":"001638","createdDate":"2025-03-07T10:00:00-0600","dueDate":"2025-03-21T10:00:00-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1690,"type":"service","label":"PREMIUM 07\/02\/2025 \u2013 06\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":110,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jos\u00e9 Humberto","clientLastName":"Rodr\u00edguez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"28 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: José Humberto Rodríguez - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Jos\u00e9 Humberto Rodr\u00edguez","custom_fields":{"Cliente":116,"Domicilio":"\ud83d\udccd Chiapas 28, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Jos\u00e9 Humberto Rodr\u00edguez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/116","Saldo Actual":"\ud83d\udcb26300 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"116\",\"Domicilio\": \"\"Nombre\": \"Jos\u00e9 Humberto Rodr\u00edguez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/116\",\"Saldo Actual\": \"\ud83d\udcb26300 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07\/03\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"07\/03\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/03\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 07\/03\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "116","Domicilio": ""Nombre": "José Humberto Rodríguez","URL": "https://sistema.siip.mx/crm/client/116","Saldo Actual": "💲6300 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 07/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "07/03/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"José Humberto Rodríguez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"124180650741646979","Estado":"🔴 Suspendido","Domicilio":"📍 Chiapas 28, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 07/03/2025 10:00","Cliente":"116","URL":"🌐 https://sistema.siip.mx/crm/client/116","Nombre":"👤 José Humberto Rodríguez","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲6300 pendientes","Fecha Ultimo Pago":"📆💸 07/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","user name":"Daniel Humberto 🐁","Resumen":"{\"Cliente\": \"116\",\"Domicilio\": \"\"Nombre\": \"José Humberto Rodríguez\",\"URL\": \"https://sistema.siip.mx/crm/client/116\",\"Saldo Actual\": \"💲6300 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"07/03/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Monto Ultimo Pago":"💲 "},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"José Humberto Rodríguez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"124180650741646979","Estado":"🔴 Suspendido","Domicilio":"📍 Chiapas 28, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 07/03/2025 10:00","Cliente":"116","URL":"🌐 https://sistema.siip.mx/crm/client/116","Nombre":"👤 José Humberto Rodríguez","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲6300 pendientes","Fecha Ultimo Pago":"📆💸 07/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","user name":"Daniel Humberto 🐁","Resumen":"{\"Cliente\": \"116\",\"Domicilio\": \"\"Nombre\": \"José Humberto Rodríguez\",\"URL\": \"https://sistema.siip.mx/crm/client/116\",\"Saldo Actual\": \"💲6300 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"07/03/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Monto Ultimo Pago":"💲 "},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-07 16:00:06.954504] [notice] Logging level set to:debug -[2025-03-07 16:00:07.107105] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-07 16:00:07.107260] [debug] Valor de JSON: {"uuid":"30d819c6-f7ec-45c8-9814-467ef5fd03ab","changeType":"draft_approved","entity":"invoice","entityId":"1687","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1687,"clientId":116,"number":"001638","createdDate":"2025-03-07T10:00:00-0600","dueDate":"2025-03-21T10:00:00-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-06T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1690,"type":"service","label":"PREMIUM 07\/02\/2025 \u2013 06\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":110,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jos\u00e9 Humberto","clientLastName":"Rodr\u00edguez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"28 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-07 16:00:07.107424] [debug] Aprobación de Factura - -[2025-03-07 16:00:07.107603] [debug] {"uuid":"30d819c6-f7ec-45c8-9814-467ef5fd03ab","changeType":"draft_approved","entity":"invoice","entityId":1687,"message":null,"clientId":116,"eventName":"invoice.draft_approved","clientData":{"id":116,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"28 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 28, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jos\u00e9 Humberto","lastName":"Rodr\u00edguez","username":null,"contacts":[{"id":120,"clientId":116,"email":"josehumberto@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-6300,"accountCredit":0,"accountOutstanding":6300,"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":1687,"clientId":116,"number":"001638","createdDate":"2025-03-07T10:00:00-0600","dueDate":"2025-03-21T10:00:00-0600","emailSentDate":"2025-03-07T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1690,"type":"service","label":"PREMIUM 07\/02\/2025 \u2013 06\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":110,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jos\u00e9 Humberto","clientLastName":"Rodr\u00edguez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"28 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-07 16:00:07.107692] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-07 16:00:07.107733] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"30d819c6-f7ec-45c8-9814-467ef5fd03ab","changeType":"draft_approved","entity":"invoice","entityId":1687,"message":null,"clientId":116,"eventName":"invoice.draft_approved","clientData":{"id":116,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"28 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 28, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jos\u00e9 Humberto","lastName":"Rodr\u00edguez","username":null,"contacts":[{"id":120,"clientId":116,"email":"josehumberto@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-6300,"accountCredit":0,"accountOutstanding":6300,"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":1687,"clientId":116,"number":"001638","createdDate":"2025-03-07T10:00:00-0600","dueDate":"2025-03-21T10:00:00-0600","emailSentDate":"2025-03-07T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1690,"type":"service","label":"PREMIUM 07\/02\/2025 \u2013 06\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":110,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jos\u00e9 Humberto","clientLastName":"Rodr\u00edguez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"28 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: José Humberto Rodríguez - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Jos\u00e9 Humberto Rodr\u00edguez","custom_fields":{"Cliente":116,"Domicilio":"\ud83d\udccd Chiapas 28, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Jos\u00e9 Humberto Rodr\u00edguez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/116","Saldo Actual":"\ud83d\udcb26300 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"116\",\"Domicilio\": \"\"Nombre\": \"Jos\u00e9 Humberto Rodr\u00edguez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/116\",\"Saldo Actual\": \"\ud83d\udcb26300 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07\/03\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"07\/03\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/03\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 07\/03\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "116","Domicilio": ""Nombre": "José Humberto Rodríguez","URL": "https://sistema.siip.mx/crm/client/116","Saldo Actual": "💲6300 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 07/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "07/03/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"José Humberto Rodríguez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"124180650741646979","Estado":"🔴 Suspendido","Domicilio":"📍 Chiapas 28, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 07/03/2025 10:00","Cliente":"116","URL":"🌐 https://sistema.siip.mx/crm/client/116","Nombre":"👤 José Humberto Rodríguez","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲6300 pendientes","Fecha Ultimo Pago":"📆💸 07/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","user name":"Daniel Humberto 🐁","Resumen":"{\"Cliente\": \"116\",\"Domicilio\": \"\"Nombre\": \"José Humberto Rodríguez\",\"URL\": \"https://sistema.siip.mx/crm/client/116\",\"Saldo Actual\": \"💲6300 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"07/03/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Monto Ultimo Pago":"💲 "},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"José Humberto Rodríguez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"124180650741646979","Estado":"🔴 Suspendido","Domicilio":"📍 Chiapas 28, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 07/03/2025 10:00","Cliente":"116","URL":"🌐 https://sistema.siip.mx/crm/client/116","Nombre":"👤 José Humberto Rodríguez","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲6300 pendientes","Fecha Ultimo Pago":"📆💸 07/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","user name":"Daniel Humberto 🐁","Resumen":"{\"Cliente\": \"116\",\"Domicilio\": \"\"Nombre\": \"José Humberto Rodríguez\",\"URL\": \"https://sistema.siip.mx/crm/client/116\",\"Saldo Actual\": \"💲6300 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"07/03/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Monto Ultimo Pago":"💲 "},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-07 16:00:10.337910] [notice] Logging level set to:debug -[2025-03-07 16:00:10.483190] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-07 16:00:10.483340] [debug] Valor de JSON: {"uuid":"c3bd4334-f144-42ba-9b84-27959c46b2d3","changeType":"insert","entity":"invoice","entityId":"1688","eventName":"invoice.add_draft","extraData":{"entity":{"id":1688,"clientId":110,"number":"001639","createdDate":"2025-03-07T10:00:00-0600","dueDate":"2025-03-21T10:00:00-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-06T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1691,"type":"service","label":"plan300 07\/02\/2025 \u2013 06\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":109,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Maria la del Barrio","clientLastName":"Soy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"67 Morelos","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37805","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-07 16:00:10.483486] [debug] Adición de borrador de Factura - -[2025-03-07 16:00:10.483566] [debug] {"uuid":"c3bd4334-f144-42ba-9b84-27959c46b2d3","changeType":"insert","entity":"invoice","entityId":1688,"message":null,"clientId":110,"eventName":"invoice.add_draft","clientData":{"id":110,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"67 Morelos","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37805","fullAddress":"Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-23T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Maria la del Barrio","lastName":"Soy","username":null,"contacts":[{"id":114,"clientId":110,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-2700,"accountCredit":0,"accountOutstanding":2700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef6c00","addressGpsLat":21.1464449,"addressGpsLon":-100.9141442,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1688,"clientId":110,"number":"001639","createdDate":"2025-03-07T10:00:00-0600","dueDate":"2025-03-21T10:00:00-0600","emailSentDate":"2025-03-07T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1691,"type":"service","label":"plan300 07\/02\/2025 \u2013 06\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":109,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Maria la del Barrio","clientLastName":"Soy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"67 Morelos","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37805","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-07 16:00:10.483653] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-07 16:00:10.483803] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"c3bd4334-f144-42ba-9b84-27959c46b2d3","changeType":"insert","entity":"invoice","entityId":1688,"message":null,"clientId":110,"eventName":"invoice.add_draft","clientData":{"id":110,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"67 Morelos","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37805","fullAddress":"Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-23T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Maria la del Barrio","lastName":"Soy","username":null,"contacts":[{"id":114,"clientId":110,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-2700,"accountCredit":0,"accountOutstanding":2700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef6c00","addressGpsLat":21.1464449,"addressGpsLon":-100.9141442,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1688,"clientId":110,"number":"001639","createdDate":"2025-03-07T10:00:00-0600","dueDate":"2025-03-21T10:00:00-0600","emailSentDate":"2025-03-07T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1691,"type":"service","label":"plan300 07\/02\/2025 \u2013 06\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":109,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Maria la del Barrio","clientLastName":"Soy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"67 Morelos","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37805","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Maria la del Barrio Soy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Maria la del Barrio Soy","custom_fields":{"Cliente":110,"Domicilio":"\ud83d\udccd Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Maria la del Barrio Soy","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/110","Saldo Actual":"\ud83d\udcb22700 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"110\",\"Domicilio\": \"\"Nombre\": \"Maria la del Barrio Soy\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/110\",\"Saldo Actual\": \"\ud83d\udcb22700 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07\/03\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"07\/03\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/03\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 07\/03\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "110","Domicilio": ""Nombre": "Maria la del Barrio Soy","URL": "https://sistema.siip.mx/crm/client/110","Saldo Actual": "💲2700 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 07/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "07/03/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Maria la del Barrio Soy","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"124180650741646979","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 07/03/2025 10:00","Cliente":"110","URL":"🌐 https://sistema.siip.mx/crm/client/110","Nombre":"👤 Maria la del Barrio Soy","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲2700 pendientes","Fecha Ultimo Pago":"📆💸 07/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","user name":"Daniel Humberto 🐁","Resumen":"{\"Cliente\": \"110\",\"Domicilio\": \"\"Nombre\": \"Maria la del Barrio Soy\",\"URL\": \"https://sistema.siip.mx/crm/client/110\",\"Saldo Actual\": \"💲2700 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"07/03/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Monto Ultimo Pago":"💲 ","Domicilio":"📍 Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Maria la del Barrio Soy","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"124180650741646979","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 07/03/2025 10:00","Cliente":"110","URL":"🌐 https://sistema.siip.mx/crm/client/110","Nombre":"👤 Maria la del Barrio Soy","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲2700 pendientes","Fecha Ultimo Pago":"📆💸 07/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","user name":"Daniel Humberto 🐁","Resumen":"{\"Cliente\": \"110\",\"Domicilio\": \"\"Nombre\": \"Maria la del Barrio Soy\",\"URL\": \"https://sistema.siip.mx/crm/client/110\",\"Saldo Actual\": \"💲2700 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"07/03/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Monto Ultimo Pago":"💲 ","Domicilio":"📍 Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-07 16:00:13.886265] [notice] Logging level set to:debug -[2025-03-07 16:00:14.036057] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-07 16:00:14.036238] [debug] Valor de JSON: {"uuid":"a16a23e5-56fe-43c8-84dc-8d890a0cfbc3","changeType":"draft_approved","entity":"invoice","entityId":"1688","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1688,"clientId":110,"number":"001639","createdDate":"2025-03-07T10:00:00-0600","dueDate":"2025-03-21T10:00:00-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-06T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1691,"type":"service","label":"plan300 07\/02\/2025 \u2013 06\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":109,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Maria la del Barrio","clientLastName":"Soy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"67 Morelos","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37805","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-07 16:00:14.036459] [debug] Aprobación de Factura - -[2025-03-07 16:00:14.036565] [debug] {"uuid":"a16a23e5-56fe-43c8-84dc-8d890a0cfbc3","changeType":"draft_approved","entity":"invoice","entityId":1688,"message":null,"clientId":110,"eventName":"invoice.draft_approved","clientData":{"id":110,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"67 Morelos","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37805","fullAddress":"Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-23T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Maria la del Barrio","lastName":"Soy","username":null,"contacts":[{"id":114,"clientId":110,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-2700,"accountCredit":0,"accountOutstanding":2700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef6c00","addressGpsLat":21.1464449,"addressGpsLon":-100.9141442,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1688,"clientId":110,"number":"001639","createdDate":"2025-03-07T10:00:00-0600","dueDate":"2025-03-21T10:00:00-0600","emailSentDate":"2025-03-07T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1691,"type":"service","label":"plan300 07\/02\/2025 \u2013 06\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":109,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Maria la del Barrio","clientLastName":"Soy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"67 Morelos","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37805","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-07 16:00:14.036664] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-07 16:00:14.036719] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"a16a23e5-56fe-43c8-84dc-8d890a0cfbc3","changeType":"draft_approved","entity":"invoice","entityId":1688,"message":null,"clientId":110,"eventName":"invoice.draft_approved","clientData":{"id":110,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"67 Morelos","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37805","fullAddress":"Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-23T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Maria la del Barrio","lastName":"Soy","username":null,"contacts":[{"id":114,"clientId":110,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-2700,"accountCredit":0,"accountOutstanding":2700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef6c00","addressGpsLat":21.1464449,"addressGpsLon":-100.9141442,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1688,"clientId":110,"number":"001639","createdDate":"2025-03-07T10:00:00-0600","dueDate":"2025-03-21T10:00:00-0600","emailSentDate":"2025-03-07T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1691,"type":"service","label":"plan300 07\/02\/2025 \u2013 06\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":109,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Maria la del Barrio","clientLastName":"Soy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"67 Morelos","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37805","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Maria la del Barrio Soy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Maria la del Barrio Soy","custom_fields":{"Cliente":110,"Domicilio":"\ud83d\udccd Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Maria la del Barrio Soy","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/110","Saldo Actual":"\ud83d\udcb22700 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"110\",\"Domicilio\": \"\"Nombre\": \"Maria la del Barrio Soy\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/110\",\"Saldo Actual\": \"\ud83d\udcb22700 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07\/03\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"07\/03\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/03\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 07\/03\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "110","Domicilio": ""Nombre": "Maria la del Barrio Soy","URL": "https://sistema.siip.mx/crm/client/110","Saldo Actual": "💲2700 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 07/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "07/03/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Maria la del Barrio Soy","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"124180650741646979","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 07/03/2025 10:00","Cliente":"110","URL":"🌐 https://sistema.siip.mx/crm/client/110","Nombre":"👤 Maria la del Barrio Soy","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲2700 pendientes","Fecha Ultimo Pago":"📆💸 07/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","user name":"Daniel Humberto 🐁","Resumen":"{\"Cliente\": \"110\",\"Domicilio\": \"\"Nombre\": \"Maria la del Barrio Soy\",\"URL\": \"https://sistema.siip.mx/crm/client/110\",\"Saldo Actual\": \"💲2700 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"07/03/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Monto Ultimo Pago":"💲 ","Domicilio":"📍 Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Maria la del Barrio Soy","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"124180650741646979","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 07/03/2025 10:00","Cliente":"110","URL":"🌐 https://sistema.siip.mx/crm/client/110","Nombre":"👤 Maria la del Barrio Soy","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲2700 pendientes","Fecha Ultimo Pago":"📆💸 07/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","user name":"Daniel Humberto 🐁","Resumen":"{\"Cliente\": \"110\",\"Domicilio\": \"\"Nombre\": \"Maria la del Barrio Soy\",\"URL\": \"https://sistema.siip.mx/crm/client/110\",\"Saldo Actual\": \"💲2700 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"07/03/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Monto Ultimo Pago":"💲 ","Domicilio":"📍 Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-07 21:08:01.635626] [notice] Logging level set to:debug -[2025-03-07 21:08:01.635896] [info] No UUID found in the webhook data -[2025-03-07 21:08:01.635982] [info] Evento de referencia de oxxo recibido - -[2025-03-07 21:08:01.636044] [info] Referencia persnoalizada, Valor del monto: 180 - -[2025-03-07 21:08:01.636111] [info] Creando referencia del cliente para OXXO: - -[2025-03-07 21:08:01.746814] [error] Cliente no encontrado en CRM: 5000 - -[2025-03-07 23:42:53.702059] [notice] Logging level set to:debug -[2025-03-07 23:42:53.702303] [info] No UUID found in the webhook data -[2025-03-07 23:42:53.702362] [info] Evento de referencia de oxxo recibido - -[2025-03-07 23:42:53.702400] [info] Referencia persnoalizada, Valor del monto: 180 - -[2025-03-07 23:42:53.702455] [info] Creando referencia del cliente para OXXO: - -[2025-03-07 23:42:53.808912] [error] Cliente no encontrado en CRM: 5000 - -[2025-03-07 23:43:40.781397] [notice] Logging level set to:debug -[2025-03-07 23:43:40.781538] [info] No UUID found in the webhook data -[2025-03-07 23:43:40.781558] [info] Evento de referencia de oxxo recibido - -[2025-03-07 23:43:40.781570] [info] Referencia persnoalizada, Valor del monto: 180 - -[2025-03-07 23:43:40.781584] [info] Creando referencia del cliente para OXXO: - -[2025-03-07 23:43:40.916281] [error] Cliente no encontrado en CRM: 5000 - -[2025-03-07 23:49:04.095243] [notice] Logging level set to:debug -[2025-03-07 23:49:04.095465] [info] No UUID found in the webhook data -[2025-03-07 23:49:04.095504] [info] Evento de referencia de oxxo recibido - -[2025-03-07 23:49:04.095526] [info] Referencia persnoalizada, Valor del monto: 180 - -[2025-03-07 23:49:04.095549] [info] Creando referencia del cliente para OXXO: - -[2025-03-07 23:49:04.200289] [error] Cliente no encontrado en CRM: 5000 - -[2025-03-07 23:50:46.559631] [notice] Logging level set to:debug -[2025-03-07 23:50:46.560235] [info] No UUID found in the webhook data -[2025-03-07 23:50:46.560389] [info] Evento de referencia de oxxo recibido - -[2025-03-07 23:50:46.560476] [info] Referencia persnoalizada, Valor del monto: 180 - -[2025-03-07 23:50:46.560570] [info] Creando referencia del cliente para OXXO: - -[2025-03-07 23:50:46.662642] [error] Cliente no encontrado en CRM: 5000 - -[2025-03-07 23:51:25.550153] [notice] Logging level set to:debug -[2025-03-07 23:51:25.550343] [info] No UUID found in the webhook data -[2025-03-07 23:51:25.550369] [info] Evento de referencia de oxxo recibido - -[2025-03-07 23:51:25.550384] [info] Referencia persnoalizada, Valor del monto: 180 - -[2025-03-07 23:51:25.550405] [info] Creando referencia del cliente para OXXO: - -[2025-03-07 23:51:25.657694] [error] Cliente no encontrado en CRM: 5000 - -[2025-03-07 23:51:25.658046] [info] Referencia personalizada, Valor de la respuesta: {"oxxo_reference":"","error":"errorGetClientNotFound","failDescription":"Cliente no encontrado en CRM: 5000","clientID":5000,"amount":180} - -[2025-03-07 23:53:33.858942] [notice] Logging level set to:debug -[2025-03-07 23:53:33.859051] [info] No UUID found in the webhook data -[2025-03-07 23:53:33.859067] [info] Evento de referencia de oxxo recibido - -[2025-03-07 23:53:33.859076] [info] Referencia persnoalizada, Valor del monto: 180 - -[2025-03-07 23:53:33.859086] [info] Creando referencia del cliente para OXXO: - -[2025-03-07 23:53:34.006561] [error] Cliente no encontrado en CRM: 5000 - -[2025-03-07 23:53:34.007093] [info] Referencia personalizada, Valor de la respuesta: {"oxxo_reference":"","url":"","error":"errorGetClientNotFound","failDescription":"Cliente no encontrado en CRM: 5000","clientID":5000,"amount":180} - -[2025-03-07 23:53:34.007128] [info] Creando referencia del cliente para OXXO: - -[2025-03-07 23:53:34.104871] [error] Cliente no encontrado en CRM: 5000 - -[2025-03-07 23:53:34.105494] [info] Referencia personalizada, Valor de la respuesta: {"oxxo_reference":"","url":"","error":"errorGetClientNotFound","failDescription":"Cliente no encontrado en CRM: 5000","clientID":5000,"amount":180} - -[2025-03-07 23:53:34.105535] [info] Creando referencia del cliente para OXXO: - -[2025-03-07 23:53:34.208075] [error] Cliente no encontrado en CRM: 5000 - -[2025-03-07 23:53:34.208676] [info] Referencia personalizada, Valor de la respuesta: {"oxxo_reference":"","url":"","error":"errorGetClientNotFound","failDescription":"Cliente no encontrado en CRM: 5000","clientID":5000,"amount":180} - -[2025-03-07 23:53:34.208745] [error] Error al crear la referencia de OXXO: Array -[2025-03-07 23:54:43.714870] [notice] Logging level set to:debug -[2025-03-07 23:54:43.715302] [info] No UUID found in the webhook data -[2025-03-07 23:54:43.715418] [info] Evento de referencia de oxxo recibido - -[2025-03-07 23:54:43.715485] [info] Referencia persnoalizada, Valor del monto: 180 - -[2025-03-07 23:54:43.715555] [info] Creando referencia del cliente para OXXO: - -[2025-03-07 23:54:43.825577] [error] Cliente no encontrado en CRM: 5000 - -[2025-03-07 23:54:43.826215] [info] Referencia personalizada, Valor de la respuesta: {"oxxo_reference":"","url":"","error":"errorGetClientNotFound","failDescription":"Cliente no encontrado en CRM: 5000","clientID":5000,"amount":180} - -[2025-03-07 23:54:43.826253] [info] Creando referencia del cliente para OXXO: - -[2025-03-07 23:54:43.910031] [error] Cliente no encontrado en CRM: 5000 - -[2025-03-07 23:54:43.910598] [info] Referencia personalizada, Valor de la respuesta: {"oxxo_reference":"","url":"","error":"errorGetClientNotFound","failDescription":"Cliente no encontrado en CRM: 5000","clientID":5000,"amount":180} - -[2025-03-07 23:54:43.910725] [info] Creando referencia del cliente para OXXO: - -[2025-03-07 23:54:44.001255] [error] Cliente no encontrado en CRM: 5000 - -[2025-03-07 23:54:44.001733] [info] Referencia personalizada, Valor de la respuesta: {"oxxo_reference":"","url":"","error":"errorGetClientNotFound","failDescription":"Cliente no encontrado en CRM: 5000","clientID":5000,"amount":180} - -[2025-03-07 23:54:55.569945] [notice] Logging level set to:debug -[2025-03-07 23:54:55.570132] [info] No UUID found in the webhook data -[2025-03-07 23:54:55.570164] [info] Evento de referencia de oxxo recibido - -[2025-03-07 23:54:55.570185] [info] Referencia persnoalizada, Valor del monto: 180 - -[2025-03-07 23:54:55.570204] [info] Creando referencia del cliente para OXXO: - -[2025-03-07 23:54:55.705035] [info] Stripe Customer ID obtenido: cus_PetN1dhr4rx0kX - -[2025-03-07 23:54:55.705080] [info] Monto proporcionado directamente: 180 - -[2025-03-07 23:54:55.705091] [info] Creando referencia en Stripe por 18000 para el cliente cus_PetN1dhr4rx0kX - -[2025-03-07 23:54:57.212049] [info] Referencia OXXO: 12345678901234657890123456789012 - -[2025-03-07 23:54:57.212155] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9SdHlndVMwS0N3WFZVSWswZlN1a2I4dWpmVnRxaXZp0100wyUVR5l6 - -[2025-03-07 23:54:57.212188] [info] Referencia OXXO creada correctamente. - -[2025-03-07 23:54:57.217281] [info] Referencia personalizada, Valor de la respuesta: {"oxxo_reference":"12345678901234657890123456789012","url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9SdHlndVMwS0N3WFZVSWswZlN1a2I4dWpmVnRxaXZp0100wyUVR5l6","clientID":2,"amount":18000,"failDescription":"","error":""} - -[2025-03-07 23:54:57.217384] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9SdHlndVMwS0N3WFZVSWswZlN1a2I4dWpmVnRxaXZp0100wyUVR5l6","oxxo_reference": "12345678901234657890123456789012","error": "","failDescription": "","clientID": "2","amount": "18000"} -[2025-03-07 23:57:59.599963] [notice] Logging level set to:debug -[2025-03-07 23:57:59.732244] [debug] valor el evento recibido por webhook: payment.add - -[2025-03-07 23:57:59.732296] [debug] Valor de JSON: {"uuid":"9cf23ea4-f468-4caa-b135-512841b1cf76","changeType":"insert","entity":"payment","entityId":"604","eventName":"payment.add","extraData":{"entity":{"id":604,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T17:57:59-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":180,"userId":null,"attributes":[]},"entityBeforeEdit":null}} - -[2025-03-07 23:57:59.732542] [debug] Notification encodificado en JSON:{"uuid":"9cf23ea4-f468-4caa-b135-512841b1cf76","changeType":"insert","entity":"payment","entityId":604,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas danydhsv2","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1733.33,"accountCredit":1733.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":604,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T17:57:59-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":180,"userId":null,"attributes":[]}} - -[2025-03-07 23:57:59.732577] [debug] valor del payment data: {"id":604,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T17:57:59-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":180,"userId":null,"attributes":[]} - -[2025-03-07 23:57:59.732646] [info] {"WhatsApp":["5214181878106"]} -[2025-03-07 23:57:59.732659] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-07 23:57:59.732820] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-07 23:57:59.732835] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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_danydhsv2.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_danydhsv2.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_danydhsv2.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_danydhsv2.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_danydhsv2.png - -No se pudo obtener la lista de archivos de la carpeta FTP - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_danydhsv2.png" - }, - "template_values": ["Daniel Humberto Soto Villegas danydhsv2", "$180", "$1733.33 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"e7bb1ba0363d4cc586a0c068e63b7d1d","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":"9cf23ea4-f468-4caa-b135-512841b1cf76","changeType":"insert","entity":"payment","entityId":604,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas danydhsv2","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1733.33,"accountCredit":1733.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":604,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T17:57:59-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":180,"userId":null,"attributes":[]}} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":604,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T17:57:59-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":180,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas danydhsv2 - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas danydhsv2","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas danydhsv2","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb21733.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 180","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas danydhsv2\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb21733.33 a favor\",\"Monto Ultimo Pago\": \"$ 180\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 07\/03\/2025 17:57 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"07\/03\/2025 17:58\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/03\/2025 17:57 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 07\/03\/2025 17:58","Clabe Interbancaria":null,"Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas danydhsv2","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲1733.33 a favor","Monto Ultimo Pago": "$ 180","Estado": "Activo","Fecha Ultimo Pago": " 07/03/2025 17:57 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "07/03/2025 17:58","Clabe Interbancaria": "","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas danydhsv2","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"124180650741646979","Estado":"🟢 Activo ","Fecha Ultima Actualizacion":"📆🔄️ 07/03/2025 17:58","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas danydhsv2","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1733.33 a favor","Fecha Ultimo Pago":"📆💸 07/03/2025 17:57 con Tarjeta de crédito Stripe 💳","user name":"Daniel Humberto 🐁","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas danydhsv2\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1733.33 a favor\",\"Monto Ultimo Pago\": \"$ 180\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 07/03/2025 17:57 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"07/03/2025 17:58\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Monto Ultimo Pago":"💲 180","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas danydhsv2","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"124180650741646979","Estado":"🟢 Activo ","Fecha Ultima Actualizacion":"📆🔄️ 07/03/2025 17:58","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas danydhsv2","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1733.33 a favor","Fecha Ultimo Pago":"📆💸 07/03/2025 17:57 con Tarjeta de crédito Stripe 💳","user name":"Daniel Humberto 🐁","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas danydhsv2\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1733.33 a favor\",\"Monto Ultimo Pago\": \"$ 180\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 07/03/2025 17:57 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"07/03/2025 17:58\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Monto Ultimo Pago":"💲 180","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-07 23:58:06.902846] [notice] Logging level set to:debug -[2025-03-07 23:58:07.020522] [debug] valor el evento recibido por webhook: payment.edit - -[2025-03-07 23:58:07.020582] [debug] Valor de JSON: {"uuid":"cb8c966c-58c8-4d21-987f-c623670be409","changeType":"edit","entity":"payment","entityId":"604","eventName":"payment.edit","extraData":{"entity":{"id":604,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T17:57:59-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":180,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":604,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T17:57:59-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":180,"userId":null,"attributes":[]}}} - -[2025-03-07 23:58:47.224304] [notice] Logging level set to:debug -[2025-03-07 23:58:47.224426] [info] No UUID found in the webhook data -[2025-03-07 23:58:47.224447] [info] Evento de referencia de oxxo recibido - -[2025-03-07 23:58:47.224458] [info] Referencia persnoalizada, Valor del monto: 180 - -[2025-03-07 23:58:47.224471] [info] Creando referencia del cliente para OXXO: - -[2025-03-07 23:58:47.329145] [error] Cliente no encontrado en CRM: 2000 - -[2025-03-07 23:58:47.329586] [info] Referencia personalizada, Valor de la respuesta: {"oxxo_reference":"","url":"","error":"errorGetClientNotFound","failDescription":"Cliente no encontrado en CRM: 2000","clientID":2000,"amount":180} - -[2025-03-07 23:58:47.329680] [info] Creando referencia del cliente para OXXO: - -[2025-03-07 23:58:47.409563] [error] Cliente no encontrado en CRM: 2000 - -[2025-03-07 23:58:47.409948] [info] Referencia personalizada, Valor de la respuesta: {"oxxo_reference":"","url":"","error":"errorGetClientNotFound","failDescription":"Cliente no encontrado en CRM: 2000","clientID":2000,"amount":180} - -[2025-03-07 23:58:47.410104] [info] Creando referencia del cliente para OXXO: - -[2025-03-07 23:58:47.489938] [error] Cliente no encontrado en CRM: 2000 - -[2025-03-07 23:58:47.490369] [info] Referencia personalizada, Valor de la respuesta: {"oxxo_reference":"","url":"","error":"errorGetClientNotFound","failDescription":"Cliente no encontrado en CRM: 2000","clientID":2000,"amount":180} - -[2025-03-07 23:59:34.977401] [notice] Logging level set to:debug -[2025-03-07 23:59:34.977575] [info] No UUID found in the webhook data -[2025-03-07 23:59:34.977607] [info] Evento de referencia de oxxo recibido - -[2025-03-07 23:59:34.977847] [info] Referencia persnoalizada, Valor del monto: 100 - -[2025-03-07 23:59:34.977916] [info] Creando referencia del cliente para OXXO: - -[2025-03-07 23:59:35.099699] [info] Valor de arrayClientCRM: Array -( - [id] => 2 - [userIdent] => - [previousIsp] => - [isLead] => - [clientType] => 1 - [companyName] => - [companyRegistrationNumber] => - [companyTaxId] => - [companyWebsite] => - [street1] => 31 Chiapas - [street2] => - [city] => Dolores Hidalgo Cuna de la Independencia Nacional - [countryId] => 173 - [stateId] => - [zipCode] => 37800 - [fullAddress] => Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México - [invoiceStreet1] => - [invoiceStreet2] => - [invoiceCity] => - [invoiceStateId] => - [invoiceCountryId] => - [invoiceZipCode] => - [invoiceAddressSameAsContact] => 1 - [note] => Cliente espacial, el más chido - [sendInvoiceByPost] => - [invoiceMaturityDays] => - [stopServiceDue] => - [stopServiceDueDays] => - [organizationId] => 1 - [tax1Id] => - [tax2Id] => - [tax3Id] => - [registrationDate] => 2024-01-25T00:00:00-0600 - [leadConvertedAt] => - [companyContactFirstName] => - [companyContactLastName] => - [isActive] => 1 - [firstName] => Daniel Humberto - [lastName] => Soto Villegas danydhsv2 - [username] => danydhsv - [contacts] => Array - ( - [0] => Array - ( - [id] => 2 - [clientId] => 2 - [email] => dhsv.141089@gmail.com - [phone] => 5214181878106 - [name] => Personal - [isBilling] => - [isContact] => - [types] => Array - ( - [0] => Array - ( - [id] => 1000 - [name] => WhatsApp - ) - - ) - - ) - - [1] => Array - ( - [id] => 170 - [clientId] => 2 - [email] => - [phone] => 5214181817609 - [name] => Bussiness - [isBilling] => - [isContact] => - [types] => Array - ( - ) - - ) - - ) - - [attributes] => Array - ( - [0] => Array - ( - [id] => 112 - [clientId] => 2 - [customAttributeId] => 10 - [name] => Stripe Customer ID - [key] => stripeCustomerId - [value] => cus_PetN1dhr4rx0kX - [clientZoneVisible] => 1 - ) - - [1] => Array - ( - [id] => 113 - [clientId] => 2 - [customAttributeId] => 11 - [name] => Clabe Interbancaria - [key] => clabeInterbancaria - [value] => 0021804341999569810 - [clientZoneVisible] => 1 - ) - - [2] => Array - ( - [id] => 178 - [clientId] => 2 - [customAttributeId] => 15 - [name] => Site - [key] => site - [value] => 0LOCS - [clientZoneVisible] => - ) - - [3] => Array - ( - [id] => 179 - [clientId] => 2 - [customAttributeId] => 16 - [name] => Antena/Sectorial - [key] => antenaSectorial - [value] => Sectorial-4b 172.16.13.16/24 - [clientZoneVisible] => - ) - - ) - - [accountBalance] => 1733.33 - [accountCredit] => 1733.33 - [accountOutstanding] => 0 - [currencyCode] => MXN - [organizationName] => SIIP Pruebas - [bankAccounts] => Array - ( - ) - - [tags] => Array - ( - [0] => Array - ( - [id] => 2 - [name] => NS EXENTO - [colorBackground] => #42a3df - [colorText] => #fff - ) - - ) - - [invitationEmailSentDate] => - [avatarColor] => #f1df43 - [addressGpsLat] => 21.1564209 - [addressGpsLon] => -100.9384185 - [isArchived] => - [generateProformaInvoices] => - [usesProforma] => - [hasOverdueInvoice] => - [hasOutage] => 1 - [hasSuspendedService] => - [hasServiceWithoutDevices] => - [referral] => - [hasPaymentSubscription] => - [hasAutopayCreditCard] => -) - - -[2025-03-07 23:59:35.099761] [info] Stripe Customer ID obtenido: cus_PetN1dhr4rx0kX - -[2025-03-07 23:59:35.099773] [info] Monto proporcionado directamente: 100 - -[2025-03-07 23:59:35.099782] [info] Creando referencia en Stripe por 10000 para el cliente cus_PetN1dhr4rx0kX - -[2025-03-07 23:59:36.579185] [info] Referencia OXXO: 12345678901234657890123456789012 - -[2025-03-07 23:59:36.579349] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9SdHlsdDJRV0JHdmIwZjNlYklhdHhWWElBWk4yWVd50100pCjy1xwa - -[2025-03-07 23:59:36.579389] [info] Referencia OXXO creada correctamente. - -[2025-03-07 23:59:36.583750] [info] Referencia personalizada, Valor de la respuesta: {"oxxo_reference":"12345678901234657890123456789012","url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9SdHlsdDJRV0JHdmIwZjNlYklhdHhWWElBWk4yWVd50100pCjy1xwa","clientID":2,"amount":10000,"failDescription":"","error":""} - -[2025-03-07 23:59:36.583859] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9SdHlsdDJRV0JHdmIwZjNlYklhdHhWWElBWk4yWVd50100pCjy1xwa","oxxo_reference": "12345678901234657890123456789012","error": "","failDescription": "","clientID": "2","amount": "10000"} -[2025-03-08 0:02:40.170809] [notice] Logging level set to:debug -[2025-03-08 0:02:40.337857] [debug] valor el evento recibido por webhook: payment.add - -[2025-03-08 0:02:40.338021] [debug] Valor de JSON: {"uuid":"dda92775-837b-4d0e-9d82-ae54026fc210","changeType":"insert","entity":"payment","entityId":"605","eventName":"payment.add","extraData":{"entity":{"id":605,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T18:02:39-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]},"entityBeforeEdit":null}} - -[2025-03-08 0:02:40.338313] [debug] Notification encodificado en JSON:{"uuid":"dda92775-837b-4d0e-9d82-ae54026fc210","changeType":"insert","entity":"payment","entityId":605,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas danydhsv2","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1833.33,"accountCredit":1833.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":605,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T18:02:39-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}} - -[2025-03-08 0:02:40.338392] [debug] valor del payment data: {"id":605,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T18:02:39-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]} - -[2025-03-08 0:02:40.338494] [info] {"WhatsApp":["5214181878106"]} -[2025-03-08 0:02:40.338532] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-08 0:02:40.338568] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-08 0:02:40.338606] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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_danydhsv2.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_danydhsv2.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_danydhsv2.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_danydhsv2.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_danydhsv2.png - -No se pudo obtener la lista de archivos de la carpeta FTP - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_danydhsv2.png" - }, - "template_values": ["Daniel Humberto Soto Villegas danydhsv2", "$100", "$1833.33 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"f907cb1e364e4b94a2973316890f466c","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":"dda92775-837b-4d0e-9d82-ae54026fc210","changeType":"insert","entity":"payment","entityId":605,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas danydhsv2","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1833.33,"accountCredit":1833.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":605,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T18:02:39-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":605,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T18:02:39-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas danydhsv2 - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas danydhsv2","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas danydhsv2","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb21833.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 100","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas danydhsv2\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb21833.33 a favor\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 07\/03\/2025 18:02 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"07\/03\/2025 18:02\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/03\/2025 18:02 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 07\/03\/2025 18:02","Clabe Interbancaria":null,"Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas danydhsv2","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲1833.33 a favor","Monto Ultimo Pago": "$ 100","Estado": "Activo","Fecha Ultimo Pago": " 07/03/2025 18:02 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "07/03/2025 18:02","Clabe Interbancaria": "","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -[2025-03-08 0:02:50.329500] [notice] Logging level set to:debug -[2025-03-08 0:02:50.449764] [debug] valor el evento recibido por webhook: payment.edit - -[2025-03-08 0:02:50.449923] [debug] Valor de JSON: {"uuid":"b0149f2e-1e49-4513-a886-a5da226d32f5","changeType":"edit","entity":"payment","entityId":"605","eventName":"payment.edit","extraData":{"entity":{"id":605,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T18:02:39-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":605,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T18:02:39-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}}} - -[2025-03-08 0:04:46.722775] [notice] Logging level set to:debug -[2025-03-08 0:04:46.722889] [info] No UUID found in the webhook data -[2025-03-08 0:04:46.722907] [info] Evento de referencia de oxxo recibido - -[2025-03-08 0:04:46.722917] [info] Referencia persnoalizada, Valor del monto: 120 - -[2025-03-08 0:04:46.722932] [info] Creando referencia del cliente para OXXO: - -[2025-03-08 0:04:46.855129] [info] Stripe Customer ID obtenido: cus_PetN1dhr4rx0kX - -[2025-03-08 0:04:46.855257] [info] Monto proporcionado directamente: 120 - -[2025-03-08 0:04:46.855300] [info] Creando referencia en Stripe por 12000 para el cliente cus_PetN1dhr4rx0kX - -[2025-03-08 0:04:48.420120] [info] Referencia OXXO: 12345678901234657890123456789012 - -[2025-03-08 0:04:48.420641] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9SdHlxVnNaTVpKYmdSNmJ5aVVWaXBYQ2JQb1ZXYzJY0100yrBYmRnW - -[2025-03-08 0:04:48.420810] [info] Referencia OXXO creada correctamente. - -[2025-03-08 0:04:48.426023] [info] Referencia personalizada, Valor de la respuesta: {"oxxo_reference":"12345678901234657890123456789012","url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9SdHlxVnNaTVpKYmdSNmJ5aVVWaXBYQ2JQb1ZXYzJY0100yrBYmRnW","clientID":2,"clientFullName":"Daniel Humberto Soto Villegas danydhsv2","amount":12000,"failDescription":"","error":""} - -[2025-03-08 0:04:48.426275] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9SdHlxVnNaTVpKYmdSNmJ5aVVWaXBYQ2JQb1ZXYzJY0100yrBYmRnW","oxxo_reference": "12345678901234657890123456789012","error": "","failDescription": "","clientID": "2","clientFullName": "Daniel Humberto Soto Villegas danydhsv2","amount": "12000"} -[2025-03-08 0:07:55.198347] [notice] Logging level set to:debug -[2025-03-08 0:07:55.316042] [debug] valor el evento recibido por webhook: payment.add - -[2025-03-08 0:07:55.316230] [debug] Valor de JSON: {"uuid":"cfd03ab1-ea71-4332-af62-2e11ca595d1a","changeType":"insert","entity":"payment","entityId":"606","eventName":"payment.add","extraData":{"entity":{"id":606,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T18:07:54-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":120,"userId":null,"attributes":[]},"entityBeforeEdit":null}} - -[2025-03-08 0:07:55.316509] [debug] Notification encodificado en JSON:{"uuid":"cfd03ab1-ea71-4332-af62-2e11ca595d1a","changeType":"insert","entity":"payment","entityId":606,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas danydhsv2","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1953.33,"accountCredit":1953.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":606,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T18:07:54-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":120,"userId":null,"attributes":[]}} - -[2025-03-08 0:07:55.316570] [debug] valor del payment data: {"id":606,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T18:07:54-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":120,"userId":null,"attributes":[]} - -[2025-03-08 0:07:55.316679] [info] {"WhatsApp":["5214181878106"]} -[2025-03-08 0:07:55.316721] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-08 0:07:55.316757] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-08 0:07:55.316795] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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_danydhsv2.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_danydhsv2.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_danydhsv2.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_danydhsv2.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_danydhsv2.png - -No se pudo obtener la lista de archivos de la carpeta FTP - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_danydhsv2.png" - }, - "template_values": ["Daniel Humberto Soto Villegas danydhsv2", "$120", "$1953.33 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"7b707e0c693f475f94b2605b25a30141","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":"cfd03ab1-ea71-4332-af62-2e11ca595d1a","changeType":"insert","entity":"payment","entityId":606,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas danydhsv2","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1953.33,"accountCredit":1953.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":606,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T18:07:54-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":606,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T18:07:54-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":120,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas danydhsv2 - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas danydhsv2","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas danydhsv2","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb21953.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 120","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas danydhsv2\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb21953.33 a favor\",\"Monto Ultimo Pago\": \"$ 120\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 07\/03\/2025 18:07 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"07\/03\/2025 18:07\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/03\/2025 18:07 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 07\/03\/2025 18:07","Clabe Interbancaria":null,"Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas danydhsv2","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲1953.33 a favor","Monto Ultimo Pago": "$ 120","Estado": "Activo","Fecha Ultimo Pago": " 07/03/2025 18:07 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "07/03/2025 18:07","Clabe Interbancaria": "","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas danydhsv2","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"124180650741646979","Estado":"🟢 Activo ","Fecha Ultima Actualizacion":"📆🔄️ 07/03/2025 18:07","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas danydhsv2","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1953.33 a favor","Fecha Ultimo Pago":"📆💸 07/03/2025 18:07 con Tarjeta de crédito Stripe 💳","user name":"Daniel Humberto 🐁","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas danydhsv2\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1953.33 a favor\",\"Monto Ultimo Pago\": \"$ 120\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 07/03/2025 18:07 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"07/03/2025 18:07\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Monto Ultimo Pago":"💲 120","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas danydhsv2","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"124180650741646979","Estado":"🟢 Activo ","Fecha Ultima Actualizacion":"📆🔄️ 07/03/2025 18:07","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas danydhsv2","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1953.33 a favor","Fecha Ultimo Pago":"📆💸 07/03/2025 18:07 con Tarjeta de crédito Stripe 💳","user name":"Daniel Humberto 🐁","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas danydhsv2\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1953.33 a favor\",\"Monto Ultimo Pago\": \"$ 120\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 07/03/2025 18:07 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"07/03/2025 18:07\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Monto Ultimo Pago":"💲 120","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-08 0:08:01.709039] [notice] Logging level set to:debug -[2025-03-08 0:08:01.877154] [debug] valor el evento recibido por webhook: payment.edit - -[2025-03-08 0:08:01.877216] [debug] Valor de JSON: {"uuid":"018124e7-b367-44dd-b45a-4941ec760434","changeType":"edit","entity":"payment","entityId":"606","eventName":"payment.edit","extraData":{"entity":{"id":606,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T18:07:54-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":120,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":606,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T18:07:54-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":120,"userId":null,"attributes":[]}}} - -[2025-03-08 5:42:37.799339] [notice] Logging level set to:debug -[2025-03-08 5:42:37.799469] [info] No UUID found in the webhook data -[2025-03-08 5:42:37.799489] [info] Evento de referencia de oxxo recibido - -[2025-03-08 5:42:37.799504] [info] Referencia persnoalizada, Valor del monto: 170 - -[2025-03-08 5:42:37.799516] [info] Creando referencia del cliente para OXXO: - -[2025-03-08 5:42:37.924211] [info] Stripe Customer ID obtenido: cus_PetN1dhr4rx0kX - -[2025-03-08 5:42:37.924258] [info] Monto proporcionado directamente: 170 - -[2025-03-08 5:42:37.924273] [info] Creando referencia en Stripe por 17000 para el cliente cus_PetN1dhr4rx0kX - -[2025-03-08 5:42:39.454909] [info] Referencia OXXO: 12345678901234657890123456789012 - -[2025-03-08 5:42:39.455029] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9SdTRJQmlpQXhzdTNNUWwxb3hES3F4clJFd3NKUzdh0100vt8g7Mz7 - -[2025-03-08 5:42:39.455064] [info] Referencia OXXO creada correctamente. - -[2025-03-08 5:42:39.459223] [info] Referencia personalizada, Valor de la respuesta: {"oxxo_reference":"12345678901234657890123456789012","url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9SdTRJQmlpQXhzdTNNUWwxb3hES3F4clJFd3NKUzdh0100vt8g7Mz7","clientID":2,"clientFullName":"Daniel Humberto Soto Villegas danydhsv2","amount":0,"failDescription":"","error":""} - -[2025-03-08 5:42:39.459328] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9SdTRJQmlpQXhzdTNNUWwxb3hES3F4clJFd3NKUzdh0100vt8g7Mz7","oxxo_reference": "12345678901234657890123456789012","error": "","failDescription": "","clientID": "2","clientFullName": "Daniel Humberto Soto Villegas danydhsv2","amount": "0"} -[2025-03-08 5:45:47.008481] [notice] Logging level set to:debug -[2025-03-08 5:45:47.127031] [debug] valor el evento recibido por webhook: payment.add - -[2025-03-08 5:45:47.127161] [debug] Valor de JSON: {"uuid":"d4ace52a-cbb0-4455-a78b-730c073ed34a","changeType":"insert","entity":"payment","entityId":"607","eventName":"payment.add","extraData":{"entity":{"id":607,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T23:45:46-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]},"entityBeforeEdit":null}} - -[2025-03-08 5:45:47.127432] [debug] Notification encodificado en JSON:{"uuid":"d4ace52a-cbb0-4455-a78b-730c073ed34a","changeType":"insert","entity":"payment","entityId":607,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas danydhsv2","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":2123.33,"accountCredit":2123.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":607,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T23:45:46-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]}} - -[2025-03-08 5:45:47.127507] [debug] valor del payment data: {"id":607,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T23:45:46-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]} - -[2025-03-08 5:45:47.127620] [info] {"WhatsApp":["5214181878106"]} -[2025-03-08 5:45:47.127661] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-08 5:45:47.127697] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-08 5:45:47.127734] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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_danydhsv2.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_danydhsv2.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_danydhsv2.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_danydhsv2.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_danydhsv2.png - -No se pudo obtener la lista de archivos de la carpeta FTP - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_danydhsv2.png" - }, - "template_values": ["Daniel Humberto Soto Villegas danydhsv2", "$170", "$2123.33 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"ab8b645a76f24167931d6b57aaae5fa9","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":"d4ace52a-cbb0-4455-a78b-730c073ed34a","changeType":"insert","entity":"payment","entityId":607,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas danydhsv2","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":2123.33,"accountCredit":2123.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":607,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T23:45:46-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]}} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":607,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T23:45:46-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas danydhsv2 - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas danydhsv2","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas danydhsv2","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb22123.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 170","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas danydhsv2\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb22123.33 a favor\",\"Monto Ultimo Pago\": \"$ 170\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 07\/03\/2025 23:45 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"07\/03\/2025 23:45\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/03\/2025 23:45 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 07\/03\/2025 23:45","Clabe Interbancaria":null,"Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas danydhsv2","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲2123.33 a favor","Monto Ultimo Pago": "$ 170","Estado": "Activo","Fecha Ultimo Pago": " 07/03/2025 23:45 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "07/03/2025 23:45","Clabe Interbancaria": "","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas danydhsv2","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"124180650741646979","Estado":"🟢 Activo ","Fecha Ultima Actualizacion":"📆🔄️ 07/03/2025 23:45","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas danydhsv2","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲2123.33 a favor","Fecha Ultimo Pago":"📆💸 07/03/2025 23:45 con Tarjeta de crédito Stripe 💳","user name":"Daniel Humberto 🐁","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas danydhsv2\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲2123.33 a favor\",\"Monto Ultimo Pago\": \"$ 170\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 07/03/2025 23:45 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"07/03/2025 23:45\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Monto Ultimo Pago":"💲 170","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas danydhsv2","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"124180650741646979","Estado":"🟢 Activo ","Fecha Ultima Actualizacion":"📆🔄️ 07/03/2025 23:45","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas danydhsv2","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲2123.33 a favor","Fecha Ultimo Pago":"📆💸 07/03/2025 23:45 con Tarjeta de crédito Stripe 💳","user name":"Daniel Humberto 🐁","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas danydhsv2\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲2123.33 a favor\",\"Monto Ultimo Pago\": \"$ 170\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 07/03/2025 23:45 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"07/03/2025 23:45\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Monto Ultimo Pago":"💲 170","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-08 5:45:53.843476] [notice] Logging level set to:debug -[2025-03-08 5:45:53.971872] [debug] valor el evento recibido por webhook: payment.edit - -[2025-03-08 5:45:53.972006] [debug] Valor de JSON: {"uuid":"bb227fe6-cf19-483d-b3d6-aebdae3c378e","changeType":"edit","entity":"payment","entityId":"607","eventName":"payment.edit","extraData":{"entity":{"id":607,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T23:45:46-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":607,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T23:45:46-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]}}} - -[2025-03-08 5:47:58.567975] [notice] Logging level set to:debug -[2025-03-08 5:47:58.568116] [info] No UUID found in the webhook data -[2025-03-08 5:47:58.568150] [info] Evento de referencia de oxxo recibido - -[2025-03-08 5:47:58.568160] [info] Referencia persnoalizada, Valor del monto: 190 - -[2025-03-08 5:47:58.568169] [info] Creando referencia del cliente para OXXO: - -[2025-03-08 5:47:58.697120] [info] Stripe Customer ID obtenido: cus_PetN1dhr4rx0kX - -[2025-03-08 5:47:58.697161] [info] Monto proporcionado directamente: 190 - -[2025-03-08 5:47:58.697175] [info] Creando referencia en Stripe por 19000 para el cliente cus_PetN1dhr4rx0kX - -[2025-03-08 5:48:00.149175] [info] Referencia OXXO: 12345678901234657890123456789012 - -[2025-03-08 5:48:00.149746] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9SdTROTWRxVndvN0ZxY1pmaThhelVxZURtdk1vZTlL0100TOf5Miwe - -[2025-03-08 5:48:00.149914] [info] Referencia OXXO creada correctamente. - -[2025-03-08 5:48:00.155117] [info] Referencia personalizada, Valor de la respuesta: {"oxxo_reference":"12345678901234657890123456789012","url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9SdTROTWRxVndvN0ZxY1pmaThhelVxZURtdk1vZTlL0100TOf5Miwe","clientID":2,"clientFullName":"Daniel Humberto Soto Villegas danydhsv2","amount":190,"failDescription":"","error":""} - -[2025-03-08 5:48:00.155381] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9SdTROTWRxVndvN0ZxY1pmaThhelVxZURtdk1vZTlL0100TOf5Miwe","oxxo_reference": "12345678901234657890123456789012","error": "","failDescription": "","clientID": "2","clientFullName": "Daniel Humberto Soto Villegas danydhsv2","amount": "190"} -[2025-03-08 5:51:02.352112] [notice] Logging level set to:debug -[2025-03-08 5:51:02.471072] [debug] valor el evento recibido por webhook: payment.add - -[2025-03-08 5:51:02.471126] [debug] Valor de JSON: {"uuid":"49d0904c-9b01-4a60-b292-28fdf0d6c575","changeType":"insert","entity":"payment","entityId":"608","eventName":"payment.add","extraData":{"entity":{"id":608,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T23:51:02-0600","amount":190,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":190,"userId":null,"attributes":[]},"entityBeforeEdit":null}} - -[2025-03-08 5:51:02.471379] [debug] Notification encodificado en JSON:{"uuid":"49d0904c-9b01-4a60-b292-28fdf0d6c575","changeType":"insert","entity":"payment","entityId":608,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas danydhsv2","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":2313.33,"accountCredit":2313.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":608,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T23:51:02-0600","amount":190,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":190,"userId":null,"attributes":[]}} - -[2025-03-08 5:51:02.471404] [debug] valor del payment data: {"id":608,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T23:51:02-0600","amount":190,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":190,"userId":null,"attributes":[]} - -[2025-03-08 5:51:02.471472] [info] {"WhatsApp":["5214181878106"]} -[2025-03-08 5:51:02.471488] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-08 5:51:02.471498] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-08 5:51:02.471508] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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_danydhsv2.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_danydhsv2.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_danydhsv2.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_danydhsv2.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_danydhsv2.png - -No se pudo obtener la lista de archivos de la carpeta FTP - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_danydhsv2.png" - }, - "template_values": ["Daniel Humberto Soto Villegas danydhsv2", "$190", "$2313.33 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"db6120d314264994bb746bdaeb36ba4f","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":"49d0904c-9b01-4a60-b292-28fdf0d6c575","changeType":"insert","entity":"payment","entityId":608,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas danydhsv2","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":2313.33,"accountCredit":2313.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":608,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T23:51:02-0600","amount":190,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":190,"userId":null,"attributes":[]}} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":608,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T23:51:02-0600","amount":190,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":190,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas danydhsv2 - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas danydhsv2","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas danydhsv2","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb22313.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 190","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas danydhsv2\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb22313.33 a favor\",\"Monto Ultimo Pago\": \"$ 190\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 07\/03\/2025 23:51 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"07\/03\/2025 23:51\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/03\/2025 23:51 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 07\/03\/2025 23:51","Clabe Interbancaria":null,"Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas danydhsv2","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲2313.33 a favor","Monto Ultimo Pago": "$ 190","Estado": "Activo","Fecha Ultimo Pago": " 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "07/03/2025 23:51","Clabe Interbancaria": "","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas danydhsv2","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"124180650741646979","Estado":"🟢 Activo ","Fecha Ultima Actualizacion":"📆🔄️ 07/03/2025 23:51","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas danydhsv2","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲2313.33 a favor","Fecha Ultimo Pago":"📆💸 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳","user name":"Daniel Humberto 🐁","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas danydhsv2\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲2313.33 a favor\",\"Monto Ultimo Pago\": \"$ 190\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"07/03/2025 23:51\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Monto Ultimo Pago":"💲 190","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas danydhsv2","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"124180650741646979","Estado":"🟢 Activo ","Fecha Ultima Actualizacion":"📆🔄️ 07/03/2025 23:51","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas danydhsv2","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲2313.33 a favor","Fecha Ultimo Pago":"📆💸 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳","user name":"Daniel Humberto 🐁","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas danydhsv2\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲2313.33 a favor\",\"Monto Ultimo Pago\": \"$ 190\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"07/03/2025 23:51\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Monto Ultimo Pago":"💲 190","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-08 5:51:08.833151] [notice] Logging level set to:debug -[2025-03-08 5:51:08.948936] [debug] valor el evento recibido por webhook: payment.edit - -[2025-03-08 5:51:08.949083] [debug] Valor de JSON: {"uuid":"35b9f87b-bdd2-466e-a90a-c2df990c45cf","changeType":"edit","entity":"payment","entityId":"608","eventName":"payment.edit","extraData":{"entity":{"id":608,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T23:51:02-0600","amount":190,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":190,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":608,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T23:51:02-0600","amount":190,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":190,"userId":null,"attributes":[]}}} - -[2025-03-09 6:25:04.049096] [notice] Logging level set to:debug -[2025-03-09 6:25:04.320530] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-09 6:25:04.320602] [debug] Valor de JSON: {"uuid":"8ce39257-61e3-42e9-8efd-cb81c711c4c1","changeType":"overdue","entity":"invoice","entityId":"1576","eventName":"invoice.overdue","extraData":{"entity":{"id":1576,"clientId":105,"number":"001533","createdDate":"2025-02-22T10:00:01-0600","dueDate":"2025-03-08T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1579,"type":"service","label":"plan300 21\/01\/2025 \u2013 20\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":111,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"jota","clientLastName":"serpiente","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":null,"clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-09 6:25:04.320810] [debug] Factura vencida - -[2025-03-09 6:25:04.320859] [debug] datos del notification para el invoice overdue:{"uuid":"8ce39257-61e3-42e9-8efd-cb81c711c4c1","changeType":"overdue","entity":"invoice","entityId":1576,"message":null,"clientId":105,"eventName":"invoice.overdue","clientData":{"id":105,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":null,"countryId":173,"stateId":null,"zipCode":null,"fullAddress":null,"invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-02-17T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"jota","lastName":"serpiente","username":null,"contacts":[{"id":109,"clientId":105,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-2600,"accountCredit":0,"accountOutstanding":2600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4527a0","addressGpsLat":null,"addressGpsLon":null,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1576,"clientId":105,"number":"001533","createdDate":"2025-02-22T10:00:01-0600","dueDate":"2025-03-08T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1579,"type":"service","label":"plan300 21\/01\/2025 \u2013 20\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":111,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"jota","clientLastName":"serpiente","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":null,"clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-09 6:25:04.320890] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -contac vacio -[2025-03-09 6:25:04.321053] [debug] Numero de cel obtenido - -[2025-03-09 6:25:04.321067] [warning] No se encontró un teléfono celular válido para el cliente: 105 -[2025-03-09 6:25:04.481498] [notice] Logging level set to:debug -[2025-03-09 6:25:04.654373] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-09 6:25:04.654439] [debug] Valor de JSON: {"uuid":"b48324d0-408f-44c2-ab12-7129ff0cbd1d","changeType":"overdue","entity":"invoice","entityId":"1577","eventName":"invoice.overdue","extraData":{"entity":{"id":1577,"clientId":133,"number":"001534","createdDate":"2025-02-22T10:00:01-0600","dueDate":"2025-03-08T10:00:01-0600","emailSentDate":"2025-03-09T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1580,"type":"service","label":"INTERMEDIO 21\/01\/2025 \u2013 20\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":114,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Los Amigos","clientLastName":"Invisibles","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-09 6:25:04.654546] [debug] Factura vencida - -[2025-03-09 6:25:04.654594] [debug] datos del notification para el invoice overdue:{"uuid":"b48324d0-408f-44c2-ab12-7129ff0cbd1d","changeType":"overdue","entity":"invoice","entityId":1577,"message":null,"clientId":133,"eventName":"invoice.overdue","clientData":{"id":133,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 34, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Los Amigos","lastName":"Invisibles","username":null,"contacts":[{"id":137,"clientId":133,"email":"amigosinvisibles@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":135,"clientId":133,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJjZqeaZSSPwcT","clientZoneVisible":true},{"id":136,"clientId":133,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180822750421052","clientZoneVisible":true}],"accountBalance":-3833.33,"accountCredit":0,"accountOutstanding":3833.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1568888,"addressGpsLon":-100.9275759,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1577,"clientId":133,"number":"001534","createdDate":"2025-02-22T10:00:01-0600","dueDate":"2025-03-08T10:00:01-0600","emailSentDate":"2025-03-09T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1580,"type":"service","label":"INTERMEDIO 21\/01\/2025 \u2013 20\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":114,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Los Amigos","clientLastName":"Invisibles","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-09 6:25:04.654625] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-09 6:25:04.654690] [debug] Numero de cel obtenido - -[2025-03-09 6:25:04.654706] [warning] No se encontró un teléfono celular válido para el cliente: 133 -[2025-03-09 6:25:04.766347] [notice] Logging level set to:debug -[2025-03-09 6:25:04.922751] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-09 6:25:04.922812] [debug] Valor de JSON: {"uuid":"1988569a-93c2-47c5-8ebe-f675b9eec7c8","changeType":"overdue","entity":"invoice","entityId":"1578","eventName":"invoice.overdue","extraData":{"entity":{"id":1578,"clientId":134,"number":"001535","createdDate":"2025-02-22T10:00:01-0600","dueDate":"2025-03-08T10:00:01-0600","emailSentDate":"2025-03-09T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1581,"type":"service","label":"PREMIUM 21\/01\/2025 \u2013 20\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":113,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"La Mosca","clientLastName":"Tse Tse","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"25 Michoac\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-09 6:25:04.922920] [debug] Factura vencida - -[2025-03-09 6:25:04.922961] [debug] datos del notification para el invoice overdue:{"uuid":"1988569a-93c2-47c5-8ebe-f675b9eec7c8","changeType":"overdue","entity":"invoice","entityId":1578,"message":null,"clientId":134,"eventName":"invoice.overdue","clientData":{"id":134,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"25 Michoac\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"La Mosca","lastName":"Tse Tse","username":null,"contacts":[{"id":138,"clientId":134,"email":"lamoscatsetse@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-5600,"accountCredit":0,"accountOutstanding":5600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1576726,"addressGpsLon":-100.9370354,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1578,"clientId":134,"number":"001535","createdDate":"2025-02-22T10:00:01-0600","dueDate":"2025-03-08T10:00:01-0600","emailSentDate":"2025-03-09T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1581,"type":"service","label":"PREMIUM 21\/01\/2025 \u2013 20\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":113,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"La Mosca","clientLastName":"Tse Tse","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"25 Michoac\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-09 6:25:04.922991] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-09 6:25:04.923048] [debug] Numero de cel obtenido - -[2025-03-09 6:25:04.923063] [warning] No se encontró un teléfono celular válido para el cliente: 134 -[2025-03-09 6:25:05.037314] [notice] Logging level set to:debug -[2025-03-09 6:25:05.207130] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-09 6:25:05.207195] [debug] Valor de JSON: {"uuid":"11c5bd21-8af3-4d3c-aee6-a13396276243","changeType":"overdue","entity":"invoice","entityId":"1579","eventName":"invoice.overdue","extraData":{"entity":{"id":1579,"clientId":136,"number":"001536","createdDate":"2025-02-22T10:00:01-0600","dueDate":"2025-03-08T10:00:01-0600","emailSentDate":"2025-03-09T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1582,"type":"service","label":"INTERMEDIO 21\/01\/2025 \u2013 20\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":112,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Mus","clientLastName":"Tafah","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"22 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-09 6:25:05.207308] [debug] Factura vencida - -[2025-03-09 6:25:05.207350] [debug] datos del notification para el invoice overdue:{"uuid":"11c5bd21-8af3-4d3c-aee6-a13396276243","changeType":"overdue","entity":"invoice","entityId":1579,"message":null,"clientId":136,"eventName":"invoice.overdue","clientData":{"id":136,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"22 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 22, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Mus","lastName":"Tafah","username":null,"contacts":[{"id":140,"clientId":136,"email":"elmus@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-3833.33,"accountCredit":0,"accountOutstanding":3833.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1571597,"addressGpsLon":-100.9367744,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1579,"clientId":136,"number":"001536","createdDate":"2025-02-22T10:00:01-0600","dueDate":"2025-03-08T10:00:01-0600","emailSentDate":"2025-03-09T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1582,"type":"service","label":"INTERMEDIO 21\/01\/2025 \u2013 20\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":112,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Mus","clientLastName":"Tafah","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"22 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-09 6:25:05.207371] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-09 6:25:05.207429] [debug] Numero de cel obtenido - -[2025-03-09 6:25:05.207443] [warning] No se encontró un teléfono celular válido para el cliente: 136 -[2025-03-09 16:00:04.319669] [notice] Logging level set to:debug -[2025-03-09 16:00:04.512562] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-09 16:00:04.512623] [debug] Valor de JSON: {"uuid":"44b03afc-694f-46a5-b709-8ccd906bd410","changeType":"insert","entity":"invoice","entityId":"1689","eventName":"invoice.add_draft","extraData":{"entity":{"id":1689,"clientId":118,"number":"001640","createdDate":"2025-03-09T10:00:01-0600","dueDate":"2025-03-23T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-08T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1692,"type":"service","label":"plan300 09\/02\/2025 \u2013 08\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":105,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Toro Sentado","clientLastName":"Ram\u00edrez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"56 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-09 16:00:04.515902] [debug] Adición de borrador de Factura - -[2025-03-09 16:00:04.515974] [debug] {"uuid":"44b03afc-694f-46a5-b709-8ccd906bd410","changeType":"insert","entity":"invoice","entityId":1689,"message":null,"clientId":118,"eventName":"invoice.add_draft","clientData":{"id":118,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"56 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Toro Sentado","lastName":"Ram\u00edrez","username":null,"contacts":[{"id":122,"clientId":118,"email":"pepeeltoro141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":119,"clientId":118,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180173419260258","clientZoneVisible":true}],"accountBalance":-3000,"accountCredit":0,"accountOutstanding":3000,"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":1689,"clientId":118,"number":"001640","createdDate":"2025-03-09T10:00:01-0600","dueDate":"2025-03-23T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-07T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1692,"type":"service","label":"plan300 09\/02\/2025 \u2013 08\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":105,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Toro Sentado","clientLastName":"Ram\u00edrez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"56 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-09 16:00:04.516056] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-09 16:00:04.516067] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"44b03afc-694f-46a5-b709-8ccd906bd410","changeType":"insert","entity":"invoice","entityId":1689,"message":null,"clientId":118,"eventName":"invoice.add_draft","clientData":{"id":118,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"56 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Toro Sentado","lastName":"Ram\u00edrez","username":null,"contacts":[{"id":122,"clientId":118,"email":"pepeeltoro141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":119,"clientId":118,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180173419260258","clientZoneVisible":true}],"accountBalance":-3000,"accountCredit":0,"accountOutstanding":3000,"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":1689,"clientId":118,"number":"001640","createdDate":"2025-03-09T10:00:01-0600","dueDate":"2025-03-23T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-07T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1692,"type":"service","label":"plan300 09\/02\/2025 \u2013 08\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":105,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Toro Sentado","clientLastName":"Ram\u00edrez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"56 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Toro Sentado Ramírez - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Toro Sentado Ram\u00edrez","custom_fields":{"Cliente":118,"Domicilio":"\ud83d\udccd Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Toro Sentado Ram\u00edrez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/118","Saldo Actual":"\ud83d\udcb23000 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"118\",\"Domicilio\": \"\"Nombre\": \"Toro Sentado Ram\u00edrez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/118\",\"Saldo Actual\": \"\ud83d\udcb23000 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 09\/03\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"09\/03\/2025 10:00\",\"Clabe Interbancaria\": \"002180173419260258\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 09\/03\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 09\/03\/2025 10:00","Clabe Interbancaria":"002180173419260258","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "118","Domicilio": ""Nombre": "Toro Sentado Ramírez","URL": "https://sistema.siip.mx/crm/client/118","Saldo Actual": "💲3000 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 09/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "09/03/2025 10:00","Clabe Interbancaria": "002180173419260258","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Toro Sentado Ramírez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Resumen":"{\"Cliente\": \"118\",\"Domicilio\": \"\"Nombre\": \"Toro Sentado Ramírez\",\"URL\": \"https://sistema.siip.mx/crm/client/118\",\"Saldo Actual\": \"💲3000 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 09/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"09/03/2025 10:00\",\"Clabe Interbancaria\": \"002180173419260258\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"002180173419260258","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 09/03/2025 10:00","Cliente":"118","URL":"🌐 https://sistema.siip.mx/crm/client/118","Nombre":"👤 Toro Sentado Ramírez","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲3000 pendientes","Fecha Ultimo Pago":"📆💸 09/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","user name":"Daniel Humberto 🐁","Monto Ultimo Pago":"💲 ","Domicilio":"📍 Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Toro Sentado Ramírez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Resumen":"{\"Cliente\": \"118\",\"Domicilio\": \"\"Nombre\": \"Toro Sentado Ramírez\",\"URL\": \"https://sistema.siip.mx/crm/client/118\",\"Saldo Actual\": \"💲3000 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 09/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"09/03/2025 10:00\",\"Clabe Interbancaria\": \"002180173419260258\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"002180173419260258","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 09/03/2025 10:00","Cliente":"118","URL":"🌐 https://sistema.siip.mx/crm/client/118","Nombre":"👤 Toro Sentado Ramírez","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲3000 pendientes","Fecha Ultimo Pago":"📆💸 09/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","user name":"Daniel Humberto 🐁","Monto Ultimo Pago":"💲 ","Domicilio":"📍 Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-09 16:00:07.750897] [notice] Logging level set to:debug -[2025-03-09 16:00:07.959474] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-09 16:00:07.959525] [debug] Valor de JSON: {"uuid":"ea8bbc35-6252-4f2e-9623-cbd84341b228","changeType":"draft_approved","entity":"invoice","entityId":"1689","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1689,"clientId":118,"number":"001640","createdDate":"2025-03-09T10:00:01-0600","dueDate":"2025-03-23T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-08T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1692,"type":"service","label":"plan300 09\/02\/2025 \u2013 08\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":105,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Toro Sentado","clientLastName":"Ram\u00edrez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"56 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-09 16:00:07.959640] [debug] Aprobación de Factura - -[2025-03-09 16:00:07.959681] [debug] {"uuid":"ea8bbc35-6252-4f2e-9623-cbd84341b228","changeType":"draft_approved","entity":"invoice","entityId":1689,"message":null,"clientId":118,"eventName":"invoice.draft_approved","clientData":{"id":118,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"56 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Toro Sentado","lastName":"Ram\u00edrez","username":null,"contacts":[{"id":122,"clientId":118,"email":"pepeeltoro141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":119,"clientId":118,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180173419260258","clientZoneVisible":true}],"accountBalance":-3000,"accountCredit":0,"accountOutstanding":3000,"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":1689,"clientId":118,"number":"001640","createdDate":"2025-03-09T10:00:01-0600","dueDate":"2025-03-23T10:00:01-0600","emailSentDate":"2025-03-09T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-07T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1692,"type":"service","label":"plan300 09\/02\/2025 \u2013 08\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":105,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Toro Sentado","clientLastName":"Ram\u00edrez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"56 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-09 16:00:07.959722] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-09 16:00:07.959731] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"ea8bbc35-6252-4f2e-9623-cbd84341b228","changeType":"draft_approved","entity":"invoice","entityId":1689,"message":null,"clientId":118,"eventName":"invoice.draft_approved","clientData":{"id":118,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"56 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Toro Sentado","lastName":"Ram\u00edrez","username":null,"contacts":[{"id":122,"clientId":118,"email":"pepeeltoro141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":119,"clientId":118,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180173419260258","clientZoneVisible":true}],"accountBalance":-3000,"accountCredit":0,"accountOutstanding":3000,"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":1689,"clientId":118,"number":"001640","createdDate":"2025-03-09T10:00:01-0600","dueDate":"2025-03-23T10:00:01-0600","emailSentDate":"2025-03-09T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-07T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1692,"type":"service","label":"plan300 09\/02\/2025 \u2013 08\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":105,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Toro Sentado","clientLastName":"Ram\u00edrez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"56 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Toro Sentado Ramírez - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Toro Sentado Ram\u00edrez","custom_fields":{"Cliente":118,"Domicilio":"\ud83d\udccd Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Toro Sentado Ram\u00edrez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/118","Saldo Actual":"\ud83d\udcb23000 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"118\",\"Domicilio\": \"\"Nombre\": \"Toro Sentado Ram\u00edrez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/118\",\"Saldo Actual\": \"\ud83d\udcb23000 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 09\/03\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"09\/03\/2025 10:00\",\"Clabe Interbancaria\": \"002180173419260258\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 09\/03\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 09\/03\/2025 10:00","Clabe Interbancaria":"002180173419260258","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "118","Domicilio": ""Nombre": "Toro Sentado Ramírez","URL": "https://sistema.siip.mx/crm/client/118","Saldo Actual": "💲3000 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 09/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "09/03/2025 10:00","Clabe Interbancaria": "002180173419260258","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Toro Sentado Ramírez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Resumen":"{\"Cliente\": \"118\",\"Domicilio\": \"\"Nombre\": \"Toro Sentado Ramírez\",\"URL\": \"https://sistema.siip.mx/crm/client/118\",\"Saldo Actual\": \"💲3000 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 09/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"09/03/2025 10:00\",\"Clabe Interbancaria\": \"002180173419260258\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"002180173419260258","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 09/03/2025 10:00","Cliente":"118","URL":"🌐 https://sistema.siip.mx/crm/client/118","Nombre":"👤 Toro Sentado Ramírez","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲3000 pendientes","Fecha Ultimo Pago":"📆💸 09/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","user name":"Daniel Humberto 🐁","Monto Ultimo Pago":"💲 ","Domicilio":"📍 Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Toro Sentado Ramírez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Resumen":"{\"Cliente\": \"118\",\"Domicilio\": \"\"Nombre\": \"Toro Sentado Ramírez\",\"URL\": \"https://sistema.siip.mx/crm/client/118\",\"Saldo Actual\": \"💲3000 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 09/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"09/03/2025 10:00\",\"Clabe Interbancaria\": \"002180173419260258\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"002180173419260258","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 09/03/2025 10:00","Cliente":"118","URL":"🌐 https://sistema.siip.mx/crm/client/118","Nombre":"👤 Toro Sentado Ramírez","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲3000 pendientes","Fecha Ultimo Pago":"📆💸 09/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","user name":"Daniel Humberto 🐁","Monto Ultimo Pago":"💲 ","Domicilio":"📍 Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-10 18:35:24.127844] [notice] Logging level set to:debug -[2025-03-10 18:35:24.284823] [debug] valor el evento recibido por webhook: service.suspend_cancel - -[2025-03-10 18:35:24.285113] [debug] Valor de JSON: {"uuid":"0a962ec9-6940-448f-898e-e0495bc0066b","changeType":"unsuspend","entity":"service","entityId":"127","eventName":"service.suspend_cancel","extraData":{"entity":{"id":127,"prepaid":false,"clientId":157,"status":1,"name":"plan300","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","note":null,"addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-01-04T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-01-04T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"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":"2025-02-28T00:00:00-0600","unmsClientSiteId":"dc771889-4d2a-48c3-9c65-b0ee56b692be","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":134,"startDate":"2025-02-07T00:00:00-0600","endDate":"2025-03-10T12:35:23-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":127,"prepaid":false,"clientId":157,"status":3,"name":"plan300","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","note":null,"addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-01-04T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-01-04T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"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":"2025-02-28T00:00:00-0600","unmsClientSiteId":"dc771889-4d2a-48c3-9c65-b0ee56b692be","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":134,"startDate":"2025-02-07T00:00:00-0600","endDate":"2025-03-10T12:35:23-0600"}],"surcharges":[]}}} - -[2025-03-10 18:35:24.285500] [debug] Se reactivó el servicio a un cliente - -[2025-03-10 18:35:24.285713] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-10 18:35:24.285793] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-10 18:35:24.285909] [info] {"uuid":"0a962ec9-6940-448f-898e-e0495bc0066b","changeType":"unsuspend","entity":"service","entityId":127,"message":null,"clientId":157,"eventName":"service.suspend_cancel","clientData":{"id":157,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-04T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Angel Mamey","lastName":"Arvizu","username":null,"contacts":[{"id":161,"clientId":157,"email":null,"phone":"5214181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":154,"clientId":157,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RWjBO6Lsy1TgAV","clientZoneVisible":true},{"id":155,"clientId":157,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180695267429334","clientZoneVisible":true}],"accountBalance":-580,"accountCredit":0,"accountOutstanding":580,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":127,"prepaid":false,"clientId":157,"status":1,"name":"plan300","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","note":null,"addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-01-04T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-01-04T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"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":"2025-02-28T00:00:00-0600","unmsClientSiteId":"dc771889-4d2a-48c3-9c65-b0ee56b692be","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":134,"startDate":"2025-02-07T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"}],"surcharges":[]},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Angel Mamey Arvizu - -UUID: 362193e0af9b4ffc8ed5d7f930dd120f - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/03\/2025 12:35"}} - -Response Patch CallBell: {"contact":{"uuid":"362193e0af9b4ffc8ed5d7f930dd120f","name":"Angel Mamey Arvizu","phoneNumber":"5214181515664","avatarUrl":null,"createdAt":"2025-01-07T22:55:44Z","closedAt":null,"source":"whatsapp","href":"https://dash.callbell.eu/contacts/362193e0af9b4ffc8ed5d7f930dd120f","conversationHref":"https://dash.callbell.eu/chat/56dec9b4f3334325b737683f2d8ff8b2","tags":["SIIP","NOBOT"],"assignedUser":"avalos.mgla@gmail.com","customFields":{"Acciones":"NOBOT-SIIP","user entry point":"inbound_message","user name":"Angel 😇/😈","Estado":"🟢 Activo","Clabe Interbancaria":"124180695267429334","Antena/Sectorial":"157","Domicilio":"📍 Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 10/03/2025 12:35","Fecha Ultimo Pago":"📆💸 19/02/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Monto Ultimo Pago":"💲 ","Nombre":"👤 Angel Mamey Arvizu","Resumen":"{\"Cliente\": \"157\",\"Domicilio\": \"📍 Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Angel Mamey Arvizu\",\"URL\": \"🌐 https://172.16.5.120/crm/client/157\",\"Saldo Actual\": \"💲580 pendientes\",\"Monto Ultimo Pago\": \"💲 \",\"Estado\": \"🔴 Suspendido\",\"Fecha Ultimo Pago\": \"📆💰 19/02/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 19/02/2025 10:00\",\"Clabe Interbancaria\": \"124180695267429334\"}","Saldo Actual":"💲580 pendientes","URL":"🌐 https://172.16.5.120/crm/client/157"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-10 18:35:26.071738] [notice] Logging level set to:debug -[2025-03-10 18:35:26.218131] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-10 18:35:26.218211] [debug] Valor de JSON: {"uuid":"92211514-5a8c-451e-8999-032ee168b9b2","changeType":"edit","entity":"service","entityId":"127","eventName":"service.edit","extraData":{"entity":{"id":127,"prepaid":false,"clientId":157,"status":1,"name":"plan300","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","note":null,"addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-01-04T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-01-04T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"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":"2025-02-28T00:00:00-0600","unmsClientSiteId":"dc771889-4d2a-48c3-9c65-b0ee56b692be","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":134,"startDate":"2025-02-07T00:00:00-0600","endDate":"2025-03-10T12:35:23-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":127,"prepaid":false,"clientId":157,"status":3,"name":"plan300","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","note":null,"addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-01-04T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-01-04T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"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":"2025-02-28T00:00:00-0600","unmsClientSiteId":"dc771889-4d2a-48c3-9c65-b0ee56b692be","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":134,"startDate":"2025-02-07T00:00:00-0600","endDate":"2025-03-10T12:35:23-0600"}],"surcharges":[]}}} - -[2025-03-10 18:35:26.218317] [debug] Se editó el servicio a un cliente - -[2025-03-10 18:35:26.218353] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-10 18:35:26.218365] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-10 18:35:26.218405] [info] {"uuid":"92211514-5a8c-451e-8999-032ee168b9b2","changeType":"edit","entity":"service","entityId":127,"message":null,"clientId":157,"eventName":"service.edit","clientData":{"id":157,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-04T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Angel Mamey","lastName":"Arvizu","username":null,"contacts":[{"id":161,"clientId":157,"email":null,"phone":"5214181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":154,"clientId":157,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RWjBO6Lsy1TgAV","clientZoneVisible":true},{"id":155,"clientId":157,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180695267429334","clientZoneVisible":true}],"accountBalance":-580,"accountCredit":0,"accountOutstanding":580,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":127,"prepaid":false,"clientId":157,"status":1,"name":"plan300","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","note":null,"addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-01-04T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-01-04T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"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":"2025-02-28T00:00:00-0600","unmsClientSiteId":"dc771889-4d2a-48c3-9c65-b0ee56b692be","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":134,"startDate":"2025-02-07T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"}],"surcharges":[]},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Angel Mamey Arvizu - -UUID: 362193e0af9b4ffc8ed5d7f930dd120f - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/03\/2025 12:35"}} - -Response Patch CallBell: {"contact":{"uuid":"362193e0af9b4ffc8ed5d7f930dd120f","name":"Angel Mamey Arvizu","phoneNumber":"5214181515664","avatarUrl":null,"createdAt":"2025-01-07T22:55:44Z","closedAt":null,"source":"whatsapp","href":"https://dash.callbell.eu/contacts/362193e0af9b4ffc8ed5d7f930dd120f","conversationHref":"https://dash.callbell.eu/chat/56dec9b4f3334325b737683f2d8ff8b2","tags":["SIIP","NOBOT"],"assignedUser":"avalos.mgla@gmail.com","customFields":{"Acciones":"NOBOT-SIIP","user entry point":"inbound_message","user name":"Angel 😇/😈","Estado":"🟢 Activo","Clabe Interbancaria":"124180695267429334","Antena/Sectorial":"157","Domicilio":"📍 Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 10/03/2025 12:35","Fecha Ultimo Pago":"📆💸 19/02/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Monto Ultimo Pago":"💲 ","Nombre":"👤 Angel Mamey Arvizu","Resumen":"{\"Cliente\": \"157\",\"Domicilio\": \"📍 Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Angel Mamey Arvizu\",\"URL\": \"🌐 https://172.16.5.120/crm/client/157\",\"Saldo Actual\": \"💲580 pendientes\",\"Monto Ultimo Pago\": \"💲 \",\"Estado\": \"🔴 Suspendido\",\"Fecha Ultimo Pago\": \"📆💰 19/02/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 19/02/2025 10:00\",\"Clabe Interbancaria\": \"124180695267429334\"}","Saldo Actual":"💲580 pendientes","URL":"🌐 https://172.16.5.120/crm/client/157"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-10 18:35:27.930471] [notice] Logging level set to:debug -[2025-03-10 18:35:28.054117] [debug] valor el evento recibido por webhook: service.postpone - -[2025-03-10 18:35:28.054343] [debug] Valor de JSON: {"uuid":"833e6ea1-d173-4f34-a3ca-256a8ed92005","changeType":"postpone","entity":"service","entityId":"127","eventName":"service.postpone","extraData":{"entity":{"id":127,"prepaid":false,"clientId":157,"status":1,"name":"plan300","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","note":null,"addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-01-04T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-01-04T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"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":"2025-02-28T00:00:00-0600","unmsClientSiteId":"dc771889-4d2a-48c3-9c65-b0ee56b692be","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":134,"startDate":"2025-02-07T00:00:00-0600","endDate":"2025-03-10T12:35:23-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":127,"prepaid":false,"clientId":157,"status":3,"name":"plan300","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","note":null,"addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-01-04T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-01-04T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"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":"2025-02-28T00:00:00-0600","unmsClientSiteId":"dc771889-4d2a-48c3-9c65-b0ee56b692be","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":134,"startDate":"2025-02-07T00:00:00-0600","endDate":"2025-03-10T12:35:23-0600"}],"surcharges":[]}}} - -[2025-03-10 18:35:28.054533] [debug] Se pospuso la suspención del servicio a un cliente - -[2025-03-10 18:35:28.054619] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-10 18:35:28.054667] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-10 18:35:28.054735] [info] {"uuid":"833e6ea1-d173-4f34-a3ca-256a8ed92005","changeType":"postpone","entity":"service","entityId":127,"message":null,"clientId":157,"eventName":"service.postpone","clientData":{"id":157,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-04T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Angel Mamey","lastName":"Arvizu","username":null,"contacts":[{"id":161,"clientId":157,"email":null,"phone":"5214181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":154,"clientId":157,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RWjBO6Lsy1TgAV","clientZoneVisible":true},{"id":155,"clientId":157,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180695267429334","clientZoneVisible":true}],"accountBalance":-580,"accountCredit":0,"accountOutstanding":580,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":127,"prepaid":false,"clientId":157,"status":1,"name":"plan300","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","note":null,"addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-01-04T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-01-04T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"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":"2025-02-28T00:00:00-0600","unmsClientSiteId":"dc771889-4d2a-48c3-9c65-b0ee56b692be","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":134,"startDate":"2025-02-07T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"}],"surcharges":[]},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Angel Mamey Arvizu - -UUID: 362193e0af9b4ffc8ed5d7f930dd120f - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/03\/2025 12:35"}} - -Response Patch CallBell: {"contact":{"uuid":"362193e0af9b4ffc8ed5d7f930dd120f","name":"Angel Mamey Arvizu","phoneNumber":"5214181515664","avatarUrl":null,"createdAt":"2025-01-07T22:55:44Z","closedAt":null,"source":"whatsapp","href":"https://dash.callbell.eu/contacts/362193e0af9b4ffc8ed5d7f930dd120f","conversationHref":"https://dash.callbell.eu/chat/56dec9b4f3334325b737683f2d8ff8b2","tags":["SIIP","NOBOT"],"assignedUser":"avalos.mgla@gmail.com","customFields":{"Acciones":"NOBOT-SIIP","user entry point":"inbound_message","user name":"Angel 😇/😈","Estado":"🟢 Activo","Clabe Interbancaria":"124180695267429334","Antena/Sectorial":"157","Domicilio":"📍 Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 10/03/2025 12:35","Fecha Ultimo Pago":"📆💸 19/02/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Monto Ultimo Pago":"💲 ","Nombre":"👤 Angel Mamey Arvizu","Resumen":"{\"Cliente\": \"157\",\"Domicilio\": \"📍 Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Angel Mamey Arvizu\",\"URL\": \"🌐 https://172.16.5.120/crm/client/157\",\"Saldo Actual\": \"💲580 pendientes\",\"Monto Ultimo Pago\": \"💲 \",\"Estado\": \"🔴 Suspendido\",\"Fecha Ultimo Pago\": \"📆💰 19/02/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 19/02/2025 10:00\",\"Clabe Interbancaria\": \"124180695267429334\"}","Saldo Actual":"💲580 pendientes","URL":"🌐 https://172.16.5.120/crm/client/157"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-10 20:08:12.672141] [notice] Logging level set to:debug -[2025-03-10 20:08:12.751180] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-10 20:08:12.751270] [debug] Valor de JSON: {"uuid":"c3352ea0-81c9-4931-92dd-b0d318dd32cf","changeType":"edit","entity":"client","entityId":"146","eventName":"client.edit","extraData":{"entity":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"4188897415","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true}],"accountBalance":-800,"accountCredit":0,"accountOutstanding":800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"4188897415","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true}],"accountBalance":-800,"accountCredit":0,"accountOutstanding":800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":4,"name":"EQUIPO A CREDITO","colorBackground":"#fed74a","colorText":"#444"}],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-10 20:08:12.754008] [debug] Se actualiza a un cliente -[2025-03-10 20:08:12.754138] [debug] Valor de json_data: {"uuid":"c3352ea0-81c9-4931-92dd-b0d318dd32cf","changeType":"edit","entity":"client","entityId":"146","eventName":"client.edit","extraData":{"entity":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"4188897415","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true}],"accountBalance":-800,"accountCredit":0,"accountOutstanding":800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"4188897415","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true}],"accountBalance":-800,"accountCredit":0,"accountOutstanding":800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":4,"name":"EQUIPO A CREDITO","colorBackground":"#fed74a","colorText":"#444"}],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-10 20:08:12.754194] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-10 20:08:12.754232] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-10 20:08:12.754270] [debug] No hubo cambio de true a false en el campo isLead -[2025-03-10 20:08:12.754306] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-10 20:08:12.754340] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-10 20:08:12.754376] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-10 20:08:12.754411] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-10 20:08:12.754479] [debug] {"uuid":"c3352ea0-81c9-4931-92dd-b0d318dd32cf","changeType":"edit","entity":"client","entityId":146,"message":null,"clientId":146,"eventName":"client.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"4188897415","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true}],"accountBalance":-800,"accountCredit":0,"accountOutstanding":800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-10 20:08:12.754599] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-10 20:08:12.754641] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"c3352ea0-81c9-4931-92dd-b0d318dd32cf","changeType":"edit","entity":"client","entityId":146,"message":null,"clientId":146,"eventName":"client.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"4188897415","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true}],"accountBalance":-800,"accountCredit":0,"accountOutstanding":800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Delfino De los Mares - -UUID: - -JSON con los datos a actualizar: {"name":"Delfino De los Mares","custom_fields":{"Cliente":146,"Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Delfino De los Mares","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Saldo Actual":"\ud83d\udcb2800 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"146\",\"Domicilio\": \"\"Nombre\": \"Delfino De los Mares\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2800 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 10\/03\/2025 20:08 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"10\/03\/2025 14:08\",\"Clabe Interbancaria\": \"002180695453333629\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 10\/03\/2025 20:08 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/03\/2025 14:08","Clabe Interbancaria":"002180695453333629","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "146","Domicilio": ""Nombre": "Delfino De los Mares","URL": "https://sistema.siip.mx/crm/client/146","Saldo Actual": "💲800 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 10/03/2025 20:08 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "10/03/2025 14:08","Clabe Interbancaria": "002180695453333629","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: - -Response 2 Patch CallBell: - -[2025-03-10 21:30:03.324621] [notice] Logging level set to:debug -[2025-03-10 21:30:03.594765] [debug] valor el evento recibido por webhook: service.suspend - -[2025-03-10 21:30:03.594851] [debug] Valor de JSON: {"uuid":"dd61c94a-7449-44fd-af8a-3fc70a2cd443","changeType":"suspend","entity":"service","entityId":"128","eventName":"service.suspend","extraData":{"entity":{"id":128,"prepaid":false,"clientId":162,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-12T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-28T00:00:00-0600","unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":136,"startDate":"2025-03-10T15:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":128,"prepaid":false,"clientId":162,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-12T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-28T00:00:00-0600","unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":136,"startDate":"2025-03-10T15:30:02-0600","endDate":null}],"surcharges":[]}}} - -[2025-03-10 21:30:03.595113] [debug] Se suspendió el servicio a un cliente - -[2025-03-10 21:30:03.595204] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-10 21:30:03.595218] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-10 21:30:03.595261] [info] {"uuid":"dd61c94a-7449-44fd-af8a-3fc70a2cd443","changeType":"suspend","entity":"service","entityId":128,"message":null,"clientId":162,"eventName":"service.suspend","clientData":{"id":162,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":"2025-01-10T10:32:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Edward","lastName":"Elric","username":null,"contacts":[{"id":166,"clientId":162,"email":"eduardelric@gmail.com","phone":"5214181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":159,"clientId":162,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"434876867834423324","clientZoneVisible":true},{"id":160,"clientId":162,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RYsuykCEvupaGF","clientZoneVisible":true},{"id":161,"clientId":162,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180599808752427","clientZoneVisible":true}],"accountBalance":-216.67,"accountCredit":0,"accountOutstanding":216.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d84315","addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":128,"prepaid":false,"clientId":162,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-12T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-28T00:00:00-0600","unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":136,"startDate":"2025-03-10T00:00:00-0600","endDate":null}],"surcharges":[],"stopReason":"Payments overdue"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Edward Elric - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/03\/2025 15:30"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Toro Sentado Ramírez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Resumen":"{\"Cliente\": \"118\",\"Domicilio\": \"\"Nombre\": \"Toro Sentado Ramírez\",\"URL\": \"https://sistema.siip.mx/crm/client/118\",\"Saldo Actual\": \"💲3000 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 09/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"09/03/2025 10:00\",\"Clabe Interbancaria\": \"002180173419260258\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"002180173419260258","Estado":"🟠 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 10/03/2025 15:30","Cliente":"118","URL":"🌐 https://sistema.siip.mx/crm/client/118","Nombre":"👤 Toro Sentado Ramírez","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲3000 pendientes","Fecha Ultimo Pago":"📆💸 09/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","user name":"Daniel Humberto 🐁","Monto Ultimo Pago":"💲 ","Domicilio":"📍 Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-10 21:30:05.376504] [notice] Logging level set to:debug -[2025-03-10 21:30:05.533941] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-10 21:30:05.534121] [debug] Valor de JSON: {"uuid":"d4fb032f-8d12-4928-bd3c-841bc8589b71","changeType":"edit","entity":"service","entityId":"128","eventName":"service.edit","extraData":{"entity":{"id":128,"prepaid":false,"clientId":162,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-12T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-28T00:00:00-0600","unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":136,"startDate":"2025-03-10T15:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":128,"prepaid":false,"clientId":162,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-12T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-28T00:00:00-0600","unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":136,"startDate":"2025-03-10T15:30:02-0600","endDate":null}],"surcharges":[]}}} - -[2025-03-10 21:30:05.534281] [debug] Se editó el servicio a un cliente - -[2025-03-10 21:30:05.534360] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-10 21:30:05.534409] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-10 21:30:05.534492] [info] {"uuid":"d4fb032f-8d12-4928-bd3c-841bc8589b71","changeType":"edit","entity":"service","entityId":128,"message":null,"clientId":162,"eventName":"service.edit","clientData":{"id":162,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":"2025-01-10T10:32:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Edward","lastName":"Elric","username":null,"contacts":[{"id":166,"clientId":162,"email":"eduardelric@gmail.com","phone":"5214181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":159,"clientId":162,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"434876867834423324","clientZoneVisible":true},{"id":160,"clientId":162,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RYsuykCEvupaGF","clientZoneVisible":true},{"id":161,"clientId":162,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180599808752427","clientZoneVisible":true}],"accountBalance":-216.67,"accountCredit":0,"accountOutstanding":216.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d84315","addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":128,"prepaid":false,"clientId":162,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-12T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-28T00:00:00-0600","unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":136,"startDate":"2025-03-10T00:00:00-0600","endDate":null}],"surcharges":[],"stopReason":"Payments overdue"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Edward Elric - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/03\/2025 15:30"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Toro Sentado Ramírez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Resumen":"{\"Cliente\": \"118\",\"Domicilio\": \"\"Nombre\": \"Toro Sentado Ramírez\",\"URL\": \"https://sistema.siip.mx/crm/client/118\",\"Saldo Actual\": \"💲3000 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 09/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"09/03/2025 10:00\",\"Clabe Interbancaria\": \"002180173419260258\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"002180173419260258","Estado":"🟠 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 10/03/2025 15:30","Cliente":"118","URL":"🌐 https://sistema.siip.mx/crm/client/118","Nombre":"👤 Toro Sentado Ramírez","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲3000 pendientes","Fecha Ultimo Pago":"📆💸 09/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","user name":"Daniel Humberto 🐁","Monto Ultimo Pago":"💲 ","Domicilio":"📍 Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-10 21:30:07.224925] [notice] Logging level set to:debug -[2025-03-10 21:30:07.408389] [debug] valor el evento recibido por webhook: service.suspend - -[2025-03-10 21:30:07.408564] [debug] Valor de JSON: {"uuid":"1cca54e7-bb74-4a7f-869c-9b69bdca1fe1","changeType":"suspend","entity":"service","entityId":"135","eventName":"service.suspend","extraData":{"entity":{"id":135,"prepaid":false,"clientId":141,"status":3,"name":"Basico 300","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-19T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-19T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-31T00:00:00-0600","unmsClientSiteId":"7dab5f15-5694-44f0-972c-edb71849738f","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":137,"startDate":"2025-03-10T15:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":135,"prepaid":false,"clientId":141,"status":1,"name":"Basico 300","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-19T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-19T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-31T00:00:00-0600","unmsClientSiteId":"7dab5f15-5694-44f0-972c-edb71849738f","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":137,"startDate":"2025-03-10T15:30:02-0600","endDate":null}],"surcharges":[]}}} - -[2025-03-10 21:30:07.408741] [debug] Se suspendió el servicio a un cliente - -[2025-03-10 21:30:07.408832] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-10 21:30:07.408875] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-10 21:30:07.408946] [info] {"uuid":"1cca54e7-bb74-4a7f-869c-9b69bdca1fe1","changeType":"suspend","entity":"service","entityId":135,"message":null,"clientId":141,"eventName":"service.suspend","clientData":{"id":141,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Caim\u00e1n","lastName":"Dorado","username":null,"contacts":[{"id":145,"clientId":141,"email":"caimangolden@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#43a047","addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":135,"prepaid":false,"clientId":141,"status":3,"name":"Basico 300","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-19T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-19T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-31T00:00:00-0600","unmsClientSiteId":"7dab5f15-5694-44f0-972c-edb71849738f","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":137,"startDate":"2025-03-10T00:00:00-0600","endDate":null}],"surcharges":[],"stopReason":"Payments overdue"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: El Caimán Dorado - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/03\/2025 15:30"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Toro Sentado Ramírez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Resumen":"{\"Cliente\": \"118\",\"Domicilio\": \"\"Nombre\": \"Toro Sentado Ramírez\",\"URL\": \"https://sistema.siip.mx/crm/client/118\",\"Saldo Actual\": \"💲3000 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 09/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"09/03/2025 10:00\",\"Clabe Interbancaria\": \"002180173419260258\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"002180173419260258","Estado":"🟠 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 10/03/2025 15:30","Cliente":"118","URL":"🌐 https://sistema.siip.mx/crm/client/118","Nombre":"👤 Toro Sentado Ramírez","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲3000 pendientes","Fecha Ultimo Pago":"📆💸 09/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","user name":"Daniel Humberto 🐁","Monto Ultimo Pago":"💲 ","Domicilio":"📍 Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-10 21:30:09.387567] [notice] Logging level set to:debug -[2025-03-10 21:30:09.552053] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-10 21:30:09.552134] [debug] Valor de JSON: {"uuid":"f37b5b48-c58b-4ad5-9153-6acba79a8f2a","changeType":"edit","entity":"service","entityId":"135","eventName":"service.edit","extraData":{"entity":{"id":135,"prepaid":false,"clientId":141,"status":3,"name":"Basico 300","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-19T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-19T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-31T00:00:00-0600","unmsClientSiteId":"7dab5f15-5694-44f0-972c-edb71849738f","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":137,"startDate":"2025-03-10T15:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":135,"prepaid":false,"clientId":141,"status":1,"name":"Basico 300","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-19T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-19T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-31T00:00:00-0600","unmsClientSiteId":"7dab5f15-5694-44f0-972c-edb71849738f","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":137,"startDate":"2025-03-10T15:30:02-0600","endDate":null}],"surcharges":[]}}} - -[2025-03-10 21:30:09.552253] [debug] Se editó el servicio a un cliente - -[2025-03-10 21:30:09.552289] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-10 21:30:09.552299] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-10 21:30:09.552336] [info] {"uuid":"f37b5b48-c58b-4ad5-9153-6acba79a8f2a","changeType":"edit","entity":"service","entityId":135,"message":null,"clientId":141,"eventName":"service.edit","clientData":{"id":141,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Caim\u00e1n","lastName":"Dorado","username":null,"contacts":[{"id":145,"clientId":141,"email":"caimangolden@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#43a047","addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":135,"prepaid":false,"clientId":141,"status":3,"name":"Basico 300","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-19T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-19T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-31T00:00:00-0600","unmsClientSiteId":"7dab5f15-5694-44f0-972c-edb71849738f","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":137,"startDate":"2025-03-10T00:00:00-0600","endDate":null}],"surcharges":[],"stopReason":"Payments overdue"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: El Caimán Dorado - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/03\/2025 15:30"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Toro Sentado Ramírez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Resumen":"{\"Cliente\": \"118\",\"Domicilio\": \"\"Nombre\": \"Toro Sentado Ramírez\",\"URL\": \"https://sistema.siip.mx/crm/client/118\",\"Saldo Actual\": \"💲3000 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 09/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"09/03/2025 10:00\",\"Clabe Interbancaria\": \"002180173419260258\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"002180173419260258","Estado":"🟠 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 10/03/2025 15:30","Cliente":"118","URL":"🌐 https://sistema.siip.mx/crm/client/118","Nombre":"👤 Toro Sentado Ramírez","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲3000 pendientes","Fecha Ultimo Pago":"📆💸 09/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","user name":"Daniel Humberto 🐁","Monto Ultimo Pago":"💲 ","Domicilio":"📍 Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-10 23:24:49.039098] [notice] Logging level set to:debug -[2025-03-10 23:24:49.174843] [debug] valor el evento recibido por webhook: service.suspend_cancel - -[2025-03-10 23:24:49.175065] [debug] Valor de JSON: {"uuid":"5f71cd49-65c3-4c07-8c4a-9ebf3851469b","changeType":"unsuspend","entity":"service","entityId":"131","eventName":"service.suspend_cancel","extraData":{"entity":{"id":131,"prepaid":false,"clientId":146,"status":1,"name":"Basico 300","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-13T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-13T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-31T00:00:00-0600","unmsClientSiteId":"bc4103e6-5550-462c-84df-f279b498f6ff","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":135,"startDate":"2025-03-04T00:00:00-0600","endDate":"2025-03-10T17:24:48-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":131,"prepaid":false,"clientId":146,"status":3,"name":"Basico 300","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-13T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-13T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-31T00:00:00-0600","unmsClientSiteId":"bc4103e6-5550-462c-84df-f279b498f6ff","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":135,"startDate":"2025-03-04T00:00:00-0600","endDate":"2025-03-10T17:24:48-0600"}],"surcharges":[]}}} - -[2025-03-10 23:24:49.175338] [debug] Se reactivó el servicio a un cliente - -[2025-03-10 23:24:49.175462] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-10 23:24:49.175507] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-10 23:24:49.175578] [info] {"uuid":"5f71cd49-65c3-4c07-8c4a-9ebf3851469b","changeType":"unsuspend","entity":"service","entityId":131,"message":null,"clientId":146,"eventName":"service.suspend_cancel","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"4188897415","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true}],"accountBalance":-800,"accountCredit":0,"accountOutstanding":800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":131,"prepaid":false,"clientId":146,"status":1,"name":"Basico 300","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-13T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-13T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-31T00:00:00-0600","unmsClientSiteId":"bc4103e6-5550-462c-84df-f279b498f6ff","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":135,"startDate":"2025-03-04T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"}],"surcharges":[]},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Delfino De los Mares - -UUID: - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/03\/2025 17:24"}} - -Response Patch CallBell: - -[2025-03-10 23:24:50.856509] [notice] Logging level set to:debug -[2025-03-10 23:24:50.978487] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-10 23:24:50.978590] [debug] Valor de JSON: {"uuid":"51b0aab4-6cda-4ba9-a460-94ddddf55d48","changeType":"edit","entity":"service","entityId":"131","eventName":"service.edit","extraData":{"entity":{"id":131,"prepaid":false,"clientId":146,"status":1,"name":"Basico 300","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-13T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-13T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-31T00:00:00-0600","unmsClientSiteId":"bc4103e6-5550-462c-84df-f279b498f6ff","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":135,"startDate":"2025-03-04T00:00:00-0600","endDate":"2025-03-10T17:24:48-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":131,"prepaid":false,"clientId":146,"status":3,"name":"Basico 300","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-13T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-13T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-31T00:00:00-0600","unmsClientSiteId":"bc4103e6-5550-462c-84df-f279b498f6ff","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":135,"startDate":"2025-03-04T00:00:00-0600","endDate":"2025-03-10T17:24:48-0600"}],"surcharges":[]}}} - -[2025-03-10 23:24:50.978713] [debug] Se editó el servicio a un cliente - -[2025-03-10 23:24:50.978751] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-10 23:24:50.978774] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-10 23:24:50.978827] [info] {"uuid":"51b0aab4-6cda-4ba9-a460-94ddddf55d48","changeType":"edit","entity":"service","entityId":131,"message":null,"clientId":146,"eventName":"service.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"4188897415","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true}],"accountBalance":-800,"accountCredit":0,"accountOutstanding":800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":131,"prepaid":false,"clientId":146,"status":1,"name":"Basico 300","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-13T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-13T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-31T00:00:00-0600","unmsClientSiteId":"bc4103e6-5550-462c-84df-f279b498f6ff","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":135,"startDate":"2025-03-04T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"}],"surcharges":[]},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Delfino De los Mares - -UUID: - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/03\/2025 17:24"}} - -[2025-03-10 23:25:00.992950] [notice] Logging level set to:debug -[2025-03-10 23:25:01.354016] [debug] valor el evento recibido por webhook: service.postpone - -[2025-03-10 23:25:01.354235] [debug] Valor de JSON: {"uuid":"c37c8df3-b4f5-4683-b57d-a83891c032ab","changeType":"postpone","entity":"service","entityId":"131","eventName":"service.postpone","extraData":{"entity":{"id":131,"prepaid":false,"clientId":146,"status":1,"name":"Basico 300","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-13T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-13T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-31T00:00:00-0600","unmsClientSiteId":"bc4103e6-5550-462c-84df-f279b498f6ff","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":135,"startDate":"2025-03-04T00:00:00-0600","endDate":"2025-03-10T17:24:48-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":131,"prepaid":false,"clientId":146,"status":3,"name":"Basico 300","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-13T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-13T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-31T00:00:00-0600","unmsClientSiteId":"bc4103e6-5550-462c-84df-f279b498f6ff","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":135,"startDate":"2025-03-04T00:00:00-0600","endDate":"2025-03-10T17:24:48-0600"}],"surcharges":[]}}} - -[2025-03-10 23:25:01.354579] [debug] Se pospuso la suspención del servicio a un cliente - -[2025-03-10 23:25:01.354742] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-10 23:25:01.354815] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-10 23:25:01.354907] [info] {"uuid":"c37c8df3-b4f5-4683-b57d-a83891c032ab","changeType":"postpone","entity":"service","entityId":131,"message":null,"clientId":146,"eventName":"service.postpone","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"4188897415","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true}],"accountBalance":-800,"accountCredit":0,"accountOutstanding":800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":131,"prepaid":false,"clientId":146,"status":1,"name":"Basico 300","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-13T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-13T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-31T00:00:00-0600","unmsClientSiteId":"bc4103e6-5550-462c-84df-f279b498f6ff","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":135,"startDate":"2025-03-04T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"}],"surcharges":[]},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Delfino De los Mares - -UUID: - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/03\/2025 17:25"}} - -Response Patch CallBell: - -[2025-03-10 23:32:43.639614] [notice] Logging level set to:debug -[2025-03-10 23:32:43.879394] [debug] valor el evento recibido por webhook: service.suspend_cancel - -[2025-03-10 23:32:43.879616] [debug] Valor de JSON: {"uuid":"de8ea2b9-d0e8-477c-8d5d-1a184e8db4bd","changeType":"unsuspend","entity":"service","entityId":"128","eventName":"service.suspend_cancel","extraData":{"entity":{"id":128,"prepaid":false,"clientId":162,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-12T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-28T00:00:00-0600","unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":136,"startDate":"2025-03-10T00:00:00-0600","endDate":"2025-03-10T17:32:43-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":128,"prepaid":false,"clientId":162,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-12T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-28T00:00:00-0600","unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":136,"startDate":"2025-03-10T00:00:00-0600","endDate":"2025-03-10T17:32:43-0600"}],"surcharges":[]}}} - -[2025-03-10 23:32:43.879895] [debug] Se reactivó el servicio a un cliente - -[2025-03-10 23:32:43.880026] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-10 23:32:43.880072] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-10 23:32:43.880143] [info] {"uuid":"de8ea2b9-d0e8-477c-8d5d-1a184e8db4bd","changeType":"unsuspend","entity":"service","entityId":128,"message":null,"clientId":162,"eventName":"service.suspend_cancel","clientData":{"id":162,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":"2025-01-10T10:32:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Edward","lastName":"Elric","username":null,"contacts":[{"id":166,"clientId":162,"email":"eduardelric@gmail.com","phone":"5214181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":159,"clientId":162,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"434876867834423324","clientZoneVisible":true},{"id":160,"clientId":162,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RYsuykCEvupaGF","clientZoneVisible":true},{"id":161,"clientId":162,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180599808752427","clientZoneVisible":true}],"accountBalance":-216.67,"accountCredit":0,"accountOutstanding":216.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d84315","addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":128,"prepaid":false,"clientId":162,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-12T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-28T00:00:00-0600","unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":136,"startDate":"2025-03-10T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"}],"surcharges":[]},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Edward Elric - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/03\/2025 17:32"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Toro Sentado Ramírez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Resumen":"{\"Cliente\": \"118\",\"Domicilio\": \"\"Nombre\": \"Toro Sentado Ramírez\",\"URL\": \"https://sistema.siip.mx/crm/client/118\",\"Saldo Actual\": \"💲3000 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 09/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"09/03/2025 10:00\",\"Clabe Interbancaria\": \"002180173419260258\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"002180173419260258","Estado":"🟢 Activo","Fecha Ultima Actualizacion":"📆🔄️ 10/03/2025 17:32","Cliente":"118","URL":"🌐 https://sistema.siip.mx/crm/client/118","Nombre":"👤 Toro Sentado Ramírez","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲3000 pendientes","Fecha Ultimo Pago":"📆💸 09/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","user name":"Daniel Humberto 🐁","Monto Ultimo Pago":"💲 ","Domicilio":"📍 Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-10 23:32:45.683480] [notice] Logging level set to:debug -[2025-03-10 23:32:45.816777] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-10 23:32:45.816940] [debug] Valor de JSON: {"uuid":"213027ce-5db3-44fa-a2be-a62a9d3f9ed7","changeType":"edit","entity":"service","entityId":"128","eventName":"service.edit","extraData":{"entity":{"id":128,"prepaid":false,"clientId":162,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-12T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-28T00:00:00-0600","unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":136,"startDate":"2025-03-10T00:00:00-0600","endDate":"2025-03-10T17:32:43-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":128,"prepaid":false,"clientId":162,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-12T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-28T00:00:00-0600","unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":136,"startDate":"2025-03-10T00:00:00-0600","endDate":"2025-03-10T17:32:43-0600"}],"surcharges":[]}}} - -[2025-03-10 23:32:45.817111] [debug] Se editó el servicio a un cliente - -[2025-03-10 23:32:45.817178] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-10 23:32:45.817220] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-10 23:32:45.817289] [info] {"uuid":"213027ce-5db3-44fa-a2be-a62a9d3f9ed7","changeType":"edit","entity":"service","entityId":128,"message":null,"clientId":162,"eventName":"service.edit","clientData":{"id":162,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":"2025-01-10T10:32:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Edward","lastName":"Elric","username":null,"contacts":[{"id":166,"clientId":162,"email":"eduardelric@gmail.com","phone":"5214181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":159,"clientId":162,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"434876867834423324","clientZoneVisible":true},{"id":160,"clientId":162,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RYsuykCEvupaGF","clientZoneVisible":true},{"id":161,"clientId":162,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180599808752427","clientZoneVisible":true}],"accountBalance":-216.67,"accountCredit":0,"accountOutstanding":216.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d84315","addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":128,"prepaid":false,"clientId":162,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-12T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-28T00:00:00-0600","unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":136,"startDate":"2025-03-10T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"}],"surcharges":[]},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Edward Elric - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/03\/2025 17:32"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Toro Sentado Ramírez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Resumen":"{\"Cliente\": \"118\",\"Domicilio\": \"\"Nombre\": \"Toro Sentado Ramírez\",\"URL\": \"https://sistema.siip.mx/crm/client/118\",\"Saldo Actual\": \"💲3000 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 09/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"09/03/2025 10:00\",\"Clabe Interbancaria\": \"002180173419260258\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"002180173419260258","Estado":"🟢 Activo","Fecha Ultima Actualizacion":"📆🔄️ 10/03/2025 17:32","Cliente":"118","URL":"🌐 https://sistema.siip.mx/crm/client/118","Nombre":"👤 Toro Sentado Ramírez","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲3000 pendientes","Fecha Ultimo Pago":"📆💸 09/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","user name":"Daniel Humberto 🐁","Monto Ultimo Pago":"💲 ","Domicilio":"📍 Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-10 23:32:47.467266] [notice] Logging level set to:debug -[2025-03-10 23:32:47.632499] [debug] valor el evento recibido por webhook: service.postpone - -[2025-03-10 23:32:47.632709] [debug] Valor de JSON: {"uuid":"453da9ef-630d-4912-a730-aa986f781027","changeType":"postpone","entity":"service","entityId":"128","eventName":"service.postpone","extraData":{"entity":{"id":128,"prepaid":false,"clientId":162,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-12T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-28T00:00:00-0600","unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":136,"startDate":"2025-03-10T00:00:00-0600","endDate":"2025-03-10T17:32:43-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":128,"prepaid":false,"clientId":162,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-12T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-28T00:00:00-0600","unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":136,"startDate":"2025-03-10T00:00:00-0600","endDate":"2025-03-10T17:32:43-0600"}],"surcharges":[]}}} - -[2025-03-10 23:32:47.632880] [debug] Se pospuso la suspención del servicio a un cliente - -[2025-03-10 23:32:47.632962] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-10 23:32:47.633004] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-10 23:32:47.633071] [info] {"uuid":"453da9ef-630d-4912-a730-aa986f781027","changeType":"postpone","entity":"service","entityId":128,"message":null,"clientId":162,"eventName":"service.postpone","clientData":{"id":162,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":"2025-01-10T10:32:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Edward","lastName":"Elric","username":null,"contacts":[{"id":166,"clientId":162,"email":"eduardelric@gmail.com","phone":"5214181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":159,"clientId":162,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"434876867834423324","clientZoneVisible":true},{"id":160,"clientId":162,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RYsuykCEvupaGF","clientZoneVisible":true},{"id":161,"clientId":162,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180599808752427","clientZoneVisible":true}],"accountBalance":-216.67,"accountCredit":0,"accountOutstanding":216.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d84315","addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":128,"prepaid":false,"clientId":162,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-12T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-28T00:00:00-0600","unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":136,"startDate":"2025-03-10T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"}],"surcharges":[]},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Edward Elric - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/03\/2025 17:32"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Toro Sentado Ramírez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Resumen":"{\"Cliente\": \"118\",\"Domicilio\": \"\"Nombre\": \"Toro Sentado Ramírez\",\"URL\": \"https://sistema.siip.mx/crm/client/118\",\"Saldo Actual\": \"💲3000 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 09/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"09/03/2025 10:00\",\"Clabe Interbancaria\": \"002180173419260258\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"002180173419260258","Estado":"🟢 Activo","Fecha Ultima Actualizacion":"📆🔄️ 10/03/2025 17:32","Cliente":"118","URL":"🌐 https://sistema.siip.mx/crm/client/118","Nombre":"👤 Toro Sentado Ramírez","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲3000 pendientes","Fecha Ultimo Pago":"📆💸 09/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","user name":"Daniel Humberto 🐁","Monto Ultimo Pago":"💲 ","Domicilio":"📍 Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-11 0:17:26.620866] [notice] Logging level set to:debug -[2025-03-11 0:17:26.774497] [debug] valor el evento recibido por webhook: invoice.edit - -[2025-03-11 0:17:26.774707] [debug] Valor de JSON: {"uuid":"d552f025-4edf-45f4-82e6-e19117f43814","changeType":"edit","entity":"invoice","entityId":"1568","eventName":"invoice.edit","extraData":{"entity":{"id":1568,"clientId":148,"number":"001525","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-21T10:00:01-0600","emailSentDate":"2025-03-06T00:00:00-0600","maturityDays":30,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1571,"type":"service","label":"plan300 01\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":1568,"clientId":148,"number":"001525","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":"2025-03-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1571,"type":"service","label":"plan300 01\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false}}} - -[2025-03-11 0:17:26.774981] [debug] Edición de Factura - -[2025-03-11 0:17:26.775089] [debug] {"uuid":"d552f025-4edf-45f4-82e6-e19117f43814","changeType":"edit","entity":"invoice","entityId":1568,"message":null,"clientId":148,"eventName":"invoice.edit","clientData":{"id":148,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"24 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-08-19T00:00:00-0600","leadConvertedAt":"2024-08-19T15:08:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El AR","lastName":"Real 3D","username":null,"contacts":[{"id":152,"clientId":148,"email":"elarquijuve@gmail.com","phone":"41818781806","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":147,"clientId":148,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Qh0pTQM9a96D8B","clientZoneVisible":true},{"id":148,"clientId":148,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180834778043086","clientZoneVisible":true},{"id":151,"clientId":148,"customAttributeId":8,"name":"conekta","key":"conekta","value":"aasdad","clientZoneVisible":true}],"accountBalance":-1930,"accountCredit":0,"accountOutstanding":1930,"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":1568,"clientId":148,"number":"001525","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-21T10:00:01-0600","emailSentDate":"2025-03-06T00:00:00-0600","maturityDays":30,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1571,"type":"service","label":"plan300 01\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-11 0:17:26.775213] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-11 0:17:26.775275] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"d552f025-4edf-45f4-82e6-e19117f43814","changeType":"edit","entity":"invoice","entityId":1568,"message":null,"clientId":148,"eventName":"invoice.edit","clientData":{"id":148,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"24 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-08-19T00:00:00-0600","leadConvertedAt":"2024-08-19T15:08:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El AR","lastName":"Real 3D","username":null,"contacts":[{"id":152,"clientId":148,"email":"elarquijuve@gmail.com","phone":"41818781806","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":147,"clientId":148,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Qh0pTQM9a96D8B","clientZoneVisible":true},{"id":148,"clientId":148,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180834778043086","clientZoneVisible":true},{"id":151,"clientId":148,"customAttributeId":8,"name":"conekta","key":"conekta","value":"aasdad","clientZoneVisible":true}],"accountBalance":-1930,"accountCredit":0,"accountOutstanding":1930,"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":1568,"clientId":148,"number":"001525","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-21T10:00:01-0600","emailSentDate":"2025-03-06T00:00:00-0600","maturityDays":30,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1571,"type":"service","label":"plan300 01\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -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":{"Cliente":148,"Domicilio":"\ud83d\udccd Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 El AR Real 3D","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/148","Saldo Actual":"\ud83d\udcb21930 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 3500","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"148\",\"Domicilio\": \"\"Nombre\": \"El AR Real 3D\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/148\",\"Saldo Actual\": \"\ud83d\udcb21930 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 19\/08\/2024 15:10 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"10\/03\/2025 18:17\",\"Clabe Interbancaria\": \"002180834778043086\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 19\/08\/2024 15:10 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/03\/2025 18:17","Clabe Interbancaria":"002180834778043086","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "148","Domicilio": ""Nombre": "El AR Real 3D","URL": "https://sistema.siip.mx/crm/client/148","Saldo Actual": "💲1930 pendientes","Monto Ultimo Pago": "$ 3500","Estado": "Suspendido","Fecha Ultimo Pago": " 19/08/2024 15:10 con Efectivo 💵","Fecha Ultima Actualizacion": "10/03/2025 18:17","Clabe Interbancaria": "002180834778043086","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: - -Response 2 Patch CallBell: - -[2025-03-11 0:17:49.611809] [notice] Logging level set to:debug -[2025-03-11 0:17:49.755661] [debug] valor el evento recibido por webhook: invoice.edit - -[2025-03-11 0:17:49.755866] [debug] Valor de JSON: {"uuid":"cf5dfdbf-171e-4d0d-a898-98f3fc094bac","changeType":"edit","entity":"invoice","entityId":"1444","eventName":"invoice.edit","extraData":{"entity":{"id":1444,"clientId":148,"number":"001408","createdDate":"2025-01-22T10:00:02-0600","dueDate":"2025-02-21T10:00:02-0600","emailSentDate":"2025-02-06T00:00:00-0600","maturityDays":30,"taxableSupplyDate":"2025-01-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1447,"type":"service","label":"plan300 01\/01\/2025 \u2013 31\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":1444,"clientId":148,"number":"001408","createdDate":"2025-01-22T10:00:02-0600","dueDate":"2025-02-05T10:00:02-0600","emailSentDate":"2025-02-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-01-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1447,"type":"service","label":"plan300 01\/01\/2025 \u2013 31\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false}}} - -[2025-03-11 0:17:49.756140] [debug] Edición de Factura - -[2025-03-11 0:17:49.756237] [debug] {"uuid":"cf5dfdbf-171e-4d0d-a898-98f3fc094bac","changeType":"edit","entity":"invoice","entityId":1444,"message":null,"clientId":148,"eventName":"invoice.edit","clientData":{"id":148,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"24 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-08-19T00:00:00-0600","leadConvertedAt":"2024-08-19T15:08:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El AR","lastName":"Real 3D","username":null,"contacts":[{"id":152,"clientId":148,"email":"elarquijuve@gmail.com","phone":"41818781806","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":147,"clientId":148,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Qh0pTQM9a96D8B","clientZoneVisible":true},{"id":148,"clientId":148,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180834778043086","clientZoneVisible":true},{"id":151,"clientId":148,"customAttributeId":8,"name":"conekta","key":"conekta","value":"aasdad","clientZoneVisible":true}],"accountBalance":-1930,"accountCredit":0,"accountOutstanding":1930,"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":1444,"clientId":148,"number":"001408","createdDate":"2025-01-22T10:00:02-0600","dueDate":"2025-02-21T10:00:02-0600","emailSentDate":"2025-02-06T00:00:00-0600","maturityDays":30,"taxableSupplyDate":"2025-01-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1447,"type":"service","label":"plan300 01\/01\/2025 \u2013 31\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-11 0:17:49.756351] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-11 0:17:49.756393] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"cf5dfdbf-171e-4d0d-a898-98f3fc094bac","changeType":"edit","entity":"invoice","entityId":1444,"message":null,"clientId":148,"eventName":"invoice.edit","clientData":{"id":148,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"24 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-08-19T00:00:00-0600","leadConvertedAt":"2024-08-19T15:08:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El AR","lastName":"Real 3D","username":null,"contacts":[{"id":152,"clientId":148,"email":"elarquijuve@gmail.com","phone":"41818781806","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":147,"clientId":148,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Qh0pTQM9a96D8B","clientZoneVisible":true},{"id":148,"clientId":148,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180834778043086","clientZoneVisible":true},{"id":151,"clientId":148,"customAttributeId":8,"name":"conekta","key":"conekta","value":"aasdad","clientZoneVisible":true}],"accountBalance":-1930,"accountCredit":0,"accountOutstanding":1930,"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":1444,"clientId":148,"number":"001408","createdDate":"2025-01-22T10:00:02-0600","dueDate":"2025-02-21T10:00:02-0600","emailSentDate":"2025-02-06T00:00:00-0600","maturityDays":30,"taxableSupplyDate":"2025-01-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1447,"type":"service","label":"plan300 01\/01\/2025 \u2013 31\/01\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -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":{"Cliente":148,"Domicilio":"\ud83d\udccd Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 El AR Real 3D","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/148","Saldo Actual":"\ud83d\udcb21930 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 3500","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"148\",\"Domicilio\": \"\"Nombre\": \"El AR Real 3D\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/148\",\"Saldo Actual\": \"\ud83d\udcb21930 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 19\/08\/2024 15:10 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"10\/03\/2025 18:17\",\"Clabe Interbancaria\": \"002180834778043086\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 19\/08\/2024 15:10 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/03\/2025 18:17","Clabe Interbancaria":"002180834778043086","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "148","Domicilio": ""Nombre": "El AR Real 3D","URL": "https://sistema.siip.mx/crm/client/148","Saldo Actual": "💲1930 pendientes","Monto Ultimo Pago": "$ 3500","Estado": "Suspendido","Fecha Ultimo Pago": " 19/08/2024 15:10 con Efectivo 💵","Fecha Ultima Actualizacion": "10/03/2025 18:17","Clabe Interbancaria": "002180834778043086","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: - -Response 2 Patch CallBell: - -[2025-03-11 0:18:07.057418] [notice] Logging level set to:debug -[2025-03-11 0:18:07.199805] [debug] valor el evento recibido por webhook: invoice.edit - -[2025-03-11 0:18:07.200042] [debug] Valor de JSON: {"uuid":"ee5b809e-a0f5-47a8-9a8d-2f1b482a1b21","changeType":"edit","entity":"invoice","entityId":"1190","eventName":"invoice.edit","extraData":{"entity":{"id":1190,"clientId":148,"number":"001154","createdDate":"2024-11-21T10:00:03-0600","dueDate":"2024-12-21T10:00:03-0600","emailSentDate":"2024-12-06T00:00:00-0600","maturityDays":30,"taxableSupplyDate":"2024-11-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1192,"type":"service","label":"plan300 01\/11\/2024 \u2013 30\/11\/2024","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":1190,"clientId":148,"number":"001154","createdDate":"2024-11-21T10:00:03-0600","dueDate":"2024-12-05T10:00:03-0600","emailSentDate":"2024-12-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2024-11-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1192,"type":"service","label":"plan300 01\/11\/2024 \u2013 30\/11\/2024","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}}} - -[2025-03-11 0:18:07.200314] [debug] Edición de Factura - -[2025-03-11 0:18:07.200417] [debug] {"uuid":"ee5b809e-a0f5-47a8-9a8d-2f1b482a1b21","changeType":"edit","entity":"invoice","entityId":1190,"message":null,"clientId":148,"eventName":"invoice.edit","clientData":{"id":148,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"24 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-08-19T00:00:00-0600","leadConvertedAt":"2024-08-19T15:08:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El AR","lastName":"Real 3D","username":null,"contacts":[{"id":152,"clientId":148,"email":"elarquijuve@gmail.com","phone":"41818781806","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":147,"clientId":148,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Qh0pTQM9a96D8B","clientZoneVisible":true},{"id":148,"clientId":148,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180834778043086","clientZoneVisible":true},{"id":151,"clientId":148,"customAttributeId":8,"name":"conekta","key":"conekta","value":"aasdad","clientZoneVisible":true}],"accountBalance":-1930,"accountCredit":0,"accountOutstanding":1930,"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":1190,"clientId":148,"number":"001154","createdDate":"2024-11-21T10:00:03-0600","dueDate":"2024-12-21T10:00:03-0600","emailSentDate":"2024-12-06T00:00:00-0600","maturityDays":30,"taxableSupplyDate":"2024-11-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1192,"type":"service","label":"plan300 01\/11\/2024 \u2013 30\/11\/2024","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-11 0:18:07.200531] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-11 0:18:07.200573] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"ee5b809e-a0f5-47a8-9a8d-2f1b482a1b21","changeType":"edit","entity":"invoice","entityId":1190,"message":null,"clientId":148,"eventName":"invoice.edit","clientData":{"id":148,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"24 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-08-19T00:00:00-0600","leadConvertedAt":"2024-08-19T15:08:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El AR","lastName":"Real 3D","username":null,"contacts":[{"id":152,"clientId":148,"email":"elarquijuve@gmail.com","phone":"41818781806","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":147,"clientId":148,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Qh0pTQM9a96D8B","clientZoneVisible":true},{"id":148,"clientId":148,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180834778043086","clientZoneVisible":true},{"id":151,"clientId":148,"customAttributeId":8,"name":"conekta","key":"conekta","value":"aasdad","clientZoneVisible":true}],"accountBalance":-1930,"accountCredit":0,"accountOutstanding":1930,"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":1190,"clientId":148,"number":"001154","createdDate":"2024-11-21T10:00:03-0600","dueDate":"2024-12-21T10:00:03-0600","emailSentDate":"2024-12-06T00:00:00-0600","maturityDays":30,"taxableSupplyDate":"2024-11-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1192,"type":"service","label":"plan300 01\/11\/2024 \u2013 30\/11\/2024","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -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":{"Cliente":148,"Domicilio":"\ud83d\udccd Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 El AR Real 3D","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/148","Saldo Actual":"\ud83d\udcb21930 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 3500","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"148\",\"Domicilio\": \"\"Nombre\": \"El AR Real 3D\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/148\",\"Saldo Actual\": \"\ud83d\udcb21930 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 19\/08\/2024 15:10 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"10\/03\/2025 18:18\",\"Clabe Interbancaria\": \"002180834778043086\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 19\/08\/2024 15:10 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/03\/2025 18:18","Clabe Interbancaria":"002180834778043086","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "148","Domicilio": ""Nombre": "El AR Real 3D","URL": "https://sistema.siip.mx/crm/client/148","Saldo Actual": "💲1930 pendientes","Monto Ultimo Pago": "$ 3500","Estado": "Suspendido","Fecha Ultimo Pago": " 19/08/2024 15:10 con Efectivo 💵","Fecha Ultima Actualizacion": "10/03/2025 18:18","Clabe Interbancaria": "002180834778043086","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: - -Response 2 Patch CallBell: - -[2025-03-11 0:18:26.802474] [notice] Logging level set to:debug -[2025-03-11 0:18:26.868407] [error] Error for request http://localhost/crm/api/v1.0/invoices/859. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-03-11 0:18:28.022819] [notice] Logging level set to:debug -[2025-03-11 0:18:28.088956] [error] Error for request http://localhost/crm/api/v1.0/invoices/966. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-03-11 0:18:29.191010] [notice] Logging level set to:debug -[2025-03-11 0:18:29.271676] [error] Error for request http://localhost/crm/api/v1.0/invoices/1082. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-03-11 0:18:30.373473] [notice] Logging level set to:debug -[2025-03-11 0:18:30.432542] [error] Error for request http://localhost/crm/api/v1.0/invoices/1190. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-03-11 0:18:31.527743] [notice] Logging level set to:debug -[2025-03-11 0:18:31.591968] [error] Error for request http://localhost/crm/api/v1.0/invoices/1310. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-03-11 0:18:32.762082] [notice] Logging level set to:debug -[2025-03-11 0:18:32.825968] [error] Error for request http://localhost/crm/api/v1.0/invoices/1444. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-03-11 0:18:33.805741] [notice] Logging level set to:debug -[2025-03-11 0:18:33.953337] [debug] valor el evento recibido por webhook: service.suspend_cancel - -[2025-03-11 0:18:33.953557] [debug] Valor de JSON: {"uuid":"470e63e8-d364-4649-8c29-da564d1dde0c","changeType":"unsuspend","entity":"service","entityId":"116","eventName":"service.suspend_cancel","extraData":{"entity":{"id":116,"prepaid":false,"clientId":148,"status":1,"name":"plan300","fullAddress":"Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"24 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1558353,"addressGpsLon":-100.9384629,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-08-19T00: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-08-19T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"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":"2025-02-28T00:00:00-0600","unmsClientSiteId":"ceb31867-d587-4117-b62d-11502a873bcf","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":114,"startDate":"2024-09-07T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":131,"startDate":"2024-12-23T00:00:00-0600","endDate":"2025-03-10T18:18:33-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":116,"prepaid":false,"clientId":148,"status":3,"name":"plan300","fullAddress":"Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"24 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1558353,"addressGpsLon":-100.9384629,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-08-19T00: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-08-19T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"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":"2025-02-28T00:00:00-0600","unmsClientSiteId":"ceb31867-d587-4117-b62d-11502a873bcf","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":114,"startDate":"2024-09-07T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":131,"startDate":"2024-12-23T00:00:00-0600","endDate":"2025-03-10T18:18:33-0600"}],"surcharges":[]}}} - -[2025-03-11 0:18:33.953861] [debug] Se reactivó el servicio a un cliente - -[2025-03-11 0:18:33.953986] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-11 0:18:33.954031] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-11 0:18:33.954101] [info] {"uuid":"470e63e8-d364-4649-8c29-da564d1dde0c","changeType":"unsuspend","entity":"service","entityId":116,"message":null,"clientId":148,"eventName":"service.suspend_cancel","clientData":{"id":148,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"24 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-08-19T00:00:00-0600","leadConvertedAt":"2024-08-19T15:08:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El AR","lastName":"Real 3D","username":null,"contacts":[{"id":152,"clientId":148,"email":"elarquijuve@gmail.com","phone":"41818781806","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":147,"clientId":148,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Qh0pTQM9a96D8B","clientZoneVisible":true},{"id":148,"clientId":148,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180834778043086","clientZoneVisible":true},{"id":151,"clientId":148,"customAttributeId":8,"name":"conekta","key":"conekta","value":"aasdad","clientZoneVisible":true}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#c62828","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":{"id":116,"prepaid":false,"clientId":148,"status":1,"name":"plan300","fullAddress":"Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"24 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1558353,"addressGpsLon":-100.9384629,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-08-19T00: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-08-19T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"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":"2025-02-28T00:00:00-0600","unmsClientSiteId":"ceb31867-d587-4117-b62d-11502a873bcf","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":114,"startDate":"2024-09-07T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":131,"startDate":"2024-12-23T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"}],"surcharges":[]},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: El AR Real 3D - -UUID: - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/03\/2025 18:18"}} - -Response Patch CallBell: - -[2025-03-11 0:18:35.520741] [notice] Logging level set to:debug -[2025-03-11 0:18:35.674232] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-11 0:18:35.674453] [debug] Valor de JSON: {"uuid":"3867ead3-320c-4dca-ba8a-148d7696cb84","changeType":"edit","entity":"service","entityId":"116","eventName":"service.edit","extraData":{"entity":{"id":116,"prepaid":false,"clientId":148,"status":1,"name":"plan300","fullAddress":"Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"24 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1558353,"addressGpsLon":-100.9384629,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-08-19T00: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-08-19T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"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":"2025-02-28T00:00:00-0600","unmsClientSiteId":"ceb31867-d587-4117-b62d-11502a873bcf","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":114,"startDate":"2024-09-07T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":131,"startDate":"2024-12-23T00:00:00-0600","endDate":"2025-03-10T18:18:33-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":116,"prepaid":false,"clientId":148,"status":3,"name":"plan300","fullAddress":"Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"24 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1558353,"addressGpsLon":-100.9384629,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-08-19T00: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-08-19T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"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":"2025-02-28T00:00:00-0600","unmsClientSiteId":"ceb31867-d587-4117-b62d-11502a873bcf","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":114,"startDate":"2024-09-07T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":131,"startDate":"2024-12-23T00:00:00-0600","endDate":"2025-03-10T18:18:33-0600"}],"surcharges":[]}}} - -[2025-03-11 0:18:35.674643] [debug] Se editó el servicio a un cliente - -[2025-03-11 0:18:35.674727] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-11 0:18:35.674771] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-11 0:18:35.674839] [info] {"uuid":"3867ead3-320c-4dca-ba8a-148d7696cb84","changeType":"edit","entity":"service","entityId":116,"message":null,"clientId":148,"eventName":"service.edit","clientData":{"id":148,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"24 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-08-19T00:00:00-0600","leadConvertedAt":"2024-08-19T15:08:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El AR","lastName":"Real 3D","username":null,"contacts":[{"id":152,"clientId":148,"email":"elarquijuve@gmail.com","phone":"41818781806","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":147,"clientId":148,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Qh0pTQM9a96D8B","clientZoneVisible":true},{"id":148,"clientId":148,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180834778043086","clientZoneVisible":true},{"id":151,"clientId":148,"customAttributeId":8,"name":"conekta","key":"conekta","value":"aasdad","clientZoneVisible":true}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#c62828","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":{"id":116,"prepaid":false,"clientId":148,"status":1,"name":"plan300","fullAddress":"Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"24 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1558353,"addressGpsLon":-100.9384629,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-08-19T00: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-08-19T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"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":"2025-02-28T00:00:00-0600","unmsClientSiteId":"ceb31867-d587-4117-b62d-11502a873bcf","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":114,"startDate":"2024-09-07T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":131,"startDate":"2024-12-23T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"}],"surcharges":[]},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: El AR Real 3D - -UUID: - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/03\/2025 18:18"}} - -Response Patch CallBell: - -[2025-03-11 0:19:14.216073] [notice] Logging level set to:debug -[2025-03-11 0:19:14.352585] [debug] valor el evento recibido por webhook: invoice.edit - -[2025-03-11 0:19:14.352669] [debug] Valor de JSON: {"uuid":"4b3b7dc5-9f52-47c4-bebb-e17a2e1b3609","changeType":"edit","entity":"invoice","entityId":"1568","eventName":"invoice.edit","extraData":{"entity":{"id":1568,"clientId":148,"number":"001525","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":"2025-03-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1571,"type":"service","label":"plan300 01\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":1568,"clientId":148,"number":"001525","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-21T10:00:01-0600","emailSentDate":"2025-03-06T00:00:00-0600","maturityDays":30,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1571,"type":"service","label":"plan300 01\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"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}}} - -[2025-03-11 0:19:14.352896] [debug] Edición de Factura - -[2025-03-11 0:19:14.352961] [debug] {"uuid":"4b3b7dc5-9f52-47c4-bebb-e17a2e1b3609","changeType":"edit","entity":"invoice","entityId":1568,"message":null,"clientId":148,"eventName":"invoice.edit","clientData":{"id":148,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"24 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-08-19T00:00:00-0600","leadConvertedAt":"2024-08-19T15:08:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El AR","lastName":"Real 3D","username":null,"contacts":[{"id":152,"clientId":148,"email":"elarquijuve@gmail.com","phone":"41818781806","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":147,"clientId":148,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Qh0pTQM9a96D8B","clientZoneVisible":true},{"id":148,"clientId":148,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180834778043086","clientZoneVisible":true},{"id":151,"clientId":148,"customAttributeId":8,"name":"conekta","key":"conekta","value":"aasdad","clientZoneVisible":true}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"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":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1568,"clientId":148,"number":"001525","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":"2025-03-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1571,"type":"service","label":"plan300 01\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-11 0:19:14.353041] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-11 0:19:14.353121] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"4b3b7dc5-9f52-47c4-bebb-e17a2e1b3609","changeType":"edit","entity":"invoice","entityId":1568,"message":null,"clientId":148,"eventName":"invoice.edit","clientData":{"id":148,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"24 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-08-19T00:00:00-0600","leadConvertedAt":"2024-08-19T15:08:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El AR","lastName":"Real 3D","username":null,"contacts":[{"id":152,"clientId":148,"email":"elarquijuve@gmail.com","phone":"41818781806","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":147,"clientId":148,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Qh0pTQM9a96D8B","clientZoneVisible":true},{"id":148,"clientId":148,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180834778043086","clientZoneVisible":true},{"id":151,"clientId":148,"customAttributeId":8,"name":"conekta","key":"conekta","value":"aasdad","clientZoneVisible":true}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"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":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1568,"clientId":148,"number":"001525","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":"2025-03-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1571,"type":"service","label":"plan300 01\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -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":{"Cliente":148,"Domicilio":"\ud83d\udccd Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 El AR Real 3D","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/148","Saldo Actual":"\ud83d\udcb2300 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 3500","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"148\",\"Domicilio\": \"\"Nombre\": \"El AR Real 3D\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/148\",\"Saldo Actual\": \"\ud83d\udcb2300 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 19\/08\/2024 15:10 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"10\/03\/2025 18:19\",\"Clabe Interbancaria\": \"002180834778043086\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 19\/08\/2024 15:10 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/03\/2025 18:19","Clabe Interbancaria":"002180834778043086","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "148","Domicilio": ""Nombre": "El AR Real 3D","URL": "https://sistema.siip.mx/crm/client/148","Saldo Actual": "💲300 pendientes","Monto Ultimo Pago": "$ 3500","Estado": "Activo","Fecha Ultimo Pago": " 19/08/2024 15:10 con Efectivo 💵","Fecha Ultima Actualizacion": "10/03/2025 18:19","Clabe Interbancaria": "002180834778043086","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: - -Response 2 Patch CallBell: - -[2025-03-11 0:19:27.686388] [notice] Logging level set to:debug -[2025-03-11 0:19:28.026257] [debug] valor el evento recibido por webhook: service.suspend - -[2025-03-11 0:19:28.026447] [debug] Valor de JSON: {"uuid":"786d7d8a-daed-4d8b-b290-f7b444e25fe3","changeType":"suspend","entity":"service","entityId":"116","eventName":"service.suspend","extraData":{"entity":{"id":116,"prepaid":false,"clientId":148,"status":3,"name":"plan300","fullAddress":"Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"24 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1558353,"addressGpsLon":-100.9384629,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-08-19T00: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-08-19T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"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":"2025-02-28T00:00:00-0600","unmsClientSiteId":"ceb31867-d587-4117-b62d-11502a873bcf","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":114,"startDate":"2024-09-07T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":131,"startDate":"2024-12-23T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":138,"startDate":"2025-03-10T18:19:27-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":116,"prepaid":false,"clientId":148,"status":1,"name":"plan300","fullAddress":"Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"24 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1558353,"addressGpsLon":-100.9384629,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-08-19T00: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-08-19T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"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":"2025-02-28T00:00:00-0600","unmsClientSiteId":"ceb31867-d587-4117-b62d-11502a873bcf","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":114,"startDate":"2024-09-07T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":131,"startDate":"2024-12-23T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":138,"startDate":"2025-03-10T18:19:27-0600","endDate":null}],"surcharges":[]}}} - -[2025-03-11 0:19:28.026619] [debug] Se suspendió el servicio a un cliente - -[2025-03-11 0:19:28.026706] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-11 0:19:28.026772] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-11 0:19:28.026844] [info] {"uuid":"786d7d8a-daed-4d8b-b290-f7b444e25fe3","changeType":"suspend","entity":"service","entityId":116,"message":null,"clientId":148,"eventName":"service.suspend","clientData":{"id":148,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"24 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-08-19T00:00:00-0600","leadConvertedAt":"2024-08-19T15:08:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El AR","lastName":"Real 3D","username":null,"contacts":[{"id":152,"clientId":148,"email":"elarquijuve@gmail.com","phone":"41818781806","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":147,"clientId":148,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Qh0pTQM9a96D8B","clientZoneVisible":true},{"id":148,"clientId":148,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180834778043086","clientZoneVisible":true},{"id":151,"clientId":148,"customAttributeId":8,"name":"conekta","key":"conekta","value":"aasdad","clientZoneVisible":true}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"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":{"id":116,"prepaid":false,"clientId":148,"status":3,"name":"plan300","fullAddress":"Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"24 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1558353,"addressGpsLon":-100.9384629,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-08-19T00: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-08-19T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"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":"2025-02-28T00:00:00-0600","unmsClientSiteId":"ceb31867-d587-4117-b62d-11502a873bcf","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":114,"startDate":"2024-09-07T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":131,"startDate":"2024-12-23T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":138,"startDate":"2025-03-10T00:00:00-0600","endDate":null}],"surcharges":[],"stopReason":"Payments overdue"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: El AR Real 3D - -UUID: - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/03\/2025 18:19"}} - -Response Patch CallBell: - -[2025-03-11 0:19:29.589101] [notice] Logging level set to:debug -[2025-03-11 0:19:29.748639] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-11 0:19:29.748846] [debug] Valor de JSON: {"uuid":"c927e5ff-5595-4233-83c8-15e7c124840a","changeType":"edit","entity":"service","entityId":"116","eventName":"service.edit","extraData":{"entity":{"id":116,"prepaid":false,"clientId":148,"status":3,"name":"plan300","fullAddress":"Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"24 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1558353,"addressGpsLon":-100.9384629,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-08-19T00: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-08-19T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"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":"2025-02-28T00:00:00-0600","unmsClientSiteId":"ceb31867-d587-4117-b62d-11502a873bcf","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":114,"startDate":"2024-09-07T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":131,"startDate":"2024-12-23T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":138,"startDate":"2025-03-10T18:19:27-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":116,"prepaid":false,"clientId":148,"status":1,"name":"plan300","fullAddress":"Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"24 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1558353,"addressGpsLon":-100.9384629,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-08-19T00: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-08-19T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"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":"2025-02-28T00:00:00-0600","unmsClientSiteId":"ceb31867-d587-4117-b62d-11502a873bcf","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":114,"startDate":"2024-09-07T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":131,"startDate":"2024-12-23T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":138,"startDate":"2025-03-10T18:19:27-0600","endDate":null}],"surcharges":[]}}} - -[2025-03-11 0:19:29.749001] [debug] Se editó el servicio a un cliente - -[2025-03-11 0:19:29.749070] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-11 0:19:29.749111] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-11 0:19:29.749181] [info] {"uuid":"c927e5ff-5595-4233-83c8-15e7c124840a","changeType":"edit","entity":"service","entityId":116,"message":null,"clientId":148,"eventName":"service.edit","clientData":{"id":148,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"24 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-08-19T00:00:00-0600","leadConvertedAt":"2024-08-19T15:08:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El AR","lastName":"Real 3D","username":null,"contacts":[{"id":152,"clientId":148,"email":"elarquijuve@gmail.com","phone":"41818781806","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":147,"clientId":148,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Qh0pTQM9a96D8B","clientZoneVisible":true},{"id":148,"clientId":148,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180834778043086","clientZoneVisible":true},{"id":151,"clientId":148,"customAttributeId":8,"name":"conekta","key":"conekta","value":"aasdad","clientZoneVisible":true}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"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":{"id":116,"prepaid":false,"clientId":148,"status":3,"name":"plan300","fullAddress":"Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"24 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1558353,"addressGpsLon":-100.9384629,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-08-19T00: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-08-19T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"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":"2025-02-28T00:00:00-0600","unmsClientSiteId":"ceb31867-d587-4117-b62d-11502a873bcf","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":114,"startDate":"2024-09-07T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":131,"startDate":"2024-12-23T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":138,"startDate":"2025-03-10T00:00:00-0600","endDate":null}],"surcharges":[],"stopReason":"Payments overdue"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: El AR Real 3D - -UUID: - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/03\/2025 18:19"}} - -Response Patch CallBell: - -[2025-03-11 0:20:03.687041] [notice] Logging level set to:debug -[2025-03-11 0:20:03.962268] [debug] valor el evento recibido por webhook: invoice.edit - -[2025-03-11 0:20:03.962348] [debug] Valor de JSON: {"uuid":"613dd896-73d8-4693-a950-4ac3bc6bba74","changeType":"edit","entity":"invoice","entityId":"1568","eventName":"invoice.edit","extraData":{"entity":{"id":1568,"clientId":148,"number":"001525","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-13T10:00:01-0600","emailSentDate":"2025-03-06T00:00:00-0600","maturityDays":22,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1571,"type":"service","label":"plan300 01\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":1568,"clientId":148,"number":"001525","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-05T10:00:01-0600","emailSentDate":"2025-03-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1571,"type":"service","label":"plan300 01\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"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}}} - -[2025-03-11 0:20:03.962574] [debug] Edición de Factura - -[2025-03-11 0:20:03.962635] [debug] {"uuid":"613dd896-73d8-4693-a950-4ac3bc6bba74","changeType":"edit","entity":"invoice","entityId":1568,"message":null,"clientId":148,"eventName":"invoice.edit","clientData":{"id":148,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"24 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-08-19T00:00:00-0600","leadConvertedAt":"2024-08-19T15:08:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El AR","lastName":"Real 3D","username":null,"contacts":[{"id":152,"clientId":148,"email":"elarquijuve@gmail.com","phone":"41818781806","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":147,"clientId":148,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Qh0pTQM9a96D8B","clientZoneVisible":true},{"id":148,"clientId":148,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180834778043086","clientZoneVisible":true},{"id":151,"clientId":148,"customAttributeId":8,"name":"conekta","key":"conekta","value":"aasdad","clientZoneVisible":true}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#c62828","addressGpsLat":21.1558353,"addressGpsLon":-100.9384629,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1568,"clientId":148,"number":"001525","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-13T10:00:01-0600","emailSentDate":"2025-03-06T00:00:00-0600","maturityDays":22,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1571,"type":"service","label":"plan300 01\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-11 0:20:03.962717] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-11 0:20:03.962730] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"613dd896-73d8-4693-a950-4ac3bc6bba74","changeType":"edit","entity":"invoice","entityId":1568,"message":null,"clientId":148,"eventName":"invoice.edit","clientData":{"id":148,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"24 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-08-19T00:00:00-0600","leadConvertedAt":"2024-08-19T15:08:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El AR","lastName":"Real 3D","username":null,"contacts":[{"id":152,"clientId":148,"email":"elarquijuve@gmail.com","phone":"41818781806","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":147,"clientId":148,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Qh0pTQM9a96D8B","clientZoneVisible":true},{"id":148,"clientId":148,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180834778043086","clientZoneVisible":true},{"id":151,"clientId":148,"customAttributeId":8,"name":"conekta","key":"conekta","value":"aasdad","clientZoneVisible":true}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#c62828","addressGpsLat":21.1558353,"addressGpsLon":-100.9384629,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1568,"clientId":148,"number":"001525","createdDate":"2025-02-19T10:00:01-0600","dueDate":"2025-03-13T10:00:01-0600","emailSentDate":"2025-03-06T00:00:00-0600","maturityDays":22,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1571,"type":"service","label":"plan300 01\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -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":{"Cliente":148,"Domicilio":"\ud83d\udccd Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 El AR Real 3D","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/148","Saldo Actual":"\ud83d\udcb2300 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 3500","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"148\",\"Domicilio\": \"\"Nombre\": \"El AR Real 3D\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/148\",\"Saldo Actual\": \"\ud83d\udcb2300 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 19\/08\/2024 15:10 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"10\/03\/2025 18:20\",\"Clabe Interbancaria\": \"002180834778043086\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 19\/08\/2024 15:10 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/03\/2025 18:20","Clabe Interbancaria":"002180834778043086","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "148","Domicilio": ""Nombre": "El AR Real 3D","URL": "https://sistema.siip.mx/crm/client/148","Saldo Actual": "💲300 pendientes","Monto Ultimo Pago": "$ 3500","Estado": "Suspendido","Fecha Ultimo Pago": " 19/08/2024 15:10 con Efectivo 💵","Fecha Ultima Actualizacion": "10/03/2025 18:20","Clabe Interbancaria": "002180834778043086","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: - -Response 2 Patch CallBell: - -[2025-03-11 0:21:29.973704] [notice] Logging level set to:debug -[2025-03-11 0:21:30.051872] [error] Error for request http://localhost/crm/api/v1.0/invoices/1572. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-03-11 0:21:47.110678] [notice] Logging level set to:debug -[2025-03-11 0:21:47.257160] [debug] valor el evento recibido por webhook: invoice.edit - -[2025-03-11 0:21:47.257395] [debug] Valor de JSON: {"uuid":"0210c4cc-499a-4b89-b883-a89af9249b29","changeType":"edit","entity":"invoice","entityId":"1573","eventName":"invoice.edit","extraData":{"entity":{"id":1573,"clientId":141,"number":"001530","createdDate":"2025-02-19T14:18:52-0600","dueDate":"2025-03-13T14:18:52-0600","emailSentDate":"2025-03-06T00:00:00-0600","maturityDays":22,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1576,"type":"service","label":"Basico 300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":135,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Caim\u00e1n","clientLastName":"Dorado","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":1573,"clientId":141,"number":"001530","createdDate":"2025-02-19T14:18:52-0600","dueDate":"2025-03-05T14:18:52-0600","emailSentDate":"2025-03-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1576,"type":"service","label":"Basico 300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":135,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Caim\u00e1n","clientLastName":"Dorado","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false}}} - -[2025-03-11 0:21:47.257797] [debug] Edición de Factura - -[2025-03-11 0:21:47.257973] [debug] {"uuid":"0210c4cc-499a-4b89-b883-a89af9249b29","changeType":"edit","entity":"invoice","entityId":1573,"message":null,"clientId":141,"eventName":"invoice.edit","clientData":{"id":141,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Caim\u00e1n","lastName":"Dorado","username":null,"contacts":[{"id":145,"clientId":141,"email":"caimangolden@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-270,"accountCredit":30,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#43a047","addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1573,"clientId":141,"number":"001530","createdDate":"2025-02-19T14:18:52-0600","dueDate":"2025-03-13T14:18:52-0600","emailSentDate":"2025-03-06T00:00:00-0600","maturityDays":22,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1576,"type":"service","label":"Basico 300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":135,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Caim\u00e1n","clientLastName":"Dorado","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-11 0:21:47.258150] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-11 0:21:47.258224] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"0210c4cc-499a-4b89-b883-a89af9249b29","changeType":"edit","entity":"invoice","entityId":1573,"message":null,"clientId":141,"eventName":"invoice.edit","clientData":{"id":141,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Caim\u00e1n","lastName":"Dorado","username":null,"contacts":[{"id":145,"clientId":141,"email":"caimangolden@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-270,"accountCredit":30,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#43a047","addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1573,"clientId":141,"number":"001530","createdDate":"2025-02-19T14:18:52-0600","dueDate":"2025-03-13T14:18:52-0600","emailSentDate":"2025-03-06T00:00:00-0600","maturityDays":22,"taxableSupplyDate":"2025-02-19T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1576,"type":"service","label":"Basico 300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":135,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Caim\u00e1n","clientLastName":"Dorado","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":337,"clientId":141,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2024-06-28T14:08:58-0600","amount":30,"currencyCode":"MXN","note":null,"receiptSentDate":"2024-06-28T14:09:40-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":30,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: El Caimán Dorado - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"El Caim\u00e1n Dorado","custom_fields":{"Cliente":141,"Domicilio":"\ud83d\udccd Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 El Caim\u00e1n Dorado","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/141","Saldo Actual":"\ud83d\udcb2270 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 30","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"141\",\"Domicilio\": \"\"Nombre\": \"El Caim\u00e1n Dorado\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/141\",\"Saldo Actual\": \"\ud83d\udcb2270 pendientes\",\"Monto Ultimo Pago\": \"$ 30\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28\/06\/2024 14:08 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"10\/03\/2025 18:21\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 28\/06\/2024 14:08 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/03\/2025 18:21","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "141","Domicilio": ""Nombre": "El Caimán Dorado","URL": "https://sistema.siip.mx/crm/client/141","Saldo Actual": "💲270 pendientes","Monto Ultimo Pago": "$ 30","Estado": "Suspendido","Fecha Ultimo Pago": " 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "10/03/2025 18:21","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Caimán Dorado","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"002180173419260258","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 10/03/2025 18:21","Cliente":"141","URL":"🌐 https://sistema.siip.mx/crm/client/141","Nombre":"👤 El Caimán Dorado","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲270 pendientes","Fecha Ultimo Pago":"📆💸 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳","user name":"Daniel Humberto 🐁","Monto Ultimo Pago":"💲 30","Domicilio":"📍 Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Resumen":"{\"Cliente\": \"141\",\"Domicilio\": \"\"Nombre\": \"El Caimán Dorado\",\"URL\": \"https://sistema.siip.mx/crm/client/141\",\"Saldo Actual\": \"💲270 pendientes\",\"Monto Ultimo Pago\": \"$ 30\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"10/03/2025 18:21\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Caimán Dorado","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-03T21:27:41Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"002180173419260258","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 10/03/2025 18:21","Cliente":"141","URL":"🌐 https://sistema.siip.mx/crm/client/141","Nombre":"👤 El Caimán Dorado","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲270 pendientes","Fecha Ultimo Pago":"📆💸 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳","user name":"Daniel Humberto 🐁","Monto Ultimo Pago":"💲 30","Domicilio":"📍 Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Resumen":"{\"Cliente\": \"141\",\"Domicilio\": \"\"Nombre\": \"El Caimán Dorado\",\"URL\": \"https://sistema.siip.mx/crm/client/141\",\"Saldo Actual\": \"💲270 pendientes\",\"Monto Ultimo Pago\": \"$ 30\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"10/03/2025 18:21\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-11 6:25:03.666089] [notice] Logging level set to:debug -[2025-03-11 6:25:03.842150] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-11 6:25:03.842211] [debug] Valor de JSON: {"uuid":"0012c4dd-beb3-4b86-839f-d9929efcd2a3","changeType":"overdue","entity":"invoice","entityId":"1580","eventName":"invoice.overdue","extraData":{"entity":{"id":1580,"clientId":126,"number":"001537","createdDate":"2025-02-24T10:00:01-0600","dueDate":"2025-03-10T10:00:01-0600","emailSentDate":"2025-03-11T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-22T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1583,"type":"service","label":"PREMIUM 24\/01\/2025 \u2013 23\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":108,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL INNU","clientLastName":"RATA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-11 6:25:03.842423] [debug] Factura vencida - -[2025-03-11 6:25:03.842477] [debug] datos del notification para el invoice overdue:{"uuid":"0012c4dd-beb3-4b86-839f-d9929efcd2a3","changeType":"overdue","entity":"invoice","entityId":1580,"message":null,"clientId":126,"eventName":"invoice.overdue","clientData":{"id":126,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-05-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DANIEL INNU","lastName":"RATA","username":"dhsv.141089@gmail.com","contacts":[{"id":130,"clientId":126,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":127,"clientId":126,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QASKG6Z0Hree1h","clientZoneVisible":true},{"id":128,"clientId":126,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180704572078989","clientZoneVisible":true}],"accountBalance":-2100,"accountCredit":0,"accountOutstanding":2100,"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":1580,"clientId":126,"number":"001537","createdDate":"2025-02-24T10:00:01-0600","dueDate":"2025-03-10T10:00:01-0600","emailSentDate":"2025-03-11T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-22T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1583,"type":"service","label":"PREMIUM 24\/01\/2025 \u2013 23\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":108,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL INNU","clientLastName":"RATA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-11 6:25:03.842499] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-11 6:25:03.842617] [debug] Numero de cel obtenido - -[2025-03-11 6:25:03.842628] [warning] No se encontró un teléfono celular válido para el cliente: 126 -[2025-03-11 21:10:17.679670] [notice] Logging level set to:debug -[2025-03-11 21:10:17.754053] [debug] valor el evento recibido por webhook: payment.unmatch - -[2025-03-11 21:10:17.754120] [debug] Valor de JSON: {"uuid":"7637a089-53cc-48b2-9146-124cd4773486","changeType":"edit","entity":"payment","entityId":"608","eventName":"payment.unmatch","extraData":{"entity":{"id":608,"clientId":null,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T23:51:02-0600","amount":190,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":608,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T23:51:02-0600","amount":190,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":190,"userId":null,"attributes":[]}}} - -[2025-03-11 21:10:36.720629] [notice] Logging level set to:debug -[2025-03-11 21:10:36.886074] [debug] valor el evento recibido por webhook: payment.edit - -[2025-03-11 21:10:36.886226] [debug] Valor de JSON: {"uuid":"f44f2bb5-8ebf-4621-91d5-35df1b1a8033","changeType":"edit","entity":"payment","entityId":"608","eventName":"payment.edit","extraData":{"entity":{"id":608,"clientId":1,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T23:51:02-0600","amount":190,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":190,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":608,"clientId":null,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T23:51:02-0600","amount":190,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":0,"userId":null,"attributes":[]}}} - -[2025-03-12 17:13:51.836024] [notice] Logging level set to:debug -[2025-03-12 17:13:51.929188] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-12 17:13:51.929294] [debug] Valor de JSON: {"uuid":"aa194970-dbec-4731-bc12-a987fca439f1","changeType":"edit","entity":"client","entityId":"157","eventName":"client.edit","extraData":{"entity":{"id":157,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-04T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Angel","lastName":"Arvizu","username":null,"contacts":[{"id":161,"clientId":157,"email":null,"phone":"5214181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":154,"clientId":157,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RWjBO6Lsy1TgAV","clientZoneVisible":true},{"id":155,"clientId":157,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180695267429334","clientZoneVisible":true}],"accountBalance":-580,"accountCredit":0,"accountOutstanding":580,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":157,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-04T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Angel Mamey","lastName":"Arvizu","username":null,"contacts":[{"id":161,"clientId":157,"email":null,"phone":"5214181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":154,"clientId":157,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RWjBO6Lsy1TgAV","clientZoneVisible":true},{"id":155,"clientId":157,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180695267429334","clientZoneVisible":true}],"accountBalance":-580,"accountCredit":0,"accountOutstanding":580,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-12 17:13:51.929533] [debug] Se actualiza a un cliente -[2025-03-12 17:13:51.929574] [debug] Valor de json_data: {"uuid":"aa194970-dbec-4731-bc12-a987fca439f1","changeType":"edit","entity":"client","entityId":"157","eventName":"client.edit","extraData":{"entity":{"id":157,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-04T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Angel","lastName":"Arvizu","username":null,"contacts":[{"id":161,"clientId":157,"email":null,"phone":"5214181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":154,"clientId":157,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RWjBO6Lsy1TgAV","clientZoneVisible":true},{"id":155,"clientId":157,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180695267429334","clientZoneVisible":true}],"accountBalance":-580,"accountCredit":0,"accountOutstanding":580,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":157,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-04T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Angel Mamey","lastName":"Arvizu","username":null,"contacts":[{"id":161,"clientId":157,"email":null,"phone":"5214181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":154,"clientId":157,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RWjBO6Lsy1TgAV","clientZoneVisible":true},{"id":155,"clientId":157,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180695267429334","clientZoneVisible":true}],"accountBalance":-580,"accountCredit":0,"accountOutstanding":580,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-12 17:13:51.929589] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-12 17:13:51.929596] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-12 17:13:51.929605] [debug] No hubo cambio de true a false en el campo isLead -[2025-03-12 17:13:51.929613] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-12 17:13:51.929619] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-12 17:13:51.929625] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-12 17:13:51.929631] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-12 17:13:51.929686] [debug] {"uuid":"aa194970-dbec-4731-bc12-a987fca439f1","changeType":"edit","entity":"client","entityId":157,"message":null,"clientId":157,"eventName":"client.edit","clientData":{"id":157,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-04T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Angel","lastName":"Arvizu","username":null,"contacts":[{"id":161,"clientId":157,"email":null,"phone":"5214181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":154,"clientId":157,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RWjBO6Lsy1TgAV","clientZoneVisible":true},{"id":155,"clientId":157,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180695267429334","clientZoneVisible":true}],"accountBalance":-580,"accountCredit":0,"accountOutstanding":580,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-12 17:13:51.929828] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-12 17:13:51.929842] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"aa194970-dbec-4731-bc12-a987fca439f1","changeType":"edit","entity":"client","entityId":157,"message":null,"clientId":157,"eventName":"client.edit","clientData":{"id":157,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-04T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Angel","lastName":"Arvizu","username":null,"contacts":[{"id":161,"clientId":157,"email":null,"phone":"5214181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":154,"clientId":157,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RWjBO6Lsy1TgAV","clientZoneVisible":true},{"id":155,"clientId":157,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180695267429334","clientZoneVisible":true}],"accountBalance":-580,"accountCredit":0,"accountOutstanding":580,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Angel Arvizu - -UUID: 362193e0af9b4ffc8ed5d7f930dd120f - -JSON con los datos a actualizar: {"name":"Angel Arvizu","custom_fields":{"Cliente":157,"Domicilio":"\ud83d\udccd Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Angel Arvizu","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/157","Saldo Actual":"\ud83d\udcb2580 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"157\",\"Domicilio\": \"\"Nombre\": \"Angel Arvizu\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/157\",\"Saldo Actual\": \"\ud83d\udcb2580 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 12\/03\/2025 17:13 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"12\/03\/2025 11:13\",\"Clabe Interbancaria\": \"124180695267429334\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 12\/03\/2025 17:13 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 12\/03\/2025 11:13","Clabe Interbancaria":"124180695267429334","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "157","Domicilio": ""Nombre": "Angel Arvizu","URL": "https://sistema.siip.mx/crm/client/157","Saldo Actual": "💲580 pendientes","Monto Ultimo Pago": "$ ","Estado": "Activo","Fecha Ultimo Pago": " 12/03/2025 17:13 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "12/03/2025 11:13","Clabe Interbancaria": "124180695267429334","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"362193e0af9b4ffc8ed5d7f930dd120f","name":"Angel Arvizu","phoneNumber":"5214181515664","avatarUrl":null,"createdAt":"2025-01-07T22:55:44Z","closedAt":null,"source":"whatsapp","href":"https://dash.callbell.eu/contacts/362193e0af9b4ffc8ed5d7f930dd120f","conversationHref":"https://dash.callbell.eu/chat/56dec9b4f3334325b737683f2d8ff8b2","tags":["SIIP","NOBOT"],"assignedUser":"avalos.mgla@gmail.com","customFields":{"Acciones":"NOBOT-SIIP","user entry point":"inbound_message","Estado":"🟢 Activo ","Clabe Interbancaria":"124180695267429334","Antena/Sectorial":"157","Domicilio":"📍 Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 12/03/2025 11:13","Fecha Ultimo Pago":"📆💸 12/03/2025 17:13 con Desconocido, revisar metodos de pago no contemplados","Monto Ultimo Pago":"💲 ","Nombre":"👤 Angel Arvizu","Saldo Actual":"💲580 pendientes","user name":"Angel 😇/😈","Cliente":"157","Resumen":"{\"Cliente\": \"157\",\"Domicilio\": \"\"Nombre\": \"Angel Arvizu\",\"URL\": \"https://sistema.siip.mx/crm/client/157\",\"Saldo Actual\": \"💲580 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 12/03/2025 17:13 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"12/03/2025 11:13\",\"Clabe Interbancaria\": \"124180695267429334\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","URL":"🌐 https://sistema.siip.mx/crm/client/157"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"362193e0af9b4ffc8ed5d7f930dd120f","name":"Angel Arvizu","phoneNumber":"5214181515664","avatarUrl":null,"createdAt":"2025-01-07T22:55:44Z","closedAt":null,"source":"whatsapp","href":"https://dash.callbell.eu/contacts/362193e0af9b4ffc8ed5d7f930dd120f","conversationHref":"https://dash.callbell.eu/chat/56dec9b4f3334325b737683f2d8ff8b2","tags":["SIIP","NOBOT"],"assignedUser":"avalos.mgla@gmail.com","customFields":{"Acciones":"NOBOT-SIIP","user entry point":"inbound_message","Estado":"🟢 Activo ","Clabe Interbancaria":"124180695267429334","Antena/Sectorial":"157","Domicilio":"📍 Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 12/03/2025 11:13","Fecha Ultimo Pago":"📆💸 12/03/2025 17:13 con Desconocido, revisar metodos de pago no contemplados","Monto Ultimo Pago":"💲 ","Nombre":"👤 Angel Arvizu","Saldo Actual":"💲580 pendientes","user name":"Angel 😇/😈","Cliente":"157","Resumen":"{\"Cliente\": \"157\",\"Domicilio\": \"\"Nombre\": \"Angel Arvizu\",\"URL\": \"https://sistema.siip.mx/crm/client/157\",\"Saldo Actual\": \"💲580 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 12/03/2025 17:13 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"12/03/2025 11:13\",\"Clabe Interbancaria\": \"124180695267429334\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","URL":"🌐 https://sistema.siip.mx/crm/client/157"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-12 17:16:28.545363] [notice] Logging level set to:debug -[2025-03-12 17:16:28.622189] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-12 17:16:28.622271] [debug] Valor de JSON: {"uuid":"eb236132-1e6e-425c-8ec0-f0a4d0c3dc3b","changeType":"edit","entity":"client","entityId":"157","eventName":"client.edit","extraData":{"entity":{"id":157,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-04T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANGEL","lastName":"ARVIZU SIIP","username":null,"contacts":[{"id":161,"clientId":157,"email":null,"phone":"5214181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":154,"clientId":157,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RWjBO6Lsy1TgAV","clientZoneVisible":true},{"id":155,"clientId":157,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180695267429334","clientZoneVisible":true}],"accountBalance":-580,"accountCredit":0,"accountOutstanding":580,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":157,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-04T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Angel","lastName":"Arvizu","username":null,"contacts":[{"id":161,"clientId":157,"email":null,"phone":"5214181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":154,"clientId":157,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RWjBO6Lsy1TgAV","clientZoneVisible":true},{"id":155,"clientId":157,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180695267429334","clientZoneVisible":true}],"accountBalance":-580,"accountCredit":0,"accountOutstanding":580,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-12 17:16:28.622493] [debug] Se actualiza a un cliente -[2025-03-12 17:16:28.622531] [debug] Valor de json_data: {"uuid":"eb236132-1e6e-425c-8ec0-f0a4d0c3dc3b","changeType":"edit","entity":"client","entityId":"157","eventName":"client.edit","extraData":{"entity":{"id":157,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-04T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANGEL","lastName":"ARVIZU SIIP","username":null,"contacts":[{"id":161,"clientId":157,"email":null,"phone":"5214181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":154,"clientId":157,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RWjBO6Lsy1TgAV","clientZoneVisible":true},{"id":155,"clientId":157,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180695267429334","clientZoneVisible":true}],"accountBalance":-580,"accountCredit":0,"accountOutstanding":580,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":157,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-04T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Angel","lastName":"Arvizu","username":null,"contacts":[{"id":161,"clientId":157,"email":null,"phone":"5214181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":154,"clientId":157,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RWjBO6Lsy1TgAV","clientZoneVisible":true},{"id":155,"clientId":157,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180695267429334","clientZoneVisible":true}],"accountBalance":-580,"accountCredit":0,"accountOutstanding":580,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-12 17:16:28.622545] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-12 17:16:28.622554] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-12 17:16:28.622561] [debug] No hubo cambio de true a false en el campo isLead -[2025-03-12 17:16:28.622569] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-12 17:16:28.622575] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-12 17:16:28.622581] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-12 17:16:28.622589] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-12 17:16:28.622617] [debug] {"uuid":"eb236132-1e6e-425c-8ec0-f0a4d0c3dc3b","changeType":"edit","entity":"client","entityId":157,"message":null,"clientId":157,"eventName":"client.edit","clientData":{"id":157,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-04T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANGEL","lastName":"ARVIZU SIIP","username":null,"contacts":[{"id":161,"clientId":157,"email":null,"phone":"5214181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":154,"clientId":157,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RWjBO6Lsy1TgAV","clientZoneVisible":true},{"id":155,"clientId":157,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180695267429334","clientZoneVisible":true}],"accountBalance":-580,"accountCredit":0,"accountOutstanding":580,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-12 17:16:28.622685] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-12 17:16:28.622695] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"eb236132-1e6e-425c-8ec0-f0a4d0c3dc3b","changeType":"edit","entity":"client","entityId":157,"message":null,"clientId":157,"eventName":"client.edit","clientData":{"id":157,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-04T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANGEL","lastName":"ARVIZU SIIP","username":null,"contacts":[{"id":161,"clientId":157,"email":null,"phone":"5214181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":154,"clientId":157,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RWjBO6Lsy1TgAV","clientZoneVisible":true},{"id":155,"clientId":157,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180695267429334","clientZoneVisible":true}],"accountBalance":-580,"accountCredit":0,"accountOutstanding":580,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -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":{"Cliente":157,"Domicilio":"\ud83d\udccd Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 ANGEL ARVIZU SIIP","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/157","Saldo Actual":"\ud83d\udcb2580 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"157\",\"Domicilio\": \"\"Nombre\": \"ANGEL ARVIZU SIIP\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/157\",\"Saldo Actual\": \"\ud83d\udcb2580 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 12\/03\/2025 17:16 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"12\/03\/2025 11:16\",\"Clabe Interbancaria\": \"124180695267429334\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 12\/03\/2025 17:16 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 12\/03\/2025 11:16","Clabe Interbancaria":"124180695267429334","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "157","Domicilio": ""Nombre": "ANGEL ARVIZU SIIP","URL": "https://sistema.siip.mx/crm/client/157","Saldo Actual": "💲580 pendientes","Monto Ultimo Pago": "$ ","Estado": "Activo","Fecha Ultimo Pago": " 12/03/2025 17:16 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "12/03/2025 11:16","Clabe Interbancaria": "124180695267429334","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"362193e0af9b4ffc8ed5d7f930dd120f","name":"ANGEL ARVIZU SIIP","phoneNumber":"5214181515664","avatarUrl":null,"createdAt":"2025-01-07T22:55:44Z","closedAt":null,"source":"whatsapp","href":"https://dash.callbell.eu/contacts/362193e0af9b4ffc8ed5d7f930dd120f","conversationHref":"https://dash.callbell.eu/chat/56dec9b4f3334325b737683f2d8ff8b2","tags":["SIIP","NOBOT"],"assignedUser":"avalos.mgla@gmail.com","customFields":{"Acciones":"NOBOT-SIIP","user entry point":"inbound_message","Estado":"🟢 Activo ","Clabe Interbancaria":"124180695267429334","Antena/Sectorial":"157","Domicilio":"📍 Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 12/03/2025 11:16","Fecha Ultimo Pago":"📆💸 12/03/2025 17:16 con Desconocido, revisar metodos de pago no contemplados","Monto Ultimo Pago":"💲 ","Nombre":"👤 ANGEL ARVIZU SIIP","Saldo Actual":"💲580 pendientes","user name":"Angel 😇/😈","Cliente":"157","Resumen":"{\"Cliente\": \"157\",\"Domicilio\": \"\"Nombre\": \"ANGEL ARVIZU SIIP\",\"URL\": \"https://sistema.siip.mx/crm/client/157\",\"Saldo Actual\": \"💲580 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 12/03/2025 17:16 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"12/03/2025 11:16\",\"Clabe Interbancaria\": \"124180695267429334\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","URL":"🌐 https://sistema.siip.mx/crm/client/157"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"362193e0af9b4ffc8ed5d7f930dd120f","name":"ANGEL ARVIZU SIIP","phoneNumber":"5214181515664","avatarUrl":null,"createdAt":"2025-01-07T22:55:44Z","closedAt":null,"source":"whatsapp","href":"https://dash.callbell.eu/contacts/362193e0af9b4ffc8ed5d7f930dd120f","conversationHref":"https://dash.callbell.eu/chat/56dec9b4f3334325b737683f2d8ff8b2","tags":["SIIP","NOBOT"],"assignedUser":"avalos.mgla@gmail.com","customFields":{"Acciones":"NOBOT-SIIP","user entry point":"inbound_message","Estado":"🟢 Activo ","Clabe Interbancaria":"124180695267429334","Antena/Sectorial":"157","Domicilio":"📍 Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 12/03/2025 11:16","Fecha Ultimo Pago":"📆💸 12/03/2025 17:16 con Desconocido, revisar metodos de pago no contemplados","Monto Ultimo Pago":"💲 ","Nombre":"👤 ANGEL ARVIZU SIIP","Saldo Actual":"💲580 pendientes","user name":"Angel 😇/😈","Cliente":"157","Resumen":"{\"Cliente\": \"157\",\"Domicilio\": \"\"Nombre\": \"ANGEL ARVIZU SIIP\",\"URL\": \"https://sistema.siip.mx/crm/client/157\",\"Saldo Actual\": \"💲580 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 12/03/2025 17:16 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"12/03/2025 11:16\",\"Clabe Interbancaria\": \"124180695267429334\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","URL":"🌐 https://sistema.siip.mx/crm/client/157"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-12 21:30:03.917675] [notice] Logging level set to:debug -[2025-03-12 21:30:04.190748] [debug] valor el evento recibido por webhook: service.suspend - -[2025-03-12 21:30:04.190840] [debug] Valor de JSON: {"uuid":"6355fda3-64af-4bd0-af45-9783e985d28a","changeType":"suspend","entity":"service","entityId":"127","eventName":"service.suspend","extraData":{"entity":{"id":127,"prepaid":false,"clientId":157,"status":3,"name":"plan300","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","note":null,"addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-01-04T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-01-04T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"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":"2025-02-28T00:00:00-0600","unmsClientSiteId":"dc771889-4d2a-48c3-9c65-b0ee56b692be","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":134,"startDate":"2025-02-07T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":139,"startDate":"2025-03-12T15:30:03-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":127,"prepaid":false,"clientId":157,"status":1,"name":"plan300","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","note":null,"addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-01-04T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-01-04T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"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":"2025-02-28T00:00:00-0600","unmsClientSiteId":"dc771889-4d2a-48c3-9c65-b0ee56b692be","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":134,"startDate":"2025-02-07T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":139,"startDate":"2025-03-12T15:30:03-0600","endDate":null}],"surcharges":[]}}} - -[2025-03-12 21:30:04.191755] [debug] Se suspendió el servicio a un cliente - -[2025-03-12 21:30:04.194411] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-12 21:30:04.194442] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-12 21:30:04.194490] [info] {"uuid":"6355fda3-64af-4bd0-af45-9783e985d28a","changeType":"suspend","entity":"service","entityId":127,"message":null,"clientId":157,"eventName":"service.suspend","clientData":{"id":157,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-04T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANGEL","lastName":"ARVIZU SIIP","username":null,"contacts":[{"id":161,"clientId":157,"email":null,"phone":"5214181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":154,"clientId":157,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RWjBO6Lsy1TgAV","clientZoneVisible":true},{"id":155,"clientId":157,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180695267429334","clientZoneVisible":true}],"accountBalance":-580,"accountCredit":0,"accountOutstanding":580,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":127,"prepaid":false,"clientId":157,"status":3,"name":"plan300","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","note":null,"addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-01-04T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-01-04T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"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":"2025-02-28T00:00:00-0600","unmsClientSiteId":"dc771889-4d2a-48c3-9c65-b0ee56b692be","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":134,"startDate":"2025-02-07T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":139,"startDate":"2025-03-12T00:00:00-0600","endDate":null}],"surcharges":[],"stopReason":"Payments overdue"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: ANGEL ARVIZU SIIP - -UUID: 362193e0af9b4ffc8ed5d7f930dd120f - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 12\/03\/2025 15:30"}} - -Response Patch CallBell: {"contact":{"uuid":"362193e0af9b4ffc8ed5d7f930dd120f","name":"ANGEL ARVIZU SIIP","phoneNumber":"5214181515664","avatarUrl":null,"createdAt":"2025-01-07T22:55:44Z","closedAt":null,"source":"whatsapp","href":"https://dash.callbell.eu/contacts/362193e0af9b4ffc8ed5d7f930dd120f","conversationHref":"https://dash.callbell.eu/chat/56dec9b4f3334325b737683f2d8ff8b2","tags":["SIIP","NOBOT"],"assignedUser":"avalos.mgla@gmail.com","customFields":{"Acciones":"NOBOT-SIIP","user entry point":"inbound_message","Estado":"🟠 Suspendido","Clabe Interbancaria":"124180695267429334","Antena/Sectorial":"157","Domicilio":"📍 Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 12/03/2025 15:30","Fecha Ultimo Pago":"📆💸 12/03/2025 17:16 con Desconocido, revisar metodos de pago no contemplados","Monto Ultimo Pago":"💲 ","Nombre":"👤 ANGEL ARVIZU SIIP","Saldo Actual":"💲580 pendientes","user name":"Angel 😇/😈","Cliente":"157","Resumen":"{\"Cliente\": \"157\",\"Domicilio\": \"\"Nombre\": \"ANGEL ARVIZU SIIP\",\"URL\": \"https://sistema.siip.mx/crm/client/157\",\"Saldo Actual\": \"💲580 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 12/03/2025 17:16 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"12/03/2025 11:16\",\"Clabe Interbancaria\": \"124180695267429334\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","URL":"🌐 https://sistema.siip.mx/crm/client/157"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-12 21:30:06.112740] [notice] Logging level set to:debug -[2025-03-12 21:30:06.305429] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-12 21:30:06.305514] [debug] Valor de JSON: {"uuid":"5b9a1a1e-2020-4cb5-89fb-3610387de14a","changeType":"edit","entity":"service","entityId":"127","eventName":"service.edit","extraData":{"entity":{"id":127,"prepaid":false,"clientId":157,"status":3,"name":"plan300","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","note":null,"addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-01-04T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-01-04T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"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":"2025-02-28T00:00:00-0600","unmsClientSiteId":"dc771889-4d2a-48c3-9c65-b0ee56b692be","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":134,"startDate":"2025-02-07T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":139,"startDate":"2025-03-12T15:30:03-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":127,"prepaid":false,"clientId":157,"status":1,"name":"plan300","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","note":null,"addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-01-04T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-01-04T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"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":"2025-02-28T00:00:00-0600","unmsClientSiteId":"dc771889-4d2a-48c3-9c65-b0ee56b692be","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":134,"startDate":"2025-02-07T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":139,"startDate":"2025-03-12T15:30:03-0600","endDate":null}],"surcharges":[]}}} - -[2025-03-12 21:30:06.305757] [debug] Se editó el servicio a un cliente - -[2025-03-12 21:30:06.305821] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-12 21:30:06.305835] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-12 21:30:06.305896] [info] {"uuid":"5b9a1a1e-2020-4cb5-89fb-3610387de14a","changeType":"edit","entity":"service","entityId":127,"message":null,"clientId":157,"eventName":"service.edit","clientData":{"id":157,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-04T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANGEL","lastName":"ARVIZU SIIP","username":null,"contacts":[{"id":161,"clientId":157,"email":null,"phone":"5214181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":154,"clientId":157,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RWjBO6Lsy1TgAV","clientZoneVisible":true},{"id":155,"clientId":157,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180695267429334","clientZoneVisible":true}],"accountBalance":-580,"accountCredit":0,"accountOutstanding":580,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":127,"prepaid":false,"clientId":157,"status":3,"name":"plan300","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","note":null,"addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-01-04T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-01-04T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"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":"2025-02-28T00:00:00-0600","unmsClientSiteId":"dc771889-4d2a-48c3-9c65-b0ee56b692be","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":134,"startDate":"2025-02-07T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":139,"startDate":"2025-03-12T00:00:00-0600","endDate":null}],"surcharges":[],"stopReason":"Payments overdue"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: ANGEL ARVIZU SIIP - -UUID: 362193e0af9b4ffc8ed5d7f930dd120f - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 12\/03\/2025 15:30"}} - -Response Patch CallBell: {"contact":{"uuid":"362193e0af9b4ffc8ed5d7f930dd120f","name":"ANGEL ARVIZU SIIP","phoneNumber":"5214181515664","avatarUrl":null,"createdAt":"2025-01-07T22:55:44Z","closedAt":null,"source":"whatsapp","href":"https://dash.callbell.eu/contacts/362193e0af9b4ffc8ed5d7f930dd120f","conversationHref":"https://dash.callbell.eu/chat/56dec9b4f3334325b737683f2d8ff8b2","tags":["SIIP","NOBOT"],"assignedUser":"avalos.mgla@gmail.com","customFields":{"Acciones":"NOBOT-SIIP","user entry point":"inbound_message","Estado":"🟠 Suspendido","Clabe Interbancaria":"124180695267429334","Antena/Sectorial":"157","Domicilio":"📍 Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 12/03/2025 15:30","Fecha Ultimo Pago":"📆💸 12/03/2025 17:16 con Desconocido, revisar metodos de pago no contemplados","Monto Ultimo Pago":"💲 ","Nombre":"👤 ANGEL ARVIZU SIIP","Saldo Actual":"💲580 pendientes","user name":"Angel 😇/😈","Cliente":"157","Resumen":"{\"Cliente\": \"157\",\"Domicilio\": \"\"Nombre\": \"ANGEL ARVIZU SIIP\",\"URL\": \"https://sistema.siip.mx/crm/client/157\",\"Saldo Actual\": \"💲580 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 12/03/2025 17:16 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"12/03/2025 11:16\",\"Clabe Interbancaria\": \"124180695267429334\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","URL":"🌐 https://sistema.siip.mx/crm/client/157"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-14 6:25:03.437088] [notice] Logging level set to:debug -[2025-03-14 6:25:03.822124] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-14 6:25:03.822186] [debug] Valor de JSON: {"uuid":"44f37c81-8221-41c4-aea8-7412b076c1b1","changeType":"overdue","entity":"invoice","entityId":"1590","eventName":"invoice.overdue","extraData":{"entity":{"id":1590,"clientId":3,"number":"001541","createdDate":"2025-02-27T10:00:01-0600","dueDate":"2025-03-13T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1593,"type":"service","label":"plan300 27\/01\/2025 \u2013 26\/02\/2025","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},"entityBeforeEdit":null}} - -[2025-03-14 6:25:03.822530] [debug] Factura vencida - -[2025-03-14 6:25:03.822580] [debug] datos del notification para el invoice overdue:{"uuid":"44f37c81-8221-41c4-aea8-7412b076c1b1","changeType":"overdue","entity":"invoice","entityId":1590,"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":"5214181577623","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}],"accountBalance":-900,"accountCredit":0,"accountOutstanding":900,"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":1590,"clientId":3,"number":"001541","createdDate":"2025-02-27T10:00:01-0600","dueDate":"2025-03-13T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1593,"type":"service","label":"plan300 27\/01\/2025 \u2013 26\/02\/2025","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},"paymentData":null} - -[2025-03-14 6:25:03.822609] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-14 6:25:03.822721] [debug] Numero de cel obtenido - -[2025-03-14 6:25:03.822732] [warning] No se encontró un teléfono celular válido para el cliente: 3 -[2025-03-14 6:25:04.012789] [notice] Logging level set to:debug -[2025-03-14 6:25:04.209141] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-14 6:25:04.209197] [debug] Valor de JSON: {"uuid":"cefab961-578c-4d22-8d10-1ecee53c4c56","changeType":"overdue","entity":"invoice","entityId":"1591","eventName":"invoice.overdue","extraData":{"entity":{"id":1591,"clientId":4,"number":"001542","createdDate":"2025-02-27T10:00:01-0600","dueDate":"2025-03-13T10:00:01-0600","emailSentDate":"2025-03-14T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1594,"type":"service","label":"plan300 27\/01\/2025 \u2013 26\/02\/2025","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},"entityBeforeEdit":null}} - -[2025-03-14 6:25:04.209295] [debug] Factura vencida - -[2025-03-14 6:25:04.209332] [debug] datos del notification para el invoice overdue:{"uuid":"cefab961-578c-4d22-8d10-1ecee53c4c56","changeType":"overdue","entity":"invoice","entityId":1591,"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":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1591,"clientId":4,"number":"001542","createdDate":"2025-02-27T10:00:01-0600","dueDate":"2025-03-13T10:00:01-0600","emailSentDate":"2025-03-14T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1594,"type":"service","label":"plan300 27\/01\/2025 \u2013 26\/02\/2025","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},"paymentData":null} - -[2025-03-14 6:25:04.209352] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-14 6:25:04.209404] [debug] Numero de cel obtenido - -[2025-03-14 6:25:04.209414] [warning] No se encontró un teléfono celular válido para el cliente: 4 -[2025-03-14 21:30:02.865358] [notice] Logging level set to:debug -[2025-03-14 21:30:03.134175] [debug] valor el evento recibido por webhook: service.suspend - -[2025-03-14 21:30:03.134254] [debug] Valor de JSON: {"uuid":"dc1ddd55-1e5a-4513-80f2-a4f09bc9e225","changeType":"suspend","entity":"service","entityId":"131","eventName":"service.suspend","extraData":{"entity":{"id":131,"prepaid":false,"clientId":146,"status":3,"name":"Basico 300","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-13T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-13T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-31T00:00:00-0600","unmsClientSiteId":"bc4103e6-5550-462c-84df-f279b498f6ff","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":135,"startDate":"2025-03-04T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":140,"startDate":"2025-03-14T15:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":131,"prepaid":false,"clientId":146,"status":1,"name":"Basico 300","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-13T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-13T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-31T00:00:00-0600","unmsClientSiteId":"bc4103e6-5550-462c-84df-f279b498f6ff","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":135,"startDate":"2025-03-04T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":140,"startDate":"2025-03-14T15:30:02-0600","endDate":null}],"surcharges":[]}}} - -[2025-03-14 21:30:03.134550] [debug] Se suspendió el servicio a un cliente - -[2025-03-14 21:30:03.134648] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-14 21:30:03.134665] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-14 21:30:03.134716] [info] {"uuid":"dc1ddd55-1e5a-4513-80f2-a4f09bc9e225","changeType":"suspend","entity":"service","entityId":131,"message":null,"clientId":146,"eventName":"service.suspend","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"4188897415","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true}],"accountBalance":-800,"accountCredit":0,"accountOutstanding":800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":131,"prepaid":false,"clientId":146,"status":3,"name":"Basico 300","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-13T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-13T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-31T00:00:00-0600","unmsClientSiteId":"bc4103e6-5550-462c-84df-f279b498f6ff","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":135,"startDate":"2025-03-04T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":140,"startDate":"2025-03-14T00:00:00-0600","endDate":null}],"surcharges":[],"stopReason":"Payments overdue"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Delfino De los Mares - -UUID: - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/03\/2025 15:30"}} - -Response Patch CallBell: - -[2025-03-14 21:30:05.999711] [notice] Logging level set to:debug -[2025-03-14 21:30:06.187334] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-14 21:30:06.187408] [debug] Valor de JSON: {"uuid":"1016b370-3cf6-4048-a081-33194d63edf8","changeType":"edit","entity":"service","entityId":"131","eventName":"service.edit","extraData":{"entity":{"id":131,"prepaid":false,"clientId":146,"status":3,"name":"Basico 300","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-13T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-13T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-31T00:00:00-0600","unmsClientSiteId":"bc4103e6-5550-462c-84df-f279b498f6ff","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":135,"startDate":"2025-03-04T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":140,"startDate":"2025-03-14T15:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":131,"prepaid":false,"clientId":146,"status":1,"name":"Basico 300","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-13T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-13T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-31T00:00:00-0600","unmsClientSiteId":"bc4103e6-5550-462c-84df-f279b498f6ff","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":135,"startDate":"2025-03-04T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":140,"startDate":"2025-03-14T15:30:02-0600","endDate":null}],"surcharges":[]}}} - -[2025-03-14 21:30:06.187545] [debug] Se editó el servicio a un cliente - -[2025-03-14 21:30:06.187596] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-14 21:30:06.187608] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-14 21:30:06.187649] [info] {"uuid":"1016b370-3cf6-4048-a081-33194d63edf8","changeType":"edit","entity":"service","entityId":131,"message":null,"clientId":146,"eventName":"service.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"4188897415","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true}],"accountBalance":-800,"accountCredit":0,"accountOutstanding":800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":131,"prepaid":false,"clientId":146,"status":3,"name":"Basico 300","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-13T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-13T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-31T00:00:00-0600","unmsClientSiteId":"bc4103e6-5550-462c-84df-f279b498f6ff","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":135,"startDate":"2025-03-04T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":140,"startDate":"2025-03-14T00:00:00-0600","endDate":null}],"surcharges":[],"stopReason":"Payments overdue"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Delfino De los Mares - -UUID: - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/03\/2025 15:30"}} - -Response Patch CallBell: - -[2025-03-15 6:25:06.327390] [notice] Logging level set to:debug -[2025-03-15 6:25:06.609599] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:06.609679] [debug] Valor de JSON: {"uuid":"6980a824-6cd9-4310-88e0-ac5a1e14e1d3","changeType":"overdue","entity":"invoice","entityId":"1592","eventName":"invoice.overdue","extraData":{"entity":{"id":1592,"clientId":7,"number":"001543","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1595,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":7,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JESUS","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:06.609898] [debug] Factura vencida - -[2025-03-15 6:25:06.609942] [debug] datos del notification para el invoice overdue:{"uuid":"6980a824-6cd9-4310-88e0-ac5a1e14e1d3","changeType":"overdue","entity":"invoice","entityId":1592,"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":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1592,"clientId":7,"number":"001543","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1595,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":7,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JESUS","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:06.609972] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:06.610088] [debug] Numero de cel obtenido - -[2025-03-15 6:25:06.610100] [warning] No se encontró un teléfono celular válido para el cliente: 7 -[2025-03-15 6:25:06.822562] [notice] Logging level set to:debug -[2025-03-15 6:25:07.133882] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:07.133945] [debug] Valor de JSON: {"uuid":"8936950e-97b2-44e8-9fba-7886e4d02e51","changeType":"overdue","entity":"invoice","entityId":"1593","eventName":"invoice.overdue","extraData":{"entity":{"id":1593,"clientId":43,"number":"001544","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1596,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":42,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"VICTORIO","clientLastName":"DIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:07.134073] [debug] Factura vencida - -[2025-03-15 6:25:07.134114] [debug] datos del notification para el invoice overdue:{"uuid":"8936950e-97b2-44e8-9fba-7886e4d02e51","changeType":"overdue","entity":"invoice","entityId":1593,"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":[],"accountBalance":-9123.33,"accountCredit":0,"accountOutstanding":9123.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":1593,"clientId":43,"number":"001544","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1596,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":42,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"VICTORIO","clientLastName":"DIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:07.134125] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:07.134181] [debug] Numero de cel obtenido - -[2025-03-15 6:25:07.134191] [warning] No se encontró un teléfono celular válido para el cliente: 43 -[2025-03-15 6:25:07.257586] [notice] Logging level set to:debug -[2025-03-15 6:25:07.509540] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:07.509589] [debug] Valor de JSON: {"uuid":"6ec73c17-daea-49a6-b561-d67aa8098127","changeType":"overdue","entity":"invoice","entityId":"1594","eventName":"invoice.overdue","extraData":{"entity":{"id":1594,"clientId":68,"number":"001545","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1597,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":67,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DOLORES","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:07.509752] [debug] Factura vencida - -[2025-03-15 6:25:07.509795] [debug] datos del notification para el invoice overdue:{"uuid":"6ec73c17-daea-49a6-b561-d67aa8098127","changeType":"overdue","entity":"invoice","entityId":1594,"message":null,"clientId":68,"eventName":"invoice.overdue","clientData":{"id":68,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DOLORES","lastName":"GARCIA","username":"dgarcia68","contacts":[{"id":69,"clientId":68,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#9e9d24","addressGpsLat":21.2516667,"addressGpsLon":-101.0924998,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1594,"clientId":68,"number":"001545","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1597,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":67,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DOLORES","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:07.509818] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:07.509876] [debug] Numero de cel obtenido - -[2025-03-15 6:25:07.509886] [warning] No se encontró un teléfono celular válido para el cliente: 68 -[2025-03-15 6:25:07.627197] [notice] Logging level set to:debug -[2025-03-15 6:25:07.931879] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:07.931931] [debug] Valor de JSON: {"uuid":"c3c9fa69-4a3e-4dab-b1ce-a58b14351a22","changeType":"overdue","entity":"invoice","entityId":"1595","eventName":"invoice.overdue","extraData":{"entity":{"id":1595,"clientId":33,"number":"001546","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1598,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":32,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURELIA","clientLastName":"BARAJAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA CECILIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:07.932029] [debug] Factura vencida - -[2025-03-15 6:25:07.932082] [debug] datos del notification para el invoice overdue:{"uuid":"c3c9fa69-4a3e-4dab-b1ce-a58b14351a22","changeType":"overdue","entity":"invoice","entityId":1595,"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":[],"accountBalance":-4450,"accountCredit":0,"accountOutstanding":4450,"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":1595,"clientId":33,"number":"001546","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1598,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":32,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURELIA","clientLastName":"BARAJAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA CECILIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:07.932097] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:07.932157] [debug] Numero de cel obtenido - -[2025-03-15 6:25:07.932168] [warning] No se encontró un teléfono celular válido para el cliente: 33 -[2025-03-15 6:25:08.045305] [notice] Logging level set to:debug -[2025-03-15 6:25:08.272842] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:08.272903] [debug] Valor de JSON: {"uuid":"16623b91-13ec-4934-aec5-cd9c8dcfb9d9","changeType":"overdue","entity":"invoice","entityId":"1596","eventName":"invoice.overdue","extraData":{"entity":{"id":1596,"clientId":53,"number":"001547","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1599,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":52,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONIO","clientLastName":"CHAVEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:08.273004] [debug] Factura vencida - -[2025-03-15 6:25:08.273041] [debug] datos del notification para el invoice overdue:{"uuid":"16623b91-13ec-4934-aec5-cd9c8dcfb9d9","changeType":"overdue","entity":"invoice","entityId":1596,"message":null,"clientId":53,"eventName":"invoice.overdue","clientData":{"id":53,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA VENTA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA VENTA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANTONIO","lastName":"CHAVEZ","username":"achavez53","contacts":[{"id":54,"clientId":53,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1197222,"addressGpsLon":-100.7872222,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1596,"clientId":53,"number":"001547","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1599,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":52,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONIO","clientLastName":"CHAVEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:08.273056] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:08.273111] [debug] Numero de cel obtenido - -[2025-03-15 6:25:08.273122] [warning] No se encontró un teléfono celular válido para el cliente: 53 -[2025-03-15 6:25:08.383382] [notice] Logging level set to:debug -[2025-03-15 6:25:08.579395] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:08.579451] [debug] Valor de JSON: {"uuid":"55255f44-6715-4a66-90d3-2dcb50285018","changeType":"overdue","entity":"invoice","entityId":"1597","eventName":"invoice.overdue","extraData":{"entity":{"id":1597,"clientId":10,"number":"001548","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1600,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":10,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CARLOS","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:08.579566] [debug] Factura vencida - -[2025-03-15 6:25:08.579607] [debug] datos del notification para el invoice overdue:{"uuid":"55255f44-6715-4a66-90d3-2dcb50285018","changeType":"overdue","entity":"invoice","entityId":1597,"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":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1597,"clientId":10,"number":"001548","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1600,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":10,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CARLOS","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:08.579632] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:08.579687] [debug] Numero de cel obtenido - -[2025-03-15 6:25:08.579698] [warning] No se encontró un teléfono celular válido para el cliente: 10 -[2025-03-15 6:25:08.694001] [notice] Logging level set to:debug -[2025-03-15 6:25:08.939872] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:08.939923] [debug] Valor de JSON: {"uuid":"41ddaa3a-1119-4b98-91f3-2977baf173c0","changeType":"overdue","entity":"invoice","entityId":"1598","eventName":"invoice.overdue","extraData":{"entity":{"id":1598,"clientId":48,"number":"001549","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1601,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":47,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISELA","clientLastName":"AZPEITIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:08.940035] [debug] Factura vencida - -[2025-03-15 6:25:08.940073] [debug] datos del notification para el invoice overdue:{"uuid":"41ddaa3a-1119-4b98-91f3-2977baf173c0","changeType":"overdue","entity":"invoice","entityId":1598,"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":104,"clientId":48,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1VUj6JXVCcUu","clientZoneVisible":true},{"id":105,"clientId":48,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"4896043950637164","clientZoneVisible":true}],"accountBalance":-6900,"accountCredit":0,"accountOutstanding":6900,"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":1598,"clientId":48,"number":"001549","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1601,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":47,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISELA","clientLastName":"AZPEITIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:08.940089] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:08.940146] [debug] Numero de cel obtenido - -[2025-03-15 6:25:08.940157] [warning] No se encontró un teléfono celular válido para el cliente: 48 -[2025-03-15 6:25:09.057495] [notice] Logging level set to:debug -[2025-03-15 6:25:09.332010] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:09.332063] [debug] Valor de JSON: {"uuid":"5bcdc8fa-4af9-4d54-9f4f-0876fcfc43c7","changeType":"overdue","entity":"invoice","entityId":"1599","eventName":"invoice.overdue","extraData":{"entity":{"id":1599,"clientId":19,"number":"001550","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1602,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":18,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARIA","clientLastName":"RODRIGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:09.332195] [debug] Factura vencida - -[2025-03-15 6:25:09.332235] [debug] datos del notification para el invoice overdue:{"uuid":"5bcdc8fa-4af9-4d54-9f4f-0876fcfc43c7","changeType":"overdue","entity":"invoice","entityId":1599,"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":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-8433.33,"accountCredit":0,"accountOutstanding":8433.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":1599,"clientId":19,"number":"001550","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1602,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":18,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARIA","clientLastName":"RODRIGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:09.332257] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:09.332330] [debug] Numero de cel obtenido - -[2025-03-15 6:25:09.332340] [warning] No se encontró un teléfono celular válido para el cliente: 19 -[2025-03-15 6:25:09.445441] [notice] Logging level set to:debug -[2025-03-15 6:25:09.655883] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:09.655937] [debug] Valor de JSON: {"uuid":"58909393-abd7-41ee-ac3f-37941aefed08","changeType":"overdue","entity":"invoice","entityId":"1600","eventName":"invoice.overdue","extraData":{"entity":{"id":1600,"clientId":34,"number":"001551","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1603,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":33,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NORMA","clientLastName":"ALMAGUER","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSALITO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:09.656055] [debug] Factura vencida - -[2025-03-15 6:25:09.656095] [debug] datos del notification para el invoice overdue:{"uuid":"58909393-abd7-41ee-ac3f-37941aefed08","changeType":"overdue","entity":"invoice","entityId":1600,"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":[],"accountBalance":-4510,"accountCredit":0,"accountOutstanding":4510,"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":1600,"clientId":34,"number":"001551","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1603,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":33,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NORMA","clientLastName":"ALMAGUER","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSALITO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:09.656112] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:09.656167] [debug] Numero de cel obtenido - -[2025-03-15 6:25:09.656177] [warning] No se encontró un teléfono celular válido para el cliente: 34 -[2025-03-15 6:25:09.776473] [notice] Logging level set to:debug -[2025-03-15 6:25:09.993232] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:09.993287] [debug] Valor de JSON: {"uuid":"4a4ce583-baad-44ed-ac3b-02685564755b","changeType":"overdue","entity":"invoice","entityId":"1601","eventName":"invoice.overdue","extraData":{"entity":{"id":1601,"clientId":89,"number":"001552","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1604,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":88,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RIO LAJA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:09.993396] [debug] Factura vencida - -[2025-03-15 6:25:09.993439] [debug] datos del notification para el invoice overdue:{"uuid":"4a4ce583-baad-44ed-ac3b-02685564755b","changeType":"overdue","entity":"invoice","entityId":1601,"message":null,"clientId":89,"eventName":"invoice.overdue","clientData":{"id":89,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"RIO LAJA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"RIO LAJA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"TERESA","lastName":"SANCHEZ","username":"tsanchez89","contacts":[{"id":90,"clientId":89,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1601,"clientId":89,"number":"001552","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1604,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":88,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RIO LAJA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:09.993467] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:09.993524] [debug] Numero de cel obtenido - -[2025-03-15 6:25:09.993535] [warning] No se encontró un teléfono celular válido para el cliente: 89 -[2025-03-15 6:25:10.107538] [notice] Logging level set to:debug -[2025-03-15 6:25:10.312652] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:10.312705] [debug] Valor de JSON: {"uuid":"46454605-b51d-4427-bc67-88d85bd173a0","changeType":"overdue","entity":"invoice","entityId":"1602","eventName":"invoice.overdue","extraData":{"entity":{"id":1602,"clientId":54,"number":"001553","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1605,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":53,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORETO","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"COLORADO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:10.312824] [debug] Factura vencida - -[2025-03-15 6:25:10.312865] [debug] datos del notification para el invoice overdue:{"uuid":"46454605-b51d-4427-bc67-88d85bd173a0","changeType":"overdue","entity":"invoice","entityId":1602,"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":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1602,"clientId":54,"number":"001553","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1605,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":53,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORETO","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"COLORADO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:10.312881] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:10.312936] [debug] Numero de cel obtenido - -[2025-03-15 6:25:10.312946] [warning] No se encontró un teléfono celular válido para el cliente: 54 -[2025-03-15 6:25:10.426568] [notice] Logging level set to:debug -[2025-03-15 6:25:10.646816] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:10.646868] [debug] Valor de JSON: {"uuid":"32e7ed01-c3d0-4729-9d61-836b3d857428","changeType":"overdue","entity":"invoice","entityId":"1603","eventName":"invoice.overdue","extraData":{"entity":{"id":1603,"clientId":72,"number":"001554","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1606,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":71,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BRANDOM","clientLastName":"EZQUIVEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:10.646971] [debug] Factura vencida - -[2025-03-15 6:25:10.647008] [debug] datos del notification para el invoice overdue:{"uuid":"32e7ed01-c3d0-4729-9d61-836b3d857428","changeType":"overdue","entity":"invoice","entityId":1603,"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":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1603,"clientId":72,"number":"001554","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1606,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":71,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BRANDOM","clientLastName":"EZQUIVEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:10.647032] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:10.647088] [debug] Numero de cel obtenido - -[2025-03-15 6:25:10.647099] [warning] No se encontró un teléfono celular válido para el cliente: 72 -[2025-03-15 6:25:10.774159] [notice] Logging level set to:debug -[2025-03-15 6:25:10.992175] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:10.992225] [debug] Valor de JSON: {"uuid":"75eafb1e-343a-417d-9075-b52eabd1aa9e","changeType":"overdue","entity":"invoice","entityId":"1604","eventName":"invoice.overdue","extraData":{"entity":{"id":1604,"clientId":91,"number":"001555","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1607,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":90,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CAROLINA","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:10.992331] [debug] Factura vencida - -[2025-03-15 6:25:10.992369] [debug] datos del notification para el invoice overdue:{"uuid":"75eafb1e-343a-417d-9075-b52eabd1aa9e","changeType":"overdue","entity":"invoice","entityId":1604,"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":[],"accountBalance":-7100,"accountCredit":0,"accountOutstanding":7100,"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":1604,"clientId":91,"number":"001555","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1607,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":90,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CAROLINA","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:10.992386] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:10.992438] [debug] Numero de cel obtenido - -[2025-03-15 6:25:10.992451] [warning] No se encontró un teléfono celular válido para el cliente: 91 -[2025-03-15 6:25:11.107814] [notice] Logging level set to:debug -[2025-03-15 6:25:11.315619] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:11.315670] [debug] Valor de JSON: {"uuid":"a6ae697d-01fd-40dd-93b8-ab2c74365b5b","changeType":"overdue","entity":"invoice","entityId":"1605","eventName":"invoice.overdue","extraData":{"entity":{"id":1605,"clientId":60,"number":"001556","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1608,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":59,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MANUEL","clientLastName":"CORENEO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:11.315773] [debug] Factura vencida - -[2025-03-15 6:25:11.315812] [debug] datos del notification para el invoice overdue:{"uuid":"a6ae697d-01fd-40dd-93b8-ab2c74365b5b","changeType":"overdue","entity":"invoice","entityId":1605,"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":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1605,"clientId":60,"number":"001556","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1608,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":59,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MANUEL","clientLastName":"CORENEO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:11.315834] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:11.315886] [debug] Numero de cel obtenido - -[2025-03-15 6:25:11.315896] [warning] No se encontró un teléfono celular válido para el cliente: 60 -[2025-03-15 6:25:11.430455] [notice] Logging level set to:debug -[2025-03-15 6:25:11.706923] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:11.706978] [debug] Valor de JSON: {"uuid":"b106e741-4d14-47f1-8497-f248c41ecf93","changeType":"overdue","entity":"invoice","entityId":"1606","eventName":"invoice.overdue","extraData":{"entity":{"id":1606,"clientId":102,"number":"001557","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1609,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":101,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"XX","clientLastName":"XX","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:11.707098] [debug] Factura vencida - -[2025-03-15 6:25:11.707143] [debug] datos del notification para el invoice overdue:{"uuid":"b106e741-4d14-47f1-8497-f248c41ecf93","changeType":"overdue","entity":"invoice","entityId":1606,"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":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1606,"clientId":102,"number":"001557","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1609,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":101,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"XX","clientLastName":"XX","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:11.707160] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:11.707216] [debug] Numero de cel obtenido - -[2025-03-15 6:25:11.707227] [warning] No se encontró un teléfono celular válido para el cliente: 102 -[2025-03-15 6:25:11.826971] [notice] Logging level set to:debug -[2025-03-15 6:25:12.055785] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:12.055840] [debug] Valor de JSON: {"uuid":"20ef1a12-8c9d-4d6e-84f8-68a11b84b553","changeType":"overdue","entity":"invoice","entityId":"1607","eventName":"invoice.overdue","extraData":{"entity":{"id":1607,"clientId":98,"number":"001558","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1610,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":97,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JULIO","clientLastName":"OLACHIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:12.055943] [debug] Factura vencida - -[2025-03-15 6:25:12.055984] [debug] datos del notification para el invoice overdue:{"uuid":"20ef1a12-8c9d-4d6e-84f8-68a11b84b553","changeType":"overdue","entity":"invoice","entityId":1607,"message":null,"clientId":98,"eventName":"invoice.overdue","clientData":{"id":98,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS AGUILAR","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS AGUILAR, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JULIO","lastName":"OLACHIA","username":"jolachia98","contacts":[{"id":99,"clientId":98,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1607,"clientId":98,"number":"001558","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1610,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":97,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JULIO","clientLastName":"OLACHIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:12.056009] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:12.056065] [debug] Numero de cel obtenido - -[2025-03-15 6:25:12.056076] [warning] No se encontró un teléfono celular válido para el cliente: 98 -[2025-03-15 6:25:12.175659] [notice] Logging level set to:debug -[2025-03-15 6:25:12.397361] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:12.397411] [debug] Valor de JSON: {"uuid":"d5449ce7-6c45-4fce-b4bb-07261822de71","changeType":"overdue","entity":"invoice","entityId":"1608","eventName":"invoice.overdue","extraData":{"entity":{"id":1608,"clientId":49,"number":"001559","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1611,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":48,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"ARGOTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:12.397537] [debug] Factura vencida - -[2025-03-15 6:25:12.397577] [debug] datos del notification para el invoice overdue:{"uuid":"d5449ce7-6c45-4fce-b4bb-07261822de71","changeType":"overdue","entity":"invoice","entityId":1608,"message":null,"clientId":49,"eventName":"invoice.overdue","clientData":{"id":49,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"HUMBERTO","lastName":"ARGOTE","username":"hargote49","contacts":[{"id":50,"clientId":49,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":106,"clientId":49,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1TKNidnkizX4","clientZoneVisible":true},{"id":107,"clientId":49,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"5239864893662909","clientZoneVisible":true}],"accountBalance":-3910,"accountCredit":0,"accountOutstanding":3910,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.0502031,"addressGpsLon":-101.0096832,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1608,"clientId":49,"number":"001559","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1611,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":48,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"ARGOTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:12.397594] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:12.397728] [debug] Numero de cel obtenido - -[2025-03-15 6:25:12.397743] [warning] No se encontró un teléfono celular válido para el cliente: 49 -[2025-03-15 6:25:12.512936] [notice] Logging level set to:debug -[2025-03-15 6:25:12.758666] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:12.758717] [debug] Valor de JSON: {"uuid":"97bafc71-181b-4722-8120-42bd05456b9e","changeType":"overdue","entity":"invoice","entityId":"1609","eventName":"invoice.overdue","extraData":{"entity":{"id":1609,"clientId":47,"number":"001560","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1612,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":46,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ASRAEL","clientLastName":"PONCE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:12.758816] [debug] Factura vencida - -[2025-03-15 6:25:12.758871] [debug] datos del notification para el invoice overdue:{"uuid":"97bafc71-181b-4722-8120-42bd05456b9e","changeType":"overdue","entity":"invoice","entityId":1609,"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":102,"clientId":47,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1ERR1n4E6GPk","clientZoneVisible":true},{"id":103,"clientId":47,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"8205258963078605","clientZoneVisible":true}],"accountBalance":-3880,"accountCredit":0,"accountOutstanding":3880,"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":1609,"clientId":47,"number":"001560","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1612,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":46,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ASRAEL","clientLastName":"PONCE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:12.758893] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:12.758949] [debug] Numero de cel obtenido - -[2025-03-15 6:25:12.758960] [warning] No se encontró un teléfono celular válido para el cliente: 47 -[2025-03-15 6:25:12.873701] [notice] Logging level set to:debug -[2025-03-15 6:25:13.096851] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:13.096909] [debug] Valor de JSON: {"uuid":"869771d3-9de7-4241-a3f3-403d62c90b6e","changeType":"overdue","entity":"invoice","entityId":"1610","eventName":"invoice.overdue","extraData":{"entity":{"id":1610,"clientId":80,"number":"001561","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1613,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":79,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AXEL","clientLastName":"FERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:13.097021] [debug] Factura vencida - -[2025-03-15 6:25:13.097059] [debug] datos del notification para el invoice overdue:{"uuid":"869771d3-9de7-4241-a3f3-403d62c90b6e","changeType":"overdue","entity":"invoice","entityId":1610,"message":null,"clientId":80,"eventName":"invoice.overdue","clientData":{"id":80,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN SEBASTIAN","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN SEBASTIAN, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"AXEL","lastName":"FERNANDEZ","username":"afernandez80","contacts":[{"id":81,"clientId":80,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1610,"clientId":80,"number":"001561","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1613,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":79,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AXEL","clientLastName":"FERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:13.097075] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:13.097127] [debug] Numero de cel obtenido - -[2025-03-15 6:25:13.097137] [warning] No se encontró un teléfono celular válido para el cliente: 80 -[2025-03-15 6:25:13.208327] [notice] Logging level set to:debug -[2025-03-15 6:25:13.413606] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:13.413813] [debug] Valor de JSON: {"uuid":"7f67d427-7303-4b8a-8f90-db0e1da75616","changeType":"overdue","entity":"invoice","entityId":"1611","eventName":"invoice.overdue","extraData":{"entity":{"id":1611,"clientId":73,"number":"001562","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1614,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":72,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ERICK","clientLastName":"VAZQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:13.413930] [debug] Factura vencida - -[2025-03-15 6:25:13.413974] [debug] datos del notification para el invoice overdue:{"uuid":"7f67d427-7303-4b8a-8f90-db0e1da75616","changeType":"overdue","entity":"invoice","entityId":1611,"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":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1611,"clientId":73,"number":"001562","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1614,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":72,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ERICK","clientLastName":"VAZQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:13.414015] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:13.414074] [debug] Numero de cel obtenido - -[2025-03-15 6:25:13.414087] [warning] No se encontró un teléfono celular válido para el cliente: 73 -[2025-03-15 6:25:13.524780] [notice] Logging level set to:debug -[2025-03-15 6:25:13.751796] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:13.751847] [debug] Valor de JSON: {"uuid":"731deff8-dac8-4242-bb91-ffa2520e2871","changeType":"overdue","entity":"invoice","entityId":"1612","eventName":"invoice.overdue","extraData":{"entity":{"id":1612,"clientId":95,"number":"001563","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1615,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":94,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SOFIA","clientLastName":"VALENCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:13.751967] [debug] Factura vencida - -[2025-03-15 6:25:13.752003] [debug] datos del notification para el invoice overdue:{"uuid":"731deff8-dac8-4242-bb91-ffa2520e2871","changeType":"overdue","entity":"invoice","entityId":1612,"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":[],"accountBalance":-7000,"accountCredit":0,"accountOutstanding":7000,"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":1612,"clientId":95,"number":"001563","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1615,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":94,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SOFIA","clientLastName":"VALENCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:13.752021] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:13.752075] [debug] Numero de cel obtenido - -[2025-03-15 6:25:13.752085] [warning] No se encontró un teléfono celular válido para el cliente: 95 -[2025-03-15 6:25:13.866667] [notice] Logging level set to:debug -[2025-03-15 6:25:14.025943] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:14.026006] [debug] Valor de JSON: {"uuid":"47148189-d5f2-4474-8475-db03fcbabea6","changeType":"overdue","entity":"invoice","entityId":"1613","eventName":"invoice.overdue","extraData":{"entity":{"id":1613,"clientId":51,"number":"001564","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1616,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":50,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"MORENO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PADRE HIDALGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:14.026118] [debug] Factura vencida - -[2025-03-15 6:25:14.026164] [debug] datos del notification para el invoice overdue:{"uuid":"47148189-d5f2-4474-8475-db03fcbabea6","changeType":"overdue","entity":"invoice","entityId":1613,"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":[],"accountBalance":-7450,"accountCredit":0,"accountOutstanding":7450,"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":1613,"clientId":51,"number":"001564","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1616,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":50,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"MORENO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PADRE HIDALGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:14.026190] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:14.026258] [debug] Numero de cel obtenido - -[2025-03-15 6:25:14.026272] [warning] No se encontró un teléfono celular válido para el cliente: 51 -[2025-03-15 6:25:14.152616] [notice] Logging level set to:debug -[2025-03-15 6:25:14.284158] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:14.284209] [debug] Valor de JSON: {"uuid":"5a7ab54b-9360-42ad-a567-55bdf22d847b","changeType":"overdue","entity":"invoice","entityId":"1614","eventName":"invoice.overdue","extraData":{"entity":{"id":1614,"clientId":67,"number":"001565","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1617,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":66,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TOMAS","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:14.284317] [debug] Factura vencida - -[2025-03-15 6:25:14.284353] [debug] datos del notification para el invoice overdue:{"uuid":"5a7ab54b-9360-42ad-a567-55bdf22d847b","changeType":"overdue","entity":"invoice","entityId":1614,"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":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1614,"clientId":67,"number":"001565","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1617,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":66,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TOMAS","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:14.284372] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:14.284425] [debug] Numero de cel obtenido - -[2025-03-15 6:25:14.284435] [warning] No se encontró un teléfono celular válido para el cliente: 67 -[2025-03-15 6:25:14.392422] [notice] Logging level set to:debug -[2025-03-15 6:25:14.522353] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:14.522406] [debug] Valor de JSON: {"uuid":"177b2470-0c71-47da-96fb-32dd170c8259","changeType":"overdue","entity":"invoice","entityId":"1615","eventName":"invoice.overdue","extraData":{"entity":{"id":1615,"clientId":85,"number":"001566","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1618,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":84,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GISELLE","clientLastName":"ARREDONDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GARABATILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:14.525702] [debug] Factura vencida - -[2025-03-15 6:25:14.525768] [debug] datos del notification para el invoice overdue:{"uuid":"177b2470-0c71-47da-96fb-32dd170c8259","changeType":"overdue","entity":"invoice","entityId":1615,"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":[],"accountBalance":-7400,"accountCredit":0,"accountOutstanding":7400,"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":1615,"clientId":85,"number":"001566","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1618,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":84,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GISELLE","clientLastName":"ARREDONDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GARABATILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:14.525794] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:14.525888] [debug] Numero de cel obtenido - -[2025-03-15 6:25:14.525901] [warning] No se encontró un teléfono celular válido para el cliente: 85 -[2025-03-15 6:25:14.636563] [notice] Logging level set to:debug -[2025-03-15 6:25:14.771255] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:14.771311] [debug] Valor de JSON: {"uuid":"888f78a4-de86-424f-baa0-b600c62a4a0b","changeType":"overdue","entity":"invoice","entityId":"1616","eventName":"invoice.overdue","extraData":{"entity":{"id":1616,"clientId":8,"number":"001567","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1619,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":8,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALFREDO","clientLastName":"GUTIERREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:14.771430] [debug] Factura vencida - -[2025-03-15 6:25:14.771467] [debug] datos del notification para el invoice overdue:{"uuid":"888f78a4-de86-424f-baa0-b600c62a4a0b","changeType":"overdue","entity":"invoice","entityId":1616,"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":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7030,"accountCredit":0,"accountOutstanding":7030,"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":1616,"clientId":8,"number":"001567","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1619,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":8,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALFREDO","clientLastName":"GUTIERREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:14.771483] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:14.771548] [debug] Numero de cel obtenido - -[2025-03-15 6:25:14.771559] [warning] No se encontró un teléfono celular válido para el cliente: 8 -[2025-03-15 6:25:14.886271] [notice] Logging level set to:debug -[2025-03-15 6:25:15.017539] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:15.017594] [debug] Valor de JSON: {"uuid":"69cba1e7-e988-403b-a994-929da6131213","changeType":"overdue","entity":"invoice","entityId":"1617","eventName":"invoice.overdue","extraData":{"entity":{"id":1617,"clientId":29,"number":"001568","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1620,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":28,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTELA","clientLastName":"ORTIZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EJIDO DOLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:15.017709] [debug] Factura vencida - -[2025-03-15 6:25:15.017748] [debug] datos del notification para el invoice overdue:{"uuid":"69cba1e7-e988-403b-a994-929da6131213","changeType":"overdue","entity":"invoice","entityId":1617,"message":null,"clientId":29,"eventName":"invoice.overdue","clientData":{"id":29,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EJIDO DOLORES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EJIDO DOLORES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ESTELA","lastName":"ORTIZ","username":"eortiz29","contacts":[{"id":30,"clientId":29,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-6816.67,"accountCredit":0,"accountOutstanding":6816.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1617,"clientId":29,"number":"001568","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1620,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":28,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTELA","clientLastName":"ORTIZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EJIDO DOLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:15.017771] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:15.017827] [debug] Numero de cel obtenido - -[2025-03-15 6:25:15.017841] [warning] No se encontró un teléfono celular válido para el cliente: 29 -[2025-03-15 6:25:15.129347] [notice] Logging level set to:debug -[2025-03-15 6:25:15.272705] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:15.272767] [debug] Valor de JSON: {"uuid":"52a25486-119d-47a3-ad43-c9245defac88","changeType":"overdue","entity":"invoice","entityId":"1618","eventName":"invoice.overdue","extraData":{"entity":{"id":1618,"clientId":99,"number":"001569","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1621,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":98,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BELINDA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:15.272903] [debug] Factura vencida - -[2025-03-15 6:25:15.272943] [debug] datos del notification para el invoice overdue:{"uuid":"52a25486-119d-47a3-ad43-c9245defac88","changeType":"overdue","entity":"invoice","entityId":1618,"message":null,"clientId":99,"eventName":"invoice.overdue","clientData":{"id":99,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"MONTELONGO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"MONTELONGO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"BELINDA","lastName":"REYES","username":"breyes99","contacts":[{"id":100,"clientId":99,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5400,"accountCredit":0,"accountOutstanding":5400,"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":1618,"clientId":99,"number":"001569","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1621,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":98,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BELINDA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:15.272960] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:15.273041] [debug] Numero de cel obtenido - -[2025-03-15 6:25:15.273052] [warning] No se encontró un teléfono celular válido para el cliente: 99 -[2025-03-15 6:25:15.385067] [notice] Logging level set to:debug -[2025-03-15 6:25:15.510689] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:15.510735] [debug] Valor de JSON: {"uuid":"46504c06-e8e2-4b34-a097-899092d0be3a","changeType":"overdue","entity":"invoice","entityId":"1619","eventName":"invoice.overdue","extraData":{"entity":{"id":1619,"clientId":65,"number":"001570","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1622,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":64,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS MONCADA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:15.510823] [debug] Factura vencida - -[2025-03-15 6:25:15.510857] [debug] datos del notification para el invoice overdue:{"uuid":"46504c06-e8e2-4b34-a097-899092d0be3a","changeType":"overdue","entity":"invoice","entityId":1619,"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":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1619,"clientId":65,"number":"001570","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1622,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":64,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS MONCADA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:15.510876] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:15.510926] [debug] Numero de cel obtenido - -[2025-03-15 6:25:15.510936] [warning] No se encontró un teléfono celular válido para el cliente: 65 -[2025-03-15 6:25:15.623665] [notice] Logging level set to:debug -[2025-03-15 6:25:15.751080] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:15.751137] [debug] Valor de JSON: {"uuid":"61f8baaa-097b-4734-bc3c-416ff6f17892","changeType":"overdue","entity":"invoice","entityId":"1620","eventName":"invoice.overdue","extraData":{"entity":{"id":1620,"clientId":101,"number":"001571","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1623,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":100,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OCTAVIO","clientLastName":"VIDAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ESTA\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:15.751255] [debug] Factura vencida - -[2025-03-15 6:25:15.751291] [debug] datos del notification para el invoice overdue:{"uuid":"61f8baaa-097b-4734-bc3c-416ff6f17892","changeType":"overdue","entity":"invoice","entityId":1620,"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":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1620,"clientId":101,"number":"001571","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1623,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":100,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OCTAVIO","clientLastName":"VIDAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ESTA\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:15.751308] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:15.751363] [debug] Numero de cel obtenido - -[2025-03-15 6:25:15.751374] [warning] No se encontró un teléfono celular válido para el cliente: 101 -[2025-03-15 6:25:15.866368] [notice] Logging level set to:debug -[2025-03-15 6:25:16.019020] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:16.019073] [debug] Valor de JSON: {"uuid":"949b10dd-3245-4ef9-a174-591d531f5bf9","changeType":"overdue","entity":"invoice","entityId":"1621","eventName":"invoice.overdue","extraData":{"entity":{"id":1621,"clientId":5,"number":"001572","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1624,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":5,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MUCIO","clientLastName":"ROBLEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CORREGIDORA #61, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:16.019176] [debug] Factura vencida - -[2025-03-15 6:25:16.019215] [debug] datos del notification para el invoice overdue:{"uuid":"949b10dd-3245-4ef9-a174-591d531f5bf9","changeType":"overdue","entity":"invoice","entityId":1621,"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":[],"accountBalance":-11033.33,"accountCredit":0,"accountOutstanding":11033.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.158357169062,"addressGpsLon":-100.93191261001,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1621,"clientId":5,"number":"001572","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1624,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":5,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MUCIO","clientLastName":"ROBLEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CORREGIDORA #61, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:16.019237] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:16.019299] [debug] Numero de cel obtenido - -[2025-03-15 6:25:16.019309] [warning] No se encontró un teléfono celular válido para el cliente: 5 -[2025-03-15 6:25:16.133349] [notice] Logging level set to:debug -[2025-03-15 6:25:16.267935] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:16.267986] [debug] Valor de JSON: {"uuid":"75d0d8c1-00bc-41bf-9614-4418aa019d8a","changeType":"overdue","entity":"invoice","entityId":"1622","eventName":"invoice.overdue","extraData":{"entity":{"id":1622,"clientId":6,"number":"001573","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1625,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":6,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEJANDRO","clientLastName":"MOCTEZUMA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:16.268090] [debug] Factura vencida - -[2025-03-15 6:25:16.268126] [debug] datos del notification para el invoice overdue:{"uuid":"75d0d8c1-00bc-41bf-9614-4418aa019d8a","changeType":"overdue","entity":"invoice","entityId":1622,"message":null,"clientId":6,"eventName":"invoice.overdue","clientData":{"id":6,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"ALEJANDRO","lastName":"MOCTEZUMA","username":"amoctezuma06","contacts":[{"id":7,"clientId":6,"email":null,"phone":"5214181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-3880,"accountCredit":0,"accountOutstanding":3880,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574,"addressGpsLon":-100.934617,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1622,"clientId":6,"number":"001573","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1625,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":6,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEJANDRO","clientLastName":"MOCTEZUMA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:16.268143] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:16.268198] [debug] Numero de cel obtenido - -[2025-03-15 6:25:16.268208] [warning] No se encontró un teléfono celular válido para el cliente: 6 -[2025-03-15 6:25:16.379589] [notice] Logging level set to:debug -[2025-03-15 6:25:16.525016] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:16.525068] [debug] Valor de JSON: {"uuid":"7ac65770-fc20-46a8-9650-bceab3460b98","changeType":"overdue","entity":"invoice","entityId":"1623","eventName":"invoice.overdue","extraData":{"entity":{"id":1623,"clientId":12,"number":"001574","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1626,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":12,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MIRIAM","clientLastName":"ZURITA RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:16.525172] [debug] Factura vencida - -[2025-03-15 6:25:16.525209] [debug] datos del notification para el invoice overdue:{"uuid":"7ac65770-fc20-46a8-9650-bceab3460b98","changeType":"overdue","entity":"invoice","entityId":1623,"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":[],"accountBalance":-8433.33,"accountCredit":0,"accountOutstanding":8433.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":1623,"clientId":12,"number":"001574","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1626,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":12,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MIRIAM","clientLastName":"ZURITA RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:16.525234] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:16.525290] [debug] Numero de cel obtenido - -[2025-03-15 6:25:16.525301] [warning] No se encontró un teléfono celular válido para el cliente: 12 -[2025-03-15 6:25:16.637118] [notice] Logging level set to:debug -[2025-03-15 6:25:16.785913] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:16.785978] [debug] Valor de JSON: {"uuid":"8538a628-2ae6-4ffe-9a30-22a75fadb63b","changeType":"overdue","entity":"invoice","entityId":"1624","eventName":"invoice.overdue","extraData":{"entity":{"id":1624,"clientId":27,"number":"001575","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1627,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":26,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXIS","clientLastName":"DIAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA RITA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:16.786129] [debug] Factura vencida - -[2025-03-15 6:25:16.786186] [debug] datos del notification para el invoice overdue:{"uuid":"8538a628-2ae6-4ffe-9a30-22a75fadb63b","changeType":"overdue","entity":"invoice","entityId":1624,"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":[],"accountBalance":-3910,"accountCredit":0,"accountOutstanding":3910,"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":1624,"clientId":27,"number":"001575","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1627,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":26,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXIS","clientLastName":"DIAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA RITA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:16.786215] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:16.786297] [debug] Numero de cel obtenido - -[2025-03-15 6:25:16.786312] [warning] No se encontró un teléfono celular válido para el cliente: 27 -[2025-03-15 6:25:16.898514] [notice] Logging level set to:debug -[2025-03-15 6:25:17.042252] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:17.042308] [debug] Valor de JSON: {"uuid":"10d94a3a-913d-43ab-a007-5dc8b57dedd2","changeType":"overdue","entity":"invoice","entityId":"1625","eventName":"invoice.overdue","extraData":{"entity":{"id":1625,"clientId":25,"number":"001576","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1628,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":24,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ARIEL","clientLastName":"CORTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL DURAZNO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:17.042418] [debug] Factura vencida - -[2025-03-15 6:25:17.042469] [debug] datos del notification para el invoice overdue:{"uuid":"10d94a3a-913d-43ab-a007-5dc8b57dedd2","changeType":"overdue","entity":"invoice","entityId":1625,"message":null,"clientId":25,"eventName":"invoice.overdue","clientData":{"id":25,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL DURAZNO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL DURAZNO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ARIEL","lastName":"CORTES","username":"acortes25","contacts":[{"id":26,"clientId":25,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-11900,"accountCredit":0,"accountOutstanding":11900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1625,"clientId":25,"number":"001576","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1628,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":24,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ARIEL","clientLastName":"CORTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL DURAZNO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:17.042498] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:17.042562] [debug] Numero de cel obtenido - -[2025-03-15 6:25:17.042573] [warning] No se encontró un teléfono celular válido para el cliente: 25 -[2025-03-15 6:25:17.156066] [notice] Logging level set to:debug -[2025-03-15 6:25:17.283454] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:17.283512] [debug] Valor de JSON: {"uuid":"1c2cad59-b587-4264-912b-fd7521ac048e","changeType":"overdue","entity":"invoice","entityId":"1627","eventName":"invoice.overdue","extraData":{"entity":{"id":1627,"clientId":56,"number":"001578","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1630,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":55,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NOE","clientLastName":"SANDOVAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:17.283638] [debug] Factura vencida - -[2025-03-15 6:25:17.283680] [debug] datos del notification para el invoice overdue:{"uuid":"1c2cad59-b587-4264-912b-fd7521ac048e","changeType":"overdue","entity":"invoice","entityId":1627,"message":null,"clientId":56,"eventName":"invoice.overdue","clientData":{"id":56,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTIAGUILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":null,"fullAddress":"SANTIAGUILLO, Dolores Hidalgo Cuna de la Independencia Nacional","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"NOE","lastName":"SANDOVAL","username":"nsandoval56","contacts":[{"id":57,"clientId":56,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#039be5","addressGpsLat":21.0165209,"addressGpsLon":-100.9831731,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1627,"clientId":56,"number":"001578","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1630,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":55,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NOE","clientLastName":"SANDOVAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:17.283699] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:17.283760] [debug] Numero de cel obtenido - -[2025-03-15 6:25:17.283773] [warning] No se encontró un teléfono celular válido para el cliente: 56 -[2025-03-15 6:25:17.396538] [notice] Logging level set to:debug -[2025-03-15 6:25:17.534503] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:17.534559] [debug] Valor de JSON: {"uuid":"5bec58d0-b871-40c2-81a1-6cf776e7b674","changeType":"overdue","entity":"invoice","entityId":"1628","eventName":"invoice.overdue","extraData":{"entity":{"id":1628,"clientId":32,"number":"001579","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1631,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":31,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EMILIO","clientLastName":"PEREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON DE LAS MINAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:17.534660] [debug] Factura vencida - -[2025-03-15 6:25:17.534701] [debug] datos del notification para el invoice overdue:{"uuid":"5bec58d0-b871-40c2-81a1-6cf776e7b674","changeType":"overdue","entity":"invoice","entityId":1628,"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":[],"accountBalance":-5140,"accountCredit":0,"accountOutstanding":5140,"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":1628,"clientId":32,"number":"001579","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1631,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":31,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EMILIO","clientLastName":"PEREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON DE LAS MINAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:17.534725] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:17.534785] [debug] Numero de cel obtenido - -[2025-03-15 6:25:17.534795] [warning] No se encontró un teléfono celular válido para el cliente: 32 -[2025-03-15 6:25:17.643177] [notice] Logging level set to:debug -[2025-03-15 6:25:17.772594] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:17.772645] [debug] Valor de JSON: {"uuid":"66cab55d-4cd4-45cb-bbe6-8e210bc288e7","changeType":"overdue","entity":"invoice","entityId":"1629","eventName":"invoice.overdue","extraData":{"entity":{"id":1629,"clientId":42,"number":"001580","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1632,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":41,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORENA","clientLastName":"MARTINEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:17.772749] [debug] Factura vencida - -[2025-03-15 6:25:17.772787] [debug] datos del notification para el invoice overdue:{"uuid":"66cab55d-4cd4-45cb-bbe6-8e210bc288e7","changeType":"overdue","entity":"invoice","entityId":1629,"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":[],"accountBalance":-4210,"accountCredit":0,"accountOutstanding":4210,"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":1629,"clientId":42,"number":"001580","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1632,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":41,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORENA","clientLastName":"MARTINEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:17.772804] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:17.772856] [debug] Numero de cel obtenido - -[2025-03-15 6:25:17.772867] [warning] No se encontró un teléfono celular válido para el cliente: 42 -[2025-03-15 6:25:17.881021] [notice] Logging level set to:debug -[2025-03-15 6:25:18.015014] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:18.015064] [debug] Valor de JSON: {"uuid":"941cca7b-a3ad-4766-a91d-d4e82303778f","changeType":"overdue","entity":"invoice","entityId":"1630","eventName":"invoice.overdue","extraData":{"entity":{"id":1630,"clientId":15,"number":"001581","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1633,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":15,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"VILLEGAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:18.015161] [debug] Factura vencida - -[2025-03-15 6:25:18.015198] [debug] datos del notification para el invoice overdue:{"uuid":"941cca7b-a3ad-4766-a91d-d4e82303778f","changeType":"overdue","entity":"invoice","entityId":1630,"message":null,"clientId":15,"eventName":"invoice.overdue","clientData":{"id":15,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDUARDO","lastName":"VILLEGAZ","username":"evillegaz15","contacts":[{"id":16,"clientId":15,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-10500,"accountCredit":0,"accountOutstanding":10500,"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":1630,"clientId":15,"number":"001581","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1633,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":15,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"VILLEGAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:18.015222] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:18.015275] [debug] Numero de cel obtenido - -[2025-03-15 6:25:18.015285] [warning] No se encontró un teléfono celular válido para el cliente: 15 -[2025-03-15 6:25:18.128861] [notice] Logging level set to:debug -[2025-03-15 6:25:18.284989] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:18.285060] [debug] Valor de JSON: {"uuid":"7abac903-3c03-4e90-ae81-385c241e3d5b","changeType":"overdue","entity":"invoice","entityId":"1631","eventName":"invoice.overdue","extraData":{"entity":{"id":1631,"clientId":59,"number":"001582","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1634,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":58,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAMSES","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:18.285207] [debug] Factura vencida - -[2025-03-15 6:25:18.285253] [debug] datos del notification para el invoice overdue:{"uuid":"7abac903-3c03-4e90-ae81-385c241e3d5b","changeType":"overdue","entity":"invoice","entityId":1631,"message":null,"clientId":59,"eventName":"invoice.overdue","clientData":{"id":59,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"GUSANO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"GUSANO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"RAMSES","lastName":"HERRERA","username":"rherrera59","contacts":[{"id":60,"clientId":59,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1631,"clientId":59,"number":"001582","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1634,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":58,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAMSES","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:18.285273] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:18.285351] [debug] Numero de cel obtenido - -[2025-03-15 6:25:18.285362] [warning] No se encontró un teléfono celular válido para el cliente: 59 -[2025-03-15 6:25:18.400100] [notice] Logging level set to:debug -[2025-03-15 6:25:18.536437] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:18.536490] [debug] Valor de JSON: {"uuid":"49cf0697-15d0-4051-b4d0-a4b866f44bde","changeType":"overdue","entity":"invoice","entityId":"1632","eventName":"invoice.overdue","extraData":{"entity":{"id":1632,"clientId":58,"number":"001583","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1635,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":57,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"DOMINGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MOLINO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:18.536593] [debug] Factura vencida - -[2025-03-15 6:25:18.536633] [debug] datos del notification para el invoice overdue:{"uuid":"49cf0697-15d0-4051-b4d0-a4b866f44bde","changeType":"overdue","entity":"invoice","entityId":1632,"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":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1632,"clientId":58,"number":"001583","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1635,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":57,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"DOMINGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MOLINO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:18.536658] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:18.536715] [debug] Numero de cel obtenido - -[2025-03-15 6:25:18.536725] [warning] No se encontró un teléfono celular válido para el cliente: 58 -[2025-03-15 6:25:18.649590] [notice] Logging level set to:debug -[2025-03-15 6:25:18.784060] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:18.784115] [debug] Valor de JSON: {"uuid":"c18d8b27-2da7-4245-84e8-b3b78272d267","changeType":"overdue","entity":"invoice","entityId":"1633","eventName":"invoice.overdue","extraData":{"entity":{"id":1633,"clientId":87,"number":"001584","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1636,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":86,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:18.784229] [debug] Factura vencida - -[2025-03-15 6:25:18.784271] [debug] datos del notification para el invoice overdue:{"uuid":"c18d8b27-2da7-4245-84e8-b3b78272d267","changeType":"overdue","entity":"invoice","entityId":1633,"message":null,"clientId":87,"eventName":"invoice.overdue","clientData":{"id":87,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ANTON","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ANTON, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"TERESA","lastName":"REYES","username":"treyes87","contacts":[{"id":88,"clientId":87,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1565c0","addressGpsLat":21.1473165,"addressGpsLon":-100.9333759,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1633,"clientId":87,"number":"001584","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1636,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":86,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:18.784290] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:18.784349] [debug] Numero de cel obtenido - -[2025-03-15 6:25:18.784362] [warning] No se encontró un teléfono celular válido para el cliente: 87 -[2025-03-15 6:25:18.897736] [notice] Logging level set to:debug -[2025-03-15 6:25:19.028696] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:19.028748] [debug] Valor de JSON: {"uuid":"4da864d7-4c76-44c2-8802-b24485a5d0d0","changeType":"overdue","entity":"invoice","entityId":"1634","eventName":"invoice.overdue","extraData":{"entity":{"id":1634,"clientId":83,"number":"001585","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1637,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":82,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"SOLIS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL VERGEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:19.028847] [debug] Factura vencida - -[2025-03-15 6:25:19.028888] [debug] datos del notification para el invoice overdue:{"uuid":"4da864d7-4c76-44c2-8802-b24485a5d0d0","changeType":"overdue","entity":"invoice","entityId":1634,"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":[],"accountBalance":-8500,"accountCredit":0,"accountOutstanding":8500,"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":1634,"clientId":83,"number":"001585","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1637,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":82,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"SOLIS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL VERGEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:19.028912] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:19.028970] [debug] Numero de cel obtenido - -[2025-03-15 6:25:19.028980] [warning] No se encontró un teléfono celular válido para el cliente: 83 -[2025-03-15 6:25:19.141104] [notice] Logging level set to:debug -[2025-03-15 6:25:19.279889] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:19.279942] [debug] Valor de JSON: {"uuid":"96f78a15-7a07-462e-ae9a-2740f9a8237f","changeType":"overdue","entity":"invoice","entityId":"1635","eventName":"invoice.overdue","extraData":{"entity":{"id":1635,"clientId":36,"number":"001586","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1638,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":35,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURORA","clientLastName":"FLORES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:19.280055] [debug] Factura vencida - -[2025-03-15 6:25:19.280092] [debug] datos del notification para el invoice overdue:{"uuid":"96f78a15-7a07-462e-ae9a-2740f9a8237f","changeType":"overdue","entity":"invoice","entityId":1635,"message":null,"clientId":36,"eventName":"invoice.overdue","clientData":{"id":36,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LAS FLORES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LAS FLORES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"AURORA","lastName":"FLORES","username":"aflores36","contacts":[{"id":37,"clientId":36,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5690,"accountCredit":0,"accountOutstanding":5690,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00695c","addressGpsLat":21.1511969,"addressGpsLon":-100.9132525,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1635,"clientId":36,"number":"001586","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1638,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":35,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURORA","clientLastName":"FLORES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:19.280112] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:19.280170] [debug] Numero de cel obtenido - -[2025-03-15 6:25:19.280183] [warning] No se encontró un teléfono celular válido para el cliente: 36 -[2025-03-15 6:25:19.392893] [notice] Logging level set to:debug -[2025-03-15 6:25:19.528184] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:19.528237] [debug] Valor de JSON: {"uuid":"8fa196cc-ca24-483c-96a6-74f9bf1cac91","changeType":"overdue","entity":"invoice","entityId":"1636","eventName":"invoice.overdue","extraData":{"entity":{"id":1636,"clientId":64,"number":"001587","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1639,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":63,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"LANDEROS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:19.528337] [debug] Factura vencida - -[2025-03-15 6:25:19.528374] [debug] datos del notification para el invoice overdue:{"uuid":"8fa196cc-ca24-483c-96a6-74f9bf1cac91","changeType":"overdue","entity":"invoice","entityId":1636,"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":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1636,"clientId":64,"number":"001587","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1639,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":63,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"LANDEROS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:19.528398] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:19.528459] [debug] Numero de cel obtenido - -[2025-03-15 6:25:19.528470] [warning] No se encontró un teléfono celular válido para el cliente: 64 -[2025-03-15 6:25:19.642445] [notice] Logging level set to:debug -[2025-03-15 6:25:19.793369] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:19.793426] [debug] Valor de JSON: {"uuid":"4a733c16-96ce-4feb-aa9c-f5187b62d0f0","changeType":"overdue","entity":"invoice","entityId":"1637","eventName":"invoice.overdue","extraData":{"entity":{"id":1637,"clientId":30,"number":"001588","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1640,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":29,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUANA","clientLastName":"MONTES DE OCA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:19.793541] [debug] Factura vencida - -[2025-03-15 6:25:19.793580] [debug] datos del notification para el invoice overdue:{"uuid":"4a733c16-96ce-4feb-aa9c-f5187b62d0f0","changeType":"overdue","entity":"invoice","entityId":1637,"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":[],"accountBalance":-10500,"accountCredit":0,"accountOutstanding":10500,"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":1637,"clientId":30,"number":"001588","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1640,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":29,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUANA","clientLastName":"MONTES DE OCA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:19.793597] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:19.793678] [debug] Numero de cel obtenido - -[2025-03-15 6:25:19.793692] [warning] No se encontró un teléfono celular válido para el cliente: 30 -[2025-03-15 6:25:19.908061] [notice] Logging level set to:debug -[2025-03-15 6:25:20.034264] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:20.034316] [debug] Valor de JSON: {"uuid":"7303b4d1-1228-42f1-817b-430a2e81910c","changeType":"overdue","entity":"invoice","entityId":"1638","eventName":"invoice.overdue","extraData":{"entity":{"id":1638,"clientId":88,"number":"001589","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1641,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":87,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CECILIA","clientLastName":"GRANDE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIFORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:20.034416] [debug] Factura vencida - -[2025-03-15 6:25:20.034456] [debug] datos del notification para el invoice overdue:{"uuid":"7303b4d1-1228-42f1-817b-430a2e81910c","changeType":"overdue","entity":"invoice","entityId":1638,"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":[],"accountBalance":-9600,"accountCredit":0,"accountOutstanding":9600,"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":1638,"clientId":88,"number":"001589","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1641,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":87,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CECILIA","clientLastName":"GRANDE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIFORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:20.034481] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:20.034538] [debug] Numero de cel obtenido - -[2025-03-15 6:25:20.034549] [warning] No se encontró un teléfono celular válido para el cliente: 88 -[2025-03-15 6:25:20.147710] [notice] Logging level set to:debug -[2025-03-15 6:25:20.279438] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:20.279494] [debug] Valor de JSON: {"uuid":"c6e48aad-ba0f-48c1-849a-2133578624a5","changeType":"overdue","entity":"invoice","entityId":"1639","eventName":"invoice.overdue","extraData":{"entity":{"id":1639,"clientId":17,"number":"001590","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1642,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":16,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUAN","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CIENEGUILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:20.279617] [debug] Factura vencida - -[2025-03-15 6:25:20.279655] [debug] datos del notification para el invoice overdue:{"uuid":"c6e48aad-ba0f-48c1-849a-2133578624a5","changeType":"overdue","entity":"invoice","entityId":1639,"message":null,"clientId":17,"eventName":"invoice.overdue","clientData":{"id":17,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"CIENEGUILLA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"CIENEGUILLA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JUAN","lastName":"LOPEZ","username":"jlopez17","contacts":[{"id":18,"clientId":17,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4790,"accountCredit":0,"accountOutstanding":4790,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.0749852,"addressGpsLon":-100.937613,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1639,"clientId":17,"number":"001590","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1642,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":16,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUAN","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CIENEGUILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:20.279669] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:20.279757] [debug] Numero de cel obtenido - -[2025-03-15 6:25:20.279768] [warning] No se encontró un teléfono celular válido para el cliente: 17 -[2025-03-15 6:25:20.392672] [notice] Logging level set to:debug -[2025-03-15 6:25:20.521594] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:20.521648] [debug] Valor de JSON: {"uuid":"26830b1a-6147-42d8-b6e2-18114426d095","changeType":"overdue","entity":"invoice","entityId":"1640","eventName":"invoice.overdue","extraData":{"entity":{"id":1640,"clientId":63,"number":"001591","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1643,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":62,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONELA","clientLastName":"ROBLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:20.521779] [debug] Factura vencida - -[2025-03-15 6:25:20.521817] [debug] datos del notification para el invoice overdue:{"uuid":"26830b1a-6147-42d8-b6e2-18114426d095","changeType":"overdue","entity":"invoice","entityId":1640,"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":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1640,"clientId":63,"number":"001591","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1643,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":62,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONELA","clientLastName":"ROBLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:20.521841] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:20.521899] [debug] Numero de cel obtenido - -[2025-03-15 6:25:20.521910] [warning] No se encontró un teléfono celular válido para el cliente: 63 -[2025-03-15 6:25:20.638313] [notice] Logging level set to:debug -[2025-03-15 6:25:20.768897] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:20.768951] [debug] Valor de JSON: {"uuid":"0c93704b-3971-44f3-a3e8-2889ecc1aa6f","changeType":"overdue","entity":"invoice","entityId":"1641","eventName":"invoice.overdue","extraData":{"entity":{"id":1641,"clientId":39,"number":"001592","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1644,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":38,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FRANCISCO","clientLastName":"BALDERAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PIEDRA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:20.769062] [debug] Factura vencida - -[2025-03-15 6:25:20.769100] [debug] datos del notification para el invoice overdue:{"uuid":"0c93704b-3971-44f3-a3e8-2889ecc1aa6f","changeType":"overdue","entity":"invoice","entityId":1641,"message":null,"clientId":39,"eventName":"invoice.overdue","clientData":{"id":39,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA PIEDRA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA PIEDRA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"FRANCISCO","lastName":"BALDERAS","username":"fbalderas39","contacts":[{"id":40,"clientId":39,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4210,"accountCredit":0,"accountOutstanding":4210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#546e7a","addressGpsLat":21.2708978,"addressGpsLon":-100.7973281,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1641,"clientId":39,"number":"001592","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1644,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":38,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FRANCISCO","clientLastName":"BALDERAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PIEDRA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:20.769114] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:20.769165] [debug] Numero de cel obtenido - -[2025-03-15 6:25:20.769185] [warning] No se encontró un teléfono celular válido para el cliente: 39 -[2025-03-15 6:25:20.881772] [notice] Logging level set to:debug -[2025-03-15 6:25:21.016000] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:21.016055] [debug] Valor de JSON: {"uuid":"0d212654-d238-4da4-803c-b7e5f5a92d44","changeType":"overdue","entity":"invoice","entityId":"1642","eventName":"invoice.overdue","extraData":{"entity":{"id":1642,"clientId":18,"number":"001593","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1645,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":17,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"INGRID","clientLastName":"CORONADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:21.016164] [debug] Factura vencida - -[2025-03-15 6:25:21.016201] [debug] datos del notification para el invoice overdue:{"uuid":"0d212654-d238-4da4-803c-b7e5f5a92d44","changeType":"overdue","entity":"invoice","entityId":1642,"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":[],"accountBalance":-9800,"accountCredit":0,"accountOutstanding":9800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#039be5","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1642,"clientId":18,"number":"001593","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1645,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":17,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"INGRID","clientLastName":"CORONADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:21.016225] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:21.016283] [debug] Numero de cel obtenido - -[2025-03-15 6:25:21.016298] [warning] No se encontró un teléfono celular válido para el cliente: 18 -[2025-03-15 6:25:22.973582] [notice] Logging level set to:debug -[2025-03-15 6:25:23.112658] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:23.112706] [debug] Valor de JSON: {"uuid":"092726c5-30d0-4280-bac3-ade817b0708e","changeType":"overdue","entity":"invoice","entityId":"1643","eventName":"invoice.overdue","extraData":{"entity":{"id":1643,"clientId":24,"number":"001594","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1646,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":23,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JACIEL","clientLastName":"CERVANTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTO NI\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:23.112833] [debug] Factura vencida - -[2025-03-15 6:25:23.112870] [debug] datos del notification para el invoice overdue:{"uuid":"092726c5-30d0-4280-bac3-ade817b0708e","changeType":"overdue","entity":"invoice","entityId":1643,"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":[],"accountBalance":-4180,"accountCredit":0,"accountOutstanding":4180,"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":1643,"clientId":24,"number":"001594","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1646,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":23,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JACIEL","clientLastName":"CERVANTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTO NI\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:23.112884] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:23.112953] [debug] Numero de cel obtenido - -[2025-03-15 6:25:23.112965] [warning] No se encontró un teléfono celular válido para el cliente: 24 -[2025-03-15 6:25:23.266570] [notice] Logging level set to:debug -[2025-03-15 6:25:23.388689] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:23.388741] [debug] Valor de JSON: {"uuid":"db962c93-79b0-465a-890f-c9050c7619e8","changeType":"overdue","entity":"invoice","entityId":"1644","eventName":"invoice.overdue","extraData":{"entity":{"id":1644,"clientId":40,"number":"001595","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1647,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":39,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"PADRON","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RANCHO GUADALUPE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:23.388842] [debug] Factura vencida - -[2025-03-15 6:25:23.388879] [debug] datos del notification para el invoice overdue:{"uuid":"db962c93-79b0-465a-890f-c9050c7619e8","changeType":"overdue","entity":"invoice","entityId":1644,"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":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3910,"accountCredit":0,"accountOutstanding":3910,"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":1644,"clientId":40,"number":"001595","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1647,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":39,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"PADRON","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RANCHO GUADALUPE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:23.388901] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:23.388955] [debug] Numero de cel obtenido - -[2025-03-15 6:25:23.388967] [warning] No se encontró un teléfono celular válido para el cliente: 40 -[2025-03-15 6:25:23.501760] [notice] Logging level set to:debug -[2025-03-15 6:25:23.633394] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:23.633446] [debug] Valor de JSON: {"uuid":"a94a5f37-0bc4-42be-9e80-0ea8782c5314","changeType":"overdue","entity":"invoice","entityId":"1645","eventName":"invoice.overdue","extraData":{"entity":{"id":1645,"clientId":35,"number":"001596","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1648,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":34,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GABRIELA","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CANTERA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:23.633558] [debug] Factura vencida - -[2025-03-15 6:25:23.633598] [debug] datos del notification para el invoice overdue:{"uuid":"a94a5f37-0bc4-42be-9e80-0ea8782c5314","changeType":"overdue","entity":"invoice","entityId":1645,"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":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1645,"clientId":35,"number":"001596","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1648,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":34,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GABRIELA","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CANTERA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:23.633611] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:23.633749] [debug] Numero de cel obtenido - -[2025-03-15 6:25:23.633765] [warning] No se encontró un teléfono celular válido para el cliente: 35 -[2025-03-15 6:25:23.746731] [notice] Logging level set to:debug -[2025-03-15 6:25:23.880575] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:23.880633] [debug] Valor de JSON: {"uuid":"a3fe0932-00c2-4ef1-ae21-385cf3a476b3","changeType":"overdue","entity":"invoice","entityId":"1646","eventName":"invoice.overdue","extraData":{"entity":{"id":1646,"clientId":96,"number":"001597","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1649,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":95,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PAMELA","clientLastName":"RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:23.880750] [debug] Factura vencida - -[2025-03-15 6:25:23.880798] [debug] datos del notification para el invoice overdue:{"uuid":"a3fe0932-00c2-4ef1-ae21-385cf3a476b3","changeType":"overdue","entity":"invoice","entityId":1646,"message":null,"clientId":96,"eventName":"invoice.overdue","clientData":{"id":96,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"PAMELA","lastName":"RAMIREZ","username":"pramirez96","contacts":[{"id":97,"clientId":96,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"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":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1646,"clientId":96,"number":"001597","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1649,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":95,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PAMELA","clientLastName":"RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:23.880824] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:23.880887] [debug] Numero de cel obtenido - -[2025-03-15 6:25:23.880901] [warning] No se encontró un teléfono celular válido para el cliente: 96 -[2025-03-15 6:25:23.992167] [notice] Logging level set to:debug -[2025-03-15 6:25:24.130305] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:24.130371] [debug] Valor de JSON: {"uuid":"b6022f18-35bc-40cf-b99b-9fcd3e147e6b","changeType":"overdue","entity":"invoice","entityId":"1647","eventName":"invoice.overdue","extraData":{"entity":{"id":1647,"clientId":26,"number":"001598","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1650,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":25,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SAMANTA","clientLastName":"FUENTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:24.130495] [debug] Factura vencida - -[2025-03-15 6:25:24.130549] [debug] datos del notification para el invoice overdue:{"uuid":"b6022f18-35bc-40cf-b99b-9fcd3e147e6b","changeType":"overdue","entity":"invoice","entityId":1647,"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":[],"accountBalance":-4780,"accountCredit":0,"accountOutstanding":4780,"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":1647,"clientId":26,"number":"001598","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1650,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":25,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SAMANTA","clientLastName":"FUENTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:24.130563] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:24.130623] [debug] Numero de cel obtenido - -[2025-03-15 6:25:24.130639] [warning] No se encontró un teléfono celular válido para el cliente: 26 -[2025-03-15 6:25:24.247167] [notice] Logging level set to:debug -[2025-03-15 6:25:24.393804] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:24.393893] [debug] Valor de JSON: {"uuid":"488fd809-33fe-4b38-b7f7-42506b4e5c30","changeType":"overdue","entity":"invoice","entityId":"1648","eventName":"invoice.overdue","extraData":{"entity":{"id":1648,"clientId":28,"number":"001599","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1651,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":27,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSVALDO","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN GABRIEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:24.394028] [debug] Factura vencida - -[2025-03-15 6:25:24.394087] [debug] datos del notification para el invoice overdue:{"uuid":"488fd809-33fe-4b38-b7f7-42506b4e5c30","changeType":"overdue","entity":"invoice","entityId":1648,"message":null,"clientId":28,"eventName":"invoice.overdue","clientData":{"id":28,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN GABRIEL","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN GABRIEL, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OSVALDO","lastName":"GONZALEZ","username":"ogonzalez28","contacts":[{"id":29,"clientId":28,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-6983.33,"accountCredit":0,"accountOutstanding":6983.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#03a9f4","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1648,"clientId":28,"number":"001599","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1651,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":27,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSVALDO","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN GABRIEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:24.394119] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:24.394220] [debug] Numero de cel obtenido - -[2025-03-15 6:25:24.394238] [warning] No se encontró un teléfono celular válido para el cliente: 28 -[2025-03-15 6:25:24.508655] [notice] Logging level set to:debug -[2025-03-15 6:25:24.640042] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:24.640094] [debug] Valor de JSON: {"uuid":"512b568a-ba5e-4a29-a9e9-b661f289df45","changeType":"overdue","entity":"invoice","entityId":"1649","eventName":"invoice.overdue","extraData":{"entity":{"id":1649,"clientId":78,"number":"001600","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1652,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":77,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDER","clientLastName":"ROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:24.640194] [debug] Factura vencida - -[2025-03-15 6:25:24.640235] [debug] datos del notification para el invoice overdue:{"uuid":"512b568a-ba5e-4a29-a9e9-b661f289df45","changeType":"overdue","entity":"invoice","entityId":1649,"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":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1649,"clientId":78,"number":"001600","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1652,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":77,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDER","clientLastName":"ROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:24.640259] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:24.640317] [debug] Numero de cel obtenido - -[2025-03-15 6:25:24.640328] [warning] No se encontró un teléfono celular válido para el cliente: 78 -[2025-03-15 6:25:24.752685] [notice] Logging level set to:debug -[2025-03-15 6:25:24.900255] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:24.900309] [debug] Valor de JSON: {"uuid":"582935bb-6485-4353-b9f1-42741f7e769f","changeType":"overdue","entity":"invoice","entityId":"1650","eventName":"invoice.overdue","extraData":{"entity":{"id":1650,"clientId":57,"number":"001601","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1653,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":56,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SANDRO","clientLastName":"MARQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:24.900413] [debug] Factura vencida - -[2025-03-15 6:25:24.900450] [debug] datos del notification para el invoice overdue:{"uuid":"582935bb-6485-4353-b9f1-42741f7e769f","changeType":"overdue","entity":"invoice","entityId":1650,"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":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1650,"clientId":57,"number":"001601","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1653,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":56,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SANDRO","clientLastName":"MARQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:24.900466] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:24.900521] [debug] Numero de cel obtenido - -[2025-03-15 6:25:24.900531] [warning] No se encontró un teléfono celular válido para el cliente: 57 -[2025-03-15 6:25:25.017251] [notice] Logging level set to:debug -[2025-03-15 6:25:25.146119] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:25.146166] [debug] Valor de JSON: {"uuid":"79c64b21-5a6c-4ae2-bc53-620e5c081670","changeType":"overdue","entity":"invoice","entityId":"1651","eventName":"invoice.overdue","extraData":{"entity":{"id":1651,"clientId":46,"number":"001602","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1654,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":45,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISMAEL","clientLastName":"PUGA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:25.146286] [debug] Factura vencida - -[2025-03-15 6:25:25.146323] [debug] datos del notification para el invoice overdue:{"uuid":"79c64b21-5a6c-4ae2-bc53-620e5c081670","changeType":"overdue","entity":"invoice","entityId":1651,"message":null,"clientId":46,"eventName":"invoice.overdue","clientData":{"id":46,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL ROSILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL ROSILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ISMAEL","lastName":"PUGA","username":"ipuga46","contacts":[{"id":47,"clientId":46,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":100,"clientId":46,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtMzv6GBcULCcTh","clientZoneVisible":true},{"id":101,"clientId":46,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"6881305189499928","clientZoneVisible":true}],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1651,"clientId":46,"number":"001602","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1654,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":45,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISMAEL","clientLastName":"PUGA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:25.146344] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:25.146414] [debug] Numero de cel obtenido - -[2025-03-15 6:25:25.146425] [warning] No se encontró un teléfono celular válido para el cliente: 46 -[2025-03-15 6:25:25.260627] [notice] Logging level set to:debug -[2025-03-15 6:25:25.402693] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:25.402745] [debug] Valor de JSON: {"uuid":"e94a47c8-7c68-4639-950c-2dd3eebc3b86","changeType":"overdue","entity":"invoice","entityId":"1652","eventName":"invoice.overdue","extraData":{"entity":{"id":1652,"clientId":50,"number":"001603","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1655,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":49,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GLORIA","clientLastName":"DELGADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:25.402844] [debug] Factura vencida - -[2025-03-15 6:25:25.402884] [debug] datos del notification para el invoice overdue:{"uuid":"e94a47c8-7c68-4639-950c-2dd3eebc3b86","changeType":"overdue","entity":"invoice","entityId":1652,"message":null,"clientId":50,"eventName":"invoice.overdue","clientData":{"id":50,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL BOBO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"GLORIA","lastName":"DELGADO","username":"gdelgado50","contacts":[{"id":51,"clientId":50,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":108,"clientId":50,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN2hegnjiQhR7M","clientZoneVisible":true},{"id":109,"clientId":50,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"1847644339402745","clientZoneVisible":true}],"accountBalance":-3910,"accountCredit":0,"accountOutstanding":3910,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1652,"clientId":50,"number":"001603","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1655,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":49,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GLORIA","clientLastName":"DELGADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:25.402905] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:25.402961] [debug] Numero de cel obtenido - -[2025-03-15 6:25:25.402971] [warning] No se encontró un teléfono celular válido para el cliente: 50 -[2025-03-15 6:25:25.516541] [notice] Logging level set to:debug -[2025-03-15 6:25:25.645843] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:25.645896] [debug] Valor de JSON: {"uuid":"7fb6ad7f-fd4e-4edb-bdb0-5ba32c21f5e1","changeType":"overdue","entity":"invoice","entityId":"1653","eventName":"invoice.overdue","extraData":{"entity":{"id":1653,"clientId":23,"number":"001604","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1656,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":22,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSCAR","clientLastName":"GUERRERO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TABASCO #45, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:25.645999] [debug] Factura vencida - -[2025-03-15 6:25:25.646033] [debug] datos del notification para el invoice overdue:{"uuid":"7fb6ad7f-fd4e-4edb-bdb0-5ba32c21f5e1","changeType":"overdue","entity":"invoice","entityId":1653,"message":null,"clientId":23,"eventName":"invoice.overdue","clientData":{"id":23,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TABASCO #45, ZONA CENTRO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TABASCO #45, ZONA CENTRO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OSCAR","lastName":"GUERRERO","username":"oguerrero23","contacts":[{"id":24,"clientId":23,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#283593","addressGpsLat":21.1550814,"addressGpsLon":-100.9341575,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1653,"clientId":23,"number":"001604","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1656,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":22,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSCAR","clientLastName":"GUERRERO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TABASCO #45, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:25.646045] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:25.646110] [debug] Numero de cel obtenido - -[2025-03-15 6:25:25.646121] [warning] No se encontró un teléfono celular válido para el cliente: 23 -[2025-03-15 6:25:25.761914] [notice] Logging level set to:debug -[2025-03-15 6:25:25.897057] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:25.897113] [debug] Valor de JSON: {"uuid":"813a6813-a781-4d66-abb5-7109561de5ea","changeType":"overdue","entity":"invoice","entityId":"1654","eventName":"invoice.overdue","extraData":{"entity":{"id":1654,"clientId":94,"number":"001605","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1657,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":93,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARTIN","clientLastName":"TREJO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:25.897213] [debug] Factura vencida - -[2025-03-15 6:25:25.897248] [debug] datos del notification para el invoice overdue:{"uuid":"813a6813-a781-4d66-abb5-7109561de5ea","changeType":"overdue","entity":"invoice","entityId":1654,"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":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1654,"clientId":94,"number":"001605","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1657,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":93,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARTIN","clientLastName":"TREJO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:25.897272] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:25.897326] [debug] Numero de cel obtenido - -[2025-03-15 6:25:25.897337] [warning] No se encontró un teléfono celular válido para el cliente: 94 -[2025-03-15 6:25:26.010610] [notice] Logging level set to:debug -[2025-03-15 6:25:26.146038] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:26.146094] [debug] Valor de JSON: {"uuid":"b2ddd0d1-7f82-439d-8038-e9f49ffcc8e0","changeType":"overdue","entity":"invoice","entityId":"1655","eventName":"invoice.overdue","extraData":{"entity":{"id":1655,"clientId":97,"number":"001606","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1658,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":96,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"YOLANDA","clientLastName":"CANO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AVILES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:26.146200] [debug] Factura vencida - -[2025-03-15 6:25:26.146239] [debug] datos del notification para el invoice overdue:{"uuid":"b2ddd0d1-7f82-439d-8038-e9f49ffcc8e0","changeType":"overdue","entity":"invoice","entityId":1655,"message":null,"clientId":97,"eventName":"invoice.overdue","clientData":{"id":97,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS AVILES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS AVILES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"YOLANDA","lastName":"CANO","username":"ycano97","contacts":[{"id":98,"clientId":97,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7000,"accountCredit":0,"accountOutstanding":7000,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.151597,"addressGpsLon":-100.9367183,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1655,"clientId":97,"number":"001606","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1658,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":96,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"YOLANDA","clientLastName":"CANO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AVILES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:26.146250] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:26.146306] [debug] Numero de cel obtenido - -[2025-03-15 6:25:26.146317] [warning] No se encontró un teléfono celular válido para el cliente: 97 -[2025-03-15 6:25:26.258904] [notice] Logging level set to:debug -[2025-03-15 6:25:26.387896] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:26.387953] [debug] Valor de JSON: {"uuid":"9fdeef18-80f8-46c8-a910-c9c4b2c591d9","changeType":"overdue","entity":"invoice","entityId":"1656","eventName":"invoice.overdue","extraData":{"entity":{"id":1656,"clientId":79,"number":"001607","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1659,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":78,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"ESPONIZA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:26.388053] [debug] Factura vencida - -[2025-03-15 6:25:26.388089] [debug] datos del notification para el invoice overdue:{"uuid":"9fdeef18-80f8-46c8-a910-c9c4b2c591d9","changeType":"overdue","entity":"invoice","entityId":1656,"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":[],"accountBalance":-6500,"accountCredit":0,"accountOutstanding":6500,"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":1656,"clientId":79,"number":"001607","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1659,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":78,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"ESPONIZA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:26.388113] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:26.388164] [debug] Numero de cel obtenido - -[2025-03-15 6:25:26.388175] [warning] No se encontró un teléfono celular válido para el cliente: 79 -[2025-03-15 6:25:26.501388] [notice] Logging level set to:debug -[2025-03-15 6:25:26.633328] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:26.633383] [debug] Valor de JSON: {"uuid":"d621b217-89c4-4f7e-8c65-63dc75315306","changeType":"overdue","entity":"invoice","entityId":"1657","eventName":"invoice.overdue","extraData":{"entity":{"id":1657,"clientId":22,"number":"001608","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1660,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":21,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEBAN","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PUERTA DE SAN FRANCISCO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:26.633507] [debug] Factura vencida - -[2025-03-15 6:25:26.633547] [debug] datos del notification para el invoice overdue:{"uuid":"d621b217-89c4-4f7e-8c65-63dc75315306","changeType":"overdue","entity":"invoice","entityId":1657,"message":null,"clientId":22,"eventName":"invoice.overdue","clientData":{"id":22,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA PUERTA DE SAN FRANCISCO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA PUERTA DE SAN FRANCISCO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ESTEBAN","lastName":"GARCIA","username":"egarcia22","contacts":[{"id":23,"clientId":22,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4530,"accountCredit":0,"accountOutstanding":4530,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#7cb342","addressGpsLat":21.2091666,"addressGpsLon":-100.76,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1657,"clientId":22,"number":"001608","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1660,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":21,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEBAN","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PUERTA DE SAN FRANCISCO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:26.633559] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:26.633620] [debug] Numero de cel obtenido - -[2025-03-15 6:25:26.633632] [warning] No se encontró un teléfono celular válido para el cliente: 22 -[2025-03-15 6:25:26.747107] [notice] Logging level set to:debug -[2025-03-15 6:25:26.891222] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:26.891271] [debug] Valor de JSON: {"uuid":"fcaee54d-6c84-41de-9ef8-38afeef4f15e","changeType":"overdue","entity":"invoice","entityId":"1658","eventName":"invoice.overdue","extraData":{"entity":{"id":1658,"clientId":45,"number":"001609","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1661,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":44,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"GRANADOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:26.891360] [debug] Factura vencida - -[2025-03-15 6:25:26.891396] [debug] datos del notification para el invoice overdue:{"uuid":"fcaee54d-6c84-41de-9ef8-38afeef4f15e","changeType":"overdue","entity":"invoice","entityId":1658,"message":null,"clientId":45,"eventName":"invoice.overdue","clientData":{"id":45,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALBERTO","lastName":"GRANADOS","username":"agranados45","contacts":[{"id":46,"clientId":45,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":98,"clientId":45,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1E1ePcRAA689","clientZoneVisible":true},{"id":99,"clientId":45,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"9271357829475893","clientZoneVisible":true}],"accountBalance":-3910,"accountCredit":0,"accountOutstanding":3910,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ff9800","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1658,"clientId":45,"number":"001609","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1661,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":44,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"GRANADOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:26.891417] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:26.891468] [debug] Numero de cel obtenido - -[2025-03-15 6:25:26.891478] [warning] No se encontró un teléfono celular válido para el cliente: 45 -[2025-03-15 6:25:27.002325] [notice] Logging level set to:debug -[2025-03-15 6:25:27.122030] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:27.122078] [debug] Valor de JSON: {"uuid":"a3e19d5d-7b7e-4d10-84a6-4830b477aac0","changeType":"overdue","entity":"invoice","entityId":"1659","eventName":"invoice.overdue","extraData":{"entity":{"id":1659,"clientId":76,"number":"001610","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1662,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":75,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"RANGEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:27.122179] [debug] Factura vencida - -[2025-03-15 6:25:27.122220] [debug] datos del notification para el invoice overdue:{"uuid":"a3e19d5d-7b7e-4d10-84a6-4830b477aac0","changeType":"overdue","entity":"invoice","entityId":1659,"message":null,"clientId":76,"eventName":"invoice.overdue","clientData":{"id":76,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TRANCAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TRANCAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDGAR","lastName":"RANGEL","username":"erangel76","contacts":[{"id":77,"clientId":76,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1659,"clientId":76,"number":"001610","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1662,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":75,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"RANGEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:27.122231] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:27.122288] [debug] Numero de cel obtenido - -[2025-03-15 6:25:27.122298] [warning] No se encontró un teléfono celular válido para el cliente: 76 -[2025-03-15 6:25:27.234724] [notice] Logging level set to:debug -[2025-03-15 6:25:27.370225] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:27.370279] [debug] Valor de JSON: {"uuid":"c45464ba-50a9-4e7b-80c4-c82a587ba473","changeType":"overdue","entity":"invoice","entityId":"1660","eventName":"invoice.overdue","extraData":{"entity":{"id":1660,"clientId":9,"number":"001611","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1663,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":9,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JHOVANY","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GALLINERO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:27.370379] [debug] Factura vencida - -[2025-03-15 6:25:27.370421] [debug] datos del notification para el invoice overdue:{"uuid":"c45464ba-50a9-4e7b-80c4-c82a587ba473","changeType":"overdue","entity":"invoice","entityId":1660,"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":[],"accountBalance":-4000,"accountCredit":0,"accountOutstanding":4000,"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":1660,"clientId":9,"number":"001611","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1663,"type":"service","label":"INTERMEDIO 31\/01\/2025 \u2013 27\/02\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":9,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JHOVANY","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GALLINERO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:27.370444] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:27.370500] [debug] Numero de cel obtenido - -[2025-03-15 6:25:27.370513] [warning] No se encontró un teléfono celular válido para el cliente: 9 -[2025-03-15 6:25:27.484394] [notice] Logging level set to:debug -[2025-03-15 6:25:27.625966] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:27.626022] [debug] Valor de JSON: {"uuid":"eb852635-2949-4025-adeb-c26f00489679","changeType":"overdue","entity":"invoice","entityId":"1661","eventName":"invoice.overdue","extraData":{"entity":{"id":1661,"clientId":37,"number":"001612","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1664,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":36,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA SOLEDAD","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:27.626137] [debug] Factura vencida - -[2025-03-15 6:25:27.626177] [debug] datos del notification para el invoice overdue:{"uuid":"eb852635-2949-4025-adeb-c26f00489679","changeType":"overdue","entity":"invoice","entityId":1661,"message":null,"clientId":37,"eventName":"invoice.overdue","clientData":{"id":37,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA SOLEDAD","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA SOLEDAD, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANGEL","lastName":"ARVIZU","username":"aarvizu37","contacts":[{"id":38,"clientId":37,"email":null,"phone":"4181818706","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3910,"accountCredit":0,"accountOutstanding":3910,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1661,"clientId":37,"number":"001612","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1664,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":36,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA SOLEDAD","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:27.626188] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:27.626241] [debug] Numero de cel obtenido - -[2025-03-15 6:25:27.626252] [warning] No se encontró un teléfono celular válido para el cliente: 37 -[2025-03-15 6:25:27.741008] [notice] Logging level set to:debug -[2025-03-15 6:25:27.868273] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:27.868325] [debug] Valor de JSON: {"uuid":"bece3bc9-e563-4665-b851-5f6962228baa","changeType":"overdue","entity":"invoice","entityId":"1662","eventName":"invoice.overdue","extraData":{"entity":{"id":1662,"clientId":81,"number":"001613","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1665,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":80,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FERNANDO","clientLastName":"ALCAZAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:27.868446] [debug] Factura vencida - -[2025-03-15 6:25:27.868484] [debug] datos del notification para el invoice overdue:{"uuid":"bece3bc9-e563-4665-b851-5f6962228baa","changeType":"overdue","entity":"invoice","entityId":1662,"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":[],"accountBalance":-9800,"accountCredit":0,"accountOutstanding":9800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d81b60","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1662,"clientId":81,"number":"001613","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1665,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":80,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FERNANDO","clientLastName":"ALCAZAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:27.868508] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:27.868561] [debug] Numero de cel obtenido - -[2025-03-15 6:25:27.868572] [warning] No se encontró un teléfono celular válido para el cliente: 81 -[2025-03-15 6:25:27.981487] [notice] Logging level set to:debug -[2025-03-15 6:25:28.113723] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:28.113775] [debug] Valor de JSON: {"uuid":"6b568242-2d98-4e3a-84b5-1d3ad6384d92","changeType":"overdue","entity":"invoice","entityId":"1663","eventName":"invoice.overdue","extraData":{"entity":{"id":1663,"clientId":11,"number":"001614","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1666,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":11,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"KARIME","clientLastName":"QUINTERO HERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:28.113869] [debug] Factura vencida - -[2025-03-15 6:25:28.113907] [debug] datos del notification para el invoice overdue:{"uuid":"6b568242-2d98-4e3a-84b5-1d3ad6384d92","changeType":"overdue","entity":"invoice","entityId":1663,"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":[],"accountBalance":-3000,"accountCredit":0,"accountOutstanding":3000,"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":1663,"clientId":11,"number":"001614","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1666,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":11,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"KARIME","clientLastName":"QUINTERO HERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:28.113929] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:28.113984] [debug] Numero de cel obtenido - -[2025-03-15 6:25:28.113995] [warning] No se encontró un teléfono celular válido para el cliente: 11 -[2025-03-15 6:25:28.228921] [notice] Logging level set to:debug -[2025-03-15 6:25:28.360656] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:28.360713] [debug] Valor de JSON: {"uuid":"4fd59f12-90c7-4b68-b834-103293f5c98e","changeType":"overdue","entity":"invoice","entityId":"1664","eventName":"invoice.overdue","extraData":{"entity":{"id":1664,"clientId":55,"number":"001615","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1667,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":54,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JOSE","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:28.360846] [debug] Factura vencida - -[2025-03-15 6:25:28.360883] [debug] datos del notification para el invoice overdue:{"uuid":"4fd59f12-90c7-4b68-b834-103293f5c98e","changeType":"overdue","entity":"invoice","entityId":1664,"message":null,"clientId":55,"eventName":"invoice.overdue","clientData":{"id":55,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL MEZQUITAL","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL MEZQUITAL, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JOSE","lastName":"SANCHEZ","username":"jsanchez55","contacts":[{"id":56,"clientId":55,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#8e24aa","addressGpsLat":21.1081412,"addressGpsLon":-100.9422033,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1664,"clientId":55,"number":"001615","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1667,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":54,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JOSE","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:28.360901] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:28.360979] [debug] Numero de cel obtenido - -[2025-03-15 6:25:28.360990] [warning] No se encontró un teléfono celular válido para el cliente: 55 -[2025-03-15 6:25:28.476201] [notice] Logging level set to:debug -[2025-03-15 6:25:28.607611] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:28.607667] [debug] Valor de JSON: {"uuid":"086718d8-daa6-4026-8f80-ddb054c1890e","changeType":"overdue","entity":"invoice","entityId":"1665","eventName":"invoice.overdue","extraData":{"entity":{"id":1665,"clientId":31,"number":"001616","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1668,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":30,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANA","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SIETE REALES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:28.607774] [debug] Factura vencida - -[2025-03-15 6:25:28.607817] [debug] datos del notification para el invoice overdue:{"uuid":"086718d8-daa6-4026-8f80-ddb054c1890e","changeType":"overdue","entity":"invoice","entityId":1665,"message":null,"clientId":31,"eventName":"invoice.overdue","clientData":{"id":31,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SIETE REALES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SIETE REALES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANA","lastName":"CASTILLO","username":"acastillo31","contacts":[{"id":32,"clientId":31,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3880,"accountCredit":0,"accountOutstanding":3880,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4caf50","addressGpsLat":21.2302531,"addressGpsLon":-100.7594666,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1665,"clientId":31,"number":"001616","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1668,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":30,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANA","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SIETE REALES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:28.607842] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:28.607897] [debug] Numero de cel obtenido - -[2025-03-15 6:25:28.607912] [warning] No se encontró un teléfono celular válido para el cliente: 31 -[2025-03-15 6:25:28.724138] [notice] Logging level set to:debug -[2025-03-15 6:25:28.850281] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:28.850331] [debug] Valor de JSON: {"uuid":"10d2941e-0b37-45d5-818f-cea4ebeecc44","changeType":"overdue","entity":"invoice","entityId":"1666","eventName":"invoice.overdue","extraData":{"entity":{"id":1666,"clientId":20,"number":"001617","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1669,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":19,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEFANIA","clientLastName":"BUENROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN PABLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:28.850440] [debug] Factura vencida - -[2025-03-15 6:25:28.850476] [debug] datos del notification para el invoice overdue:{"uuid":"10d2941e-0b37-45d5-818f-cea4ebeecc44","changeType":"overdue","entity":"invoice","entityId":1666,"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":[],"accountBalance":-3880,"accountCredit":0,"accountOutstanding":3880,"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":1666,"clientId":20,"number":"001617","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1669,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":19,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEFANIA","clientLastName":"BUENROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN PABLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:28.850493] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:28.850545] [debug] Numero de cel obtenido - -[2025-03-15 6:25:28.850557] [warning] No se encontró un teléfono celular válido para el cliente: 20 -[2025-03-15 6:25:28.964930] [notice] Logging level set to:debug -[2025-03-15 6:25:29.098959] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:29.099019] [debug] Valor de JSON: {"uuid":"2bb6a02c-9b09-443b-89d8-8725ac7f6bef","changeType":"overdue","entity":"invoice","entityId":"1667","eventName":"invoice.overdue","extraData":{"entity":{"id":1667,"clientId":75,"number":"001618","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1670,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":74,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAUL","clientLastName":"AYALA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:29.099117] [debug] Factura vencida - -[2025-03-15 6:25:29.099153] [debug] datos del notification para el invoice overdue:{"uuid":"2bb6a02c-9b09-443b-89d8-8725ac7f6bef","changeType":"overdue","entity":"invoice","entityId":1667,"message":null,"clientId":75,"eventName":"invoice.overdue","clientData":{"id":75,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"RAUL","lastName":"AYALA","username":"rayala75","contacts":[{"id":76,"clientId":75,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.2516667,"addressGpsLon":-101.0924998,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1667,"clientId":75,"number":"001618","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1670,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":74,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAUL","clientLastName":"AYALA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:29.099174] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:29.099230] [debug] Numero de cel obtenido - -[2025-03-15 6:25:29.099241] [warning] No se encontró un teléfono celular válido para el cliente: 75 -[2025-03-15 6:25:29.211338] [notice] Logging level set to:debug -[2025-03-15 6:25:29.347084] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:29.347142] [debug] Valor de JSON: {"uuid":"eb69b45e-58d5-48ad-8da3-f760405f9598","changeType":"overdue","entity":"invoice","entityId":"1668","eventName":"invoice.overdue","extraData":{"entity":{"id":1668,"clientId":69,"number":"001619","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1671,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":68,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CIRILA","clientLastName":"AVILES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:29.347249] [debug] Factura vencida - -[2025-03-15 6:25:29.347290] [debug] datos del notification para el invoice overdue:{"uuid":"eb69b45e-58d5-48ad-8da3-f760405f9598","changeType":"overdue","entity":"invoice","entityId":1668,"message":null,"clientId":69,"eventName":"invoice.overdue","clientData":{"id":69,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"CIRILA","lastName":"AVILES","username":"caviles69","contacts":[{"id":70,"clientId":69,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#8bc34a","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1668,"clientId":69,"number":"001619","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1671,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":68,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CIRILA","clientLastName":"AVILES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:29.347309] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:29.347367] [debug] Numero de cel obtenido - -[2025-03-15 6:25:29.347378] [warning] No se encontró un teléfono celular válido para el cliente: 69 -[2025-03-15 6:25:29.456737] [notice] Logging level set to:debug -[2025-03-15 6:25:29.602946] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:29.603007] [debug] Valor de JSON: {"uuid":"6ca2d00e-8344-4772-aac6-49d03359759e","changeType":"overdue","entity":"invoice","entityId":"1669","eventName":"invoice.overdue","extraData":{"entity":{"id":1669,"clientId":66,"number":"001620","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1672,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":65,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LAURA","clientLastName":"CRUCES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:29.603110] [debug] Factura vencida - -[2025-03-15 6:25:29.603147] [debug] datos del notification para el invoice overdue:{"uuid":"6ca2d00e-8344-4772-aac6-49d03359759e","changeType":"overdue","entity":"invoice","entityId":1669,"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":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1669,"clientId":66,"number":"001620","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1672,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":65,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LAURA","clientLastName":"CRUCES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:29.603171] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:29.603224] [debug] Numero de cel obtenido - -[2025-03-15 6:25:29.603235] [warning] No se encontró un teléfono celular válido para el cliente: 66 -[2025-03-15 6:25:29.715698] [notice] Logging level set to:debug -[2025-03-15 6:25:29.842663] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:29.842715] [debug] Valor de JSON: {"uuid":"3c92b802-2cdf-449f-9363-5c8d05bde3a8","changeType":"overdue","entity":"invoice","entityId":"1670","eventName":"invoice.overdue","extraData":{"entity":{"id":1670,"clientId":86,"number":"001621","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1673,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":85,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PALMITAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:29.842823] [debug] Factura vencida - -[2025-03-15 6:25:29.842861] [debug] datos del notification para el invoice overdue:{"uuid":"3c92b802-2cdf-449f-9363-5c8d05bde3a8","changeType":"overdue","entity":"invoice","entityId":1670,"message":null,"clientId":86,"eventName":"invoice.overdue","clientData":{"id":86,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"PALMITAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"PALMITAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"HUMBERTO","lastName":"CASTILLO","username":"hcastillo86","contacts":[{"id":87,"clientId":86,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-6100,"accountCredit":0,"accountOutstanding":6100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#c62828","addressGpsLat":21.2394677,"addressGpsLon":-100.9803471,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1670,"clientId":86,"number":"001621","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1673,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":85,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PALMITAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:29.842879] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:29.842931] [debug] Numero de cel obtenido - -[2025-03-15 6:25:29.842942] [warning] No se encontró un teléfono celular válido para el cliente: 86 -[2025-03-15 6:25:29.955313] [notice] Logging level set to:debug -[2025-03-15 6:25:30.085088] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:30.085140] [debug] Valor de JSON: {"uuid":"e55d8b67-9a9e-4c91-a04e-1a645e7bc889","changeType":"overdue","entity":"invoice","entityId":"1671","eventName":"invoice.overdue","extraData":{"entity":{"id":1671,"clientId":74,"number":"001622","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1674,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":73,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARCELO","clientLastName":"PALACIOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:30.085231] [debug] Factura vencida - -[2025-03-15 6:25:30.085264] [debug] datos del notification para el invoice overdue:{"uuid":"e55d8b67-9a9e-4c91-a04e-1a645e7bc889","changeType":"overdue","entity":"invoice","entityId":1671,"message":null,"clientId":74,"eventName":"invoice.overdue","clientData":{"id":74,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARCELO","lastName":"PALACIOS","username":"mpalacios74","contacts":[{"id":75,"clientId":74,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2e7d32","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1671,"clientId":74,"number":"001622","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1674,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":73,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARCELO","clientLastName":"PALACIOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:30.085284] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:30.085352] [debug] Numero de cel obtenido - -[2025-03-15 6:25:30.085362] [warning] No se encontró un teléfono celular válido para el cliente: 74 -[2025-03-15 6:25:30.199013] [notice] Logging level set to:debug -[2025-03-15 6:25:30.326781] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:30.326837] [debug] Valor de JSON: {"uuid":"9208be8c-a816-4ace-b30a-55f155d08bc8","changeType":"overdue","entity":"invoice","entityId":"1672","eventName":"invoice.overdue","extraData":{"entity":{"id":1672,"clientId":44,"number":"001623","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1675,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":43,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JAVIER","clientLastName":"BRIONES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ESTANCIA DE ZAMARRIPA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:30.326941] [debug] Factura vencida - -[2025-03-15 6:25:30.326978] [debug] datos del notification para el invoice overdue:{"uuid":"9208be8c-a816-4ace-b30a-55f155d08bc8","changeType":"overdue","entity":"invoice","entityId":1672,"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":[],"accountBalance":-3910,"accountCredit":0,"accountOutstanding":3910,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#c0ca33","addressGpsLat":21.2370877,"addressGpsLon":-101.116799,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1672,"clientId":44,"number":"001623","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1675,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":43,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JAVIER","clientLastName":"BRIONES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ESTANCIA DE ZAMARRIPA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:30.326997] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:30.327049] [debug] Numero de cel obtenido - -[2025-03-15 6:25:30.327064] [warning] No se encontró un teléfono celular válido para el cliente: 44 -[2025-03-15 6:25:30.442234] [notice] Logging level set to:debug -[2025-03-15 6:25:30.571923] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:30.571975] [debug] Valor de JSON: {"uuid":"2327a408-e019-4bf1-9a8e-540e9b9fd8ec","changeType":"overdue","entity":"invoice","entityId":"1673","eventName":"invoice.overdue","extraData":{"entity":{"id":1673,"clientId":14,"number":"001624","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1676,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":14,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDRO","clientLastName":"ARIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:30.572067] [debug] Factura vencida - -[2025-03-15 6:25:30.572104] [debug] datos del notification para el invoice overdue:{"uuid":"2327a408-e019-4bf1-9a8e-540e9b9fd8ec","changeType":"overdue","entity":"invoice","entityId":1673,"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":[],"accountBalance":-2700,"accountCredit":0,"accountOutstanding":2700,"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":1673,"clientId":14,"number":"001624","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1676,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":14,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDRO","clientLastName":"ARIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:30.572127] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:30.572179] [debug] Numero de cel obtenido - -[2025-03-15 6:25:30.572190] [warning] No se encontró un teléfono celular válido para el cliente: 14 -[2025-03-15 6:25:30.684181] [notice] Logging level set to:debug -[2025-03-15 6:25:30.833218] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:30.833270] [debug] Valor de JSON: {"uuid":"75bb055b-13d6-489e-aeb3-2149179e1318","changeType":"overdue","entity":"invoice","entityId":"1674","eventName":"invoice.overdue","extraData":{"entity":{"id":1674,"clientId":70,"number":"001625","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1677,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":69,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"TRUJILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:30.833378] [debug] Factura vencida - -[2025-03-15 6:25:30.833415] [debug] datos del notification para el invoice overdue:{"uuid":"75bb055b-13d6-489e-aeb3-2149179e1318","changeType":"overdue","entity":"invoice","entityId":1674,"message":null,"clientId":70,"eventName":"invoice.overdue","clientData":{"id":70,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALBERTO","lastName":"TRUJILLO","username":"atrujillo70","contacts":[{"id":71,"clientId":70,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-9100,"accountCredit":0,"accountOutstanding":9100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef6c00","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1674,"clientId":70,"number":"001625","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1677,"type":"service","label":"PREMIUM 31\/01\/2025 \u2013 27\/02\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":69,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"TRUJILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:30.833431] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:30.833484] [debug] Numero de cel obtenido - -[2025-03-15 6:25:30.833496] [warning] No se encontró un teléfono celular válido para el cliente: 70 -[2025-03-15 6:25:30.947865] [notice] Logging level set to:debug -[2025-03-15 6:25:31.091052] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:31.091109] [debug] Valor de JSON: {"uuid":"f5a9e8d1-4f73-4978-9e42-4a35122bfb98","changeType":"overdue","entity":"invoice","entityId":"1675","eventName":"invoice.overdue","extraData":{"entity":{"id":1675,"clientId":38,"number":"001626","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1678,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":37,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGELICA","clientLastName":"ROMAN","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:31.091209] [debug] Factura vencida - -[2025-03-15 6:25:31.091248] [debug] datos del notification para el invoice overdue:{"uuid":"f5a9e8d1-4f73-4978-9e42-4a35122bfb98","changeType":"overdue","entity":"invoice","entityId":1675,"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":[],"accountBalance":-3910,"accountCredit":0,"accountOutstanding":3910,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.22987,"addressGpsLon":-101.0648115,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1675,"clientId":38,"number":"001626","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1678,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":37,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGELICA","clientLastName":"ROMAN","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:31.091272] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:31.091327] [debug] Numero de cel obtenido - -[2025-03-15 6:25:31.091339] [warning] No se encontró un teléfono celular válido para el cliente: 38 -[2025-03-15 6:25:31.205650] [notice] Logging level set to:debug -[2025-03-15 6:25:31.334461] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:31.334513] [debug] Valor de JSON: {"uuid":"266e694f-e932-4098-b4ab-2a2b19450426","changeType":"overdue","entity":"invoice","entityId":"1676","eventName":"invoice.overdue","extraData":{"entity":{"id":1676,"clientId":21,"number":"001627","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1679,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":20,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NATALIA","clientLastName":"JUAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:31.334636] [debug] Factura vencida - -[2025-03-15 6:25:31.334673] [debug] datos del notification para el invoice overdue:{"uuid":"266e694f-e932-4098-b4ab-2a2b19450426","changeType":"overdue","entity":"invoice","entityId":1676,"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":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1676,"clientId":21,"number":"001627","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1679,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":20,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NATALIA","clientLastName":"JUAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:31.334691] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -contac vacio -[2025-03-15 6:25:31.334815] [debug] Numero de cel obtenido - -[2025-03-15 6:25:31.334827] [warning] No se encontró un teléfono celular válido para el cliente: 21 -[2025-03-15 6:25:31.446675] [notice] Logging level set to:debug -[2025-03-15 6:25:31.577080] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:31.577135] [debug] Valor de JSON: {"uuid":"14c0cb3c-3149-44f3-be26-12439fa3d6a1","changeType":"overdue","entity":"invoice","entityId":"1677","eventName":"invoice.overdue","extraData":{"entity":{"id":1677,"clientId":52,"number":"001628","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1680,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":51,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RODRIGO","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL CARMEN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:31.577234] [debug] Factura vencida - -[2025-03-15 6:25:31.577271] [debug] datos del notification para el invoice overdue:{"uuid":"14c0cb3c-3149-44f3-be26-12439fa3d6a1","changeType":"overdue","entity":"invoice","entityId":1677,"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":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1677,"clientId":52,"number":"001628","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1680,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":51,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RODRIGO","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL CARMEN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:31.577295] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:31.577349] [debug] Numero de cel obtenido - -[2025-03-15 6:25:31.577359] [warning] No se encontró un teléfono celular válido para el cliente: 52 -[2025-03-15 6:25:31.689237] [notice] Logging level set to:debug -[2025-03-15 6:25:31.820451] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:31.820502] [debug] Valor de JSON: {"uuid":"61c95387-b801-4c46-aa6b-eb4feab4e82e","changeType":"overdue","entity":"invoice","entityId":"1678","eventName":"invoice.overdue","extraData":{"entity":{"id":1678,"clientId":90,"number":"001629","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1681,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":89,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PEDRO","clientLastName":"HORNEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:31.820631] [debug] Factura vencida - -[2025-03-15 6:25:31.820669] [debug] datos del notification para el invoice overdue:{"uuid":"61c95387-b801-4c46-aa6b-eb4feab4e82e","changeType":"overdue","entity":"invoice","entityId":1678,"message":null,"clientId":90,"eventName":"invoice.overdue","clientData":{"id":90,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"ADJUNTAS DEL RIO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"ADJUNTAS DEL RIO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"PEDRO","lastName":"HORNEDO","username":"phornedo90","contacts":[{"id":91,"clientId":90,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1678,"clientId":90,"number":"001629","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1681,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":89,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PEDRO","clientLastName":"HORNEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:31.820687] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:31.820738] [debug] Numero de cel obtenido - -[2025-03-15 6:25:31.820749] [warning] No se encontró un teléfono celular válido para el cliente: 90 -[2025-03-15 6:25:31.934042] [notice] Logging level set to:debug -[2025-03-15 6:25:32.074491] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:32.074548] [debug] Valor de JSON: {"uuid":"18c2485c-ccde-4daf-b428-3adfc5d97079","changeType":"overdue","entity":"invoice","entityId":"1679","eventName":"invoice.overdue","extraData":{"entity":{"id":1679,"clientId":84,"number":"001630","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1682,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":83,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ROLANDO","clientLastName":"CALVILLLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:32.074650] [debug] Factura vencida - -[2025-03-15 6:25:32.074687] [debug] datos del notification para el invoice overdue:{"uuid":"18c2485c-ccde-4daf-b428-3adfc5d97079","changeType":"overdue","entity":"invoice","entityId":1679,"message":null,"clientId":84,"eventName":"invoice.overdue","clientData":{"id":84,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ROLANDO","lastName":"CALVILLLO","username":"rcalvilllo84","contacts":[{"id":85,"clientId":84,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2196f3","addressGpsLat":21.2516667,"addressGpsLon":-101.0924998,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1679,"clientId":84,"number":"001630","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1682,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":83,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ROLANDO","clientLastName":"CALVILLLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:32.074711] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:32.074769] [debug] Numero de cel obtenido - -[2025-03-15 6:25:32.074779] [warning] No se encontró un teléfono celular válido para el cliente: 84 -[2025-03-15 6:25:32.188247] [notice] Logging level set to:debug -[2025-03-15 6:25:32.322118] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:32.322170] [debug] Valor de JSON: {"uuid":"f19ddd8a-66b4-490f-a544-4a744f4640e8","changeType":"overdue","entity":"invoice","entityId":"1680","eventName":"invoice.overdue","extraData":{"entity":{"id":1680,"clientId":62,"number":"001631","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1683,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":61,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"BERNAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:32.322285] [debug] Factura vencida - -[2025-03-15 6:25:32.322359] [debug] datos del notification para el invoice overdue:{"uuid":"f19ddd8a-66b4-490f-a544-4a744f4640e8","changeType":"overdue","entity":"invoice","entityId":1680,"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":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1680,"clientId":62,"number":"001631","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1683,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":61,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"BERNAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:32.322384] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:32.322446] [debug] Numero de cel obtenido - -[2025-03-15 6:25:32.322458] [warning] No se encontró un teléfono celular válido para el cliente: 62 -[2025-03-15 6:25:32.436708] [notice] Logging level set to:debug -[2025-03-15 6:25:32.574052] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:32.574105] [debug] Valor de JSON: {"uuid":"1e46dd3a-fa62-4db4-b66e-afe4b04d2134","changeType":"overdue","entity":"invoice","entityId":"1681","eventName":"invoice.overdue","extraData":{"entity":{"id":1681,"clientId":82,"number":"001632","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1684,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":81,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AGUSTINA","clientLastName":"PERICLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:32.574199] [debug] Factura vencida - -[2025-03-15 6:25:32.574235] [debug] datos del notification para el invoice overdue:{"uuid":"1e46dd3a-fa62-4db4-b66e-afe4b04d2134","changeType":"overdue","entity":"invoice","entityId":1681,"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":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1681,"clientId":82,"number":"001632","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1684,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":81,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AGUSTINA","clientLastName":"PERICLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:32.574258] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:32.574311] [debug] Numero de cel obtenido - -[2025-03-15 6:25:32.574321] [warning] No se encontró un teléfono celular válido para el cliente: 82 -[2025-03-15 6:25:32.690634] [notice] Logging level set to:debug -[2025-03-15 6:25:32.827277] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:32.827332] [debug] Valor de JSON: {"uuid":"7947411e-bdd8-4cad-bd9a-09d8483bdd42","changeType":"overdue","entity":"invoice","entityId":"1682","eventName":"invoice.overdue","extraData":{"entity":{"id":1682,"clientId":61,"number":"001633","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1685,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":60,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LUIS","clientLastName":"AGULAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:32.827433] [debug] Factura vencida - -[2025-03-15 6:25:32.827467] [debug] datos del notification para el invoice overdue:{"uuid":"7947411e-bdd8-4cad-bd9a-09d8483bdd42","changeType":"overdue","entity":"invoice","entityId":1682,"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":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"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":1682,"clientId":61,"number":"001633","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1685,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":60,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LUIS","clientLastName":"AGULAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:32.827483] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:32.827533] [debug] Numero de cel obtenido - -[2025-03-15 6:25:32.827543] [warning] No se encontró un teléfono celular válido para el cliente: 61 -[2025-03-15 6:25:32.940742] [notice] Logging level set to:debug -[2025-03-15 6:25:33.077271] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:33.077328] [debug] Valor de JSON: {"uuid":"710999c7-cb12-4683-9b2a-39a167bd4731","changeType":"overdue","entity":"invoice","entityId":"1683","eventName":"invoice.overdue","extraData":{"entity":{"id":1683,"clientId":100,"number":"001634","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1686,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":99,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RENE","clientLastName":"BUSTOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:33.077434] [debug] Factura vencida - -[2025-03-15 6:25:33.077471] [debug] datos del notification para el invoice overdue:{"uuid":"710999c7-cb12-4683-9b2a-39a167bd4731","changeType":"overdue","entity":"invoice","entityId":1683,"message":null,"clientId":100,"eventName":"invoice.overdue","clientData":{"id":100,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"RENE","lastName":"BUSTOS","username":"rbustos00","contacts":[{"id":101,"clientId":100,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#0277bd","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1683,"clientId":100,"number":"001634","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1686,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":99,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RENE","clientLastName":"BUSTOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:33.077493] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:33.077548] [debug] Numero de cel obtenido - -[2025-03-15 6:25:33.077559] [warning] No se encontró un teléfono celular válido para el cliente: 100 -[2025-03-15 6:25:33.191840] [notice] Logging level set to:debug -[2025-03-15 6:25:33.330166] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:33.330219] [debug] Valor de JSON: {"uuid":"140cdc8f-c2f4-4432-908c-c7671185f5be","changeType":"overdue","entity":"invoice","entityId":"1684","eventName":"invoice.overdue","extraData":{"entity":{"id":1684,"clientId":41,"number":"001635","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1687,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":40,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"CUELLAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:33.330331] [debug] Factura vencida - -[2025-03-15 6:25:33.330368] [debug] datos del notification para el invoice overdue:{"uuid":"140cdc8f-c2f4-4432-908c-c7671185f5be","changeType":"overdue","entity":"invoice","entityId":1684,"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":[],"accountBalance":-3910,"accountCredit":0,"accountOutstanding":3910,"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":1684,"clientId":41,"number":"001635","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1687,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":40,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"CUELLAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:33.330384] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:33.330437] [debug] Numero de cel obtenido - -[2025-03-15 6:25:33.330454] [warning] No se encontró un teléfono celular válido para el cliente: 41 -[2025-03-15 6:25:33.444521] [notice] Logging level set to:debug -[2025-03-15 6:25:33.570481] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-15 6:25:33.570533] [debug] Valor de JSON: {"uuid":"811187e0-dad4-48b9-82f4-8bb3f844c275","changeType":"overdue","entity":"invoice","entityId":"1685","eventName":"invoice.overdue","extraData":{"entity":{"id":1685,"clientId":77,"number":"001636","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1688,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":76,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARGARITO","clientLastName":"ESTRADA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-15 6:25:33.570626] [debug] Factura vencida - -[2025-03-15 6:25:33.570662] [debug] datos del notification para el invoice overdue:{"uuid":"811187e0-dad4-48b9-82f4-8bb3f844c275","changeType":"overdue","entity":"invoice","entityId":1685,"message":null,"clientId":77,"eventName":"invoice.overdue","clientData":{"id":77,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA VENTILLA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA VENTILLA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARGARITO","lastName":"ESTRADA","username":"mestrada77","contacts":[{"id":78,"clientId":77,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#039be5","addressGpsLat":21.1145736,"addressGpsLon":-100.933729,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1685,"clientId":77,"number":"001636","createdDate":"2025-02-28T10:00:01-0600","dueDate":"2025-03-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-26T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1688,"type":"service","label":"plan300 31\/01\/2025 \u2013 27\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":76,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARGARITO","clientLastName":"ESTRADA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-15 6:25:33.570686] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-15 6:25:33.570735] [debug] Numero de cel obtenido - -[2025-03-15 6:25:33.570746] [warning] No se encontró un teléfono celular válido para el cliente: 77 -[2025-03-15 16:53:29.887900] [notice] Logging level set to:debug -[2025-03-15 16:53:30.220791] [debug] valor el evento recibido por webhook: service.suspend - -[2025-03-15 16:53:30.220894] [debug] Valor de JSON: {"uuid":"fd04ebd5-5dd7-4984-badc-aa0f1f389e66","changeType":"suspend","entity":"service","entityId":"144","eventName":"service.suspend","extraData":{"entity":{"id":144,"prepaid":false,"clientId":2,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-31T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T10:53:29-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":144,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-31T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T10:53:29-0600","endDate":null}],"surcharges":[]}}} - -[2025-03-15 16:53:30.221148] [debug] Se suspendió el servicio a un cliente - -[2025-03-15 16:53:30.221223] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-15 16:53:30.221232] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-15 16:53:30.221295] [info] {"uuid":"fd04ebd5-5dd7-4984-badc-aa0f1f389e66","changeType":"suspend","entity":"service","entityId":144,"message":null,"clientId":2,"eventName":"service.suspend","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas danydhsv2","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":2123.33,"accountCredit":2123.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":144,"prepaid":false,"clientId":2,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-31T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":null}],"surcharges":[],"stopReason":"Test"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas danydhsv2 - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 15\/03\/2025 10:53"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Caimán Dorado","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-12T20:15:57Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":"mangelgg@gmail.com","customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"002180173419260258","Estado":"🟠 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 15/03/2025 10:53","Cliente":"141","URL":"🌐 https://sistema.siip.mx/crm/client/141","Nombre":"👤 El Caimán Dorado","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲270 pendientes","Fecha Ultimo Pago":"📆💸 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳","user name":"Daniel Humberto 🐁","Monto Ultimo Pago":"💲 30","Domicilio":"📍 Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Resumen":"{\"Cliente\": \"141\",\"Domicilio\": \"\"Nombre\": \"El Caimán Dorado\",\"URL\": \"https://sistema.siip.mx/crm/client/141\",\"Saldo Actual\": \"💲270 pendientes\",\"Monto Ultimo Pago\": \"$ 30\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"10/03/2025 18:21\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-15 16:53:33.076504] [notice] Logging level set to:debug -[2025-03-15 16:53:33.254234] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-15 16:53:33.254311] [debug] Valor de JSON: {"uuid":"fa3a33a3-3eb5-4ae1-8588-d641d06bf715","changeType":"edit","entity":"service","entityId":"144","eventName":"service.edit","extraData":{"entity":{"id":144,"prepaid":false,"clientId":2,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-31T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T10:53:29-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":144,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-31T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T10:53:29-0600","endDate":null}],"surcharges":[]}}} - -[2025-03-15 16:53:33.254436] [debug] Se editó el servicio a un cliente - -[2025-03-15 16:53:33.254477] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-15 16:53:33.254487] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-15 16:53:33.254534] [info] {"uuid":"fa3a33a3-3eb5-4ae1-8588-d641d06bf715","changeType":"edit","entity":"service","entityId":144,"message":null,"clientId":2,"eventName":"service.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas danydhsv2","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":2123.33,"accountCredit":2123.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":144,"prepaid":false,"clientId":2,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-31T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":null}],"surcharges":[],"stopReason":"Test"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas danydhsv2 - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 15\/03\/2025 10:53"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Caimán Dorado","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-12T20:15:57Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":"mangelgg@gmail.com","customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"002180173419260258","Estado":"🟠 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 15/03/2025 10:53","Cliente":"141","URL":"🌐 https://sistema.siip.mx/crm/client/141","Nombre":"👤 El Caimán Dorado","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲270 pendientes","Fecha Ultimo Pago":"📆💸 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳","user name":"Daniel Humberto 🐁","Monto Ultimo Pago":"💲 30","Domicilio":"📍 Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Resumen":"{\"Cliente\": \"141\",\"Domicilio\": \"\"Nombre\": \"El Caimán Dorado\",\"URL\": \"https://sistema.siip.mx/crm/client/141\",\"Saldo Actual\": \"💲270 pendientes\",\"Monto Ultimo Pago\": \"$ 30\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"10/03/2025 18:21\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-15 17:15:34.050208] [notice] Logging level set to:debug -[2025-03-15 17:15:34.125793] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-15 17:15:34.125876] [debug] Valor de JSON: {"uuid":"17f409e5-7bc4-45cd-a5e6-f6b7b8eadc87","changeType":"edit","entity":"client","entityId":"3","eventName":"client.edit","extraData":{"entity":{"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}],"accountBalance":-900,"accountCredit":0,"accountOutstanding":900,"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},"entityBeforeEdit":{"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":"5214181577623","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}],"accountBalance":-900,"accountCredit":0,"accountOutstanding":900,"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}}} - -[2025-03-15 17:15:34.126111] [debug] Se actualiza a un cliente -[2025-03-15 17:15:34.126149] [debug] Valor de json_data: {"uuid":"17f409e5-7bc4-45cd-a5e6-f6b7b8eadc87","changeType":"edit","entity":"client","entityId":"3","eventName":"client.edit","extraData":{"entity":{"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}],"accountBalance":-900,"accountCredit":0,"accountOutstanding":900,"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},"entityBeforeEdit":{"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":"5214181577623","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}],"accountBalance":-900,"accountCredit":0,"accountOutstanding":900,"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}}} -[2025-03-15 17:15:34.126164] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-15 17:15:34.126173] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-15 17:15:34.126183] [debug] No hubo cambio de true a false en el campo isLead -[2025-03-15 17:15:34.126190] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-15 17:15:34.126199] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-15 17:15:34.126204] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-15 17:15:34.126211] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-15 17:15:34.126240] [debug] {"uuid":"17f409e5-7bc4-45cd-a5e6-f6b7b8eadc87","changeType":"edit","entity":"client","entityId":3,"message":null,"clientId":3,"eventName":"client.edit","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}],"accountBalance":-900,"accountCredit":0,"accountOutstanding":900,"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":null,"paymentData":null} - -[2025-03-15 17:18:22.926338] [notice] Logging level set to:debug -[2025-03-15 17:18:23.020900] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-15 17:18:23.020967] [debug] Valor de JSON: {"uuid":"b82ad2c7-a83a-462c-839c-4014e459e497","changeType":"edit","entity":"client","entityId":"8","eventName":"client.edit","extraData":{"entity":{"id":8,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL BOBO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALFREDO","lastName":"GUTIERREZ","username":"agutierrez08","contacts":[{"id":9,"clientId":8,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7030,"accountCredit":0,"accountOutstanding":7030,"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},"entityBeforeEdit":{"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":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7030,"accountCredit":0,"accountOutstanding":7030,"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}}} - -[2025-03-15 17:18:23.021162] [debug] Se actualiza a un cliente -[2025-03-15 17:18:23.021195] [debug] Valor de json_data: {"uuid":"b82ad2c7-a83a-462c-839c-4014e459e497","changeType":"edit","entity":"client","entityId":"8","eventName":"client.edit","extraData":{"entity":{"id":8,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL BOBO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALFREDO","lastName":"GUTIERREZ","username":"agutierrez08","contacts":[{"id":9,"clientId":8,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7030,"accountCredit":0,"accountOutstanding":7030,"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},"entityBeforeEdit":{"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":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7030,"accountCredit":0,"accountOutstanding":7030,"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}}} -[2025-03-15 17:18:23.021228] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-15 17:18:23.021236] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-15 17:18:23.021245] [debug] No hubo cambio de true a false en el campo isLead -[2025-03-15 17:18:23.021253] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-15 17:18:23.021260] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-15 17:18:23.021265] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-15 17:18:23.021272] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-15 17:18:23.021301] [debug] {"uuid":"b82ad2c7-a83a-462c-839c-4014e459e497","changeType":"edit","entity":"client","entityId":8,"message":null,"clientId":8,"eventName":"client.edit","clientData":{"id":8,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL BOBO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALFREDO","lastName":"GUTIERREZ","username":"agutierrez08","contacts":[{"id":9,"clientId":8,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7030,"accountCredit":0,"accountOutstanding":7030,"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":null,"paymentData":null} - -[2025-03-15 17:18:39.896050] [notice] Logging level set to:debug -[2025-03-15 17:18:40.045212] [debug] valor el evento recibido por webhook: service.suspend_cancel - -[2025-03-15 17:18:40.045275] [debug] Valor de JSON: {"uuid":"48c1400f-4828-4636-a16d-2c85d4225cb6","changeType":"unsuspend","entity":"service","entityId":"8","eventName":"service.suspend_cancel","extraData":{"entity":{"id":8,"prepaid":false,"clientId":8,"status":1,"name":"INTERMEDIO","fullAddress":"EL BOBO, Dolores Hidalgo, 37800","street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.21484,"addressGpsLon":-100.8478122,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-27T00:00:00-0600","unmsClientSiteId":"ec679b32-9bca-4a26-8168-80e3e05b8f66","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":24,"startDate":"2024-02-15T00:00:00-0600","endDate":"2025-03-15T11:18:39-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":8,"prepaid":false,"clientId":8,"status":3,"name":"INTERMEDIO","fullAddress":"EL BOBO, Dolores Hidalgo, 37800","street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.21484,"addressGpsLon":-100.8478122,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-27T00:00:00-0600","unmsClientSiteId":"ec679b32-9bca-4a26-8168-80e3e05b8f66","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":24,"startDate":"2024-02-15T00:00:00-0600","endDate":"2025-03-15T11:18:39-0600"}],"surcharges":[]}}} - -[2025-03-15 17:18:40.045506] [debug] Se reactivó el servicio a un cliente - -[2025-03-15 17:18:40.160182] [notice] Logging level set to:debug -[2025-03-15 17:18:40.375643] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-15 17:18:40.375708] [debug] Valor de JSON: {"uuid":"b9085eb2-8b35-47b7-bb94-a3feb0299af3","changeType":"edit","entity":"service","entityId":"8","eventName":"service.edit","extraData":{"entity":{"id":8,"prepaid":false,"clientId":8,"status":1,"name":"INTERMEDIO","fullAddress":"EL BOBO, Dolores Hidalgo, 37800","street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.21484,"addressGpsLon":-100.8478122,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-27T00:00:00-0600","unmsClientSiteId":"ec679b32-9bca-4a26-8168-80e3e05b8f66","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":24,"startDate":"2024-02-15T00:00:00-0600","endDate":"2025-03-15T11:18:39-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":8,"prepaid":false,"clientId":8,"status":3,"name":"INTERMEDIO","fullAddress":"EL BOBO, Dolores Hidalgo, 37800","street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.21484,"addressGpsLon":-100.8478122,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-27T00:00:00-0600","unmsClientSiteId":"ec679b32-9bca-4a26-8168-80e3e05b8f66","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":24,"startDate":"2024-02-15T00:00:00-0600","endDate":"2025-03-15T11:18:39-0600"}],"surcharges":[]}}} - -[2025-03-15 17:18:40.375830] [debug] Se editó el servicio a un cliente - -[2025-03-15 17:20:38.843715] [notice] Logging level set to:debug -[2025-03-15 17:20:39.052324] [debug] valor el evento recibido por webhook: service.suspend_cancel - -[2025-03-15 17:20:39.052412] [debug] Valor de JSON: {"uuid":"2f3dbc47-a22d-4147-a2be-9c5e18e3e05c","changeType":"unsuspend","entity":"service","entityId":"9","eventName":"service.suspend_cancel","extraData":{"entity":{"id":9,"prepaid":false,"clientId":9,"status":1,"name":"INTERMEDIO","fullAddress":"GALLINERO, Dolores Hidalgo, 37800","street1":"GALLINERO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.179169675936,"addressGpsLon":-100.95965623856,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00: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":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-27T00:00:00-0600","unmsClientSiteId":"512e5062-98b0-400b-b084-cf051ff71d24","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":112,"startDate":"2024-08-16T00:00:00-0600","endDate":"2025-03-15T11:20:38-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":9,"prepaid":false,"clientId":9,"status":3,"name":"INTERMEDIO","fullAddress":"GALLINERO, Dolores Hidalgo, 37800","street1":"GALLINERO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.179169675936,"addressGpsLon":-100.95965623856,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00: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":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-27T00:00:00-0600","unmsClientSiteId":"512e5062-98b0-400b-b084-cf051ff71d24","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":112,"startDate":"2024-08-16T00:00:00-0600","endDate":"2025-03-15T11:20:38-0600"}],"surcharges":[]}}} - -[2025-03-15 17:20:39.052648] [debug] Se reactivó el servicio a un cliente - -[2025-03-15 17:20:39.172353] [notice] Logging level set to:debug -[2025-03-15 17:20:39.300430] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-15 17:20:39.300498] [debug] Valor de JSON: {"uuid":"8801933c-b2ed-4650-8abd-23587a781ed0","changeType":"edit","entity":"service","entityId":"9","eventName":"service.edit","extraData":{"entity":{"id":9,"prepaid":false,"clientId":9,"status":1,"name":"INTERMEDIO","fullAddress":"GALLINERO, Dolores Hidalgo, 37800","street1":"GALLINERO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.179169675936,"addressGpsLon":-100.95965623856,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00: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":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-27T00:00:00-0600","unmsClientSiteId":"512e5062-98b0-400b-b084-cf051ff71d24","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":112,"startDate":"2024-08-16T00:00:00-0600","endDate":"2025-03-15T11:20:38-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":9,"prepaid":false,"clientId":9,"status":3,"name":"INTERMEDIO","fullAddress":"GALLINERO, Dolores Hidalgo, 37800","street1":"GALLINERO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.179169675936,"addressGpsLon":-100.95965623856,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00: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":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-27T00:00:00-0600","unmsClientSiteId":"512e5062-98b0-400b-b084-cf051ff71d24","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":112,"startDate":"2024-08-16T00:00:00-0600","endDate":"2025-03-15T11:20:38-0600"}],"surcharges":[]}}} - -[2025-03-15 17:20:39.300611] [debug] Se editó el servicio a un cliente - -[2025-03-15 17:20:39.416126] [notice] Logging level set to:debug -[2025-03-15 17:20:39.548995] [debug] valor el evento recibido por webhook: service.postpone - -[2025-03-15 17:20:39.549057] [debug] Valor de JSON: {"uuid":"02a98d5b-e529-49a3-a101-420bcefc0654","changeType":"postpone","entity":"service","entityId":"9","eventName":"service.postpone","extraData":{"entity":{"id":9,"prepaid":false,"clientId":9,"status":1,"name":"INTERMEDIO","fullAddress":"GALLINERO, Dolores Hidalgo, 37800","street1":"GALLINERO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.179169675936,"addressGpsLon":-100.95965623856,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00: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":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-27T00:00:00-0600","unmsClientSiteId":"512e5062-98b0-400b-b084-cf051ff71d24","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":112,"startDate":"2024-08-16T00:00:00-0600","endDate":"2025-03-15T11:20:38-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":9,"prepaid":false,"clientId":9,"status":3,"name":"INTERMEDIO","fullAddress":"GALLINERO, Dolores Hidalgo, 37800","street1":"GALLINERO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.179169675936,"addressGpsLon":-100.95965623856,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00: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":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-27T00:00:00-0600","unmsClientSiteId":"512e5062-98b0-400b-b084-cf051ff71d24","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":112,"startDate":"2024-08-16T00:00:00-0600","endDate":"2025-03-15T11:20:38-0600"}],"surcharges":[]}}} - -[2025-03-15 17:20:39.549161] [debug] Se pospuso la suspención del servicio a un cliente - -[2025-03-15 17:43:41.934240] [notice] Logging level set to:debug -[2025-03-15 17:43:42.105410] [debug] valor el evento recibido por webhook: service.suspend_cancel - -[2025-03-15 17:43:42.105469] [debug] Valor de JSON: {"uuid":"73307b17-39a5-4eda-be7d-271b0198c9c8","changeType":"unsuspend","entity":"service","entityId":"10","eventName":"service.suspend_cancel","extraData":{"entity":{"id":10,"prepaid":false,"clientId":10,"status":1,"name":"plan300","fullAddress":"SANTA BARBARA, Dolores Hidalgo, 37800","street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1574,"addressGpsLon":-100.934617,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00: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":"2025-02-27T00:00:00-0600","unmsClientSiteId":"9eda2636-200a-4dbc-a67f-10fa143242c3","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":3,"startDate":"2024-01-29T00:00:00-0600","endDate":"2025-03-15T11:43:41-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":10,"prepaid":false,"clientId":10,"status":3,"name":"plan300","fullAddress":"SANTA BARBARA, Dolores Hidalgo, 37800","street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1574,"addressGpsLon":-100.934617,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00: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":"2025-02-27T00:00:00-0600","unmsClientSiteId":"9eda2636-200a-4dbc-a67f-10fa143242c3","attributes":[],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":3,"startDate":"2024-01-29T00:00:00-0600","endDate":"2025-03-15T11:43:41-0600"}],"surcharges":[]}}} - -[2025-03-15 17:43:42.105710] [debug] Se reactivó el servicio a un cliente - -[2025-03-15 17:43:42.270593] [notice] Logging level set to:debug -[2025-03-15 17:43:42.403887] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-15 17:43:42.403954] [debug] Valor de JSON: {"uuid":"6d44457e-86ab-467b-bdb7-658b939a7fc4","changeType":"edit","entity":"service","entityId":"10","eventName":"service.edit","extraData":{"entity":{"id":10,"prepaid":false,"clientId":10,"status":1,"name":"plan300","fullAddress":"SANTA BARBARA, Dolores Hidalgo, 37800","street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1574,"addressGpsLon":-100.934617,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00: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":"2025-02-27T00:00:00-0600","unmsClientSiteId":"9eda2636-200a-4dbc-a67f-10fa143242c3","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":3,"startDate":"2024-01-29T00:00:00-0600","endDate":"2025-03-15T11:43:41-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":10,"prepaid":false,"clientId":10,"status":3,"name":"plan300","fullAddress":"SANTA BARBARA, Dolores Hidalgo, 37800","street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1574,"addressGpsLon":-100.934617,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00: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":"2025-02-27T00:00:00-0600","unmsClientSiteId":"9eda2636-200a-4dbc-a67f-10fa143242c3","attributes":[],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":3,"startDate":"2024-01-29T00:00:00-0600","endDate":"2025-03-15T11:43:41-0600"}],"surcharges":[]}}} - -[2025-03-15 17:43:42.404068] [debug] Se editó el servicio a un cliente - -[2025-03-15 18:36:33.036782] [notice] Logging level set to:debug -[2025-03-15 18:36:33.169003] [debug] valor el evento recibido por webhook: service.suspend_cancel - -[2025-03-15 18:36:33.169065] [debug] Valor de JSON: {"uuid":"fcc58e08-221c-4ef8-832b-2c87b4f1b203","changeType":"unsuspend","entity":"service","entityId":"11","eventName":"service.suspend_cancel","extraData":{"entity":{"id":11,"prepaid":false,"clientId":11,"status":1,"name":"plan300","fullAddress":"TRANCAS, Dolores Hidalgo, 37800","street1":"TRANCAS","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.2271959,"addressGpsLon":-101.0269744,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00: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":"plan300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":6,"uploadSpeed":6,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-27T00:00:00-0600","unmsClientSiteId":"38056738-5253-4a9d-a64b-4c1ebc64e062","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":93,"startDate":"2024-03-15T00:00:00-0600","endDate":"2024-06-21T00:00:00-0600"},{"id":105,"startDate":"2024-07-16T00:00:00-0600","endDate":"2025-03-15T12:36:32-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":11,"prepaid":false,"clientId":11,"status":3,"name":"plan300","fullAddress":"TRANCAS, Dolores Hidalgo, 37800","street1":"TRANCAS","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.2271959,"addressGpsLon":-101.0269744,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00: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":"plan300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":6,"uploadSpeed":6,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-27T00:00:00-0600","unmsClientSiteId":"38056738-5253-4a9d-a64b-4c1ebc64e062","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":93,"startDate":"2024-03-15T00:00:00-0600","endDate":"2024-06-21T00:00:00-0600"},{"id":105,"startDate":"2024-07-16T00:00:00-0600","endDate":"2025-03-15T12:36:32-0600"}],"surcharges":[]}}} - -[2025-03-15 18:36:33.169290] [debug] Se reactivó el servicio a un cliente - -[2025-03-15 18:36:33.347881] [notice] Logging level set to:debug -[2025-03-15 18:36:33.485171] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-15 18:36:33.485241] [debug] Valor de JSON: {"uuid":"f8bf7400-155e-49ce-b0f0-d7fbd4eae60f","changeType":"edit","entity":"service","entityId":"11","eventName":"service.edit","extraData":{"entity":{"id":11,"prepaid":false,"clientId":11,"status":1,"name":"plan300","fullAddress":"TRANCAS, Dolores Hidalgo, 37800","street1":"TRANCAS","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.2271959,"addressGpsLon":-101.0269744,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00: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":"plan300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":6,"uploadSpeed":6,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-27T00:00:00-0600","unmsClientSiteId":"38056738-5253-4a9d-a64b-4c1ebc64e062","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":93,"startDate":"2024-03-15T00:00:00-0600","endDate":"2024-06-21T00:00:00-0600"},{"id":105,"startDate":"2024-07-16T00:00:00-0600","endDate":"2025-03-15T12:36:32-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":11,"prepaid":false,"clientId":11,"status":3,"name":"plan300","fullAddress":"TRANCAS, Dolores Hidalgo, 37800","street1":"TRANCAS","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.2271959,"addressGpsLon":-101.0269744,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00: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":"plan300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":6,"uploadSpeed":6,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-27T00:00:00-0600","unmsClientSiteId":"38056738-5253-4a9d-a64b-4c1ebc64e062","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":93,"startDate":"2024-03-15T00:00:00-0600","endDate":"2024-06-21T00:00:00-0600"},{"id":105,"startDate":"2024-07-16T00:00:00-0600","endDate":"2025-03-15T12:36:32-0600"}],"surcharges":[]}}} - -[2025-03-15 18:36:33.485357] [debug] Se editó el servicio a un cliente - -[2025-03-15 18:30:06.937160] [notice] Logging level set to:debug -[2025-03-15 18:30:07.783196] [debug] valor el evento recibido por webhook: service.suspend - -[2025-03-15 18:30:07.783282] [debug] Valor de JSON: {"uuid":"130ea3f2-274a-4087-a8b4-003cc8528cbb","changeType":"suspend","entity":"service","entityId":"128","eventName":"service.suspend","extraData":{"entity":{"id":128,"prepaid":false,"clientId":162,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-12T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-28T00:00:00-0600","unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":136,"startDate":"2025-03-10T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":142,"startDate":"2025-03-15T12:30:04-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":128,"prepaid":false,"clientId":162,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-12T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-28T00:00:00-0600","unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":136,"startDate":"2025-03-10T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":142,"startDate":"2025-03-15T12:30:04-0600","endDate":null}],"surcharges":[]}}} - -[2025-03-15 18:30:07.783474] [debug] Se suspendió el servicio a un cliente - -[2025-03-15 18:30:07.783525] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-15 18:30:07.783536] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-15 18:30:07.783576] [info] {"uuid":"130ea3f2-274a-4087-a8b4-003cc8528cbb","changeType":"suspend","entity":"service","entityId":128,"message":null,"clientId":162,"eventName":"service.suspend","clientData":{"id":162,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":"2025-01-10T10:32:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Edward","lastName":"Elric","username":null,"contacts":[{"id":166,"clientId":162,"email":"eduardelric@gmail.com","phone":"5214181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":159,"clientId":162,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"434876867834423324","clientZoneVisible":true},{"id":160,"clientId":162,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RYsuykCEvupaGF","clientZoneVisible":true},{"id":161,"clientId":162,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180599808752427","clientZoneVisible":true}],"accountBalance":-216.67,"accountCredit":0,"accountOutstanding":216.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d84315","addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":128,"prepaid":false,"clientId":162,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-12T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-28T00:00:00-0600","unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":136,"startDate":"2025-03-10T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":142,"startDate":"2025-03-15T00:00:00-0600","endDate":null}],"surcharges":[],"stopReason":"Payments overdue"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Edward Elric - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 15\/03\/2025 12:30"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Caimán Dorado","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-12T20:15:57Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":"mangelgg@gmail.com","customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"002180173419260258","Estado":"🟠 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 15/03/2025 12:30","Cliente":"141","URL":"🌐 https://sistema.siip.mx/crm/client/141","Nombre":"👤 El Caimán Dorado","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲270 pendientes","Fecha Ultimo Pago":"📆💸 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳","user name":"Daniel Humberto 🐁","Monto Ultimo Pago":"💲 30","Domicilio":"📍 Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Resumen":"{\"Cliente\": \"141\",\"Domicilio\": \"\"Nombre\": \"El Caimán Dorado\",\"URL\": \"https://sistema.siip.mx/crm/client/141\",\"Saldo Actual\": \"💲270 pendientes\",\"Monto Ultimo Pago\": \"$ 30\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"10/03/2025 18:21\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-15 18:30:09.863522] [notice] Logging level set to:debug -[2025-03-15 18:30:10.211806] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-15 18:30:10.211873] [debug] Valor de JSON: {"uuid":"c92adc5b-d2b0-4285-a0ef-7c165f7743ef","changeType":"edit","entity":"service","entityId":"128","eventName":"service.edit","extraData":{"entity":{"id":128,"prepaid":false,"clientId":162,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-12T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-28T00:00:00-0600","unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":136,"startDate":"2025-03-10T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":142,"startDate":"2025-03-15T12:30:04-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":128,"prepaid":false,"clientId":162,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-12T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-28T00:00:00-0600","unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":136,"startDate":"2025-03-10T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":142,"startDate":"2025-03-15T12:30:04-0600","endDate":null}],"surcharges":[]}}} - -[2025-03-15 18:30:10.211982] [debug] Se editó el servicio a un cliente - -[2025-03-15 18:30:10.212012] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-15 18:30:10.212021] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-15 18:30:10.212059] [info] {"uuid":"c92adc5b-d2b0-4285-a0ef-7c165f7743ef","changeType":"edit","entity":"service","entityId":128,"message":null,"clientId":162,"eventName":"service.edit","clientData":{"id":162,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":"2025-01-10T10:32:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Edward","lastName":"Elric","username":null,"contacts":[{"id":166,"clientId":162,"email":"eduardelric@gmail.com","phone":"5214181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":159,"clientId":162,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"434876867834423324","clientZoneVisible":true},{"id":160,"clientId":162,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RYsuykCEvupaGF","clientZoneVisible":true},{"id":161,"clientId":162,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180599808752427","clientZoneVisible":true}],"accountBalance":-216.67,"accountCredit":0,"accountOutstanding":216.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d84315","addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":128,"prepaid":false,"clientId":162,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-12T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-28T00:00:00-0600","unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":136,"startDate":"2025-03-10T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":142,"startDate":"2025-03-15T00:00:00-0600","endDate":null}],"surcharges":[],"stopReason":"Payments overdue"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Edward Elric - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 15\/03\/2025 12:30"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Caimán Dorado","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-12T20:15:57Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":"mangelgg@gmail.com","customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"002180173419260258","Estado":"🟠 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 15/03/2025 12:30","Cliente":"141","URL":"🌐 https://sistema.siip.mx/crm/client/141","Nombre":"👤 El Caimán Dorado","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲270 pendientes","Fecha Ultimo Pago":"📆💸 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳","user name":"Daniel Humberto 🐁","Monto Ultimo Pago":"💲 30","Domicilio":"📍 Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Resumen":"{\"Cliente\": \"141\",\"Domicilio\": \"\"Nombre\": \"El Caimán Dorado\",\"URL\": \"https://sistema.siip.mx/crm/client/141\",\"Saldo Actual\": \"💲270 pendientes\",\"Monto Ultimo Pago\": \"$ 30\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"10/03/2025 18:21\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-15 18:30:11.884300] [notice] Logging level set to:debug -[2025-03-15 18:30:12.169506] [debug] valor el evento recibido por webhook: service.suspend - -[2025-03-15 18:30:12.169573] [debug] Valor de JSON: {"uuid":"72131edb-f677-4198-9d96-6fb785196679","changeType":"suspend","entity":"service","entityId":"10","eventName":"service.suspend","extraData":{"entity":{"id":10,"prepaid":false,"clientId":10,"status":3,"name":"plan300","fullAddress":"SANTA BARBARA, Dolores Hidalgo, 37800","street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1574,"addressGpsLon":-100.934617,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00: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":"2025-02-27T00:00:00-0600","unmsClientSiteId":"9eda2636-200a-4dbc-a67f-10fa143242c3","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":3,"startDate":"2024-01-29T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":143,"startDate":"2025-03-15T12:30:04-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":10,"prepaid":false,"clientId":10,"status":1,"name":"plan300","fullAddress":"SANTA BARBARA, Dolores Hidalgo, 37800","street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1574,"addressGpsLon":-100.934617,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00: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":"2025-02-27T00:00:00-0600","unmsClientSiteId":"9eda2636-200a-4dbc-a67f-10fa143242c3","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":3,"startDate":"2024-01-29T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":143,"startDate":"2025-03-15T12:30:04-0600","endDate":null}],"surcharges":[]}}} - -[2025-03-15 18:30:12.169692] [debug] Se suspendió el servicio a un cliente - -[2025-03-15 18:30:12.289904] [notice] Logging level set to:debug -[2025-03-15 18:30:12.544373] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-15 18:30:12.544440] [debug] Valor de JSON: {"uuid":"d26f9b5b-1942-4552-9ade-63410572afe6","changeType":"edit","entity":"service","entityId":"10","eventName":"service.edit","extraData":{"entity":{"id":10,"prepaid":false,"clientId":10,"status":3,"name":"plan300","fullAddress":"SANTA BARBARA, Dolores Hidalgo, 37800","street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1574,"addressGpsLon":-100.934617,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00: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":"2025-02-27T00:00:00-0600","unmsClientSiteId":"9eda2636-200a-4dbc-a67f-10fa143242c3","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":3,"startDate":"2024-01-29T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":143,"startDate":"2025-03-15T12:30:04-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":10,"prepaid":false,"clientId":10,"status":1,"name":"plan300","fullAddress":"SANTA BARBARA, Dolores Hidalgo, 37800","street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1574,"addressGpsLon":-100.934617,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00: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":"2025-02-27T00:00:00-0600","unmsClientSiteId":"9eda2636-200a-4dbc-a67f-10fa143242c3","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":3,"startDate":"2024-01-29T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":143,"startDate":"2025-03-15T12:30:04-0600","endDate":null}],"surcharges":[]}}} - -[2025-03-15 18:30:12.544560] [debug] Se editó el servicio a un cliente - -[2025-03-15 18:30:12.661544] [notice] Logging level set to:debug -[2025-03-15 18:30:12.917722] [debug] valor el evento recibido por webhook: service.suspend - -[2025-03-15 18:30:12.917789] [debug] Valor de JSON: {"uuid":"9253be1f-0936-4f85-b537-a29a62451ed3","changeType":"suspend","entity":"service","entityId":"8","eventName":"service.suspend","extraData":{"entity":{"id":8,"prepaid":false,"clientId":8,"status":3,"name":"INTERMEDIO","fullAddress":"EL BOBO, Dolores Hidalgo, 37800","street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.21484,"addressGpsLon":-100.8478122,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-27T00:00:00-0600","unmsClientSiteId":"ec679b32-9bca-4a26-8168-80e3e05b8f66","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":24,"startDate":"2024-02-15T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":144,"startDate":"2025-03-15T12:30:04-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":8,"prepaid":false,"clientId":8,"status":1,"name":"INTERMEDIO","fullAddress":"EL BOBO, Dolores Hidalgo, 37800","street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.21484,"addressGpsLon":-100.8478122,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-27T00:00:00-0600","unmsClientSiteId":"ec679b32-9bca-4a26-8168-80e3e05b8f66","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":24,"startDate":"2024-02-15T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":144,"startDate":"2025-03-15T12:30:04-0600","endDate":null}],"surcharges":[]}}} - -[2025-03-15 18:30:12.917902] [debug] Se suspendió el servicio a un cliente - -[2025-03-15 18:30:13.031588] [notice] Logging level set to:debug -[2025-03-15 18:30:13.305752] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-15 18:30:13.305823] [debug] Valor de JSON: {"uuid":"424cee8d-2653-4e69-8f60-6b4d7322f756","changeType":"edit","entity":"service","entityId":"8","eventName":"service.edit","extraData":{"entity":{"id":8,"prepaid":false,"clientId":8,"status":3,"name":"INTERMEDIO","fullAddress":"EL BOBO, Dolores Hidalgo, 37800","street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.21484,"addressGpsLon":-100.8478122,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-27T00:00:00-0600","unmsClientSiteId":"ec679b32-9bca-4a26-8168-80e3e05b8f66","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":24,"startDate":"2024-02-15T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":144,"startDate":"2025-03-15T12:30:04-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":8,"prepaid":false,"clientId":8,"status":1,"name":"INTERMEDIO","fullAddress":"EL BOBO, Dolores Hidalgo, 37800","street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.21484,"addressGpsLon":-100.8478122,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-27T00:00:00-0600","unmsClientSiteId":"ec679b32-9bca-4a26-8168-80e3e05b8f66","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":24,"startDate":"2024-02-15T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":144,"startDate":"2025-03-15T12:30:04-0600","endDate":null}],"surcharges":[]}}} - -[2025-03-15 18:30:13.305942] [debug] Se editó el servicio a un cliente - -[2025-03-15 18:30:13.426040] [notice] Logging level set to:debug -[2025-03-15 18:30:13.677866] [debug] valor el evento recibido por webhook: service.suspend - -[2025-03-15 18:30:13.677932] [debug] Valor de JSON: {"uuid":"b9beec6f-6bd4-4bae-b76d-055d6999c152","changeType":"suspend","entity":"service","entityId":"95","eventName":"service.suspend","extraData":{"entity":{"id":95,"prepaid":false,"clientId":96,"status":3,"name":"plan300","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.0502031,"addressGpsLon":-101.0096832,"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":"2025-02-27T00:00:00-0600","unmsClientSiteId":"d0724b8d-8041-4e86-9496-60c55188e872","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":145,"startDate":"2025-03-15T12:30:04-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":95,"prepaid":false,"clientId":96,"status":1,"name":"plan300","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.0502031,"addressGpsLon":-101.0096832,"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":"2025-02-27T00:00:00-0600","unmsClientSiteId":"d0724b8d-8041-4e86-9496-60c55188e872","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":145,"startDate":"2025-03-15T12:30:04-0600","endDate":null}],"surcharges":[]}}} - -[2025-03-15 18:30:13.678052] [debug] Se suspendió el servicio a un cliente - -[2025-03-15 18:30:13.791884] [notice] Logging level set to:debug -[2025-03-15 18:30:14.055578] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-15 18:30:14.055644] [debug] Valor de JSON: {"uuid":"fd1e0e15-c944-4f4b-9dc8-e4505cc2423a","changeType":"edit","entity":"service","entityId":"95","eventName":"service.edit","extraData":{"entity":{"id":95,"prepaid":false,"clientId":96,"status":3,"name":"plan300","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.0502031,"addressGpsLon":-101.0096832,"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":"2025-02-27T00:00:00-0600","unmsClientSiteId":"d0724b8d-8041-4e86-9496-60c55188e872","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":145,"startDate":"2025-03-15T12:30:04-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":95,"prepaid":false,"clientId":96,"status":1,"name":"plan300","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.0502031,"addressGpsLon":-101.0096832,"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":"2025-02-27T00:00:00-0600","unmsClientSiteId":"d0724b8d-8041-4e86-9496-60c55188e872","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":145,"startDate":"2025-03-15T12:30:04-0600","endDate":null}],"surcharges":[]}}} - -[2025-03-15 18:30:14.055758] [debug] Se editó el servicio a un cliente - -[2025-03-15 18:37:13.560435] [notice] Logging level set to:debug -[2025-03-15 18:37:13.757565] [debug] valor el evento recibido por webhook: service.suspend_cancel - -[2025-03-15 18:37:13.757637] [debug] Valor de JSON: {"uuid":"5a889f34-35e8-4686-84cd-1cae57c9b127","changeType":"unsuspend","entity":"service","entityId":"128","eventName":"service.suspend_cancel","extraData":{"entity":{"id":128,"prepaid":false,"clientId":162,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-12T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-28T00:00:00-0600","unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":136,"startDate":"2025-03-10T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":142,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-15T12:37:13-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":128,"prepaid":false,"clientId":162,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-12T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-28T00:00:00-0600","unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":136,"startDate":"2025-03-10T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":142,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-15T12:37:13-0600"}],"surcharges":[]}}} - -[2025-03-15 18:37:13.757853] [debug] Se reactivó el servicio a un cliente - -[2025-03-15 18:37:13.757920] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-15 18:37:13.757930] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-15 18:37:13.757976] [info] {"uuid":"5a889f34-35e8-4686-84cd-1cae57c9b127","changeType":"unsuspend","entity":"service","entityId":128,"message":null,"clientId":162,"eventName":"service.suspend_cancel","clientData":{"id":162,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":"2025-01-10T10:32:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Edward","lastName":"Elric","username":null,"contacts":[{"id":166,"clientId":162,"email":"eduardelric@gmail.com","phone":"5214181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":159,"clientId":162,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"434876867834423324","clientZoneVisible":true},{"id":160,"clientId":162,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RYsuykCEvupaGF","clientZoneVisible":true},{"id":161,"clientId":162,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180599808752427","clientZoneVisible":true}],"accountBalance":-216.67,"accountCredit":0,"accountOutstanding":216.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d84315","addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":128,"prepaid":false,"clientId":162,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-12T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-28T00:00:00-0600","unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":136,"startDate":"2025-03-10T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":142,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"}],"surcharges":[]},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Edward Elric - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 15\/03\/2025 12:37"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Caimán Dorado","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-12T20:15:57Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":"mangelgg@gmail.com","customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"002180173419260258","Estado":"🟢 Activo","Fecha Ultima Actualizacion":"📆🔄️ 15/03/2025 12:37","Cliente":"141","URL":"🌐 https://sistema.siip.mx/crm/client/141","Nombre":"👤 El Caimán Dorado","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲270 pendientes","Fecha Ultimo Pago":"📆💸 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳","user name":"Daniel Humberto 🐁","Monto Ultimo Pago":"💲 30","Domicilio":"📍 Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Resumen":"{\"Cliente\": \"141\",\"Domicilio\": \"\"Nombre\": \"El Caimán Dorado\",\"URL\": \"https://sistema.siip.mx/crm/client/141\",\"Saldo Actual\": \"💲270 pendientes\",\"Monto Ultimo Pago\": \"$ 30\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"10/03/2025 18:21\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-15 18:37:15.447133] [notice] Logging level set to:debug -[2025-03-15 18:37:15.682687] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-15 18:37:15.682776] [debug] Valor de JSON: {"uuid":"c0a38c29-ba88-4ee7-a5f8-68879cbf94c1","changeType":"edit","entity":"service","entityId":"128","eventName":"service.edit","extraData":{"entity":{"id":128,"prepaid":false,"clientId":162,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-12T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-28T00:00:00-0600","unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":136,"startDate":"2025-03-10T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":142,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-15T12:37:13-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":128,"prepaid":false,"clientId":162,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-12T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-28T00:00:00-0600","unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":136,"startDate":"2025-03-10T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":142,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-15T12:37:13-0600"}],"surcharges":[]}}} - -[2025-03-15 18:37:15.682883] [debug] Se editó el servicio a un cliente - -[2025-03-15 18:37:15.682919] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-15 18:37:15.682929] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-15 18:37:15.682969] [info] {"uuid":"c0a38c29-ba88-4ee7-a5f8-68879cbf94c1","changeType":"edit","entity":"service","entityId":128,"message":null,"clientId":162,"eventName":"service.edit","clientData":{"id":162,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":"2025-01-10T10:32:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Edward","lastName":"Elric","username":null,"contacts":[{"id":166,"clientId":162,"email":"eduardelric@gmail.com","phone":"5214181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":159,"clientId":162,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"434876867834423324","clientZoneVisible":true},{"id":160,"clientId":162,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RYsuykCEvupaGF","clientZoneVisible":true},{"id":161,"clientId":162,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180599808752427","clientZoneVisible":true}],"accountBalance":-216.67,"accountCredit":0,"accountOutstanding":216.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d84315","addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":128,"prepaid":false,"clientId":162,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-12T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-28T00:00:00-0600","unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":136,"startDate":"2025-03-10T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":142,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"}],"surcharges":[]},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Edward Elric - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 15\/03\/2025 12:37"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Caimán Dorado","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-12T20:15:57Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":"mangelgg@gmail.com","customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"002180173419260258","Estado":"🟢 Activo","Fecha Ultima Actualizacion":"📆🔄️ 15/03/2025 12:37","Cliente":"141","URL":"🌐 https://sistema.siip.mx/crm/client/141","Nombre":"👤 El Caimán Dorado","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲270 pendientes","Fecha Ultimo Pago":"📆💸 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳","user name":"Daniel Humberto 🐁","Monto Ultimo Pago":"💲 30","Domicilio":"📍 Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Resumen":"{\"Cliente\": \"141\",\"Domicilio\": \"\"Nombre\": \"El Caimán Dorado\",\"URL\": \"https://sistema.siip.mx/crm/client/141\",\"Saldo Actual\": \"💲270 pendientes\",\"Monto Ultimo Pago\": \"$ 30\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"10/03/2025 18:21\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-15 18:37:17.392867] [notice] Logging level set to:debug -[2025-03-15 18:37:17.560973] [debug] valor el evento recibido por webhook: service.postpone - -[2025-03-15 18:37:17.561044] [debug] Valor de JSON: {"uuid":"e8506608-11bb-415d-8ea4-180631685a08","changeType":"postpone","entity":"service","entityId":"128","eventName":"service.postpone","extraData":{"entity":{"id":128,"prepaid":false,"clientId":162,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-12T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-28T00:00:00-0600","unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":136,"startDate":"2025-03-10T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":142,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-15T12:37:13-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":128,"prepaid":false,"clientId":162,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-12T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-28T00:00:00-0600","unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":136,"startDate":"2025-03-10T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":142,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-15T12:37:13-0600"}],"surcharges":[]}}} - -[2025-03-15 18:37:17.561181] [debug] Se pospuso la suspención del servicio a un cliente - -[2025-03-15 18:37:17.561227] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-15 18:37:17.561237] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-15 18:37:17.561276] [info] {"uuid":"e8506608-11bb-415d-8ea4-180631685a08","changeType":"postpone","entity":"service","entityId":128,"message":null,"clientId":162,"eventName":"service.postpone","clientData":{"id":162,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":"2025-01-10T10:32:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Edward","lastName":"Elric","username":null,"contacts":[{"id":166,"clientId":162,"email":"eduardelric@gmail.com","phone":"5214181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":159,"clientId":162,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"434876867834423324","clientZoneVisible":true},{"id":160,"clientId":162,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RYsuykCEvupaGF","clientZoneVisible":true},{"id":161,"clientId":162,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180599808752427","clientZoneVisible":true}],"accountBalance":-216.67,"accountCredit":0,"accountOutstanding":216.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d84315","addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":128,"prepaid":false,"clientId":162,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-12T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-28T00:00:00-0600","unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":136,"startDate":"2025-03-10T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":142,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"}],"surcharges":[]},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Edward Elric - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 15\/03\/2025 12:37"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Caimán Dorado","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-12T20:15:57Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","LIA"],"assignedUser":"mangelgg@gmail.com","customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"002180173419260258","Estado":"🟢 Activo","Fecha Ultima Actualizacion":"📆🔄️ 15/03/2025 12:37","Cliente":"141","URL":"🌐 https://sistema.siip.mx/crm/client/141","Nombre":"👤 El Caimán Dorado","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲270 pendientes","Fecha Ultimo Pago":"📆💸 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳","user name":"Daniel Humberto 🐁","Monto Ultimo Pago":"💲 30","Domicilio":"📍 Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Resumen":"{\"Cliente\": \"141\",\"Domicilio\": \"\"Nombre\": \"El Caimán Dorado\",\"URL\": \"https://sistema.siip.mx/crm/client/141\",\"Saldo Actual\": \"💲270 pendientes\",\"Monto Ultimo Pago\": \"$ 30\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"10/03/2025 18:21\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":3,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-15 18:41:41.996454] [notice] Logging level set to:debug -[2025-03-15 18:41:42.395997] [debug] valor el evento recibido por webhook: service.suspend_cancel - -[2025-03-15 18:41:42.396070] [debug] Valor de JSON: {"uuid":"3f9ddb8e-f46c-4084-acd1-0eca9fda73d0","changeType":"unsuspend","entity":"service","entityId":"8","eventName":"service.suspend_cancel","extraData":{"entity":{"id":8,"prepaid":false,"clientId":8,"status":1,"name":"INTERMEDIO","fullAddress":"EL BOBO, Dolores Hidalgo, 37800","street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.21484,"addressGpsLon":-100.8478122,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-27T00:00:00-0600","unmsClientSiteId":"ec679b32-9bca-4a26-8168-80e3e05b8f66","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":24,"startDate":"2024-02-15T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":144,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-15T12:41:41-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":8,"prepaid":false,"clientId":8,"status":3,"name":"INTERMEDIO","fullAddress":"EL BOBO, Dolores Hidalgo, 37800","street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.21484,"addressGpsLon":-100.8478122,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-27T00:00:00-0600","unmsClientSiteId":"ec679b32-9bca-4a26-8168-80e3e05b8f66","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":24,"startDate":"2024-02-15T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":144,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-15T12:41:41-0600"}],"surcharges":[]}}} - -[2025-03-15 18:41:42.396298] [debug] Se reactivó el servicio a un cliente - -[2025-03-15 18:41:42.514362] [notice] Logging level set to:debug -[2025-03-15 18:41:42.789344] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-15 18:41:42.789417] [debug] Valor de JSON: {"uuid":"8e4fd158-8652-475e-b100-efb364709d88","changeType":"edit","entity":"service","entityId":"8","eventName":"service.edit","extraData":{"entity":{"id":8,"prepaid":false,"clientId":8,"status":1,"name":"INTERMEDIO","fullAddress":"EL BOBO, Dolores Hidalgo, 37800","street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.21484,"addressGpsLon":-100.8478122,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-27T00:00:00-0600","unmsClientSiteId":"ec679b32-9bca-4a26-8168-80e3e05b8f66","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":24,"startDate":"2024-02-15T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":144,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-15T12:41:41-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":8,"prepaid":false,"clientId":8,"status":3,"name":"INTERMEDIO","fullAddress":"EL BOBO, Dolores Hidalgo, 37800","street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.21484,"addressGpsLon":-100.8478122,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-27T00:00:00-0600","unmsClientSiteId":"ec679b32-9bca-4a26-8168-80e3e05b8f66","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":24,"startDate":"2024-02-15T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":144,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-15T12:41:41-0600"}],"surcharges":[]}}} - -[2025-03-15 18:41:42.789535] [debug] Se editó el servicio a un cliente - -[2025-03-15 18:42:29.956559] [notice] Logging level set to:debug -[2025-03-15 18:42:30.118731] [debug] valor el evento recibido por webhook: service.suspend_cancel - -[2025-03-15 18:42:30.118803] [debug] Valor de JSON: {"uuid":"0b7b1713-a015-495a-8cd1-574afb9df37e","changeType":"unsuspend","entity":"service","entityId":"10","eventName":"service.suspend_cancel","extraData":{"entity":{"id":10,"prepaid":false,"clientId":10,"status":1,"name":"plan300","fullAddress":"SANTA BARBARA, Dolores Hidalgo, 37800","street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1574,"addressGpsLon":-100.934617,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00: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":"2025-02-27T00:00:00-0600","unmsClientSiteId":"9eda2636-200a-4dbc-a67f-10fa143242c3","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":3,"startDate":"2024-01-29T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":143,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-15T12:42:29-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":10,"prepaid":false,"clientId":10,"status":3,"name":"plan300","fullAddress":"SANTA BARBARA, Dolores Hidalgo, 37800","street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1574,"addressGpsLon":-100.934617,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00: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":"2025-02-27T00:00:00-0600","unmsClientSiteId":"9eda2636-200a-4dbc-a67f-10fa143242c3","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":3,"startDate":"2024-01-29T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":143,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-15T12:42:29-0600"}],"surcharges":[]}}} - -[2025-03-15 18:42:30.119019] [debug] Se reactivó el servicio a un cliente - -[2025-03-15 18:42:30.233427] [notice] Logging level set to:debug -[2025-03-15 18:42:30.357199] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-15 18:42:30.357264] [debug] Valor de JSON: {"uuid":"b79255bf-d59c-4b0d-a464-90dad96a7b8d","changeType":"edit","entity":"service","entityId":"10","eventName":"service.edit","extraData":{"entity":{"id":10,"prepaid":false,"clientId":10,"status":1,"name":"plan300","fullAddress":"SANTA BARBARA, Dolores Hidalgo, 37800","street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1574,"addressGpsLon":-100.934617,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00: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":"2025-02-27T00:00:00-0600","unmsClientSiteId":"9eda2636-200a-4dbc-a67f-10fa143242c3","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":3,"startDate":"2024-01-29T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":143,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-15T12:42:29-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":10,"prepaid":false,"clientId":10,"status":3,"name":"plan300","fullAddress":"SANTA BARBARA, Dolores Hidalgo, 37800","street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1574,"addressGpsLon":-100.934617,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00: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":"2025-02-27T00:00:00-0600","unmsClientSiteId":"9eda2636-200a-4dbc-a67f-10fa143242c3","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":3,"startDate":"2024-01-29T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":143,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-15T12:42:29-0600"}],"surcharges":[]}}} - -[2025-03-15 18:42:30.357373] [debug] Se editó el servicio a un cliente - -[2025-03-15 18:42:30.468437] [notice] Logging level set to:debug -[2025-03-15 18:42:30.592257] [debug] valor el evento recibido por webhook: service.postpone - -[2025-03-15 18:42:30.592325] [debug] Valor de JSON: {"uuid":"c2a646cc-7dc4-4a47-a1b0-ae6ecfd0b76d","changeType":"postpone","entity":"service","entityId":"10","eventName":"service.postpone","extraData":{"entity":{"id":10,"prepaid":false,"clientId":10,"status":1,"name":"plan300","fullAddress":"SANTA BARBARA, Dolores Hidalgo, 37800","street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1574,"addressGpsLon":-100.934617,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00: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":"2025-02-27T00:00:00-0600","unmsClientSiteId":"9eda2636-200a-4dbc-a67f-10fa143242c3","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":3,"startDate":"2024-01-29T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":143,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-15T12:42:29-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":10,"prepaid":false,"clientId":10,"status":3,"name":"plan300","fullAddress":"SANTA BARBARA, Dolores Hidalgo, 37800","street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1574,"addressGpsLon":-100.934617,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00: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":"2025-02-27T00:00:00-0600","unmsClientSiteId":"9eda2636-200a-4dbc-a67f-10fa143242c3","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":3,"startDate":"2024-01-29T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":143,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-15T12:42:29-0600"}],"surcharges":[]}}} - -[2025-03-15 18:42:30.592448] [debug] Se pospuso la suspención del servicio a un cliente - -[2025-03-16 0:30:18.740664] [notice] Logging level set to:debug -[2025-03-16 0:30:18.872168] [debug] valor el evento recibido por webhook: service.suspend_cancel - -[2025-03-16 0:30:18.872243] [debug] Valor de JSON: {"uuid":"088f05bc-5ae2-4b32-bfe8-3cb8b53c0a00","changeType":"unsuspend","entity":"service","entityId":"12","eventName":"service.suspend_cancel","extraData":{"entity":{"id":12,"prepaid":false,"clientId":12,"status":1,"name":"INTERMEDIO","fullAddress":"DOLORES HIDALGO","street1":null,"street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1574,"addressGpsLon":-100.934617,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-09-01T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-27T00:00:00-0600","unmsClientSiteId":"3e675413-898b-41df-b264-63238da9d11e","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":8,"startDate":"2024-02-13T00:00:00-0600","endDate":"2025-03-15T18:30:18-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":12,"prepaid":false,"clientId":12,"status":3,"name":"INTERMEDIO","fullAddress":"DOLORES HIDALGO","street1":null,"street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1574,"addressGpsLon":-100.934617,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-09-01T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-27T00:00:00-0600","unmsClientSiteId":"3e675413-898b-41df-b264-63238da9d11e","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":8,"startDate":"2024-02-13T00:00:00-0600","endDate":"2025-03-15T18:30:18-0600"}],"surcharges":[]}}} - -[2025-03-16 0:30:18.872481] [debug] Se reactivó el servicio a un cliente - -[2025-03-16 0:30:18.872581] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-16 0:30:18.872595] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-16 0:30:18.872638] [info] {"uuid":"088f05bc-5ae2-4b32-bfe8-3cb8b53c0a00","changeType":"unsuspend","entity":"service","entityId":12,"message":null,"clientId":12,"eventName":"service.suspend_cancel","clientData":{"id":12,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"DOLORES HIDALGO","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MIRIAM","lastName":"ZURITA RAMIREZ","username":"mzurita12","contacts":[{"id":13,"clientId":12,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-8433.33,"accountCredit":0,"accountOutstanding":8433.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":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":12,"prepaid":false,"clientId":12,"status":1,"name":"INTERMEDIO","fullAddress":"DOLORES HIDALGO","street1":null,"street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1574,"addressGpsLon":-100.934617,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-09-01T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-27T00:00:00-0600","unmsClientSiteId":"3e675413-898b-41df-b264-63238da9d11e","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":8,"startDate":"2024-02-13T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"}],"surcharges":[]},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: MIRIAM ZURITA RAMIREZ - -UUID: 7ec1948ad8af4bcd8eff0d7c2a995d09 - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 15\/03\/2025 18:30"}} - -Response Patch 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","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","Fecha Ultimo Pago":"📆💸 02/01/2025 17:44 con Tarjeta de crédito Stripe 💳","Saldo Actual":"💲30 a favor","user name":"Míriam Moctezuma","Domicilio":"📍 DOCTOR MORA #51,FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo C.I.N., 37800","Resumen":"{\"Cliente\": \"574\",\"Domicilio\": \"\"Nombre\": \"ALEJANDRO MOCTEZUMA ALMAGUER\",\"URL\": \"https://sistema.siip.mx/crm/client/574\",\"Saldo Actual\": \"💲30 a favor\",\"Monto Ultimo Pago\": \"$ 10\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 02/01/2025 17:44 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"11/03/2025 10:18\",\"Clabe Interbancaria\": \"124180650725363841\",\"Site\": \"GPE1\",\"Antena/Sectorial\": \"Rocket Prism 5AC 172.16.12.12/24\"}","Antena/Sectorial":"Rocket Prism 5AC 172.16.12.12/24","Site":"GPE1","Cliente":"574","Fecha Ultima Actualizacion":"📆🔄️ 15/03/2025 18:30","Nombre":"👤 ALEJANDRO MOCTEZUMA ALMAGUER","URL":"🌐 https://sistema.siip.mx/crm/client/574","Monto Ultimo Pago":"💲 10","Estado":"🟢 Activo"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-16 0:30:22.138591] [notice] Logging level set to:debug -[2025-03-16 0:30:22.653455] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-16 0:30:22.653522] [debug] Valor de JSON: {"uuid":"aa38ef75-1946-4a3a-9565-082c96787af5","changeType":"edit","entity":"service","entityId":"12","eventName":"service.edit","extraData":{"entity":{"id":12,"prepaid":false,"clientId":12,"status":1,"name":"INTERMEDIO","fullAddress":"DOLORES HIDALGO","street1":null,"street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1574,"addressGpsLon":-100.934617,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-09-01T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-27T00:00:00-0600","unmsClientSiteId":"3e675413-898b-41df-b264-63238da9d11e","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":8,"startDate":"2024-02-13T00:00:00-0600","endDate":"2025-03-15T18:30:18-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":12,"prepaid":false,"clientId":12,"status":3,"name":"INTERMEDIO","fullAddress":"DOLORES HIDALGO","street1":null,"street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1574,"addressGpsLon":-100.934617,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-09-01T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-27T00:00:00-0600","unmsClientSiteId":"3e675413-898b-41df-b264-63238da9d11e","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":8,"startDate":"2024-02-13T00:00:00-0600","endDate":"2025-03-15T18:30:18-0600"}],"surcharges":[]}}} - -[2025-03-16 0:30:22.653647] [debug] Se editó el servicio a un cliente - -[2025-03-16 0:30:22.653691] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-16 0:30:22.653701] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-16 0:30:22.653736] [info] {"uuid":"aa38ef75-1946-4a3a-9565-082c96787af5","changeType":"edit","entity":"service","entityId":12,"message":null,"clientId":12,"eventName":"service.edit","clientData":{"id":12,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"DOLORES HIDALGO","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MIRIAM","lastName":"ZURITA RAMIREZ","username":"mzurita12","contacts":[{"id":13,"clientId":12,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-8433.33,"accountCredit":0,"accountOutstanding":8433.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":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":12,"prepaid":false,"clientId":12,"status":1,"name":"INTERMEDIO","fullAddress":"DOLORES HIDALGO","street1":null,"street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1574,"addressGpsLon":-100.934617,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-09-01T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-27T00:00:00-0600","unmsClientSiteId":"3e675413-898b-41df-b264-63238da9d11e","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":8,"startDate":"2024-02-13T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"}],"surcharges":[]},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: MIRIAM ZURITA RAMIREZ - -UUID: 7ec1948ad8af4bcd8eff0d7c2a995d09 - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 15\/03\/2025 18:30"}} - -Response Patch 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","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","Fecha Ultimo Pago":"📆💸 02/01/2025 17:44 con Tarjeta de crédito Stripe 💳","Saldo Actual":"💲30 a favor","user name":"Míriam Moctezuma","Domicilio":"📍 DOCTOR MORA #51,FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo C.I.N., 37800","Resumen":"{\"Cliente\": \"574\",\"Domicilio\": \"\"Nombre\": \"ALEJANDRO MOCTEZUMA ALMAGUER\",\"URL\": \"https://sistema.siip.mx/crm/client/574\",\"Saldo Actual\": \"💲30 a favor\",\"Monto Ultimo Pago\": \"$ 10\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 02/01/2025 17:44 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"11/03/2025 10:18\",\"Clabe Interbancaria\": \"124180650725363841\",\"Site\": \"GPE1\",\"Antena/Sectorial\": \"Rocket Prism 5AC 172.16.12.12/24\"}","Antena/Sectorial":"Rocket Prism 5AC 172.16.12.12/24","Site":"GPE1","Cliente":"574","Fecha Ultima Actualizacion":"📆🔄️ 15/03/2025 18:30","Nombre":"👤 ALEJANDRO MOCTEZUMA ALMAGUER","URL":"🌐 https://sistema.siip.mx/crm/client/574","Monto Ultimo Pago":"💲 10","Estado":"🟢 Activo"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-16 6:25:03.330698] [notice] Logging level set to:debug -[2025-03-16 6:25:03.588861] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-16 6:25:03.588917] [debug] Valor de JSON: {"uuid":"5803bd7d-365e-4387-9083-c5b3aa39c64c","changeType":"overdue","entity":"invoice","entityId":"1686","eventName":"invoice.overdue","extraData":{"entity":{"id":1686,"clientId":132,"number":"001637","createdDate":"2025-03-01T10:00:01-0600","dueDate":"2025-03-15T10:00:01-0600","emailSentDate":"2025-03-16T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-27T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1689,"type":"service","label":"plan300 01\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":115,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Marto","clientLastName":"Vago Payaso","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"20 Avenida Norte","clientStreet2":null,"clientCity":"Guanajuato","clientCountryId":173,"clientStateId":null,"clientZipCode":"37807","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-16 6:25:03.589179] [debug] Factura vencida - -[2025-03-16 6:25:03.589227] [debug] datos del notification para el invoice overdue:{"uuid":"5803bd7d-365e-4387-9083-c5b3aa39c64c","changeType":"overdue","entity":"invoice","entityId":1686,"message":null,"clientId":132,"eventName":"invoice.overdue","clientData":{"id":132,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"20 Avenida Norte","street2":null,"city":"Guanajuato","countryId":173,"stateId":null,"zipCode":"37807","fullAddress":"Avenida Norte 20, Dolores, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Marto","lastName":"Vago Payaso","username":null,"contacts":[{"id":136,"clientId":132,"email":"vagopayaso@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-2400,"accountCredit":0,"accountOutstanding":2400,"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":1686,"clientId":132,"number":"001637","createdDate":"2025-03-01T10:00:01-0600","dueDate":"2025-03-15T10:00:01-0600","emailSentDate":"2025-03-16T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-02-27T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1689,"type":"service","label":"plan300 01\/02\/2025 \u2013 28\/02\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":115,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Marto","clientLastName":"Vago Payaso","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"20 Avenida Norte","clientStreet2":null,"clientCity":"Guanajuato","clientCountryId":173,"clientStateId":null,"clientZipCode":"37807","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-16 6:25:03.589252] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -contac vacio -[2025-03-16 6:25:03.589415] [debug] Numero de cel obtenido - -[2025-03-16 6:25:03.589426] [warning] No se encontró un teléfono celular válido para el cliente: 132 -[2025-03-16 18:30:02.671165] [notice] Logging level set to:debug -[2025-03-16 18:30:02.907891] [debug] valor el evento recibido por webhook: service.suspend - -[2025-03-16 18:30:02.907959] [debug] Valor de JSON: {"uuid":"81298441-2ee4-460d-a823-75bb93d954a4","changeType":"suspend","entity":"service","entityId":"10","eventName":"service.suspend","extraData":{"entity":{"id":10,"prepaid":false,"clientId":10,"status":3,"name":"plan300","fullAddress":"SANTA BARBARA, Dolores Hidalgo, 37800","street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1574,"addressGpsLon":-100.934617,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00: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":"2025-02-27T00:00:00-0600","unmsClientSiteId":"9eda2636-200a-4dbc-a67f-10fa143242c3","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":3,"startDate":"2024-01-29T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":143,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":146,"startDate":"2025-03-16T12:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":10,"prepaid":false,"clientId":10,"status":1,"name":"plan300","fullAddress":"SANTA BARBARA, Dolores Hidalgo, 37800","street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1574,"addressGpsLon":-100.934617,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00: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":"2025-02-27T00:00:00-0600","unmsClientSiteId":"9eda2636-200a-4dbc-a67f-10fa143242c3","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":3,"startDate":"2024-01-29T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":143,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":146,"startDate":"2025-03-16T12:30:02-0600","endDate":null}],"surcharges":[]}}} - -[2025-03-16 18:30:02.908174] [debug] Se suspendió el servicio a un cliente - -[2025-03-16 18:30:03.096263] [notice] Logging level set to:debug -[2025-03-16 18:30:03.260379] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-16 18:30:03.260443] [debug] Valor de JSON: {"uuid":"715aa9c3-19fb-491e-b779-b13e0dd38f83","changeType":"edit","entity":"service","entityId":"10","eventName":"service.edit","extraData":{"entity":{"id":10,"prepaid":false,"clientId":10,"status":3,"name":"plan300","fullAddress":"SANTA BARBARA, Dolores Hidalgo, 37800","street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1574,"addressGpsLon":-100.934617,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00: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":"2025-02-27T00:00:00-0600","unmsClientSiteId":"9eda2636-200a-4dbc-a67f-10fa143242c3","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":3,"startDate":"2024-01-29T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":143,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":146,"startDate":"2025-03-16T12:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":10,"prepaid":false,"clientId":10,"status":1,"name":"plan300","fullAddress":"SANTA BARBARA, Dolores Hidalgo, 37800","street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1574,"addressGpsLon":-100.934617,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00: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":"2025-02-27T00:00:00-0600","unmsClientSiteId":"9eda2636-200a-4dbc-a67f-10fa143242c3","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":3,"startDate":"2024-01-29T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":143,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":146,"startDate":"2025-03-16T12:30:02-0600","endDate":null}],"surcharges":[]}}} - -[2025-03-16 18:30:03.260555] [debug] Se editó el servicio a un cliente - -[2025-03-16 21:01:01.935442] [notice] Logging level set to:debug -[2025-03-16 21:01:02.106260] [debug] valor el evento recibido por webhook: service.suspend - -[2025-03-16 21:01:02.106334] [debug] Valor de JSON: {"uuid":"45e83c66-1460-4fb0-9aaa-70b775828fe6","changeType":"suspend","entity":"service","entityId":"14","eventName":"service.suspend","extraData":{"entity":{"id":14,"prepaid":false,"clientId":14,"status":3,"name":"plan300","fullAddress":"LINDAVISTA, Dolores Hidalgo, 37800","street1":"LINDAVISTA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1499891,"addressGpsLon":-100.9582493,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00: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":"2025-02-27T00:00:00-0600","unmsClientSiteId":"4ef2c0ab-7942-4afd-ac41-2b7ede9248c7","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":104,"startDate":"2024-07-16T00:00:00-0600","endDate":null},{"id":147,"startDate":"2025-03-16T15:01:01-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":14,"prepaid":false,"clientId":14,"status":1,"name":"plan300","fullAddress":"LINDAVISTA, Dolores Hidalgo, 37800","street1":"LINDAVISTA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1499891,"addressGpsLon":-100.9582493,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00: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":"2025-02-27T00:00:00-0600","unmsClientSiteId":"4ef2c0ab-7942-4afd-ac41-2b7ede9248c7","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":104,"startDate":"2024-07-16T00:00:00-0600","endDate":null},{"id":147,"startDate":"2025-03-16T15:01:01-0600","endDate":null}],"surcharges":[]}}} - -[2025-03-16 21:01:02.106657] [debug] Se suspendió el servicio a un cliente - -[2025-03-16 21:01:02.106735] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-16 21:01:02.106749] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-16 21:01:02.106787] [info] {"uuid":"45e83c66-1460-4fb0-9aaa-70b775828fe6","changeType":"suspend","entity":"service","entityId":14,"message":null,"clientId":14,"eventName":"service.suspend","clientData":{"id":14,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LINDAVISTA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LINDAVISTA, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALEXANDRO","lastName":"ARIAS","username":"aarias14","contacts":[{"id":15,"clientId":14,"email":null,"phone":"+1 682-260-4759","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-2700,"accountCredit":0,"accountOutstanding":2700,"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":{"id":14,"prepaid":false,"clientId":14,"status":3,"name":"plan300","fullAddress":"LINDAVISTA, Dolores Hidalgo, 37800","street1":"LINDAVISTA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1499891,"addressGpsLon":-100.9582493,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00: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":"2025-02-27T00:00:00-0600","unmsClientSiteId":"4ef2c0ab-7942-4afd-ac41-2b7ede9248c7","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":104,"startDate":"2024-07-16T00:00:00-0600","endDate":null},{"id":147,"startDate":"2025-03-16T00:00:00-0600","endDate":null}],"surcharges":[],"stopReason":"Payments overdue"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: ALEXANDRO ARIAS - -UUID: be760b254a694e8b94b002789d68d388 - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 16\/03\/2025 15:01"}} - -Response Patch CallBell: {"contact":{"uuid":"be760b254a694e8b94b002789d68d388","name":"ALEXANDRO ARIAS","phoneNumber":"+1 682-260-4759","avatarUrl":null,"createdAt":"2024-01-29T18:03:03Z","closedAt":"2024-01-29T18:32:46Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/be760b254a694e8b94b002789d68d388","conversationHref":"https://dash.callbell.eu/chat/b95896c60a7e4541b9d378d9d9ef938b","tags":[],"assignedUser":null,"customFields":{"Antena/Sectorial":"14","Nombre":"👤 ALEXANDRO ARIAS","Cliente":"14","Domicilio":"📍 LINDAVISTA, Dolores Hidalgo, 37800","Fecha Ultimo Pago":"📆💸 29/01/2024 12:00 con Efectivo 💵","Monto Ultimo Pago":"💲 1800","Resumen":"{\"Cliente\": \"14\",\"Domicilio\": \"📍 LINDAVISTA, Dolores Hidalgo, 37800\",\"Nombre\": \"👤 ALEXANDRO ARIAS\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/14\",\"Saldo Actual\": \"💲2700 pendientes\",\"Monto Ultimo Pago\": \"💲 1800\",\"Estado\": \"🔴 Suspendido\",\"Fecha Ultimo Pago\": \"📆💰 29/01/2024 12:00 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 28/02/2025 10:02\",\"Clabe Interbancaria\": \"\"}","Saldo Actual":"💲2700 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/14","Estado":"🟠 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 16/03/2025 15:01"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-16 21:01:03.874655] [notice] Logging level set to:debug -[2025-03-16 21:01:04.035068] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-16 21:01:04.035139] [debug] Valor de JSON: {"uuid":"7c3251ba-043f-45e1-b278-3f19ec58f720","changeType":"edit","entity":"service","entityId":"14","eventName":"service.edit","extraData":{"entity":{"id":14,"prepaid":false,"clientId":14,"status":3,"name":"plan300","fullAddress":"LINDAVISTA, Dolores Hidalgo, 37800","street1":"LINDAVISTA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1499891,"addressGpsLon":-100.9582493,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00: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":"2025-02-27T00:00:00-0600","unmsClientSiteId":"4ef2c0ab-7942-4afd-ac41-2b7ede9248c7","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":104,"startDate":"2024-07-16T00:00:00-0600","endDate":null},{"id":147,"startDate":"2025-03-16T15:01:01-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":14,"prepaid":false,"clientId":14,"status":1,"name":"plan300","fullAddress":"LINDAVISTA, Dolores Hidalgo, 37800","street1":"LINDAVISTA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1499891,"addressGpsLon":-100.9582493,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00: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":"2025-02-27T00:00:00-0600","unmsClientSiteId":"4ef2c0ab-7942-4afd-ac41-2b7ede9248c7","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":104,"startDate":"2024-07-16T00:00:00-0600","endDate":null},{"id":147,"startDate":"2025-03-16T15:01:01-0600","endDate":null}],"surcharges":[]}}} - -[2025-03-16 21:01:04.035252] [debug] Se editó el servicio a un cliente - -[2025-03-16 21:01:04.035284] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-16 21:01:04.035294] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-16 21:01:04.035329] [info] {"uuid":"7c3251ba-043f-45e1-b278-3f19ec58f720","changeType":"edit","entity":"service","entityId":14,"message":null,"clientId":14,"eventName":"service.edit","clientData":{"id":14,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LINDAVISTA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LINDAVISTA, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALEXANDRO","lastName":"ARIAS","username":"aarias14","contacts":[{"id":15,"clientId":14,"email":null,"phone":"+1 682-260-4759","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-2700,"accountCredit":0,"accountOutstanding":2700,"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":{"id":14,"prepaid":false,"clientId":14,"status":3,"name":"plan300","fullAddress":"LINDAVISTA, Dolores Hidalgo, 37800","street1":"LINDAVISTA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1499891,"addressGpsLon":-100.9582493,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00: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":"2025-02-27T00:00:00-0600","unmsClientSiteId":"4ef2c0ab-7942-4afd-ac41-2b7ede9248c7","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":104,"startDate":"2024-07-16T00:00:00-0600","endDate":null},{"id":147,"startDate":"2025-03-16T00:00:00-0600","endDate":null}],"surcharges":[],"stopReason":"Payments overdue"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: ALEXANDRO ARIAS - -UUID: be760b254a694e8b94b002789d68d388 - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 16\/03\/2025 15:01"}} - -Response Patch CallBell: {"contact":{"uuid":"be760b254a694e8b94b002789d68d388","name":"ALEXANDRO ARIAS","phoneNumber":"+1 682-260-4759","avatarUrl":null,"createdAt":"2024-01-29T18:03:03Z","closedAt":"2024-01-29T18:32:46Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/be760b254a694e8b94b002789d68d388","conversationHref":"https://dash.callbell.eu/chat/b95896c60a7e4541b9d378d9d9ef938b","tags":[],"assignedUser":null,"customFields":{"Antena/Sectorial":"14","Nombre":"👤 ALEXANDRO ARIAS","Cliente":"14","Domicilio":"📍 LINDAVISTA, Dolores Hidalgo, 37800","Fecha Ultimo Pago":"📆💸 29/01/2024 12:00 con Efectivo 💵","Monto Ultimo Pago":"💲 1800","Resumen":"{\"Cliente\": \"14\",\"Domicilio\": \"📍 LINDAVISTA, Dolores Hidalgo, 37800\",\"Nombre\": \"👤 ALEXANDRO ARIAS\",\"URL\": \"🌐 https://sistema.siip.mx/crm/client/14\",\"Saldo Actual\": \"💲2700 pendientes\",\"Monto Ultimo Pago\": \"💲 1800\",\"Estado\": \"🔴 Suspendido\",\"Fecha Ultimo Pago\": \"📆💰 29/01/2024 12:00 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 28/02/2025 10:02\",\"Clabe Interbancaria\": \"\"}","Saldo Actual":"💲2700 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/14","Estado":"🟠 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 16/03/2025 15:01"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-18 18:30:02.885802] [notice] Logging level set to:debug -[2025-03-18 18:30:03.113569] [debug] valor el evento recibido por webhook: service.suspend - -[2025-03-18 18:30:03.113656] [debug] Valor de JSON: {"uuid":"100cee95-fcb4-4fc0-bbcc-a5abfff0db0f","changeType":"suspend","entity":"service","entityId":"128","eventName":"service.suspend","extraData":{"entity":{"id":128,"prepaid":false,"clientId":162,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-12T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-28T00:00:00-0600","unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":136,"startDate":"2025-03-10T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":142,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":148,"startDate":"2025-03-18T12:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":128,"prepaid":false,"clientId":162,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-12T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-28T00:00:00-0600","unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":136,"startDate":"2025-03-10T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":142,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":148,"startDate":"2025-03-18T12:30:02-0600","endDate":null}],"surcharges":[]}}} - -[2025-03-18 18:30:03.113871] [debug] Se suspendió el servicio a un cliente - -[2025-03-18 18:30:03.113944] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-18 18:30:03.113955] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-18 18:30:03.113996] [info] {"uuid":"100cee95-fcb4-4fc0-bbcc-a5abfff0db0f","changeType":"suspend","entity":"service","entityId":128,"message":null,"clientId":162,"eventName":"service.suspend","clientData":{"id":162,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":"2025-01-10T10:32:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Edward","lastName":"Elric","username":null,"contacts":[{"id":166,"clientId":162,"email":"eduardelric@gmail.com","phone":"5214181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":159,"clientId":162,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"434876867834423324","clientZoneVisible":true},{"id":160,"clientId":162,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RYsuykCEvupaGF","clientZoneVisible":true},{"id":161,"clientId":162,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180599808752427","clientZoneVisible":true}],"accountBalance":-216.67,"accountCredit":0,"accountOutstanding":216.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d84315","addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":128,"prepaid":false,"clientId":162,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-12T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-28T00:00:00-0600","unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":136,"startDate":"2025-03-10T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":142,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":148,"startDate":"2025-03-18T00:00:00-0600","endDate":null}],"surcharges":[],"stopReason":"Payments overdue"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Edward Elric - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 18\/03\/2025 12:30"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Caimán Dorado","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"002180173419260258","Estado":"🟠 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 18/03/2025 12:30","Cliente":"141","URL":"🌐 https://sistema.siip.mx/crm/client/141","Nombre":"👤 El Caimán Dorado","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲270 pendientes","Fecha Ultimo Pago":"📆💸 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳","user name":"Daniel Humberto 🐁","Monto Ultimo Pago":"💲 30","Domicilio":"📍 Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Resumen":"{\"Cliente\": \"141\",\"Domicilio\": \"\"Nombre\": \"El Caimán Dorado\",\"URL\": \"https://sistema.siip.mx/crm/client/141\",\"Saldo Actual\": \"💲270 pendientes\",\"Monto Ultimo Pago\": \"$ 30\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"10/03/2025 18:21\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-18 18:30:04.892726] [notice] Logging level set to:debug -[2025-03-18 18:30:05.037880] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-18 18:30:05.037950] [debug] Valor de JSON: {"uuid":"ff87a51d-0518-4da8-81f8-7945530bf16b","changeType":"edit","entity":"service","entityId":"128","eventName":"service.edit","extraData":{"entity":{"id":128,"prepaid":false,"clientId":162,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-12T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-28T00:00:00-0600","unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":136,"startDate":"2025-03-10T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":142,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":148,"startDate":"2025-03-18T12:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":128,"prepaid":false,"clientId":162,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-12T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-28T00:00:00-0600","unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":136,"startDate":"2025-03-10T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":142,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":148,"startDate":"2025-03-18T12:30:02-0600","endDate":null}],"surcharges":[]}}} - -[2025-03-18 18:30:05.038060] [debug] Se editó el servicio a un cliente - -[2025-03-18 18:30:05.038093] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-18 18:30:05.038103] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-18 18:30:05.038149] [info] {"uuid":"ff87a51d-0518-4da8-81f8-7945530bf16b","changeType":"edit","entity":"service","entityId":128,"message":null,"clientId":162,"eventName":"service.edit","clientData":{"id":162,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":"2025-01-10T10:32:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Edward","lastName":"Elric","username":null,"contacts":[{"id":166,"clientId":162,"email":"eduardelric@gmail.com","phone":"5214181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":159,"clientId":162,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"434876867834423324","clientZoneVisible":true},{"id":160,"clientId":162,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RYsuykCEvupaGF","clientZoneVisible":true},{"id":161,"clientId":162,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180599808752427","clientZoneVisible":true}],"accountBalance":-216.67,"accountCredit":0,"accountOutstanding":216.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d84315","addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":128,"prepaid":false,"clientId":162,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-12T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-28T00:00:00-0600","unmsClientSiteId":"34a27b6d-077e-41e0-bd66-563deb4d1926","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":136,"startDate":"2025-03-10T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":142,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":148,"startDate":"2025-03-18T00:00:00-0600","endDate":null}],"surcharges":[],"stopReason":"Payments overdue"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Edward Elric - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 18\/03\/2025 12:30"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Caimán Dorado","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"002180173419260258","Estado":"🟠 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 18/03/2025 12:30","Cliente":"141","URL":"🌐 https://sistema.siip.mx/crm/client/141","Nombre":"👤 El Caimán Dorado","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲270 pendientes","Fecha Ultimo Pago":"📆💸 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳","user name":"Daniel Humberto 🐁","Monto Ultimo Pago":"💲 30","Domicilio":"📍 Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Resumen":"{\"Cliente\": \"141\",\"Domicilio\": \"\"Nombre\": \"El Caimán Dorado\",\"URL\": \"https://sistema.siip.mx/crm/client/141\",\"Saldo Actual\": \"💲270 pendientes\",\"Monto Ultimo Pago\": \"$ 30\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"10/03/2025 18:21\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-19 1:46:00.672415] [notice] Logging level set to:debug -[2025-03-19 1:46:00.754878] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-19 1:46:00.754973] [debug] Valor de JSON: {"uuid":"207f83b2-07e1-492e-8514-1864592d9277","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":2123.33,"accountCredit":2123.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas danydhsv2","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":2123.33,"accountCredit":2123.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-19 1:46:00.755183] [debug] Se actualiza a un cliente -[2025-03-19 1:46:00.755234] [debug] Valor de json_data: {"uuid":"207f83b2-07e1-492e-8514-1864592d9277","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":2123.33,"accountCredit":2123.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas danydhsv2","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":2123.33,"accountCredit":2123.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-19 1:46:00.755250] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-19 1:46:00.755260] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-19 1:46:00.755270] [debug] No hubo cambio de true a false en el campo isLead -[2025-03-19 1:46:00.755276] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-19 1:46:00.755285] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-19 1:46:00.755291] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-19 1:46:00.755300] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-19 1:46:00.755332] [debug] {"uuid":"207f83b2-07e1-492e-8514-1864592d9277","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":2123.33,"accountCredit":2123.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-19 1:46:00.755448] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-19 1:46:00.755462] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"207f83b2-07e1-492e-8514-1864592d9277","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":2123.33,"accountCredit":2123.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":607,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T23:45:46-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]}] - -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":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb22123.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 170","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb22123.33 a favor\",\"Monto Ultimo Pago\": \"$ 170\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07\/03\/2025 23:45 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"18\/03\/2025 19:46\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/03\/2025 23:45 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 18\/03\/2025 19:46","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲2123.33 a favor","Monto Ultimo Pago": "$ 170","Estado": "Suspendido","Fecha Ultimo Pago": " 07/03/2025 23:45 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "18/03/2025 19:46","Clabe Interbancaria": "0021804341999569810","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"0021804341999569810","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 18/03/2025 19:46","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲2123.33 a favor","Fecha Ultimo Pago":"📆💸 07/03/2025 23:45 con Tarjeta de crédito Stripe 💳","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲2123.33 a favor\",\"Monto Ultimo Pago\": \"$ 170\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/03/2025 23:45 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"18/03/2025 19:46\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Monto Ultimo Pago":"💲 170"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"0021804341999569810","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 18/03/2025 19:46","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲2123.33 a favor","Fecha Ultimo Pago":"📆💸 07/03/2025 23:45 con Tarjeta de crédito Stripe 💳","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲2123.33 a favor\",\"Monto Ultimo Pago\": \"$ 170\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/03/2025 23:45 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"18/03/2025 19:46\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Monto Ultimo Pago":"💲 170"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-19 14:01:12.566395] [notice] Logging level set to:debug -[2025-03-19 14:01:12.566523] [info] No UUID found in the webhook data -[2025-03-19 14:01:12.566540] [info] Evento de referencia de oxxo recibido - -[2025-03-19 14:01:12.566550] [info] Referencia persnoalizada, Valor del monto: 110 - -[2025-03-19 14:01:12.566564] [info] Creando referencia del cliente para OXXO: - -[2025-03-19 14:01:12.698693] [info] Stripe Customer ID obtenido: cus_PetN1dhr4rx0kX - -[2025-03-19 14:01:12.698738] [info] Monto proporcionado directamente: 110 - -[2025-03-19 14:01:12.698750] [info] Creando referencia en Stripe por 11000 para el cliente cus_PetN1dhr4rx0kX - -[2025-03-19 14:01:13.899139] [info] Referencia OXXO: 12345678901234657890123456789012 - -[2025-03-19 14:01:13.899686] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9SeUVPdHhMN01yS2NQYUZUdm1jMURQRDVsU084dkU50100K5S4CdYX - -[2025-03-19 14:01:13.927042] [error] Error al comunicarse con el servicio Puppeteer. -[2025-03-19 14:04:16.151752] [notice] Logging level set to:debug -[2025-03-19 14:04:16.398200] [debug] valor el evento recibido por webhook: payment.add - -[2025-03-19 14:04:16.398411] [debug] Valor de JSON: {"uuid":"e2e072c8-7916-490d-a92d-ed18e10f1389","changeType":"insert","entity":"payment","entityId":"609","eventName":"payment.add","extraData":{"entity":{"id":609,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-19T08:04:15-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]},"entityBeforeEdit":null}} - -[2025-03-19 14:04:16.398694] [debug] Notification encodificado en JSON:{"uuid":"e2e072c8-7916-490d-a92d-ed18e10f1389","changeType":"insert","entity":"payment","entityId":609,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":2233.33,"accountCredit":2233.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":609,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-19T08:04:15-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]}} - -[2025-03-19 14:04:16.398782] [debug] valor del payment data: {"id":609,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-19T08:04:15-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]} - -[2025-03-19 14:04:16.399038] [info] {"WhatsApp":["5214181878106"]} -[2025-03-19 14:04:16.399091] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-19 14:04:16.399130] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-19 14:04:16.399168] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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 - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png - -No se pudo obtener la lista de archivos de la carpeta FTP - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png" - }, - "template_values": ["Daniel Humberto Soto Villegas", "$110", "$2233.33 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"942480364ae24ac4a21eebc7b7ec1581","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":"e2e072c8-7916-490d-a92d-ed18e10f1389","changeType":"insert","entity":"payment","entityId":609,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":2233.33,"accountCredit":2233.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":609,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-19T08:04:15-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]}} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":609,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-19T08:04:15-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]}] - -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":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb22233.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 110","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb22233.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 19\/03\/2025 08:04 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"19\/03\/2025 08:04\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 19\/03\/2025 08:04 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/03\/2025 08:04","Clabe Interbancaria":null,"Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲2233.33 a favor","Monto Ultimo Pago": "$ 110","Estado": "Suspendido","Fecha Ultimo Pago": " 19/03/2025 08:04 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "19/03/2025 08:04","Clabe Interbancaria": "","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"0021804341999569810","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 19/03/2025 08:04","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲2233.33 a favor","Fecha Ultimo Pago":"📆💸 19/03/2025 08:04 con Tarjeta de crédito Stripe 💳","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 110","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲2233.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 19/03/2025 08:04 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"19/03/2025 08:04\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"0021804341999569810","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 19/03/2025 08:04","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲2233.33 a favor","Fecha Ultimo Pago":"📆💸 19/03/2025 08:04 con Tarjeta de crédito Stripe 💳","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 110","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲2233.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 19/03/2025 08:04 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"19/03/2025 08:04\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-19 14:04:23.946105] [notice] Logging level set to:debug -[2025-03-19 14:04:24.104240] [debug] valor el evento recibido por webhook: payment.edit - -[2025-03-19 14:04:24.104402] [debug] Valor de JSON: {"uuid":"d9f9a27e-d39c-4c54-80e0-d84ae464e477","changeType":"edit","entity":"payment","entityId":"609","eventName":"payment.edit","extraData":{"entity":{"id":609,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-19T08:04:15-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":609,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-19T08:04:15-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]}}} - -[2025-03-19 14:05:59.843828] [notice] Logging level set to:debug -[2025-03-19 14:05:59.844016] [info] No UUID found in the webhook data -[2025-03-19 14:05:59.844049] [info] Evento de referencia de oxxo recibido - -[2025-03-19 14:05:59.844070] [info] Referencia persnoalizada, Valor del monto: 110 - -[2025-03-19 14:05:59.844090] [info] Creando referencia del cliente para OXXO: - -[2025-03-19 14:05:59.977936] [info] Stripe Customer ID obtenido: cus_PetN1dhr4rx0kX - -[2025-03-19 14:05:59.978068] [info] Monto proporcionado directamente: 110 - -[2025-03-19 14:05:59.978113] [info] Creando referencia en Stripe por 11000 para el cliente cus_PetN1dhr4rx0kX - -[2025-03-19 14:06:01.060921] [info] Referencia OXXO: 12345678901234657890123456789012 - -[2025-03-19 14:06:01.061203] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9SeUVUd0hCblp4RGlSQ2owTnRRamtOYWVKb0hqclFD0100YDbqUSj2 - -[2025-03-19 14:06:01.171333] [error] Error al comunicarse con el servicio Puppeteer. -[2025-03-19 14:08:20.990943] [notice] Logging level set to:debug -[2025-03-19 14:08:20.991148] [info] No UUID found in the webhook data -[2025-03-19 14:08:20.991200] [info] Evento de referencia de oxxo recibido - -[2025-03-19 14:08:20.991213] [info] Referencia persnoalizada, Valor del monto: 110 - -[2025-03-19 14:08:20.991223] [info] Creando referencia del cliente para OXXO: - -[2025-03-19 14:08:21.113817] [info] Stripe Customer ID obtenido: cus_PetN1dhr4rx0kX - -[2025-03-19 14:08:21.113862] [info] Monto proporcionado directamente: 110 - -[2025-03-19 14:08:21.113874] [info] Creando referencia en Stripe por 11000 para el cliente cus_PetN1dhr4rx0kX - -[2025-03-19 14:08:22.233541] [info] Referencia OXXO: 12345678901234657890123456789012 - -[2025-03-19 14:08:22.233660] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9SeUVWSFNjYTVMMkhGeDY1WWRTVmlhaGdCeHdCYmV50100UKrLobGq - -[2025-03-19 14:08:22.244322] [error] Error al comunicarse con el servicio Puppeteer. -[2025-03-19 14:09:07.909733] [notice] Logging level set to:debug -[2025-03-19 14:09:08.019556] [debug] valor el evento recibido por webhook: payment.add - -[2025-03-19 14:09:08.019607] [debug] Valor de JSON: {"uuid":"019591a0-e346-4103-981a-049628c87763","changeType":"insert","entity":"payment","entityId":"610","eventName":"payment.add","extraData":{"entity":{"id":610,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-19T08:09:07-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]},"entityBeforeEdit":null}} - -[2025-03-19 14:09:08.019835] [debug] Notification encodificado en JSON:{"uuid":"019591a0-e346-4103-981a-049628c87763","changeType":"insert","entity":"payment","entityId":610,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":2343.33,"accountCredit":2343.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":610,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-19T08:09:07-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]}} - -[2025-03-19 14:09:08.019884] [debug] valor del payment data: {"id":610,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-19T08:09:07-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]} - -[2025-03-19 14:09:08.019953] [info] {"WhatsApp":["5214181878106"]} -[2025-03-19 14:09:08.019964] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-19 14:09:08.019973] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-19 14:09:08.019984] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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 - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png - -No se pudo obtener la lista de archivos de la carpeta FTP - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png" - }, - "template_values": ["Daniel Humberto Soto Villegas", "$110", "$2343.33 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"0dede829f15f4da9a943efd4a68de189","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":"019591a0-e346-4103-981a-049628c87763","changeType":"insert","entity":"payment","entityId":610,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":2343.33,"accountCredit":2343.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":610,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-19T08:09:07-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]}} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":610,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-19T08:09:07-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]}] - -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":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb22343.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 110","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb22343.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 19\/03\/2025 08:09 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"19\/03\/2025 08:09\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 19\/03\/2025 08:09 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/03\/2025 08:09","Clabe Interbancaria":null,"Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲2343.33 a favor","Monto Ultimo Pago": "$ 110","Estado": "Suspendido","Fecha Ultimo Pago": " 19/03/2025 08:09 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "19/03/2025 08:09","Clabe Interbancaria": "","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"0021804341999569810","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 19/03/2025 08:09","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲2343.33 a favor","Fecha Ultimo Pago":"📆💸 19/03/2025 08:09 con Tarjeta de crédito Stripe 💳","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 110","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲2343.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 19/03/2025 08:09 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"19/03/2025 08:09\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"0021804341999569810","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 19/03/2025 08:09","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲2343.33 a favor","Fecha Ultimo Pago":"📆💸 19/03/2025 08:09 con Tarjeta de crédito Stripe 💳","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 110","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲2343.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 19/03/2025 08:09 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"19/03/2025 08:09\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-19 14:09:13.917424] [notice] Logging level set to:debug -[2025-03-19 14:09:14.035223] [debug] valor el evento recibido por webhook: payment.edit - -[2025-03-19 14:09:14.035401] [debug] Valor de JSON: {"uuid":"3e2e3c7e-f10f-427c-b4ca-d37856bed784","changeType":"edit","entity":"payment","entityId":"610","eventName":"payment.edit","extraData":{"entity":{"id":610,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-19T08:09:07-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":610,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-19T08:09:07-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]}}} - -[2025-03-19 14:11:25.858360] [notice] Logging level set to:debug -[2025-03-19 14:11:25.970315] [debug] valor el evento recibido por webhook: payment.add - -[2025-03-19 14:11:25.970372] [debug] Valor de JSON: {"uuid":"56f77195-15c4-49ca-8032-962e9128d91a","changeType":"insert","entity":"payment","entityId":"611","eventName":"payment.add","extraData":{"entity":{"id":611,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-19T08:11:25-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]},"entityBeforeEdit":null}} - -[2025-03-19 14:11:25.970619] [debug] Notification encodificado en JSON:{"uuid":"56f77195-15c4-49ca-8032-962e9128d91a","changeType":"insert","entity":"payment","entityId":611,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":2453.33,"accountCredit":2453.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":611,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-19T08:11:25-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]}} - -[2025-03-19 14:11:25.970657] [debug] valor del payment data: {"id":611,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-19T08:11:25-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]} - -[2025-03-19 14:11:25.970725] [info] {"WhatsApp":["5214181878106"]} -[2025-03-19 14:11:25.970737] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-19 14:11:25.970746] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-19 14:11:25.970756] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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 - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png - -No se pudo obtener la lista de archivos de la carpeta FTP - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png" - }, - "template_values": ["Daniel Humberto Soto Villegas", "$110", "$2453.33 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"903850edb4044513b8f2b0060eed07bc","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":"56f77195-15c4-49ca-8032-962e9128d91a","changeType":"insert","entity":"payment","entityId":611,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":2453.33,"accountCredit":2453.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":611,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-19T08:11:25-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]}} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":611,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-19T08:11:25-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]}] - -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":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb22453.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 110","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb22453.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 19\/03\/2025 08:11 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"19\/03\/2025 08:11\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 19\/03\/2025 08:11 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/03\/2025 08:11","Clabe Interbancaria":null,"Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲2453.33 a favor","Monto Ultimo Pago": "$ 110","Estado": "Suspendido","Fecha Ultimo Pago": " 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "19/03/2025 08:11","Clabe Interbancaria": "","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"0021804341999569810","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 19/03/2025 08:11","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲2453.33 a favor","Fecha Ultimo Pago":"📆💸 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 110","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲2453.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"19/03/2025 08:11\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"0021804341999569810","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 19/03/2025 08:11","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Nombre":"👤 Daniel Humberto Soto Villegas","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲2453.33 a favor","Fecha Ultimo Pago":"📆💸 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 110","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲2453.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"19/03/2025 08:11\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-19 14:11:31.870230] [notice] Logging level set to:debug -[2025-03-19 14:11:32.034152] [debug] valor el evento recibido por webhook: payment.edit - -[2025-03-19 14:11:32.034301] [debug] Valor de JSON: {"uuid":"00d6f09f-7191-46b7-b857-a9ff64692b62","changeType":"edit","entity":"payment","entityId":"611","eventName":"payment.edit","extraData":{"entity":{"id":611,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-19T08:11:25-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":611,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-19T08:11:25-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]}}} - -[2025-03-20 16:00:04.277919] [notice] Logging level set to:debug -[2025-03-20 16:00:04.449950] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-20 16:00:04.450011] [debug] Valor de JSON: {"uuid":"6cd6fb17-007a-4ef8-bc05-f422be0d82b5","changeType":"insert","entity":"invoice","entityId":"1690","eventName":"invoice.add_draft","extraData":{"entity":{"id":1690,"clientId":121,"number":"001641","createdDate":"2025-03-20T10:00:01-0600","dueDate":"2025-04-03T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-19T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1693,"type":"service","label":"INTERMEDIO 20\/02\/2025 \u2013 19\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":106,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"flor","clientLastName":"marquez gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"plutarco elias calles 8,lindavista","clientStreet2":"enfrente del parque","clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-20 16:00:04.450243] [debug] Adición de borrador de Factura - -[2025-03-20 16:00:04.450299] [debug] {"uuid":"6cd6fb17-007a-4ef8-bc05-f422be0d82b5","changeType":"insert","entity":"invoice","entityId":1690,"message":null,"clientId":121,"eventName":"invoice.add_draft","clientData":{"id":121,"userIdent":"-105.998","previousIsp":"angel","isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"plutarco elias calles 8,lindavista","street2":"enfrente del parque","city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"plutarco elias calles 8,lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":false,"invoiceMaturityDays":null,"stopServiceDue":false,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-05-20T00:00:00-0600","leadConvertedAt":"2024-05-20T13:45:39-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"flor","lastName":"marquez gonzalez","username":null,"contacts":[{"id":125,"clientId":121,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":120,"clientId":121,"customAttributeId":2,"name":"CelularNotificaciones","key":"celularnotificaciones","value":"172.16.117.243","clientZoneVisible":true},{"id":121,"clientId":121,"customAttributeId":4,"name":"Whatsapp","key":"whatsapp","value":"Siip.567","clientZoneVisible":true},{"id":122,"clientId":121,"customAttributeId":5,"name":"uuid","key":"uuid","value":"admin1343","clientZoneVisible":true},{"id":123,"clientId":121,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"22372x9000055","clientZoneVisible":true},{"id":124,"clientId":121,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"21.9758566","clientZoneVisible":true}],"accountBalance":-4816.67,"accountCredit":0,"accountOutstanding":4816.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.5,"addressGpsLon":-100,"isArchived":false,"generateProformaInvoices":false,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1690,"clientId":121,"number":"001641","createdDate":"2025-03-20T10:00:01-0600","dueDate":"2025-04-03T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-18T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1693,"type":"service","label":"INTERMEDIO 20\/02\/2025 \u2013 19\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":106,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"flor","clientLastName":"marquez gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"plutarco elias calles 8,lindavista","clientStreet2":"enfrente del parque","clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-20 16:00:04.657776] [notice] Logging level set to:debug -[2025-03-20 16:00:04.882558] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-20 16:00:04.882612] [debug] Valor de JSON: {"uuid":"187f2eb9-c777-4b88-be33-07468495ba13","changeType":"draft_approved","entity":"invoice","entityId":"1690","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1690,"clientId":121,"number":"001641","createdDate":"2025-03-20T10:00:01-0600","dueDate":"2025-04-03T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-19T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1693,"type":"service","label":"INTERMEDIO 20\/02\/2025 \u2013 19\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":106,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"flor","clientLastName":"marquez gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"plutarco elias calles 8,lindavista","clientStreet2":"enfrente del parque","clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-20 16:00:04.882725] [debug] Aprobación de Factura - -[2025-03-20 16:00:04.882772] [debug] {"uuid":"187f2eb9-c777-4b88-be33-07468495ba13","changeType":"draft_approved","entity":"invoice","entityId":1690,"message":null,"clientId":121,"eventName":"invoice.draft_approved","clientData":{"id":121,"userIdent":"-105.998","previousIsp":"angel","isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"plutarco elias calles 8,lindavista","street2":"enfrente del parque","city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"plutarco elias calles 8,lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":false,"invoiceMaturityDays":null,"stopServiceDue":false,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-05-20T00:00:00-0600","leadConvertedAt":"2024-05-20T13:45:39-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"flor","lastName":"marquez gonzalez","username":null,"contacts":[{"id":125,"clientId":121,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":120,"clientId":121,"customAttributeId":2,"name":"CelularNotificaciones","key":"celularnotificaciones","value":"172.16.117.243","clientZoneVisible":true},{"id":121,"clientId":121,"customAttributeId":4,"name":"Whatsapp","key":"whatsapp","value":"Siip.567","clientZoneVisible":true},{"id":122,"clientId":121,"customAttributeId":5,"name":"uuid","key":"uuid","value":"admin1343","clientZoneVisible":true},{"id":123,"clientId":121,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"22372x9000055","clientZoneVisible":true},{"id":124,"clientId":121,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"21.9758566","clientZoneVisible":true}],"accountBalance":-4816.67,"accountCredit":0,"accountOutstanding":4816.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.5,"addressGpsLon":-100,"isArchived":false,"generateProformaInvoices":false,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1690,"clientId":121,"number":"001641","createdDate":"2025-03-20T10:00:01-0600","dueDate":"2025-04-03T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-18T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1693,"type":"service","label":"INTERMEDIO 20\/02\/2025 \u2013 19\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":106,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"flor","clientLastName":"marquez gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"plutarco elias calles 8,lindavista","clientStreet2":"enfrente del parque","clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-20 16:00:05.898637] [notice] Logging level set to:debug -[2025-03-20 16:00:06.093445] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-20 16:00:06.093529] [debug] Valor de JSON: {"uuid":"d32c24c5-5b51-486e-ae50-886c13cdcfd2","changeType":"insert","entity":"invoice","entityId":"1691","eventName":"invoice.add_draft","extraData":{"entity":{"id":1691,"clientId":122,"number":"001642","createdDate":"2025-03-20T10:00:01-0600","dueDate":"2025-04-03T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-19T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1694,"type":"service","label":"plan300 20\/02\/2025 \u2013 19\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":107,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"MARQUEZ GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PLTARCO 8, LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-20 16:00:06.093657] [debug] Adición de borrador de Factura - -[2025-03-20 16:00:06.093734] [debug] {"uuid":"d32c24c5-5b51-486e-ae50-886c13cdcfd2","changeType":"insert","entity":"invoice","entityId":1691,"message":null,"clientId":122,"eventName":"invoice.add_draft","clientData":{"id":122,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"PLTARCO 8, LINDAVISTA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"PLTARCO 8, LINDAVISTA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-05-20T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JUDITH","lastName":"MARQUEZ GONZALEZ","username":null,"contacts":[{"id":126,"clientId":122,"email":null,"phone":"55667788","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":125,"clientId":122,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Q8uWOC8sjQem1K","clientZoneVisible":true},{"id":126,"clientId":122,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180296730137251","clientZoneVisible":true}],"accountBalance":-4890,"accountCredit":0,"accountOutstanding":4890,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.171581132292,"addressGpsLon":-100.9286433436,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1691,"clientId":122,"number":"001642","createdDate":"2025-03-20T10:00:01-0600","dueDate":"2025-04-03T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-18T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1694,"type":"service","label":"plan300 20\/02\/2025 \u2013 19\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":107,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"MARQUEZ GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PLTARCO 8, LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-20 16:00:06.218943] [notice] Logging level set to:debug -[2025-03-20 16:00:06.372114] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-20 16:00:06.372174] [debug] Valor de JSON: {"uuid":"d9258650-a6fe-41ab-8823-e4626b2d29b9","changeType":"draft_approved","entity":"invoice","entityId":"1691","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1691,"clientId":122,"number":"001642","createdDate":"2025-03-20T10:00:01-0600","dueDate":"2025-04-03T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-19T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1694,"type":"service","label":"plan300 20\/02\/2025 \u2013 19\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":107,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"MARQUEZ GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PLTARCO 8, LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-20 16:00:06.372270] [debug] Aprobación de Factura - -[2025-03-20 16:00:06.372313] [debug] {"uuid":"d9258650-a6fe-41ab-8823-e4626b2d29b9","changeType":"draft_approved","entity":"invoice","entityId":1691,"message":null,"clientId":122,"eventName":"invoice.draft_approved","clientData":{"id":122,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"PLTARCO 8, LINDAVISTA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"PLTARCO 8, LINDAVISTA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-05-20T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JUDITH","lastName":"MARQUEZ GONZALEZ","username":null,"contacts":[{"id":126,"clientId":122,"email":null,"phone":"55667788","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":125,"clientId":122,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Q8uWOC8sjQem1K","clientZoneVisible":true},{"id":126,"clientId":122,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180296730137251","clientZoneVisible":true}],"accountBalance":-4890,"accountCredit":0,"accountOutstanding":4890,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.171581132292,"addressGpsLon":-100.9286433436,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1691,"clientId":122,"number":"001642","createdDate":"2025-03-20T10:00:01-0600","dueDate":"2025-04-03T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-18T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1694,"type":"service","label":"plan300 20\/02\/2025 \u2013 19\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":107,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"MARQUEZ GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PLTARCO 8, LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-20 18:30:03.638848] [notice] Logging level set to:debug -[2025-03-20 18:30:03.890667] [debug] valor el evento recibido por webhook: service.suspend - -[2025-03-20 18:30:03.890827] [debug] Valor de JSON: {"uuid":"0bface79-9a44-4e7e-b712-e58783701d30","changeType":"suspend","entity":"service","entityId":"9","eventName":"service.suspend","extraData":{"entity":{"id":9,"prepaid":false,"clientId":9,"status":3,"name":"INTERMEDIO","fullAddress":"GALLINERO, Dolores Hidalgo, 37800","street1":"GALLINERO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.179169675936,"addressGpsLon":-100.95965623856,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00: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":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-27T00:00:00-0600","unmsClientSiteId":"512e5062-98b0-400b-b084-cf051ff71d24","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":112,"startDate":"2024-08-16T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":149,"startDate":"2025-03-20T12:30:03-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":9,"prepaid":false,"clientId":9,"status":1,"name":"INTERMEDIO","fullAddress":"GALLINERO, Dolores Hidalgo, 37800","street1":"GALLINERO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.179169675936,"addressGpsLon":-100.95965623856,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00: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":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-27T00:00:00-0600","unmsClientSiteId":"512e5062-98b0-400b-b084-cf051ff71d24","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":112,"startDate":"2024-08-16T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":149,"startDate":"2025-03-20T12:30:03-0600","endDate":null}],"surcharges":[]}}} - -[2025-03-20 18:30:03.894362] [debug] Se suspendió el servicio a un cliente - -[2025-03-20 18:30:04.067047] [notice] Logging level set to:debug -[2025-03-20 18:30:04.274257] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-20 18:30:04.274422] [debug] Valor de JSON: {"uuid":"29117db9-d73c-43df-971a-5f678225ce1d","changeType":"edit","entity":"service","entityId":"9","eventName":"service.edit","extraData":{"entity":{"id":9,"prepaid":false,"clientId":9,"status":3,"name":"INTERMEDIO","fullAddress":"GALLINERO, Dolores Hidalgo, 37800","street1":"GALLINERO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.179169675936,"addressGpsLon":-100.95965623856,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00: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":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-27T00:00:00-0600","unmsClientSiteId":"512e5062-98b0-400b-b084-cf051ff71d24","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":112,"startDate":"2024-08-16T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":149,"startDate":"2025-03-20T12:30:03-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":9,"prepaid":false,"clientId":9,"status":1,"name":"INTERMEDIO","fullAddress":"GALLINERO, Dolores Hidalgo, 37800","street1":"GALLINERO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.179169675936,"addressGpsLon":-100.95965623856,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00: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":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-02-27T00:00:00-0600","unmsClientSiteId":"512e5062-98b0-400b-b084-cf051ff71d24","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":112,"startDate":"2024-08-16T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":149,"startDate":"2025-03-20T12:30:03-0600","endDate":null}],"surcharges":[]}}} - -[2025-03-20 18:30:04.274569] [debug] Se editó el servicio a un cliente - -[2025-03-21 16:00:04.328362] [notice] Logging level set to:debug -[2025-03-21 16:00:04.501146] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-21 16:00:04.501211] [debug] Valor de JSON: {"uuid":"7d69ba13-ce40-4d95-88b7-d105c33a0b21","changeType":"insert","entity":"invoice","entityId":"1692","eventName":"invoice.add_draft","extraData":{"entity":{"id":1692,"clientId":105,"number":"001643","createdDate":"2025-03-21T10:00:01-0600","dueDate":"2025-04-04T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-20T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1695,"type":"service","label":"plan300 21\/02\/2025 \u2013 20\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":111,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"jota","clientLastName":"serpiente","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":null,"clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-21 16:00:04.501414] [debug] Adición de borrador de Factura - -[2025-03-21 16:00:04.501462] [debug] {"uuid":"7d69ba13-ce40-4d95-88b7-d105c33a0b21","changeType":"insert","entity":"invoice","entityId":1692,"message":null,"clientId":105,"eventName":"invoice.add_draft","clientData":{"id":105,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":null,"countryId":173,"stateId":null,"zipCode":null,"fullAddress":null,"invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-02-17T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"jota","lastName":"serpiente","username":null,"contacts":[{"id":109,"clientId":105,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-2900,"accountCredit":0,"accountOutstanding":2900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4527a0","addressGpsLat":null,"addressGpsLon":null,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1692,"clientId":105,"number":"001643","createdDate":"2025-03-21T10:00:01-0600","dueDate":"2025-04-04T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1695,"type":"service","label":"plan300 21\/02\/2025 \u2013 20\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":111,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"jota","clientLastName":"serpiente","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":null,"clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-21 16:00:04.669527] [notice] Logging level set to:debug -[2025-03-21 16:00:04.818681] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-21 16:00:04.818743] [debug] Valor de JSON: {"uuid":"e86774dc-218f-482f-a7e2-290631a49e62","changeType":"draft_approved","entity":"invoice","entityId":"1692","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1692,"clientId":105,"number":"001643","createdDate":"2025-03-21T10:00:01-0600","dueDate":"2025-04-04T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-20T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1695,"type":"service","label":"plan300 21\/02\/2025 \u2013 20\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":111,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"jota","clientLastName":"serpiente","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":null,"clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-21 16:00:04.818862] [debug] Aprobación de Factura - -[2025-03-21 16:00:04.818911] [debug] {"uuid":"e86774dc-218f-482f-a7e2-290631a49e62","changeType":"draft_approved","entity":"invoice","entityId":1692,"message":null,"clientId":105,"eventName":"invoice.draft_approved","clientData":{"id":105,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":null,"countryId":173,"stateId":null,"zipCode":null,"fullAddress":null,"invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-02-17T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"jota","lastName":"serpiente","username":null,"contacts":[{"id":109,"clientId":105,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-2900,"accountCredit":0,"accountOutstanding":2900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4527a0","addressGpsLat":null,"addressGpsLon":null,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1692,"clientId":105,"number":"001643","createdDate":"2025-03-21T10:00:01-0600","dueDate":"2025-04-04T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1695,"type":"service","label":"plan300 21\/02\/2025 \u2013 20\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":111,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"jota","clientLastName":"serpiente","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":null,"clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-21 16:00:05.756362] [notice] Logging level set to:debug -[2025-03-21 16:00:05.899688] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-21 16:00:05.899755] [debug] Valor de JSON: {"uuid":"defeb5df-6c20-40d5-b10d-a3ab677e4017","changeType":"insert","entity":"invoice","entityId":"1693","eventName":"invoice.add_draft","extraData":{"entity":{"id":1693,"clientId":133,"number":"001644","createdDate":"2025-03-21T10:00:01-0600","dueDate":"2025-04-04T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-20T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1696,"type":"service","label":"INTERMEDIO 21\/02\/2025 \u2013 20\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":114,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Los Amigos","clientLastName":"Invisibles","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-21 16:00:05.899864] [debug] Adición de borrador de Factura - -[2025-03-21 16:00:05.899919] [debug] {"uuid":"defeb5df-6c20-40d5-b10d-a3ab677e4017","changeType":"insert","entity":"invoice","entityId":1693,"message":null,"clientId":133,"eventName":"invoice.add_draft","clientData":{"id":133,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 34, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Los Amigos","lastName":"Invisibles","username":null,"contacts":[{"id":137,"clientId":133,"email":"amigosinvisibles@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":135,"clientId":133,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJjZqeaZSSPwcT","clientZoneVisible":true},{"id":136,"clientId":133,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180822750421052","clientZoneVisible":true}],"accountBalance":-4333.33,"accountCredit":0,"accountOutstanding":4333.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1568888,"addressGpsLon":-100.9275759,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1693,"clientId":133,"number":"001644","createdDate":"2025-03-21T10:00:01-0600","dueDate":"2025-04-04T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1696,"type":"service","label":"INTERMEDIO 21\/02\/2025 \u2013 20\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":114,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Los Amigos","clientLastName":"Invisibles","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-21 16:00:05.899960] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-21 16:00:05.900103] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"defeb5df-6c20-40d5-b10d-a3ab677e4017","changeType":"insert","entity":"invoice","entityId":1693,"message":null,"clientId":133,"eventName":"invoice.add_draft","clientData":{"id":133,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 34, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Los Amigos","lastName":"Invisibles","username":null,"contacts":[{"id":137,"clientId":133,"email":"amigosinvisibles@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":135,"clientId":133,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJjZqeaZSSPwcT","clientZoneVisible":true},{"id":136,"clientId":133,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180822750421052","clientZoneVisible":true}],"accountBalance":-4333.33,"accountCredit":0,"accountOutstanding":4333.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1568888,"addressGpsLon":-100.9275759,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1693,"clientId":133,"number":"001644","createdDate":"2025-03-21T10:00:01-0600","dueDate":"2025-04-04T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1696,"type":"service","label":"INTERMEDIO 21\/02\/2025 \u2013 20\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":114,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Los Amigos","clientLastName":"Invisibles","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Los Amigos Invisibles - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Los Amigos Invisibles","custom_fields":{"Cliente":133,"Domicilio":"\ud83d\udccd Calle Colima 34, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Los Amigos Invisibles","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/133","Saldo Actual":"\ud83d\udcb24333.33 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"133\",\"Domicilio\": \"\"Nombre\": \"Los Amigos Invisibles\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/133\",\"Saldo Actual\": \"\ud83d\udcb24333.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21\/03\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21\/03\/2025 10:00\",\"Clabe Interbancaria\": \"002180822750421052\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 21\/03\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/03\/2025 10:00","Clabe Interbancaria":"002180822750421052","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "133","Domicilio": ""Nombre": "Los Amigos Invisibles","URL": "https://sistema.siip.mx/crm/client/133","Saldo Actual": "💲4333.33 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 21/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "21/03/2025 10:00","Clabe Interbancaria": "002180822750421052","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Los Amigos Invisibles","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"002180822750421052","Estado":"🔴 Suspendido","Cliente":"133","URL":"🌐 https://sistema.siip.mx/crm/client/133","Nombre":"👤 Los Amigos Invisibles","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲4333.33 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Calle Colima 34, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"133\",\"Domicilio\": \"\"Nombre\": \"Los Amigos Invisibles\",\"URL\": \"https://sistema.siip.mx/crm/client/133\",\"Saldo Actual\": \"💲4333.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21/03/2025 10:00\",\"Clabe Interbancaria\": \"002180822750421052\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultimo Pago":"📆💸 21/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 21/03/2025 10:00"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Los Amigos Invisibles","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"002180822750421052","Estado":"🔴 Suspendido","Cliente":"133","URL":"🌐 https://sistema.siip.mx/crm/client/133","Nombre":"👤 Los Amigos Invisibles","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲4333.33 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Calle Colima 34, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"133\",\"Domicilio\": \"\"Nombre\": \"Los Amigos Invisibles\",\"URL\": \"https://sistema.siip.mx/crm/client/133\",\"Saldo Actual\": \"💲4333.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21/03/2025 10:00\",\"Clabe Interbancaria\": \"002180822750421052\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultimo Pago":"📆💸 21/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 21/03/2025 10:00"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-21 16:00:09.418106] [notice] Logging level set to:debug -[2025-03-21 16:00:09.596369] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-21 16:00:09.596575] [debug] Valor de JSON: {"uuid":"53518d81-1646-41a2-9d06-96bcc1ec5ff4","changeType":"draft_approved","entity":"invoice","entityId":"1693","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1693,"clientId":133,"number":"001644","createdDate":"2025-03-21T10:00:01-0600","dueDate":"2025-04-04T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-20T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1696,"type":"service","label":"INTERMEDIO 21\/02\/2025 \u2013 20\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":114,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Los Amigos","clientLastName":"Invisibles","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-21 16:00:09.596857] [debug] Aprobación de Factura - -[2025-03-21 16:00:09.596942] [debug] {"uuid":"53518d81-1646-41a2-9d06-96bcc1ec5ff4","changeType":"draft_approved","entity":"invoice","entityId":1693,"message":null,"clientId":133,"eventName":"invoice.draft_approved","clientData":{"id":133,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 34, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Los Amigos","lastName":"Invisibles","username":null,"contacts":[{"id":137,"clientId":133,"email":"amigosinvisibles@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":135,"clientId":133,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJjZqeaZSSPwcT","clientZoneVisible":true},{"id":136,"clientId":133,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180822750421052","clientZoneVisible":true}],"accountBalance":-4333.33,"accountCredit":0,"accountOutstanding":4333.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1568888,"addressGpsLon":-100.9275759,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1693,"clientId":133,"number":"001644","createdDate":"2025-03-21T10:00:01-0600","dueDate":"2025-04-04T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1696,"type":"service","label":"INTERMEDIO 21\/02\/2025 \u2013 20\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":114,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Los Amigos","clientLastName":"Invisibles","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-21 16:00:09.597028] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-21 16:00:09.597069] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"53518d81-1646-41a2-9d06-96bcc1ec5ff4","changeType":"draft_approved","entity":"invoice","entityId":1693,"message":null,"clientId":133,"eventName":"invoice.draft_approved","clientData":{"id":133,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 34, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Los Amigos","lastName":"Invisibles","username":null,"contacts":[{"id":137,"clientId":133,"email":"amigosinvisibles@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":135,"clientId":133,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJjZqeaZSSPwcT","clientZoneVisible":true},{"id":136,"clientId":133,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180822750421052","clientZoneVisible":true}],"accountBalance":-4333.33,"accountCredit":0,"accountOutstanding":4333.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1568888,"addressGpsLon":-100.9275759,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1693,"clientId":133,"number":"001644","createdDate":"2025-03-21T10:00:01-0600","dueDate":"2025-04-04T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1696,"type":"service","label":"INTERMEDIO 21\/02\/2025 \u2013 20\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":114,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Los Amigos","clientLastName":"Invisibles","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Los Amigos Invisibles - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Los Amigos Invisibles","custom_fields":{"Cliente":133,"Domicilio":"\ud83d\udccd Calle Colima 34, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Los Amigos Invisibles","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/133","Saldo Actual":"\ud83d\udcb24333.33 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"133\",\"Domicilio\": \"\"Nombre\": \"Los Amigos Invisibles\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/133\",\"Saldo Actual\": \"\ud83d\udcb24333.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21\/03\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21\/03\/2025 10:00\",\"Clabe Interbancaria\": \"002180822750421052\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 21\/03\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/03\/2025 10:00","Clabe Interbancaria":"002180822750421052","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "133","Domicilio": ""Nombre": "Los Amigos Invisibles","URL": "https://sistema.siip.mx/crm/client/133","Saldo Actual": "💲4333.33 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 21/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "21/03/2025 10:00","Clabe Interbancaria": "002180822750421052","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Los Amigos Invisibles","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"002180822750421052","Estado":"🔴 Suspendido","Cliente":"133","URL":"🌐 https://sistema.siip.mx/crm/client/133","Nombre":"👤 Los Amigos Invisibles","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲4333.33 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Calle Colima 34, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"133\",\"Domicilio\": \"\"Nombre\": \"Los Amigos Invisibles\",\"URL\": \"https://sistema.siip.mx/crm/client/133\",\"Saldo Actual\": \"💲4333.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21/03/2025 10:00\",\"Clabe Interbancaria\": \"002180822750421052\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultimo Pago":"📆💸 21/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 21/03/2025 10:00"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Los Amigos Invisibles","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"002180822750421052","Estado":"🔴 Suspendido","Cliente":"133","URL":"🌐 https://sistema.siip.mx/crm/client/133","Nombre":"👤 Los Amigos Invisibles","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲4333.33 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Calle Colima 34, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"133\",\"Domicilio\": \"\"Nombre\": \"Los Amigos Invisibles\",\"URL\": \"https://sistema.siip.mx/crm/client/133\",\"Saldo Actual\": \"💲4333.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21/03/2025 10:00\",\"Clabe Interbancaria\": \"002180822750421052\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultimo Pago":"📆💸 21/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 21/03/2025 10:00"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-21 16:00:12.424537] [notice] Logging level set to:debug -[2025-03-21 16:00:12.575144] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-21 16:00:12.575210] [debug] Valor de JSON: {"uuid":"c3452813-a235-42c5-a7ee-60a9f5648111","changeType":"insert","entity":"invoice","entityId":"1694","eventName":"invoice.add_draft","extraData":{"entity":{"id":1694,"clientId":134,"number":"001645","createdDate":"2025-03-21T10:00:01-0600","dueDate":"2025-04-04T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-20T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1697,"type":"service","label":"PREMIUM 21\/02\/2025 \u2013 20\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":113,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"La Mosca","clientLastName":"Tse Tse","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"25 Michoac\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-21 16:00:12.575330] [debug] Adición de borrador de Factura - -[2025-03-21 16:00:12.575382] [debug] {"uuid":"c3452813-a235-42c5-a7ee-60a9f5648111","changeType":"insert","entity":"invoice","entityId":1694,"message":null,"clientId":134,"eventName":"invoice.add_draft","clientData":{"id":134,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"25 Michoac\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"La Mosca","lastName":"Tse Tse","username":null,"contacts":[{"id":138,"clientId":134,"email":"lamoscatsetse@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-6300,"accountCredit":0,"accountOutstanding":6300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1576726,"addressGpsLon":-100.9370354,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1694,"clientId":134,"number":"001645","createdDate":"2025-03-21T10:00:01-0600","dueDate":"2025-04-04T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1697,"type":"service","label":"PREMIUM 21\/02\/2025 \u2013 20\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":113,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"La Mosca","clientLastName":"Tse Tse","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"25 Michoac\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-21 16:00:12.575575] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-21 16:00:12.575633] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"c3452813-a235-42c5-a7ee-60a9f5648111","changeType":"insert","entity":"invoice","entityId":1694,"message":null,"clientId":134,"eventName":"invoice.add_draft","clientData":{"id":134,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"25 Michoac\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"La Mosca","lastName":"Tse Tse","username":null,"contacts":[{"id":138,"clientId":134,"email":"lamoscatsetse@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-6300,"accountCredit":0,"accountOutstanding":6300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1576726,"addressGpsLon":-100.9370354,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1694,"clientId":134,"number":"001645","createdDate":"2025-03-21T10:00:01-0600","dueDate":"2025-04-04T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1697,"type":"service","label":"PREMIUM 21\/02\/2025 \u2013 20\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":113,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"La Mosca","clientLastName":"Tse Tse","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"25 Michoac\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: La Mosca Tse Tse - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"La Mosca Tse Tse","custom_fields":{"Cliente":134,"Domicilio":"\ud83d\udccd Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 La Mosca Tse Tse","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/134","Saldo Actual":"\ud83d\udcb26300 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"134\",\"Domicilio\": \"\"Nombre\": \"La Mosca Tse Tse\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/134\",\"Saldo Actual\": \"\ud83d\udcb26300 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21\/03\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21\/03\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 21\/03\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/03\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "134","Domicilio": ""Nombre": "La Mosca Tse Tse","URL": "https://sistema.siip.mx/crm/client/134","Saldo Actual": "💲6300 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 21/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "21/03/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"La Mosca Tse Tse","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"002180822750421052","Estado":"🔴 Suspendido","Cliente":"134","URL":"🌐 https://sistema.siip.mx/crm/client/134","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","user name":"Daniel Humberto 🐁","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"134\",\"Domicilio\": \"\"Nombre\": \"La Mosca Tse Tse\",\"URL\": \"https://sistema.siip.mx/crm/client/134\",\"Saldo Actual\": \"💲6300 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21/03/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultimo Pago":"📆💸 21/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 21/03/2025 10:00","Domicilio":"📍 Michoacán 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Saldo Actual":"💲6300 pendientes","Nombre":"👤 La Mosca Tse Tse"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"La Mosca Tse Tse","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"002180822750421052","Estado":"🔴 Suspendido","Cliente":"134","URL":"🌐 https://sistema.siip.mx/crm/client/134","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","user name":"Daniel Humberto 🐁","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"134\",\"Domicilio\": \"\"Nombre\": \"La Mosca Tse Tse\",\"URL\": \"https://sistema.siip.mx/crm/client/134\",\"Saldo Actual\": \"💲6300 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21/03/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultimo Pago":"📆💸 21/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 21/03/2025 10:00","Domicilio":"📍 Michoacán 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Saldo Actual":"💲6300 pendientes","Nombre":"👤 La Mosca Tse Tse"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-21 16:00:17.212858] [notice] Logging level set to:debug -[2025-03-21 16:00:17.458261] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-21 16:00:17.458462] [debug] Valor de JSON: {"uuid":"41eaf362-1d11-4149-ad44-8d963cb4161f","changeType":"draft_approved","entity":"invoice","entityId":"1694","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1694,"clientId":134,"number":"001645","createdDate":"2025-03-21T10:00:01-0600","dueDate":"2025-04-04T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-20T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1697,"type":"service","label":"PREMIUM 21\/02\/2025 \u2013 20\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":113,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"La Mosca","clientLastName":"Tse Tse","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"25 Michoac\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-21 16:00:17.458633] [debug] Aprobación de Factura - -[2025-03-21 16:00:17.458715] [debug] {"uuid":"41eaf362-1d11-4149-ad44-8d963cb4161f","changeType":"draft_approved","entity":"invoice","entityId":1694,"message":null,"clientId":134,"eventName":"invoice.draft_approved","clientData":{"id":134,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"25 Michoac\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"La Mosca","lastName":"Tse Tse","username":null,"contacts":[{"id":138,"clientId":134,"email":"lamoscatsetse@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-6300,"accountCredit":0,"accountOutstanding":6300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1576726,"addressGpsLon":-100.9370354,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1694,"clientId":134,"number":"001645","createdDate":"2025-03-21T10:00:01-0600","dueDate":"2025-04-04T10:00:01-0600","emailSentDate":"2025-03-21T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1697,"type":"service","label":"PREMIUM 21\/02\/2025 \u2013 20\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":113,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"La Mosca","clientLastName":"Tse Tse","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"25 Michoac\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-21 16:00:17.458792] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-21 16:00:17.458832] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"41eaf362-1d11-4149-ad44-8d963cb4161f","changeType":"draft_approved","entity":"invoice","entityId":1694,"message":null,"clientId":134,"eventName":"invoice.draft_approved","clientData":{"id":134,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"25 Michoac\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"La Mosca","lastName":"Tse Tse","username":null,"contacts":[{"id":138,"clientId":134,"email":"lamoscatsetse@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-6300,"accountCredit":0,"accountOutstanding":6300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1576726,"addressGpsLon":-100.9370354,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1694,"clientId":134,"number":"001645","createdDate":"2025-03-21T10:00:01-0600","dueDate":"2025-04-04T10:00:01-0600","emailSentDate":"2025-03-21T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1697,"type":"service","label":"PREMIUM 21\/02\/2025 \u2013 20\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":113,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"La Mosca","clientLastName":"Tse Tse","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"25 Michoac\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: La Mosca Tse Tse - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"La Mosca Tse Tse","custom_fields":{"Cliente":134,"Domicilio":"\ud83d\udccd Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 La Mosca Tse Tse","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/134","Saldo Actual":"\ud83d\udcb26300 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"134\",\"Domicilio\": \"\"Nombre\": \"La Mosca Tse Tse\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/134\",\"Saldo Actual\": \"\ud83d\udcb26300 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21\/03\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21\/03\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 21\/03\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/03\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "134","Domicilio": ""Nombre": "La Mosca Tse Tse","URL": "https://sistema.siip.mx/crm/client/134","Saldo Actual": "💲6300 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 21/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "21/03/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"La Mosca Tse Tse","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"002180822750421052","Estado":"🔴 Suspendido","Cliente":"134","URL":"🌐 https://sistema.siip.mx/crm/client/134","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","user name":"Daniel Humberto 🐁","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"134\",\"Domicilio\": \"\"Nombre\": \"La Mosca Tse Tse\",\"URL\": \"https://sistema.siip.mx/crm/client/134\",\"Saldo Actual\": \"💲6300 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21/03/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultimo Pago":"📆💸 21/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 21/03/2025 10:00","Domicilio":"📍 Michoacán 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Saldo Actual":"💲6300 pendientes","Nombre":"👤 La Mosca Tse Tse"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"La Mosca Tse Tse","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"002180822750421052","Estado":"🔴 Suspendido","Cliente":"134","URL":"🌐 https://sistema.siip.mx/crm/client/134","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","user name":"Daniel Humberto 🐁","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"134\",\"Domicilio\": \"\"Nombre\": \"La Mosca Tse Tse\",\"URL\": \"https://sistema.siip.mx/crm/client/134\",\"Saldo Actual\": \"💲6300 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21/03/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultimo Pago":"📆💸 21/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 21/03/2025 10:00","Domicilio":"📍 Michoacán 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Saldo Actual":"💲6300 pendientes","Nombre":"👤 La Mosca Tse Tse"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-21 16:00:20.573061] [notice] Logging level set to:debug -[2025-03-21 16:00:20.732156] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-21 16:00:20.732381] [debug] Valor de JSON: {"uuid":"f911774f-1533-44c6-8b11-df821fecbe71","changeType":"insert","entity":"invoice","entityId":"1695","eventName":"invoice.add_draft","extraData":{"entity":{"id":1695,"clientId":136,"number":"001646","createdDate":"2025-03-21T10:00:01-0600","dueDate":"2025-04-04T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-20T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1698,"type":"service","label":"INTERMEDIO 21\/02\/2025 \u2013 20\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":112,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Mus","clientLastName":"Tafah","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"22 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-21 16:00:20.732567] [debug] Adición de borrador de Factura - -[2025-03-21 16:00:20.732664] [debug] {"uuid":"f911774f-1533-44c6-8b11-df821fecbe71","changeType":"insert","entity":"invoice","entityId":1695,"message":null,"clientId":136,"eventName":"invoice.add_draft","clientData":{"id":136,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"22 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 22, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Mus","lastName":"Tafah","username":null,"contacts":[{"id":140,"clientId":136,"email":"elmus@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-4333.33,"accountCredit":0,"accountOutstanding":4333.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1571597,"addressGpsLon":-100.9367744,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1695,"clientId":136,"number":"001646","createdDate":"2025-03-21T10:00:01-0600","dueDate":"2025-04-04T10:00:01-0600","emailSentDate":"2025-03-21T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1698,"type":"service","label":"INTERMEDIO 21\/02\/2025 \u2013 20\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":112,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Mus","clientLastName":"Tafah","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"22 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-21 16:00:20.732749] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-21 16:00:20.732791] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"f911774f-1533-44c6-8b11-df821fecbe71","changeType":"insert","entity":"invoice","entityId":1695,"message":null,"clientId":136,"eventName":"invoice.add_draft","clientData":{"id":136,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"22 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 22, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Mus","lastName":"Tafah","username":null,"contacts":[{"id":140,"clientId":136,"email":"elmus@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-4333.33,"accountCredit":0,"accountOutstanding":4333.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1571597,"addressGpsLon":-100.9367744,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1695,"clientId":136,"number":"001646","createdDate":"2025-03-21T10:00:01-0600","dueDate":"2025-04-04T10:00:01-0600","emailSentDate":"2025-03-21T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1698,"type":"service","label":"INTERMEDIO 21\/02\/2025 \u2013 20\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":112,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Mus","clientLastName":"Tafah","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"22 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: El Mus Tafah - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"El Mus Tafah","custom_fields":{"Cliente":136,"Domicilio":"\ud83d\udccd Yucat\u00e1n 22, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 El Mus Tafah","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/136","Saldo Actual":"\ud83d\udcb24333.33 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"136\",\"Domicilio\": \"\"Nombre\": \"El Mus Tafah\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/136\",\"Saldo Actual\": \"\ud83d\udcb24333.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21\/03\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21\/03\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 21\/03\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/03\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "136","Domicilio": ""Nombre": "El Mus Tafah","URL": "https://sistema.siip.mx/crm/client/136","Saldo Actual": "💲4333.33 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 21/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "21/03/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Mus Tafah","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"002180822750421052","Estado":"🔴 Suspendido","Cliente":"136","URL":"🌐 https://sistema.siip.mx/crm/client/136","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","user name":"Daniel Humberto 🐁","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"136\",\"Domicilio\": \"\"Nombre\": \"El Mus Tafah\",\"URL\": \"https://sistema.siip.mx/crm/client/136\",\"Saldo Actual\": \"💲4333.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21/03/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultimo Pago":"📆💸 21/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 21/03/2025 10:00","Domicilio":"📍 Yucatán 22, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Saldo Actual":"💲4333.33 pendientes","Nombre":"👤 El Mus Tafah"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Mus Tafah","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"002180822750421052","Estado":"🔴 Suspendido","Cliente":"136","URL":"🌐 https://sistema.siip.mx/crm/client/136","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","user name":"Daniel Humberto 🐁","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"136\",\"Domicilio\": \"\"Nombre\": \"El Mus Tafah\",\"URL\": \"https://sistema.siip.mx/crm/client/136\",\"Saldo Actual\": \"💲4333.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21/03/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultimo Pago":"📆💸 21/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 21/03/2025 10:00","Domicilio":"📍 Yucatán 22, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Saldo Actual":"💲4333.33 pendientes","Nombre":"👤 El Mus Tafah"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-21 16:00:23.480303] [notice] Logging level set to:debug -[2025-03-21 16:00:23.782705] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-21 16:00:23.782906] [debug] Valor de JSON: {"uuid":"89b3e20f-46d6-4922-bdb7-5d335c9500f0","changeType":"draft_approved","entity":"invoice","entityId":"1695","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1695,"clientId":136,"number":"001646","createdDate":"2025-03-21T10:00:01-0600","dueDate":"2025-04-04T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-20T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1698,"type":"service","label":"INTERMEDIO 21\/02\/2025 \u2013 20\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":112,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Mus","clientLastName":"Tafah","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"22 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-21 16:00:23.783060] [debug] Aprobación de Factura - -[2025-03-21 16:00:23.783137] [debug] {"uuid":"89b3e20f-46d6-4922-bdb7-5d335c9500f0","changeType":"draft_approved","entity":"invoice","entityId":1695,"message":null,"clientId":136,"eventName":"invoice.draft_approved","clientData":{"id":136,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"22 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 22, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Mus","lastName":"Tafah","username":null,"contacts":[{"id":140,"clientId":136,"email":"elmus@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-4333.33,"accountCredit":0,"accountOutstanding":4333.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1571597,"addressGpsLon":-100.9367744,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1695,"clientId":136,"number":"001646","createdDate":"2025-03-21T10:00:01-0600","dueDate":"2025-04-04T10:00:01-0600","emailSentDate":"2025-03-21T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1698,"type":"service","label":"INTERMEDIO 21\/02\/2025 \u2013 20\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":112,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Mus","clientLastName":"Tafah","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"22 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-21 16:00:23.783215] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-21 16:00:23.783252] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"89b3e20f-46d6-4922-bdb7-5d335c9500f0","changeType":"draft_approved","entity":"invoice","entityId":1695,"message":null,"clientId":136,"eventName":"invoice.draft_approved","clientData":{"id":136,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"22 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 22, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Mus","lastName":"Tafah","username":null,"contacts":[{"id":140,"clientId":136,"email":"elmus@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-4333.33,"accountCredit":0,"accountOutstanding":4333.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1571597,"addressGpsLon":-100.9367744,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1695,"clientId":136,"number":"001646","createdDate":"2025-03-21T10:00:01-0600","dueDate":"2025-04-04T10:00:01-0600","emailSentDate":"2025-03-21T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1698,"type":"service","label":"INTERMEDIO 21\/02\/2025 \u2013 20\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":112,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Mus","clientLastName":"Tafah","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"22 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: El Mus Tafah - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"El Mus Tafah","custom_fields":{"Cliente":136,"Domicilio":"\ud83d\udccd Yucat\u00e1n 22, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 El Mus Tafah","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/136","Saldo Actual":"\ud83d\udcb24333.33 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"136\",\"Domicilio\": \"\"Nombre\": \"El Mus Tafah\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/136\",\"Saldo Actual\": \"\ud83d\udcb24333.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21\/03\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21\/03\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 21\/03\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/03\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "136","Domicilio": ""Nombre": "El Mus Tafah","URL": "https://sistema.siip.mx/crm/client/136","Saldo Actual": "💲4333.33 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 21/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "21/03/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Mus Tafah","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"002180822750421052","Estado":"🔴 Suspendido","Cliente":"136","URL":"🌐 https://sistema.siip.mx/crm/client/136","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","user name":"Daniel Humberto 🐁","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"136\",\"Domicilio\": \"\"Nombre\": \"El Mus Tafah\",\"URL\": \"https://sistema.siip.mx/crm/client/136\",\"Saldo Actual\": \"💲4333.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21/03/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultimo Pago":"📆💸 21/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 21/03/2025 10:00","Domicilio":"📍 Yucatán 22, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Saldo Actual":"💲4333.33 pendientes","Nombre":"👤 El Mus Tafah"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Mus Tafah","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"002180822750421052","Estado":"🔴 Suspendido","Cliente":"136","URL":"🌐 https://sistema.siip.mx/crm/client/136","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","user name":"Daniel Humberto 🐁","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"136\",\"Domicilio\": \"\"Nombre\": \"El Mus Tafah\",\"URL\": \"https://sistema.siip.mx/crm/client/136\",\"Saldo Actual\": \"💲4333.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21/03/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultimo Pago":"📆💸 21/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 21/03/2025 10:00","Domicilio":"📍 Yucatán 22, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Saldo Actual":"💲4333.33 pendientes","Nombre":"👤 El Mus Tafah"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-22 6:25:03.365349] [notice] Logging level set to:debug -[2025-03-22 6:25:03.705432] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-22 6:25:03.706506] [debug] Valor de JSON: {"uuid":"b7b62cfd-202a-4ad6-a29b-354fea0712f1","changeType":"overdue","entity":"invoice","entityId":"1687","eventName":"invoice.overdue","extraData":{"entity":{"id":1687,"clientId":116,"number":"001638","createdDate":"2025-03-07T10:00:00-0600","dueDate":"2025-03-21T10:00:00-0600","emailSentDate":"2025-03-22T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1690,"type":"service","label":"PREMIUM 07\/02\/2025 \u2013 06\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":110,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jos\u00e9 Humberto","clientLastName":"Rodr\u00edguez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"28 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-22 6:25:03.706995] [debug] Factura vencida - -[2025-03-22 6:25:03.707129] [debug] datos del notification para el invoice overdue:{"uuid":"b7b62cfd-202a-4ad6-a29b-354fea0712f1","changeType":"overdue","entity":"invoice","entityId":1687,"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":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-6300,"accountCredit":0,"accountOutstanding":6300,"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":1687,"clientId":116,"number":"001638","createdDate":"2025-03-07T10:00:00-0600","dueDate":"2025-03-21T10:00:00-0600","emailSentDate":"2025-03-22T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1690,"type":"service","label":"PREMIUM 07\/02\/2025 \u2013 06\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":110,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jos\u00e9 Humberto","clientLastName":"Rodr\u00edguez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"28 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-22 6:25:03.707216] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-22 6:25:03.707426] [debug] Numero de cel obtenido - -[2025-03-22 6:25:03.707499] [warning] No se encontró un teléfono celular válido para el cliente: 116 -[2025-03-22 6:25:03.863338] [notice] Logging level set to:debug -[2025-03-22 6:25:04.003496] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-22 6:25:04.003681] [debug] Valor de JSON: {"uuid":"66e1085d-17c1-4453-a0b6-8a993aba5e19","changeType":"overdue","entity":"invoice","entityId":"1688","eventName":"invoice.overdue","extraData":{"entity":{"id":1688,"clientId":110,"number":"001639","createdDate":"2025-03-07T10:00:00-0600","dueDate":"2025-03-21T10:00:00-0600","emailSentDate":"2025-03-22T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1691,"type":"service","label":"plan300 07\/02\/2025 \u2013 06\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":109,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Maria la del Barrio","clientLastName":"Soy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"67 Morelos","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37805","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-22 6:25:04.003815] [debug] Factura vencida - -[2025-03-22 6:25:04.003887] [debug] datos del notification para el invoice overdue:{"uuid":"66e1085d-17c1-4453-a0b6-8a993aba5e19","changeType":"overdue","entity":"invoice","entityId":1688,"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"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-2700,"accountCredit":0,"accountOutstanding":2700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef6c00","addressGpsLat":21.1464449,"addressGpsLon":-100.9141442,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1688,"clientId":110,"number":"001639","createdDate":"2025-03-07T10:00:00-0600","dueDate":"2025-03-21T10:00:00-0600","emailSentDate":"2025-03-22T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1691,"type":"service","label":"plan300 07\/02\/2025 \u2013 06\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":109,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Maria la del Barrio","clientLastName":"Soy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"67 Morelos","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37805","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-22 6:25:04.003943] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-22 6:25:04.004034] [debug] Numero de cel obtenido - -[2025-03-22 6:25:04.004076] [warning] No se encontró un teléfono celular válido para el cliente: 110 -[2025-03-22 16:00:03.552956] [notice] Logging level set to:debug -[2025-03-22 16:00:03.698942] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-22 16:00:03.699115] [debug] Valor de JSON: {"uuid":"8d293440-6b3f-4466-b1ab-11b718121612","changeType":"insert","entity":"invoice","entityId":"1696","eventName":"invoice.add_draft","extraData":{"entity":{"id":1696,"clientId":141,"number":"001647","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1699,"type":"service","label":"Basico 300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":135,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":30,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":270,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":674,"invoiceId":1696,"paymentId":337,"creditNoteId":null,"refundId":null,"amount":30}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Caim\u00e1n","clientLastName":"Dorado","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-22 16:00:03.699368] [debug] Adición de borrador de Factura - -[2025-03-22 16:00:03.699457] [debug] {"uuid":"8d293440-6b3f-4466-b1ab-11b718121612","changeType":"insert","entity":"invoice","entityId":1696,"message":null,"clientId":141,"eventName":"invoice.add_draft","clientData":{"id":141,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Caim\u00e1n","lastName":"Dorado","username":null,"contacts":[{"id":145,"clientId":141,"email":"caimangolden@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-570,"accountCredit":0,"accountOutstanding":570,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#43a047","addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1696,"clientId":141,"number":"001647","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1699,"type":"service","label":"Basico 300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":135,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":30,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":270,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":674,"invoiceId":1696,"paymentId":337,"creditNoteId":null,"refundId":null,"amount":30}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Caim\u00e1n","clientLastName":"Dorado","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-22 16:00:03.699558] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-22 16:00:03.699599] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"8d293440-6b3f-4466-b1ab-11b718121612","changeType":"insert","entity":"invoice","entityId":1696,"message":null,"clientId":141,"eventName":"invoice.add_draft","clientData":{"id":141,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Caim\u00e1n","lastName":"Dorado","username":null,"contacts":[{"id":145,"clientId":141,"email":"caimangolden@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-570,"accountCredit":0,"accountOutstanding":570,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#43a047","addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1696,"clientId":141,"number":"001647","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1699,"type":"service","label":"Basico 300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":135,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":30,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":270,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":674,"invoiceId":1696,"paymentId":337,"creditNoteId":null,"refundId":null,"amount":30}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Caim\u00e1n","clientLastName":"Dorado","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":337,"clientId":141,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2024-06-28T14:08:58-0600","amount":30,"currencyCode":"MXN","note":null,"receiptSentDate":"2024-06-28T14:09:40-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":674,"invoiceId":1696,"paymentId":337,"creditNoteId":null,"refundId":null,"amount":30}],"creditAmount":0,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: El Caimán Dorado - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"El Caim\u00e1n Dorado","custom_fields":{"Cliente":141,"Domicilio":"\ud83d\udccd Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 El Caim\u00e1n Dorado","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/141","Saldo Actual":"\ud83d\udcb2570 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 30","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"141\",\"Domicilio\": \"\"Nombre\": \"El Caim\u00e1n Dorado\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/141\",\"Saldo Actual\": \"\ud83d\udcb2570 pendientes\",\"Monto Ultimo Pago\": \"$ 30\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28\/06\/2024 14:08 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"22\/03\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 28\/06\/2024 14:08 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/03\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "141","Domicilio": ""Nombre": "El Caimán Dorado","URL": "https://sistema.siip.mx/crm/client/141","Saldo Actual": "💲570 pendientes","Monto Ultimo Pago": "$ 30","Estado": "Suspendido","Fecha Ultimo Pago": " 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "22/03/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Caimán Dorado","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"002180822750421052","Estado":"🔴 Suspendido","Cliente":"141","URL":"🌐 https://sistema.siip.mx/crm/client/141","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","user name":"Daniel Humberto 🐁","Monto Ultimo Pago":"💲 30","Resumen":"{\"Cliente\": \"141\",\"Domicilio\": \"\"Nombre\": \"El Caimán Dorado\",\"URL\": \"https://sistema.siip.mx/crm/client/141\",\"Saldo Actual\": \"💲570 pendientes\",\"Monto Ultimo Pago\": \"$ 30\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"22/03/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultimo Pago":"📆💸 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 10:00","Domicilio":"📍 Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Saldo Actual":"💲570 pendientes","Nombre":"👤 El Caimán Dorado"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Caimán Dorado","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"002180822750421052","Estado":"🔴 Suspendido","Cliente":"141","URL":"🌐 https://sistema.siip.mx/crm/client/141","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","user name":"Daniel Humberto 🐁","Monto Ultimo Pago":"💲 30","Resumen":"{\"Cliente\": \"141\",\"Domicilio\": \"\"Nombre\": \"El Caimán Dorado\",\"URL\": \"https://sistema.siip.mx/crm/client/141\",\"Saldo Actual\": \"💲570 pendientes\",\"Monto Ultimo Pago\": \"$ 30\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"22/03/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultimo Pago":"📆💸 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 10:00","Domicilio":"📍 Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Saldo Actual":"💲570 pendientes","Nombre":"👤 El Caimán Dorado"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-22 16:00:06.269632] [notice] Logging level set to:debug -[2025-03-22 16:00:06.416702] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-22 16:00:06.416858] [debug] Valor de JSON: {"uuid":"7e82d825-fa42-4098-98b6-317b65f23f36","changeType":"draft_approved","entity":"invoice","entityId":"1696","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1696,"clientId":141,"number":"001647","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1699,"type":"service","label":"Basico 300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":135,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":30,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":270,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":674,"invoiceId":1696,"paymentId":337,"creditNoteId":null,"refundId":null,"amount":30}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Caim\u00e1n","clientLastName":"Dorado","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-22 16:00:06.417021] [debug] Aprobación de Factura - -[2025-03-22 16:00:06.417105] [debug] {"uuid":"7e82d825-fa42-4098-98b6-317b65f23f36","changeType":"draft_approved","entity":"invoice","entityId":1696,"message":null,"clientId":141,"eventName":"invoice.draft_approved","clientData":{"id":141,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Caim\u00e1n","lastName":"Dorado","username":null,"contacts":[{"id":145,"clientId":141,"email":"caimangolden@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-570,"accountCredit":0,"accountOutstanding":570,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#43a047","addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1696,"clientId":141,"number":"001647","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":"2025-03-22T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1699,"type":"service","label":"Basico 300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":135,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":30,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":270,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":674,"invoiceId":1696,"paymentId":337,"creditNoteId":null,"refundId":null,"amount":30}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Caim\u00e1n","clientLastName":"Dorado","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-22 16:00:06.417182] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-22 16:00:06.417222] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"7e82d825-fa42-4098-98b6-317b65f23f36","changeType":"draft_approved","entity":"invoice","entityId":1696,"message":null,"clientId":141,"eventName":"invoice.draft_approved","clientData":{"id":141,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Caim\u00e1n","lastName":"Dorado","username":null,"contacts":[{"id":145,"clientId":141,"email":"caimangolden@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-570,"accountCredit":0,"accountOutstanding":570,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#43a047","addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1696,"clientId":141,"number":"001647","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":"2025-03-22T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1699,"type":"service","label":"Basico 300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":135,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":30,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":270,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":674,"invoiceId":1696,"paymentId":337,"creditNoteId":null,"refundId":null,"amount":30}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Caim\u00e1n","clientLastName":"Dorado","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":337,"clientId":141,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2024-06-28T14:08:58-0600","amount":30,"currencyCode":"MXN","note":null,"receiptSentDate":"2024-06-28T14:09:40-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":674,"invoiceId":1696,"paymentId":337,"creditNoteId":null,"refundId":null,"amount":30}],"creditAmount":0,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: El Caimán Dorado - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"El Caim\u00e1n Dorado","custom_fields":{"Cliente":141,"Domicilio":"\ud83d\udccd Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 El Caim\u00e1n Dorado","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/141","Saldo Actual":"\ud83d\udcb2570 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 30","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"141\",\"Domicilio\": \"\"Nombre\": \"El Caim\u00e1n Dorado\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/141\",\"Saldo Actual\": \"\ud83d\udcb2570 pendientes\",\"Monto Ultimo Pago\": \"$ 30\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28\/06\/2024 14:08 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"22\/03\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 28\/06\/2024 14:08 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/03\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "141","Domicilio": ""Nombre": "El Caimán Dorado","URL": "https://sistema.siip.mx/crm/client/141","Saldo Actual": "💲570 pendientes","Monto Ultimo Pago": "$ 30","Estado": "Suspendido","Fecha Ultimo Pago": " 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "22/03/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Caimán Dorado","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"002180822750421052","Estado":"🔴 Suspendido","Cliente":"141","URL":"🌐 https://sistema.siip.mx/crm/client/141","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","user name":"Daniel Humberto 🐁","Monto Ultimo Pago":"💲 30","Resumen":"{\"Cliente\": \"141\",\"Domicilio\": \"\"Nombre\": \"El Caimán Dorado\",\"URL\": \"https://sistema.siip.mx/crm/client/141\",\"Saldo Actual\": \"💲570 pendientes\",\"Monto Ultimo Pago\": \"$ 30\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"22/03/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultimo Pago":"📆💸 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 10:00","Domicilio":"📍 Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Saldo Actual":"💲570 pendientes","Nombre":"👤 El Caimán Dorado"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Caimán Dorado","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"002180822750421052","Estado":"🔴 Suspendido","Cliente":"141","URL":"🌐 https://sistema.siip.mx/crm/client/141","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","user name":"Daniel Humberto 🐁","Monto Ultimo Pago":"💲 30","Resumen":"{\"Cliente\": \"141\",\"Domicilio\": \"\"Nombre\": \"El Caimán Dorado\",\"URL\": \"https://sistema.siip.mx/crm/client/141\",\"Saldo Actual\": \"💲570 pendientes\",\"Monto Ultimo Pago\": \"$ 30\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"22/03/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultimo Pago":"📆💸 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 10:00","Domicilio":"📍 Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Saldo Actual":"💲570 pendientes","Nombre":"👤 El Caimán Dorado"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-22 16:00:09.830878] [notice] Logging level set to:debug -[2025-03-22 16:00:10.041131] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-22 16:00:10.041306] [debug] Valor de JSON: {"uuid":"c60a7126-6ca2-48eb-ad3b-40ea34f2011c","changeType":"insert","entity":"invoice","entityId":"1697","eventName":"invoice.add_draft","extraData":{"entity":{"id":1697,"clientId":148,"number":"001648","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1700,"type":"service","label":"plan300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-22 16:00:10.041476] [debug] Adición de borrador de Factura - -[2025-03-22 16:00:10.041563] [debug] {"uuid":"c60a7126-6ca2-48eb-ad3b-40ea34f2011c","changeType":"insert","entity":"invoice","entityId":1697,"message":null,"clientId":148,"eventName":"invoice.add_draft","clientData":{"id":148,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"24 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-08-19T00:00:00-0600","leadConvertedAt":"2024-08-19T15:08:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El AR","lastName":"Real 3D","username":null,"contacts":[{"id":152,"clientId":148,"email":"elarquijuve@gmail.com","phone":"41818781806","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":147,"clientId":148,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Qh0pTQM9a96D8B","clientZoneVisible":true},{"id":148,"clientId":148,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180834778043086","clientZoneVisible":true},{"id":151,"clientId":148,"customAttributeId":8,"name":"conekta","key":"conekta","value":"aasdad","clientZoneVisible":true}],"accountBalance":-600,"accountCredit":0,"accountOutstanding":600,"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":1697,"clientId":148,"number":"001648","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1700,"type":"service","label":"plan300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-22 16:00:10.041654] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-22 16:00:10.041695] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"c60a7126-6ca2-48eb-ad3b-40ea34f2011c","changeType":"insert","entity":"invoice","entityId":1697,"message":null,"clientId":148,"eventName":"invoice.add_draft","clientData":{"id":148,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"24 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-08-19T00:00:00-0600","leadConvertedAt":"2024-08-19T15:08:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El AR","lastName":"Real 3D","username":null,"contacts":[{"id":152,"clientId":148,"email":"elarquijuve@gmail.com","phone":"41818781806","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":147,"clientId":148,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Qh0pTQM9a96D8B","clientZoneVisible":true},{"id":148,"clientId":148,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180834778043086","clientZoneVisible":true},{"id":151,"clientId":148,"customAttributeId":8,"name":"conekta","key":"conekta","value":"aasdad","clientZoneVisible":true}],"accountBalance":-600,"accountCredit":0,"accountOutstanding":600,"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":1697,"clientId":148,"number":"001648","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1700,"type":"service","label":"plan300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -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":{"Cliente":148,"Domicilio":"\ud83d\udccd Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 El AR Real 3D","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/148","Saldo Actual":"\ud83d\udcb2600 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 3500","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"148\",\"Domicilio\": \"\"Nombre\": \"El AR Real 3D\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/148\",\"Saldo Actual\": \"\ud83d\udcb2600 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 19\/08\/2024 15:10 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"22\/03\/2025 10:00\",\"Clabe Interbancaria\": \"002180834778043086\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 19\/08\/2024 15:10 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/03\/2025 10:00","Clabe Interbancaria":"002180834778043086","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "148","Domicilio": ""Nombre": "El AR Real 3D","URL": "https://sistema.siip.mx/crm/client/148","Saldo Actual": "💲600 pendientes","Monto Ultimo Pago": "$ 3500","Estado": "Suspendido","Fecha Ultimo Pago": " 19/08/2024 15:10 con Efectivo 💵","Fecha Ultima Actualizacion": "22/03/2025 10:00","Clabe Interbancaria": "002180834778043086","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: - -Response 2 Patch CallBell: - -[2025-03-22 16:00:12.110668] [notice] Logging level set to:debug -[2025-03-22 16:00:12.282872] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-22 16:00:12.283030] [debug] Valor de JSON: {"uuid":"95c171cc-d704-4ef3-bb1a-db6b20a4e65f","changeType":"draft_approved","entity":"invoice","entityId":"1697","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1697,"clientId":148,"number":"001648","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1700,"type":"service","label":"plan300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-22 16:00:12.283190] [debug] Aprobación de Factura - -[2025-03-22 16:00:12.283272] [debug] {"uuid":"95c171cc-d704-4ef3-bb1a-db6b20a4e65f","changeType":"draft_approved","entity":"invoice","entityId":1697,"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":151,"clientId":148,"customAttributeId":8,"name":"conekta","key":"conekta","value":"aasdad","clientZoneVisible":true}],"accountBalance":-600,"accountCredit":0,"accountOutstanding":600,"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":1697,"clientId":148,"number":"001648","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1700,"type":"service","label":"plan300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-22 16:00:12.283360] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-22 16:00:12.283417] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"95c171cc-d704-4ef3-bb1a-db6b20a4e65f","changeType":"draft_approved","entity":"invoice","entityId":1697,"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":151,"clientId":148,"customAttributeId":8,"name":"conekta","key":"conekta","value":"aasdad","clientZoneVisible":true}],"accountBalance":-600,"accountCredit":0,"accountOutstanding":600,"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":1697,"clientId":148,"number":"001648","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1700,"type":"service","label":"plan300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -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":{"Cliente":148,"Domicilio":"\ud83d\udccd Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 El AR Real 3D","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/148","Saldo Actual":"\ud83d\udcb2600 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 3500","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"148\",\"Domicilio\": \"\"Nombre\": \"El AR Real 3D\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/148\",\"Saldo Actual\": \"\ud83d\udcb2600 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 19\/08\/2024 15:10 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"22\/03\/2025 10:00\",\"Clabe Interbancaria\": \"002180834778043086\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 19\/08\/2024 15:10 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/03\/2025 10:00","Clabe Interbancaria":"002180834778043086","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "148","Domicilio": ""Nombre": "El AR Real 3D","URL": "https://sistema.siip.mx/crm/client/148","Saldo Actual": "💲600 pendientes","Monto Ultimo Pago": "$ 3500","Estado": "Suspendido","Fecha Ultimo Pago": " 19/08/2024 15:10 con Efectivo 💵","Fecha Ultima Actualizacion": "22/03/2025 10:00","Clabe Interbancaria": "002180834778043086","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: - -Response 2 Patch CallBell: - -[2025-03-22 16:00:14.686135] [notice] Logging level set to:debug -[2025-03-22 16:00:14.851809] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-22 16:00:14.851874] [debug] Valor de JSON: {"uuid":"d2d72eb2-fce8-49f3-bffc-8726d4c5bf44","changeType":"insert","entity":"invoice","entityId":"1698","eventName":"invoice.add_draft","extraData":{"entity":{"id":1698,"clientId":162,"number":"001649","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1701,"type":"service","label":"PREMIUM 01\/03\/2025 \u2013 31\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":128,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Edward","clientLastName":"Elric","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"76 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-22 16:00:14.852046] [debug] Adición de borrador de Factura - -[2025-03-22 16:00:14.852102] [debug] {"uuid":"d2d72eb2-fce8-49f3-bffc-8726d4c5bf44","changeType":"insert","entity":"invoice","entityId":1698,"message":null,"clientId":162,"eventName":"invoice.add_draft","clientData":{"id":162,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":"2025-01-10T10:32:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Edward","lastName":"Elric","username":null,"contacts":[{"id":166,"clientId":162,"email":"eduardelric@gmail.com","phone":"5214181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":159,"clientId":162,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"434876867834423324","clientZoneVisible":true},{"id":160,"clientId":162,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RYsuykCEvupaGF","clientZoneVisible":true},{"id":161,"clientId":162,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180599808752427","clientZoneVisible":true}],"accountBalance":-916.67,"accountCredit":0,"accountOutstanding":916.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d84315","addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1698,"clientId":162,"number":"001649","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1701,"type":"service","label":"PREMIUM 01\/03\/2025 \u2013 31\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":128,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Edward","clientLastName":"Elric","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"76 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-22 16:00:14.852262] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-22 16:00:14.852278] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"d2d72eb2-fce8-49f3-bffc-8726d4c5bf44","changeType":"insert","entity":"invoice","entityId":1698,"message":null,"clientId":162,"eventName":"invoice.add_draft","clientData":{"id":162,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":"2025-01-10T10:32:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Edward","lastName":"Elric","username":null,"contacts":[{"id":166,"clientId":162,"email":"eduardelric@gmail.com","phone":"5214181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":159,"clientId":162,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"434876867834423324","clientZoneVisible":true},{"id":160,"clientId":162,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RYsuykCEvupaGF","clientZoneVisible":true},{"id":161,"clientId":162,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180599808752427","clientZoneVisible":true}],"accountBalance":-916.67,"accountCredit":0,"accountOutstanding":916.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d84315","addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1698,"clientId":162,"number":"001649","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1701,"type":"service","label":"PREMIUM 01\/03\/2025 \u2013 31\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":128,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Edward","clientLastName":"Elric","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"76 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":506,"clientId":162,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-12T22:10:30-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-01-12T22:10:31-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":663,"invoiceId":1571,"paymentId":506,"creditNoteId":null,"refundId":null,"amount":180}],"creditAmount":0,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Edward Elric - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Edward Elric","custom_fields":{"Cliente":162,"Domicilio":"\ud83d\udccd Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Edward Elric","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/162","Saldo Actual":"\ud83d\udcb2916.67 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 180","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"162\",\"Domicilio\": \"\"Nombre\": \"Edward Elric\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/162\",\"Saldo Actual\": \"\ud83d\udcb2916.67 pendientes\",\"Monto Ultimo Pago\": \"$ 180\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 12\/01\/2025 22:10 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"22\/03\/2025 10:00\",\"Clabe Interbancaria\": \"124180599808752427\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 12\/01\/2025 22:10 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/03\/2025 10:00","Clabe Interbancaria":"124180599808752427","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "162","Domicilio": ""Nombre": "Edward Elric","URL": "https://sistema.siip.mx/crm/client/162","Saldo Actual": "💲916.67 pendientes","Monto Ultimo Pago": "$ 180","Estado": "Suspendido","Fecha Ultimo Pago": " 12/01/2025 22:10 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "22/03/2025 10:00","Clabe Interbancaria": "124180599808752427","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Edward Elric","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"124180599808752427","Estado":"🔴 Suspendido","Cliente":"162","URL":"🌐 https://sistema.siip.mx/crm/client/162","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","user name":"Daniel Humberto 🐁","Monto Ultimo Pago":"💲 180","Resumen":"{\"Cliente\": \"162\",\"Domicilio\": \"\"Nombre\": \"Edward Elric\",\"URL\": \"https://sistema.siip.mx/crm/client/162\",\"Saldo Actual\": \"💲916.67 pendientes\",\"Monto Ultimo Pago\": \"$ 180\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 12/01/2025 22:10 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"22/03/2025 10:00\",\"Clabe Interbancaria\": \"124180599808752427\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultimo Pago":"📆💸 12/01/2025 22:10 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 10:00","Domicilio":"📍 Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Saldo Actual":"💲916.67 pendientes","Nombre":"👤 Edward Elric"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Edward Elric","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"124180599808752427","Estado":"🔴 Suspendido","Cliente":"162","URL":"🌐 https://sistema.siip.mx/crm/client/162","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","user name":"Daniel Humberto 🐁","Monto Ultimo Pago":"💲 180","Resumen":"{\"Cliente\": \"162\",\"Domicilio\": \"\"Nombre\": \"Edward Elric\",\"URL\": \"https://sistema.siip.mx/crm/client/162\",\"Saldo Actual\": \"💲916.67 pendientes\",\"Monto Ultimo Pago\": \"$ 180\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 12/01/2025 22:10 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"22/03/2025 10:00\",\"Clabe Interbancaria\": \"124180599808752427\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultimo Pago":"📆💸 12/01/2025 22:10 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 10:00","Domicilio":"📍 Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Saldo Actual":"💲916.67 pendientes","Nombre":"👤 Edward Elric"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-22 16:00:16.928845] [notice] Logging level set to:debug -[2025-03-22 16:00:17.059681] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-22 16:00:17.059854] [debug] Valor de JSON: {"uuid":"269d9f82-8d5c-4566-ab14-d7ce03ba5f2c","changeType":"draft_approved","entity":"invoice","entityId":"1698","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1698,"clientId":162,"number":"001649","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1701,"type":"service","label":"PREMIUM 01\/03\/2025 \u2013 31\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":128,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Edward","clientLastName":"Elric","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"76 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-22 16:00:17.060024] [debug] Aprobación de Factura - -[2025-03-22 16:00:17.060111] [debug] {"uuid":"269d9f82-8d5c-4566-ab14-d7ce03ba5f2c","changeType":"draft_approved","entity":"invoice","entityId":1698,"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":"5214181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":159,"clientId":162,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"434876867834423324","clientZoneVisible":true},{"id":160,"clientId":162,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RYsuykCEvupaGF","clientZoneVisible":true},{"id":161,"clientId":162,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180599808752427","clientZoneVisible":true}],"accountBalance":-916.67,"accountCredit":0,"accountOutstanding":916.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d84315","addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1698,"clientId":162,"number":"001649","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1701,"type":"service","label":"PREMIUM 01\/03\/2025 \u2013 31\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":128,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Edward","clientLastName":"Elric","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"76 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-22 16:00:17.060204] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-22 16:00:17.060244] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"269d9f82-8d5c-4566-ab14-d7ce03ba5f2c","changeType":"draft_approved","entity":"invoice","entityId":1698,"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":"5214181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":159,"clientId":162,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"434876867834423324","clientZoneVisible":true},{"id":160,"clientId":162,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RYsuykCEvupaGF","clientZoneVisible":true},{"id":161,"clientId":162,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180599808752427","clientZoneVisible":true}],"accountBalance":-916.67,"accountCredit":0,"accountOutstanding":916.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d84315","addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1698,"clientId":162,"number":"001649","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1701,"type":"service","label":"PREMIUM 01\/03\/2025 \u2013 31\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":128,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Edward","clientLastName":"Elric","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"76 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":506,"clientId":162,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-12T22:10:30-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-01-12T22:10:31-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":663,"invoiceId":1571,"paymentId":506,"creditNoteId":null,"refundId":null,"amount":180}],"creditAmount":0,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Edward Elric - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Edward Elric","custom_fields":{"Cliente":162,"Domicilio":"\ud83d\udccd Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Edward Elric","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/162","Saldo Actual":"\ud83d\udcb2916.67 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 180","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"162\",\"Domicilio\": \"\"Nombre\": \"Edward Elric\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/162\",\"Saldo Actual\": \"\ud83d\udcb2916.67 pendientes\",\"Monto Ultimo Pago\": \"$ 180\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 12\/01\/2025 22:10 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"22\/03\/2025 10:00\",\"Clabe Interbancaria\": \"124180599808752427\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 12\/01\/2025 22:10 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/03\/2025 10:00","Clabe Interbancaria":"124180599808752427","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "162","Domicilio": ""Nombre": "Edward Elric","URL": "https://sistema.siip.mx/crm/client/162","Saldo Actual": "💲916.67 pendientes","Monto Ultimo Pago": "$ 180","Estado": "Suspendido","Fecha Ultimo Pago": " 12/01/2025 22:10 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "22/03/2025 10:00","Clabe Interbancaria": "124180599808752427","Site": "","Antena/Sectorial": ""} - -[2025-03-22 16:00:27.059746] [notice] Logging level set to:debug -[2025-03-22 16:00:27.204044] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-22 16:00:27.204235] [debug] Valor de JSON: {"uuid":"ba54e531-800b-4d16-84cb-b8556d6058ed","changeType":"insert","entity":"invoice","entityId":"1699","eventName":"invoice.add_draft","extraData":{"entity":{"id":1699,"clientId":157,"number":"001650","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1702,"type":"service","label":"plan300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":127,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU SIIP","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-22 16:00:27.204571] [debug] Adición de borrador de Factura - -[2025-03-22 16:00:27.204662] [debug] {"uuid":"ba54e531-800b-4d16-84cb-b8556d6058ed","changeType":"insert","entity":"invoice","entityId":1699,"message":null,"clientId":157,"eventName":"invoice.add_draft","clientData":{"id":157,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-04T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANGEL","lastName":"ARVIZU SIIP","username":null,"contacts":[{"id":161,"clientId":157,"email":null,"phone":"5214181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":154,"clientId":157,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RWjBO6Lsy1TgAV","clientZoneVisible":true},{"id":155,"clientId":157,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180695267429334","clientZoneVisible":true}],"accountBalance":-880,"accountCredit":0,"accountOutstanding":880,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1699,"clientId":157,"number":"001650","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1702,"type":"service","label":"plan300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":127,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU SIIP","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-22 16:00:27.204796] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-22 16:00:27.204842] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"ba54e531-800b-4d16-84cb-b8556d6058ed","changeType":"insert","entity":"invoice","entityId":1699,"message":null,"clientId":157,"eventName":"invoice.add_draft","clientData":{"id":157,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-04T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANGEL","lastName":"ARVIZU SIIP","username":null,"contacts":[{"id":161,"clientId":157,"email":null,"phone":"5214181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":154,"clientId":157,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RWjBO6Lsy1TgAV","clientZoneVisible":true},{"id":155,"clientId":157,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180695267429334","clientZoneVisible":true}],"accountBalance":-880,"accountCredit":0,"accountOutstanding":880,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1699,"clientId":157,"number":"001650","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1702,"type":"service","label":"plan300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":127,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU SIIP","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -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":{"Cliente":157,"Domicilio":"\ud83d\udccd Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 ANGEL ARVIZU SIIP","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/157","Saldo Actual":"\ud83d\udcb2880 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"157\",\"Domicilio\": \"\"Nombre\": \"ANGEL ARVIZU SIIP\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/157\",\"Saldo Actual\": \"\ud83d\udcb2880 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 22\/03\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"22\/03\/2025 10:00\",\"Clabe Interbancaria\": \"124180695267429334\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 22\/03\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/03\/2025 10:00","Clabe Interbancaria":"124180695267429334","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "157","Domicilio": ""Nombre": "ANGEL ARVIZU SIIP","URL": "https://sistema.siip.mx/crm/client/157","Saldo Actual": "💲880 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 22/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "22/03/2025 10:00","Clabe Interbancaria": "124180695267429334","Site": "","Antena/Sectorial": ""} - -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","href":"https://dash.callbell.eu/contacts/362193e0af9b4ffc8ed5d7f930dd120f","conversationHref":"https://dash.callbell.eu/chat/56dec9b4f3334325b737683f2d8ff8b2","tags":["SIIP","NOBOT"],"assignedUser":"avalos.mgla@gmail.com","customFields":{"Acciones":"NOBOT-SIIP","user entry point":"inbound_message","Estado":"🔴 Suspendido","Clabe Interbancaria":"124180695267429334","Antena/Sectorial":"157","Domicilio":"📍 Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 10:00","Monto Ultimo Pago":"💲 ","Nombre":"👤 ANGEL ARVIZU SIIP","Saldo Actual":"💲880 pendientes","Resumen":"{\"Cliente\": \"157\",\"Domicilio\": \"\"Nombre\": \"ANGEL ARVIZU SIIP\",\"URL\": \"https://sistema.siip.mx/crm/client/157\",\"Saldo Actual\": \"💲880 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 22/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"22/03/2025 10:00\",\"Clabe Interbancaria\": \"124180695267429334\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultimo Pago":"📆💸 22/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","user name":"Angel 😇/😈","Cliente":"157","URL":"🌐 https://sistema.siip.mx/crm/client/157"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"362193e0af9b4ffc8ed5d7f930dd120f","name":"ANGEL ARVIZU SIIP","phoneNumber":"5214181515664","avatarUrl":null,"createdAt":"2025-01-07T22:55:44Z","closedAt":"2025-03-20T17:12:35Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/362193e0af9b4ffc8ed5d7f930dd120f","conversationHref":"https://dash.callbell.eu/chat/56dec9b4f3334325b737683f2d8ff8b2","tags":["SIIP","NOBOT"],"assignedUser":"avalos.mgla@gmail.com","customFields":{"Acciones":"NOBOT-SIIP","user entry point":"inbound_message","Estado":"🔴 Suspendido","Clabe Interbancaria":"124180695267429334","Antena/Sectorial":"157","Domicilio":"📍 Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 10:00","Monto Ultimo Pago":"💲 ","Nombre":"👤 ANGEL ARVIZU SIIP","Saldo Actual":"💲880 pendientes","Resumen":"{\"Cliente\": \"157\",\"Domicilio\": \"\"Nombre\": \"ANGEL ARVIZU SIIP\",\"URL\": \"https://sistema.siip.mx/crm/client/157\",\"Saldo Actual\": \"💲880 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 22/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"22/03/2025 10:00\",\"Clabe Interbancaria\": \"124180695267429334\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultimo Pago":"📆💸 22/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","user name":"Angel 😇/😈","Cliente":"157","URL":"🌐 https://sistema.siip.mx/crm/client/157"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-22 16:00:29.638780] [notice] Logging level set to:debug -[2025-03-22 16:00:29.763746] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-22 16:00:29.763950] [debug] Valor de JSON: {"uuid":"912b12e3-1948-4477-80c6-2ad8e93b6066","changeType":"draft_approved","entity":"invoice","entityId":"1699","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1699,"clientId":157,"number":"001650","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1702,"type":"service","label":"plan300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":127,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU SIIP","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-22 16:00:29.764118] [debug] Aprobación de Factura - -[2025-03-22 16:00:29.764226] [debug] {"uuid":"912b12e3-1948-4477-80c6-2ad8e93b6066","changeType":"draft_approved","entity":"invoice","entityId":1699,"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":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-04T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANGEL","lastName":"ARVIZU SIIP","username":null,"contacts":[{"id":161,"clientId":157,"email":null,"phone":"5214181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":154,"clientId":157,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RWjBO6Lsy1TgAV","clientZoneVisible":true},{"id":155,"clientId":157,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180695267429334","clientZoneVisible":true}],"accountBalance":-880,"accountCredit":0,"accountOutstanding":880,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1699,"clientId":157,"number":"001650","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1702,"type":"service","label":"plan300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":127,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU SIIP","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-22 16:00:29.764312] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-22 16:00:29.764799] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"912b12e3-1948-4477-80c6-2ad8e93b6066","changeType":"draft_approved","entity":"invoice","entityId":1699,"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":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-04T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANGEL","lastName":"ARVIZU SIIP","username":null,"contacts":[{"id":161,"clientId":157,"email":null,"phone":"5214181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":154,"clientId":157,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RWjBO6Lsy1TgAV","clientZoneVisible":true},{"id":155,"clientId":157,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180695267429334","clientZoneVisible":true}],"accountBalance":-880,"accountCredit":0,"accountOutstanding":880,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1699,"clientId":157,"number":"001650","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1702,"type":"service","label":"plan300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":127,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU SIIP","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -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":{"Cliente":157,"Domicilio":"\ud83d\udccd Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 ANGEL ARVIZU SIIP","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/157","Saldo Actual":"\ud83d\udcb2880 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"157\",\"Domicilio\": \"\"Nombre\": \"ANGEL ARVIZU SIIP\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/157\",\"Saldo Actual\": \"\ud83d\udcb2880 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 22\/03\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"22\/03\/2025 10:00\",\"Clabe Interbancaria\": \"124180695267429334\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 22\/03\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/03\/2025 10:00","Clabe Interbancaria":"124180695267429334","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "157","Domicilio": ""Nombre": "ANGEL ARVIZU SIIP","URL": "https://sistema.siip.mx/crm/client/157","Saldo Actual": "💲880 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 22/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "22/03/2025 10:00","Clabe Interbancaria": "124180695267429334","Site": "","Antena/Sectorial": ""} - -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","href":"https://dash.callbell.eu/contacts/362193e0af9b4ffc8ed5d7f930dd120f","conversationHref":"https://dash.callbell.eu/chat/56dec9b4f3334325b737683f2d8ff8b2","tags":["SIIP","NOBOT"],"assignedUser":"avalos.mgla@gmail.com","customFields":{"Acciones":"NOBOT-SIIP","user entry point":"inbound_message","Estado":"🔴 Suspendido","Clabe Interbancaria":"124180695267429334","Antena/Sectorial":"157","Domicilio":"📍 Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 10:00","Monto Ultimo Pago":"💲 ","Nombre":"👤 ANGEL ARVIZU SIIP","Saldo Actual":"💲880 pendientes","Resumen":"{\"Cliente\": \"157\",\"Domicilio\": \"\"Nombre\": \"ANGEL ARVIZU SIIP\",\"URL\": \"https://sistema.siip.mx/crm/client/157\",\"Saldo Actual\": \"💲880 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 22/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"22/03/2025 10:00\",\"Clabe Interbancaria\": \"124180695267429334\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultimo Pago":"📆💸 22/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","user name":"Angel 😇/😈","Cliente":"157","URL":"🌐 https://sistema.siip.mx/crm/client/157"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"362193e0af9b4ffc8ed5d7f930dd120f","name":"ANGEL ARVIZU SIIP","phoneNumber":"5214181515664","avatarUrl":null,"createdAt":"2025-01-07T22:55:44Z","closedAt":"2025-03-20T17:12:35Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/362193e0af9b4ffc8ed5d7f930dd120f","conversationHref":"https://dash.callbell.eu/chat/56dec9b4f3334325b737683f2d8ff8b2","tags":["SIIP","NOBOT"],"assignedUser":"avalos.mgla@gmail.com","customFields":{"Acciones":"NOBOT-SIIP","user entry point":"inbound_message","Estado":"🔴 Suspendido","Clabe Interbancaria":"124180695267429334","Antena/Sectorial":"157","Domicilio":"📍 Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 10:00","Monto Ultimo Pago":"💲 ","Nombre":"👤 ANGEL ARVIZU SIIP","Saldo Actual":"💲880 pendientes","Resumen":"{\"Cliente\": \"157\",\"Domicilio\": \"\"Nombre\": \"ANGEL ARVIZU SIIP\",\"URL\": \"https://sistema.siip.mx/crm/client/157\",\"Saldo Actual\": \"💲880 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 22/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"22/03/2025 10:00\",\"Clabe Interbancaria\": \"124180695267429334\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultimo Pago":"📆💸 22/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","user name":"Angel 😇/😈","Cliente":"157","URL":"🌐 https://sistema.siip.mx/crm/client/157"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-22 16:00:32.107162] [notice] Logging level set to:debug -[2025-03-22 16:00:32.243659] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-22 16:00:32.243722] [debug] Valor de JSON: {"uuid":"0af87056-bcfd-4d4a-8995-9ee48a61fe89","changeType":"insert","entity":"invoice","entityId":"1700","eventName":"invoice.add_draft","extraData":{"entity":{"id":1700,"clientId":129,"number":"001651","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1703,"type":"service","label":"INTERMEDIO 01\/03\/2025 \u2013 31\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":117,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Loco","clientLastName":"Valdez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-22 16:00:32.243839] [debug] Adición de borrador de Factura - -[2025-03-22 16:00:32.243890] [debug] {"uuid":"0af87056-bcfd-4d4a-8995-9ee48a61fe89","changeType":"insert","entity":"invoice","entityId":1700,"message":null,"clientId":129,"eventName":"invoice.add_draft","clientData":{"id":129,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-17T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Loco","lastName":"Valdez","username":null,"contacts":[{"id":133,"clientId":129,"email":"pepepeltoro141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":133,"clientId":129,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJSCgri287Ic0V","clientZoneVisible":true},{"id":134,"clientId":129,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180966482840265","clientZoneVisible":true}],"accountBalance":-1750,"accountCredit":0,"accountOutstanding":1750,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00897b","addressGpsLat":21.1608752,"addressGpsLon":-100.935835,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1700,"clientId":129,"number":"001651","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":"2025-03-22T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1703,"type":"service","label":"INTERMEDIO 01\/03\/2025 \u2013 31\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":117,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Loco","clientLastName":"Valdez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-22 16:00:32.243966] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-22 16:00:32.243978] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"0af87056-bcfd-4d4a-8995-9ee48a61fe89","changeType":"insert","entity":"invoice","entityId":1700,"message":null,"clientId":129,"eventName":"invoice.add_draft","clientData":{"id":129,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-17T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Loco","lastName":"Valdez","username":null,"contacts":[{"id":133,"clientId":129,"email":"pepepeltoro141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":133,"clientId":129,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJSCgri287Ic0V","clientZoneVisible":true},{"id":134,"clientId":129,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180966482840265","clientZoneVisible":true}],"accountBalance":-1750,"accountCredit":0,"accountOutstanding":1750,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00897b","addressGpsLat":21.1608752,"addressGpsLon":-100.935835,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1700,"clientId":129,"number":"001651","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":"2025-03-22T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1703,"type":"service","label":"INTERMEDIO 01\/03\/2025 \u2013 31\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":117,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Loco","clientLastName":"Valdez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":375,"clientId":129,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2024-09-27T14:50:47-0600","amount":250,"currencyCode":"MXN","note":null,"receiptSentDate":"2024-09-27T14:50:48-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":425,"invoiceId":976,"paymentId":375,"creditNoteId":null,"refundId":null,"amount":250}],"creditAmount":0,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: El Loco Valdez - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"El Loco Valdez","custom_fields":{"Cliente":129,"Domicilio":"\ud83d\udccd Coahuila 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 El Loco Valdez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/129","Saldo Actual":"\ud83d\udcb21750 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 250","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"129\",\"Domicilio\": \"\"Nombre\": \"El Loco Valdez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/129\",\"Saldo Actual\": \"\ud83d\udcb21750 pendientes\",\"Monto Ultimo Pago\": \"$ 250\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 27\/09\/2024 14:50 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"22\/03\/2025 10:00\",\"Clabe Interbancaria\": \"002180966482840265\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 27\/09\/2024 14:50 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/03\/2025 10:00","Clabe Interbancaria":"002180966482840265","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "129","Domicilio": ""Nombre": "El Loco Valdez","URL": "https://sistema.siip.mx/crm/client/129","Saldo Actual": "💲1750 pendientes","Monto Ultimo Pago": "$ 250","Estado": "Suspendido","Fecha Ultimo Pago": " 27/09/2024 14:50 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "22/03/2025 10:00","Clabe Interbancaria": "002180966482840265","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Loco Valdez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"002180966482840265","Estado":"🔴 Suspendido","Cliente":"129","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","user name":"Daniel Humberto 🐁","Domicilio":"📍 Coahuila 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","URL":"🌐 https://sistema.siip.mx/crm/client/129","Saldo Actual":"💲1750 pendientes","Monto Ultimo Pago":"💲 250","Resumen":"{\"Cliente\": \"129\",\"Domicilio\": \"\"Nombre\": \"El Loco Valdez\",\"URL\": \"https://sistema.siip.mx/crm/client/129\",\"Saldo Actual\": \"💲1750 pendientes\",\"Monto Ultimo Pago\": \"$ 250\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 27/09/2024 14:50 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"22/03/2025 10:00\",\"Clabe Interbancaria\": \"002180966482840265\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultimo Pago":"📆💸 27/09/2024 14:50 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 10:00","Nombre":"👤 El Loco Valdez"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Loco Valdez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"002180966482840265","Estado":"🔴 Suspendido","Cliente":"129","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","user name":"Daniel Humberto 🐁","Domicilio":"📍 Coahuila 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","URL":"🌐 https://sistema.siip.mx/crm/client/129","Saldo Actual":"💲1750 pendientes","Monto Ultimo Pago":"💲 250","Resumen":"{\"Cliente\": \"129\",\"Domicilio\": \"\"Nombre\": \"El Loco Valdez\",\"URL\": \"https://sistema.siip.mx/crm/client/129\",\"Saldo Actual\": \"💲1750 pendientes\",\"Monto Ultimo Pago\": \"$ 250\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 27/09/2024 14:50 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"22/03/2025 10:00\",\"Clabe Interbancaria\": \"002180966482840265\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultimo Pago":"📆💸 27/09/2024 14:50 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 10:00","Nombre":"👤 El Loco Valdez"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-22 16:00:34.974414] [notice] Logging level set to:debug -[2025-03-22 16:00:35.121509] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-22 16:00:35.121676] [debug] Valor de JSON: {"uuid":"8ebef5c4-508c-431d-9ec2-b0790d1b5332","changeType":"draft_approved","entity":"invoice","entityId":"1700","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1700,"clientId":129,"number":"001651","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1703,"type":"service","label":"INTERMEDIO 01\/03\/2025 \u2013 31\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":117,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Loco","clientLastName":"Valdez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-22 16:00:35.121813] [debug] Aprobación de Factura - -[2025-03-22 16:00:35.121896] [debug] {"uuid":"8ebef5c4-508c-431d-9ec2-b0790d1b5332","changeType":"draft_approved","entity":"invoice","entityId":1700,"message":null,"clientId":129,"eventName":"invoice.draft_approved","clientData":{"id":129,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-17T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Loco","lastName":"Valdez","username":null,"contacts":[{"id":133,"clientId":129,"email":"pepepeltoro141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":133,"clientId":129,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJSCgri287Ic0V","clientZoneVisible":true},{"id":134,"clientId":129,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180966482840265","clientZoneVisible":true}],"accountBalance":-1750,"accountCredit":0,"accountOutstanding":1750,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00897b","addressGpsLat":21.1608752,"addressGpsLon":-100.935835,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1700,"clientId":129,"number":"001651","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":"2025-03-22T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1703,"type":"service","label":"INTERMEDIO 01\/03\/2025 \u2013 31\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":117,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Loco","clientLastName":"Valdez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-22 16:00:35.121964] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-22 16:00:35.122004] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"8ebef5c4-508c-431d-9ec2-b0790d1b5332","changeType":"draft_approved","entity":"invoice","entityId":1700,"message":null,"clientId":129,"eventName":"invoice.draft_approved","clientData":{"id":129,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-17T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Loco","lastName":"Valdez","username":null,"contacts":[{"id":133,"clientId":129,"email":"pepepeltoro141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":133,"clientId":129,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJSCgri287Ic0V","clientZoneVisible":true},{"id":134,"clientId":129,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180966482840265","clientZoneVisible":true}],"accountBalance":-1750,"accountCredit":0,"accountOutstanding":1750,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00897b","addressGpsLat":21.1608752,"addressGpsLon":-100.935835,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1700,"clientId":129,"number":"001651","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":"2025-03-22T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1703,"type":"service","label":"INTERMEDIO 01\/03\/2025 \u2013 31\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":117,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Loco","clientLastName":"Valdez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":375,"clientId":129,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2024-09-27T14:50:47-0600","amount":250,"currencyCode":"MXN","note":null,"receiptSentDate":"2024-09-27T14:50:48-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":425,"invoiceId":976,"paymentId":375,"creditNoteId":null,"refundId":null,"amount":250}],"creditAmount":0,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: El Loco Valdez - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"El Loco Valdez","custom_fields":{"Cliente":129,"Domicilio":"\ud83d\udccd Coahuila 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 El Loco Valdez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/129","Saldo Actual":"\ud83d\udcb21750 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 250","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"129\",\"Domicilio\": \"\"Nombre\": \"El Loco Valdez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/129\",\"Saldo Actual\": \"\ud83d\udcb21750 pendientes\",\"Monto Ultimo Pago\": \"$ 250\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 27\/09\/2024 14:50 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"22\/03\/2025 10:00\",\"Clabe Interbancaria\": \"002180966482840265\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 27\/09\/2024 14:50 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/03\/2025 10:00","Clabe Interbancaria":"002180966482840265","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "129","Domicilio": ""Nombre": "El Loco Valdez","URL": "https://sistema.siip.mx/crm/client/129","Saldo Actual": "💲1750 pendientes","Monto Ultimo Pago": "$ 250","Estado": "Suspendido","Fecha Ultimo Pago": " 27/09/2024 14:50 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "22/03/2025 10:00","Clabe Interbancaria": "002180966482840265","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Loco Valdez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"002180966482840265","Estado":"🔴 Suspendido","Cliente":"129","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","user name":"Daniel Humberto 🐁","Domicilio":"📍 Coahuila 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","URL":"🌐 https://sistema.siip.mx/crm/client/129","Saldo Actual":"💲1750 pendientes","Monto Ultimo Pago":"💲 250","Resumen":"{\"Cliente\": \"129\",\"Domicilio\": \"\"Nombre\": \"El Loco Valdez\",\"URL\": \"https://sistema.siip.mx/crm/client/129\",\"Saldo Actual\": \"💲1750 pendientes\",\"Monto Ultimo Pago\": \"$ 250\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 27/09/2024 14:50 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"22/03/2025 10:00\",\"Clabe Interbancaria\": \"002180966482840265\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultimo Pago":"📆💸 27/09/2024 14:50 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 10:00","Nombre":"👤 El Loco Valdez"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Loco Valdez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"002180966482840265","Estado":"🔴 Suspendido","Cliente":"129","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","user name":"Daniel Humberto 🐁","Domicilio":"📍 Coahuila 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","URL":"🌐 https://sistema.siip.mx/crm/client/129","Saldo Actual":"💲1750 pendientes","Monto Ultimo Pago":"💲 250","Resumen":"{\"Cliente\": \"129\",\"Domicilio\": \"\"Nombre\": \"El Loco Valdez\",\"URL\": \"https://sistema.siip.mx/crm/client/129\",\"Saldo Actual\": \"💲1750 pendientes\",\"Monto Ultimo Pago\": \"$ 250\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 27/09/2024 14:50 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"22/03/2025 10:00\",\"Clabe Interbancaria\": \"002180966482840265\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultimo Pago":"📆💸 27/09/2024 14:50 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 10:00","Nombre":"👤 El Loco Valdez"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-22 16:00:37.801615] [notice] Logging level set to:debug -[2025-03-22 16:00:37.955821] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-22 16:00:37.956017] [debug] Valor de JSON: {"uuid":"f7155b7d-7593-4d95-a801-d30376b59b13","changeType":"insert","entity":"invoice","entityId":"1701","eventName":"invoice.add_draft","extraData":{"entity":{"id":1701,"clientId":156,"number":"001652","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1704,"type":"service","label":"PREMIUM 01\/03\/2025 \u2013 31\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":126,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":700,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":675,"invoiceId":1701,"paymentId":502,"creditNoteId":null,"refundId":null,"amount":700}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"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},"entityBeforeEdit":null}} - -[2025-03-22 16:00:37.956238] [debug] Adición de borrador de Factura - -[2025-03-22 16:00:37.956360] [debug] {"uuid":"f7155b7d-7593-4d95-a801-d30376b59b13","changeType":"insert","entity":"invoice","entityId":1701,"message":null,"clientId":156,"eventName":"invoice.add_draft","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}],"accountBalance":1946.67,"accountCredit":1946.67,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#7cb342","addressGpsLat":21.1562598,"addressGpsLon":-100.9370894,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1701,"clientId":156,"number":"001652","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1704,"type":"service","label":"PREMIUM 01\/03\/2025 \u2013 31\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":126,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":700,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":675,"invoiceId":1701,"paymentId":502,"creditNoteId":null,"refundId":null,"amount":700}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"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},"paymentData":null} - -[2025-03-22 16:00:37.956482] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-22 16:00:37.956543] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"f7155b7d-7593-4d95-a801-d30376b59b13","changeType":"insert","entity":"invoice","entityId":1701,"message":null,"clientId":156,"eventName":"invoice.add_draft","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}],"accountBalance":1946.67,"accountCredit":1946.67,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#7cb342","addressGpsLat":21.1562598,"addressGpsLon":-100.9370894,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1701,"clientId":156,"number":"001652","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1704,"type":"service","label":"PREMIUM 01\/03\/2025 \u2013 31\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":126,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":700,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":675,"invoiceId":1701,"paymentId":502,"creditNoteId":null,"refundId":null,"amount":700}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"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},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":514,"clientId":156,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:52:20-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Maria Gricelda López Avalos - -UUID: 2038d2d99ae543f3b56f1ae54f4cc82b - -JSON con los datos a actualizar: {"name":"Maria Gricelda L\u00f3pez Avalos","custom_fields":{"Cliente":156,"Domicilio":"\ud83d\udccd Yucat\u00e1n 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Maria Gricelda L\u00f3pez Avalos","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/156","Saldo Actual":"\ud83d\udcb21946.67 a favor","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"156\",\"Domicilio\": \"\"Nombre\": \"Maria Gricelda L\u00f3pez Avalos\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/156\",\"Saldo Actual\": \"\ud83d\udcb21946.67 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 17\/01\/2025 14:52 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"22\/03\/2025 10:00\",\"Clabe Interbancaria\": \"124180553522369174\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 17\/01\/2025 14:52 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/03\/2025 10:00","Clabe Interbancaria":"124180553522369174","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "156","Domicilio": ""Nombre": "Maria Gricelda López Avalos","URL": "https://sistema.siip.mx/crm/client/156","Saldo Actual": "💲1946.67 a favor","Monto Ultimo Pago": "$ 300","Estado": "Activo","Fecha Ultimo Pago": " 17/01/2025 14:52 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "22/03/2025 10:00","Clabe Interbancaria": "124180553522369174","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"2038d2d99ae543f3b56f1ae54f4cc82b","name":"Maria Gricelda López Avalos","phoneNumber":"5214181817609","avatarUrl":null,"createdAt":"2024-01-26T18:16:09Z","closedAt":"2025-02-17T19:00:45Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/2038d2d99ae543f3b56f1ae54f4cc82b","conversationHref":"https://dash.callbell.eu/chat/90611886ac204c56a75240f951c53874","tags":[],"assignedUser":null,"customFields":{"Antena/Sectorial":"2","Clabe Interbancaria":"124180553522369174","user entry point":"inbound_message","user name":"Grisel","Domicilio":"📍 Yucatán 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Nombre":"👤 Maria Gricelda López Avalos","URL":"🌐 https://sistema.siip.mx/crm/client/156","Resumen":"{\"Cliente\": \"156\",\"Domicilio\": \"\"Nombre\": \"Maria Gricelda López Avalos\",\"URL\": \"https://sistema.siip.mx/crm/client/156\",\"Saldo Actual\": \"💲1946.67 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 17/01/2025 14:52 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"22/03/2025 10:00\",\"Clabe Interbancaria\": \"124180553522369174\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Estado":"🟢 Activo ","Cliente":"156","Saldo Actual":"💲1946.67 a favor","Monto Ultimo Pago":"💲 300","Fecha Ultimo Pago":"📆💸 17/01/2025 14:52 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 10:00"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"2038d2d99ae543f3b56f1ae54f4cc82b","name":"Maria Gricelda López Avalos","phoneNumber":"5214181817609","avatarUrl":null,"createdAt":"2024-01-26T18:16:09Z","closedAt":"2025-02-17T19:00:45Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/2038d2d99ae543f3b56f1ae54f4cc82b","conversationHref":"https://dash.callbell.eu/chat/90611886ac204c56a75240f951c53874","tags":[],"assignedUser":null,"customFields":{"Antena/Sectorial":"2","Clabe Interbancaria":"124180553522369174","user entry point":"inbound_message","user name":"Grisel","Domicilio":"📍 Yucatán 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Nombre":"👤 Maria Gricelda López Avalos","URL":"🌐 https://sistema.siip.mx/crm/client/156","Resumen":"{\"Cliente\": \"156\",\"Domicilio\": \"\"Nombre\": \"Maria Gricelda López Avalos\",\"URL\": \"https://sistema.siip.mx/crm/client/156\",\"Saldo Actual\": \"💲1946.67 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 17/01/2025 14:52 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"22/03/2025 10:00\",\"Clabe Interbancaria\": \"124180553522369174\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Estado":"🟢 Activo ","Cliente":"156","Saldo Actual":"💲1946.67 a favor","Monto Ultimo Pago":"💲 300","Fecha Ultimo Pago":"📆💸 17/01/2025 14:52 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 10:00"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-22 16:00:40.320218] [notice] Logging level set to:debug -[2025-03-22 16:00:40.536906] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-22 16:00:40.537059] [debug] Valor de JSON: {"uuid":"94961ba8-8529-4b08-a9d8-39e55e106012","changeType":"draft_approved","entity":"invoice","entityId":"1701","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1701,"clientId":156,"number":"001652","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1704,"type":"service","label":"PREMIUM 01\/03\/2025 \u2013 31\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":126,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":700,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":675,"invoiceId":1701,"paymentId":502,"creditNoteId":null,"refundId":null,"amount":700}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"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},"entityBeforeEdit":null}} - -[2025-03-22 16:00:40.537220] [debug] Aprobación de Factura - -[2025-03-22 16:00:40.537301] [debug] {"uuid":"94961ba8-8529-4b08-a9d8-39e55e106012","changeType":"draft_approved","entity":"invoice","entityId":1701,"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}],"accountBalance":1946.67,"accountCredit":1946.67,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#7cb342","addressGpsLat":21.1562598,"addressGpsLon":-100.9370894,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1701,"clientId":156,"number":"001652","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1704,"type":"service","label":"PREMIUM 01\/03\/2025 \u2013 31\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":126,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":700,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":675,"invoiceId":1701,"paymentId":502,"creditNoteId":null,"refundId":null,"amount":700}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"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},"paymentData":null} - -[2025-03-22 16:00:40.537379] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-22 16:00:40.537416] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"94961ba8-8529-4b08-a9d8-39e55e106012","changeType":"draft_approved","entity":"invoice","entityId":1701,"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}],"accountBalance":1946.67,"accountCredit":1946.67,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#7cb342","addressGpsLat":21.1562598,"addressGpsLon":-100.9370894,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1701,"clientId":156,"number":"001652","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1704,"type":"service","label":"PREMIUM 01\/03\/2025 \u2013 31\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":126,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":700,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":675,"invoiceId":1701,"paymentId":502,"creditNoteId":null,"refundId":null,"amount":700}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"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},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":514,"clientId":156,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:52:20-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Maria Gricelda López Avalos - -UUID: 2038d2d99ae543f3b56f1ae54f4cc82b - -JSON con los datos a actualizar: {"name":"Maria Gricelda L\u00f3pez Avalos","custom_fields":{"Cliente":156,"Domicilio":"\ud83d\udccd Yucat\u00e1n 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Maria Gricelda L\u00f3pez Avalos","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/156","Saldo Actual":"\ud83d\udcb21946.67 a favor","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"156\",\"Domicilio\": \"\"Nombre\": \"Maria Gricelda L\u00f3pez Avalos\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/156\",\"Saldo Actual\": \"\ud83d\udcb21946.67 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 17\/01\/2025 14:52 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"22\/03\/2025 10:00\",\"Clabe Interbancaria\": \"124180553522369174\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 17\/01\/2025 14:52 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/03\/2025 10:00","Clabe Interbancaria":"124180553522369174","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "156","Domicilio": ""Nombre": "Maria Gricelda López Avalos","URL": "https://sistema.siip.mx/crm/client/156","Saldo Actual": "💲1946.67 a favor","Monto Ultimo Pago": "$ 300","Estado": "Activo","Fecha Ultimo Pago": " 17/01/2025 14:52 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "22/03/2025 10:00","Clabe Interbancaria": "124180553522369174","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"2038d2d99ae543f3b56f1ae54f4cc82b","name":"Maria Gricelda López Avalos","phoneNumber":"5214181817609","avatarUrl":null,"createdAt":"2024-01-26T18:16:09Z","closedAt":"2025-02-17T19:00:45Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/2038d2d99ae543f3b56f1ae54f4cc82b","conversationHref":"https://dash.callbell.eu/chat/90611886ac204c56a75240f951c53874","tags":[],"assignedUser":null,"customFields":{"Antena/Sectorial":"2","Clabe Interbancaria":"124180553522369174","user entry point":"inbound_message","user name":"Grisel","Domicilio":"📍 Yucatán 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Nombre":"👤 Maria Gricelda López Avalos","URL":"🌐 https://sistema.siip.mx/crm/client/156","Resumen":"{\"Cliente\": \"156\",\"Domicilio\": \"\"Nombre\": \"Maria Gricelda López Avalos\",\"URL\": \"https://sistema.siip.mx/crm/client/156\",\"Saldo Actual\": \"💲1946.67 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 17/01/2025 14:52 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"22/03/2025 10:00\",\"Clabe Interbancaria\": \"124180553522369174\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Estado":"🟢 Activo ","Cliente":"156","Saldo Actual":"💲1946.67 a favor","Monto Ultimo Pago":"💲 300","Fecha Ultimo Pago":"📆💸 17/01/2025 14:52 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 10:00"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"2038d2d99ae543f3b56f1ae54f4cc82b","name":"Maria Gricelda López Avalos","phoneNumber":"5214181817609","avatarUrl":null,"createdAt":"2024-01-26T18:16:09Z","closedAt":"2025-02-17T19:00:45Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/2038d2d99ae543f3b56f1ae54f4cc82b","conversationHref":"https://dash.callbell.eu/chat/90611886ac204c56a75240f951c53874","tags":[],"assignedUser":null,"customFields":{"Antena/Sectorial":"2","Clabe Interbancaria":"124180553522369174","user entry point":"inbound_message","user name":"Grisel","Domicilio":"📍 Yucatán 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Nombre":"👤 Maria Gricelda López Avalos","URL":"🌐 https://sistema.siip.mx/crm/client/156","Resumen":"{\"Cliente\": \"156\",\"Domicilio\": \"\"Nombre\": \"Maria Gricelda López Avalos\",\"URL\": \"https://sistema.siip.mx/crm/client/156\",\"Saldo Actual\": \"💲1946.67 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 17/01/2025 14:52 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"22/03/2025 10:00\",\"Clabe Interbancaria\": \"124180553522369174\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Estado":"🟢 Activo ","Cliente":"156","Saldo Actual":"💲1946.67 a favor","Monto Ultimo Pago":"💲 300","Fecha Ultimo Pago":"📆💸 17/01/2025 14:52 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 10:00"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-22 16:00:42.788768] [notice] Logging level set to:debug -[2025-03-22 16:00:42.923186] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-22 16:00:42.923381] [debug] Valor de JSON: {"uuid":"0ce35d2d-c442-4a21-a89b-034a67cf9483","changeType":"insert","entity":"invoice","entityId":"1702","eventName":"invoice.add_draft","extraData":{"entity":{"id":1702,"clientId":2,"number":"001653","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1705,"type":"service","label":"PREMIUM 01\/04\/2025 \u2013 30\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":144,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":699.9999999999999,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":676,"invoiceId":1702,"paymentId":591,"creditNoteId":null,"refundId":null,"amount":113.33},{"id":677,"invoiceId":1702,"paymentId":592,"creditNoteId":null,"refundId":null,"amount":30},{"id":678,"invoiceId":1702,"paymentId":593,"creditNoteId":null,"refundId":null,"amount":50},{"id":679,"invoiceId":1702,"paymentId":594,"creditNoteId":null,"refundId":null,"amount":100},{"id":680,"invoiceId":1702,"paymentId":595,"creditNoteId":null,"refundId":null,"amount":40},{"id":681,"invoiceId":1702,"paymentId":596,"creditNoteId":null,"refundId":null,"amount":130},{"id":682,"invoiceId":1702,"paymentId":597,"creditNoteId":null,"refundId":null,"amount":135},{"id":683,"invoiceId":1702,"paymentId":598,"creditNoteId":null,"refundId":null,"amount":101.67}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-22 16:00:42.923537] [debug] Adición de borrador de Factura - -[2025-03-22 16:00:42.923636] [debug] {"uuid":"0ce35d2d-c442-4a21-a89b-034a67cf9483","changeType":"insert","entity":"invoice","entityId":1702,"message":null,"clientId":2,"eventName":"invoice.add_draft","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1702,"clientId":2,"number":"001653","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1705,"type":"service","label":"PREMIUM 01\/04\/2025 \u2013 30\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":144,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":700,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":676,"invoiceId":1702,"paymentId":591,"creditNoteId":null,"refundId":null,"amount":113.33},{"id":677,"invoiceId":1702,"paymentId":592,"creditNoteId":null,"refundId":null,"amount":30},{"id":678,"invoiceId":1702,"paymentId":593,"creditNoteId":null,"refundId":null,"amount":50},{"id":679,"invoiceId":1702,"paymentId":594,"creditNoteId":null,"refundId":null,"amount":100},{"id":680,"invoiceId":1702,"paymentId":595,"creditNoteId":null,"refundId":null,"amount":40},{"id":681,"invoiceId":1702,"paymentId":596,"creditNoteId":null,"refundId":null,"amount":130},{"id":682,"invoiceId":1702,"paymentId":597,"creditNoteId":null,"refundId":null,"amount":135},{"id":683,"invoiceId":1702,"paymentId":598,"creditNoteId":null,"refundId":null,"amount":101.67}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-22 16:00:42.923702] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-22 16:00:42.923742] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"0ce35d2d-c442-4a21-a89b-034a67cf9483","changeType":"insert","entity":"invoice","entityId":1702,"message":null,"clientId":2,"eventName":"invoice.add_draft","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1702,"clientId":2,"number":"001653","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1705,"type":"service","label":"PREMIUM 01\/04\/2025 \u2013 30\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":144,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":700,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":676,"invoiceId":1702,"paymentId":591,"creditNoteId":null,"refundId":null,"amount":113.33},{"id":677,"invoiceId":1702,"paymentId":592,"creditNoteId":null,"refundId":null,"amount":30},{"id":678,"invoiceId":1702,"paymentId":593,"creditNoteId":null,"refundId":null,"amount":50},{"id":679,"invoiceId":1702,"paymentId":594,"creditNoteId":null,"refundId":null,"amount":100},{"id":680,"invoiceId":1702,"paymentId":595,"creditNoteId":null,"refundId":null,"amount":40},{"id":681,"invoiceId":1702,"paymentId":596,"creditNoteId":null,"refundId":null,"amount":130},{"id":682,"invoiceId":1702,"paymentId":597,"creditNoteId":null,"refundId":null,"amount":135},{"id":683,"invoiceId":1702,"paymentId":598,"creditNoteId":null,"refundId":null,"amount":101.67}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":611,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-19T08:11:25-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]}] - -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":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb21753.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 110","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb21753.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 19\/03\/2025 08:11 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"22\/03\/2025 10:00\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 19\/03\/2025 08:11 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/03\/2025 10:00","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲1753.33 a favor","Monto Ultimo Pago": "$ 110","Estado": "Suspendido","Fecha Ultimo Pago": " 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "22/03/2025 10:00","Clabe Interbancaria": "0021804341999569810","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🔴 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲1753.33 a favor","Clabe Interbancaria":"0021804341999569810","Fecha Ultimo Pago":"📆💸 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳","Monto Ultimo Pago":"💲 110","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1753.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"22/03/2025 10:00\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 10:00","Nombre":"👤 Daniel Humberto Soto Villegas"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🔴 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲1753.33 a favor","Clabe Interbancaria":"0021804341999569810","Fecha Ultimo Pago":"📆💸 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳","Monto Ultimo Pago":"💲 110","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1753.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"22/03/2025 10:00\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 10:00","Nombre":"👤 Daniel Humberto Soto Villegas"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-22 16:00:44.836482] [notice] Logging level set to:debug -[2025-03-22 16:00:44.975697] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-22 16:00:44.975768] [debug] Valor de JSON: {"uuid":"ce034de5-389f-4933-87a3-30fa504fa2bd","changeType":"draft_approved","entity":"invoice","entityId":"1702","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1702,"clientId":2,"number":"001653","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1705,"type":"service","label":"PREMIUM 01\/04\/2025 \u2013 30\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":144,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":699.9999999999999,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":676,"invoiceId":1702,"paymentId":591,"creditNoteId":null,"refundId":null,"amount":113.33},{"id":677,"invoiceId":1702,"paymentId":592,"creditNoteId":null,"refundId":null,"amount":30},{"id":678,"invoiceId":1702,"paymentId":593,"creditNoteId":null,"refundId":null,"amount":50},{"id":679,"invoiceId":1702,"paymentId":594,"creditNoteId":null,"refundId":null,"amount":100},{"id":680,"invoiceId":1702,"paymentId":595,"creditNoteId":null,"refundId":null,"amount":40},{"id":681,"invoiceId":1702,"paymentId":596,"creditNoteId":null,"refundId":null,"amount":130},{"id":682,"invoiceId":1702,"paymentId":597,"creditNoteId":null,"refundId":null,"amount":135},{"id":683,"invoiceId":1702,"paymentId":598,"creditNoteId":null,"refundId":null,"amount":101.67}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-22 16:00:44.975898] [debug] Aprobación de Factura - -[2025-03-22 16:00:44.976027] [debug] {"uuid":"ce034de5-389f-4933-87a3-30fa504fa2bd","changeType":"draft_approved","entity":"invoice","entityId":1702,"message":null,"clientId":2,"eventName":"invoice.draft_approved","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1702,"clientId":2,"number":"001653","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1705,"type":"service","label":"PREMIUM 01\/04\/2025 \u2013 30\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":144,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":700,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":676,"invoiceId":1702,"paymentId":591,"creditNoteId":null,"refundId":null,"amount":113.33},{"id":677,"invoiceId":1702,"paymentId":592,"creditNoteId":null,"refundId":null,"amount":30},{"id":678,"invoiceId":1702,"paymentId":593,"creditNoteId":null,"refundId":null,"amount":50},{"id":679,"invoiceId":1702,"paymentId":594,"creditNoteId":null,"refundId":null,"amount":100},{"id":680,"invoiceId":1702,"paymentId":595,"creditNoteId":null,"refundId":null,"amount":40},{"id":681,"invoiceId":1702,"paymentId":596,"creditNoteId":null,"refundId":null,"amount":130},{"id":682,"invoiceId":1702,"paymentId":597,"creditNoteId":null,"refundId":null,"amount":135},{"id":683,"invoiceId":1702,"paymentId":598,"creditNoteId":null,"refundId":null,"amount":101.67}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-22 16:00:44.976109] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-22 16:00:44.976150] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"ce034de5-389f-4933-87a3-30fa504fa2bd","changeType":"draft_approved","entity":"invoice","entityId":1702,"message":null,"clientId":2,"eventName":"invoice.draft_approved","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1702,"clientId":2,"number":"001653","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1705,"type":"service","label":"PREMIUM 01\/04\/2025 \u2013 30\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":144,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":700,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":676,"invoiceId":1702,"paymentId":591,"creditNoteId":null,"refundId":null,"amount":113.33},{"id":677,"invoiceId":1702,"paymentId":592,"creditNoteId":null,"refundId":null,"amount":30},{"id":678,"invoiceId":1702,"paymentId":593,"creditNoteId":null,"refundId":null,"amount":50},{"id":679,"invoiceId":1702,"paymentId":594,"creditNoteId":null,"refundId":null,"amount":100},{"id":680,"invoiceId":1702,"paymentId":595,"creditNoteId":null,"refundId":null,"amount":40},{"id":681,"invoiceId":1702,"paymentId":596,"creditNoteId":null,"refundId":null,"amount":130},{"id":682,"invoiceId":1702,"paymentId":597,"creditNoteId":null,"refundId":null,"amount":135},{"id":683,"invoiceId":1702,"paymentId":598,"creditNoteId":null,"refundId":null,"amount":101.67}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":611,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-19T08:11:25-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]}] - -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":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb21753.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 110","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb21753.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 19\/03\/2025 08:11 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"22\/03\/2025 10:00\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 19\/03\/2025 08:11 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/03\/2025 10:00","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲1753.33 a favor","Monto Ultimo Pago": "$ 110","Estado": "Suspendido","Fecha Ultimo Pago": " 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "22/03/2025 10:00","Clabe Interbancaria": "0021804341999569810","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -[2025-03-22 17:38:23.818758] [notice] Logging level set to:debug -[2025-03-22 17:38:23.851186] [debug] valor el evento recibido por webhook: test - -[2025-03-22 17:38:23.851236] [debug] Valor de JSON: {"uuid":"412e6249-20c0-486e-8b9e-8acf7ba00ff8","changeType":"test","entity":"webhook","entityId":"3","eventName":"test","extraData":{"entity":null,"entityBeforeEdit":null}} - -[2025-03-22 17:38:23.851519] [info] Webhook test successful. -[2025-03-22 17:47:51.396357] [notice] Logging level set to:debug -[2025-03-22 17:47:51.423665] [debug] valor el evento recibido por webhook: test - -[2025-03-22 17:47:51.423722] [debug] Valor de JSON: {"uuid":"9604836b-3675-4b9d-86f2-efc3d070a89f","changeType":"test","entity":"webhook","entityId":"3","eventName":"test","extraData":{"entity":null,"entityBeforeEdit":null}} - -[2025-03-22 17:47:51.423974] [info] Webhook test successful. -[2025-03-22 17:48:05.197189] [notice] Logging level set to:debug -[2025-03-22 17:48:05.227874] [debug] valor el evento recibido por webhook: test - -[2025-03-22 17:48:05.227929] [debug] Valor de JSON: {"uuid":"e5a42cfb-ca94-498b-b3ef-f9c0a04bb151","changeType":"test","entity":"webhook","entityId":"3","eventName":"test","extraData":{"entity":null,"entityBeforeEdit":null}} - -[2025-03-22 17:48:05.228183] [info] Webhook test successful. -[2025-03-22 17:48:09.410984] [notice] Logging level set to:debug -[2025-03-22 17:48:09.439402] [debug] valor el evento recibido por webhook: test - -[2025-03-22 17:48:09.439459] [debug] Valor de JSON: {"uuid":"fcc70efd-9ae1-4fec-ab24-c007c614b22d","changeType":"test","entity":"webhook","entityId":"3","eventName":"test","extraData":{"entity":null,"entityBeforeEdit":null}} - -[2025-03-22 17:48:09.439615] [info] Webhook test successful. -[2025-03-22 18:28:27.155810] [notice] Logging level set to:debug -[2025-03-22 18:28:27.416346] [debug] valor el evento recibido por webhook: service.suspend_cancel - -[2025-03-22 18:28:27.416531] [debug] Valor de JSON: {"uuid":"70e50e21-7eb5-4125-92c4-0db05e03beaa","changeType":"unsuspend","entity":"service","entityId":"144","eventName":"service.suspend_cancel","extraData":{"entity":{"id":144,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T12:28:26-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":144,"prepaid":false,"clientId":2,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T12:28:26-0600"}],"surcharges":[]}}} - -[2025-03-22 18:28:27.416773] [debug] Se reactivó el servicio a un cliente - -[2025-03-22 18:28:27.416878] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-22 18:28:27.416920] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-22 18:28:27.417000] [info] {"uuid":"70e50e21-7eb5-4125-92c4-0db05e03beaa","changeType":"unsuspend","entity":"service","entityId":144,"message":null,"clientId":2,"eventName":"service.suspend_cancel","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":144,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[]},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/03\/2025 12:28"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","user name":"Daniel Humberto 🐁","Saldo Actual":"💲0 está al corriente","Domicilio":"📍 CALLE CHIAPAS #31, ZONA CENTRO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Cliente":"3201","URL":"🌐 https://sistema.siip.mx/crm/client/3201","Clabe Interbancaria":"124180650741646979","Fecha Ultimo Pago":"📆💸 22/03/2025 18:21 con Desconocido, revisar metodos de pago no contemplados","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"3201\",\"Domicilio\": \"\"Nombre\": \"DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY\",\"URL\": \"https://sistema.siip.mx/crm/client/3201\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 22/03/2025 18:21 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"22/03/2025 12:21\",\"Clabe Interbancaria\": \"124180650741646979\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 12:28","Nombre":"👤 DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-22 18:28:29.416111] [notice] Logging level set to:debug -[2025-03-22 18:28:29.579873] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-22 18:28:29.579963] [debug] Valor de JSON: {"uuid":"acaab310-d6b3-4322-b148-3d3aa06332ff","changeType":"edit","entity":"service","entityId":"144","eventName":"service.edit","extraData":{"entity":{"id":144,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T12:28:26-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":144,"prepaid":false,"clientId":2,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T12:28:26-0600"}],"surcharges":[]}}} - -[2025-03-22 18:28:29.580090] [debug] Se editó el servicio a un cliente - -[2025-03-22 18:28:29.580126] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-22 18:28:29.580137] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-22 18:28:29.580188] [info] {"uuid":"acaab310-d6b3-4322-b148-3d3aa06332ff","changeType":"edit","entity":"service","entityId":144,"message":null,"clientId":2,"eventName":"service.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":144,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[]},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/03\/2025 12:28"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","user name":"Daniel Humberto 🐁","Saldo Actual":"💲0 está al corriente","Domicilio":"📍 CALLE CHIAPAS #31, ZONA CENTRO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Cliente":"3201","URL":"🌐 https://sistema.siip.mx/crm/client/3201","Clabe Interbancaria":"124180650741646979","Fecha Ultimo Pago":"📆💸 22/03/2025 18:21 con Desconocido, revisar metodos de pago no contemplados","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"3201\",\"Domicilio\": \"\"Nombre\": \"DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY\",\"URL\": \"https://sistema.siip.mx/crm/client/3201\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 22/03/2025 18:21 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"22/03/2025 12:21\",\"Clabe Interbancaria\": \"124180650741646979\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 12:28","Nombre":"👤 DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-22 18:29:39.856101] [notice] Logging level set to:debug -[2025-03-22 18:29:39.938915] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-22 18:29:39.939125] [debug] Valor de JSON: {"uuid":"b3ef467a-1ed1-4606-929c-558756ff122f","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-22 18:29:39.939474] [debug] Se actualiza a un cliente -[2025-03-22 18:29:39.939585] [debug] Valor de json_data: {"uuid":"b3ef467a-1ed1-4606-929c-558756ff122f","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-22 18:29:39.939729] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-22 18:29:39.939769] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-22 18:29:39.939805] [debug] El cliente no cambió de potencial a cliente -[2025-03-22 18:29:39.939841] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-22 18:29:39.939877] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-22 18:29:39.939912] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-22 18:29:39.939948] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-22 18:29:39.940009] [debug] {"uuid":"b3ef467a-1ed1-4606-929c-558756ff122f","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-22 18:29:39.940116] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-22 18:29:39.940156] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"b3ef467a-1ed1-4606-929c-558756ff122f","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":611,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-19T08:11:25-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas pollerias","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb21753.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 110","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb21753.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 19\/03\/2025 08:11 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"22\/03\/2025 12:29\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 19\/03\/2025 08:11 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/03\/2025 12:29","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas pollerias","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲1753.33 a favor","Monto Ultimo Pago": "$ 110","Estado": "Activo","Fecha Ultimo Pago": " 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "22/03/2025 12:29","Clabe Interbancaria": "0021804341999569810","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","user name":"Daniel Humberto 🐁","Saldo Actual":"💲1753.33 a favor","Cliente":"2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","URL":"🌐 https://sistema.siip.mx/crm/client/2","Clabe Interbancaria":"0021804341999569810","Fecha Ultimo Pago":"📆💸 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳","Monto Ultimo Pago":"💲 110","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1753.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"22/03/2025 12:29\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 12:29","Nombre":"👤 Daniel Humberto Soto Villegas pollerias"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","user name":"Daniel Humberto 🐁","Saldo Actual":"💲1753.33 a favor","Cliente":"2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","URL":"🌐 https://sistema.siip.mx/crm/client/2","Clabe Interbancaria":"0021804341999569810","Fecha Ultimo Pago":"📆💸 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳","Monto Ultimo Pago":"💲 110","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1753.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"22/03/2025 12:29\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 12:29","Nombre":"👤 Daniel Humberto Soto Villegas pollerias"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-22 18:30:13.706321] [notice] Logging level set to:debug -[2025-03-22 18:30:13.890964] [debug] valor el evento recibido por webhook: service.suspend - -[2025-03-22 18:30:13.891062] [debug] Valor de JSON: {"uuid":"af811306-59ec-4af2-9cca-ac3fa16e0a93","changeType":"suspend","entity":"service","entityId":"144","eventName":"service.suspend","extraData":{"entity":{"id":144,"prepaid":false,"clientId":2,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T12:30:12-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":144,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T12:30:12-0600","endDate":null}],"surcharges":[]}}} - -[2025-03-22 18:30:13.891274] [debug] Se suspendió el servicio a un cliente - -[2025-03-22 18:30:13.891344] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-22 18:30:13.891355] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-22 18:30:13.891410] [info] {"uuid":"af811306-59ec-4af2-9cca-ac3fa16e0a93","changeType":"suspend","entity":"service","entityId":144,"message":null,"clientId":2,"eventName":"service.suspend","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":144,"prepaid":false,"clientId":2,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":null}],"surcharges":[],"stopReason":"Test"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/03\/2025 12:30"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟠 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","user name":"Daniel Humberto 🐁","Saldo Actual":"💲1753.33 a favor","Cliente":"2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","URL":"🌐 https://sistema.siip.mx/crm/client/2","Clabe Interbancaria":"0021804341999569810","Fecha Ultimo Pago":"📆💸 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳","Monto Ultimo Pago":"💲 110","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1753.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"22/03/2025 12:29\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 12:30","Nombre":"👤 Daniel Humberto Soto Villegas pollerias"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-22 18:30:15.334855] [notice] Logging level set to:debug -[2025-03-22 18:30:15.639723] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-22 18:30:15.639816] [debug] Valor de JSON: {"uuid":"33ae8abd-b2e3-4bd8-9ccf-eff3e66f0a7e","changeType":"edit","entity":"service","entityId":"144","eventName":"service.edit","extraData":{"entity":{"id":144,"prepaid":false,"clientId":2,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T12:30:12-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":144,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T12:30:12-0600","endDate":null}],"surcharges":[]}}} - -[2025-03-22 18:30:15.639934] [debug] Se editó el servicio a un cliente - -[2025-03-22 18:30:15.639966] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-22 18:30:15.639976] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-22 18:30:15.640028] [info] {"uuid":"33ae8abd-b2e3-4bd8-9ccf-eff3e66f0a7e","changeType":"edit","entity":"service","entityId":144,"message":null,"clientId":2,"eventName":"service.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":144,"prepaid":false,"clientId":2,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":null}],"surcharges":[],"stopReason":"Test"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/03\/2025 12:30"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟠 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","user name":"Daniel Humberto 🐁","Saldo Actual":"💲1753.33 a favor","Cliente":"2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","URL":"🌐 https://sistema.siip.mx/crm/client/2","Clabe Interbancaria":"0021804341999569810","Fecha Ultimo Pago":"📆💸 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳","Monto Ultimo Pago":"💲 110","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1753.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"22/03/2025 12:29\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 12:30","Nombre":"👤 Daniel Humberto Soto Villegas pollerias"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-22 19:03:14.273650] [notice] Logging level set to:debug -[2025-03-22 19:03:14.522222] [debug] valor el evento recibido por webhook: service.suspend_cancel - -[2025-03-22 19:03:14.522463] [debug] Valor de JSON: {"uuid":"fb29375b-18fa-4206-8aec-502965c85c28","changeType":"unsuspend","entity":"service","entityId":"144","eventName":"service.suspend_cancel","extraData":{"entity":{"id":144,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T13:03:13-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":144,"prepaid":false,"clientId":2,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T13:03:13-0600"}],"surcharges":[]}}} - -[2025-03-22 19:03:14.522764] [debug] Se reactivó el servicio a un cliente - -[2025-03-22 19:03:14.522921] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-22 19:03:14.522970] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-22 19:03:14.523055] [info] {"uuid":"fb29375b-18fa-4206-8aec-502965c85c28","changeType":"unsuspend","entity":"service","entityId":144,"message":null,"clientId":2,"eventName":"service.suspend_cancel","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":144,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[]},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/03\/2025 13:03"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","user name":"Daniel Humberto 🐁","Saldo Actual":"💲1753.33 a favor","Cliente":"2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","URL":"🌐 https://sistema.siip.mx/crm/client/2","Clabe Interbancaria":"0021804341999569810","Fecha Ultimo Pago":"📆💸 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳","Monto Ultimo Pago":"💲 110","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1753.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"22/03/2025 12:29\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 13:03","Nombre":"👤 Daniel Humberto Soto Villegas pollerias"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-22 19:03:16.543586] [notice] Logging level set to:debug -[2025-03-22 19:03:16.687261] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-22 19:03:16.687375] [debug] Valor de JSON: {"uuid":"0b5ed0bc-4695-459b-9cee-0922b02fe430","changeType":"edit","entity":"service","entityId":"144","eventName":"service.edit","extraData":{"entity":{"id":144,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T13:03:13-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":144,"prepaid":false,"clientId":2,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T13:03:13-0600"}],"surcharges":[]}}} - -[2025-03-22 19:03:16.687511] [debug] Se editó el servicio a un cliente - -[2025-03-22 19:03:16.687562] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-22 19:03:16.687583] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-22 19:03:16.687652] [info] {"uuid":"0b5ed0bc-4695-459b-9cee-0922b02fe430","changeType":"edit","entity":"service","entityId":144,"message":null,"clientId":2,"eventName":"service.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":144,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[]},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/03\/2025 13:03"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-16T15:06:56Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","user name":"Daniel Humberto 🐁","Saldo Actual":"💲1753.33 a favor","Cliente":"2","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","URL":"🌐 https://sistema.siip.mx/crm/client/2","Clabe Interbancaria":"0021804341999569810","Fecha Ultimo Pago":"📆💸 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳","Monto Ultimo Pago":"💲 110","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1753.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"22/03/2025 12:29\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 13:03","Nombre":"👤 Daniel Humberto Soto Villegas pollerias"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-22 19:30:03.758641] [notice] Logging level set to:debug -[2025-03-22 19:30:04.287034] [debug] valor el evento recibido por webhook: service.suspend - -[2025-03-22 19:30:04.287281] [debug] Valor de JSON: {"uuid":"2be87ed0-2fac-4cea-b1ed-a9990ad54d7c","changeType":"suspend","entity":"service","entityId":"144","eventName":"service.suspend","extraData":{"entity":{"id":144,"prepaid":false,"clientId":2,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T13:30:03-0600","endDate":null},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":144,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T13:30:03-0600","endDate":null},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[]}}} - -[2025-03-22 19:30:04.287580] [debug] Se suspendió el servicio a un cliente - -[2025-03-22 19:30:04.287704] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-22 19:30:04.287750] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-22 19:30:04.287838] [info] {"uuid":"2be87ed0-2fac-4cea-b1ed-a9990ad54d7c","changeType":"suspend","entity":"service","entityId":144,"message":null,"clientId":2,"eventName":"service.suspend","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":144,"prepaid":false,"clientId":2,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":null},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[],"stopReason":"Test"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/03\/2025 13:30"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟠 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Domicilio":"📍 CALLE CHIAPAS #31, ZONA CENTRO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Cliente":"3201","URL":"🌐 https://sistema.siip.mx/crm/client/3201","Clabe Interbancaria":"124180650741646979","Fecha Ultimo Pago":"📆💸 22/03/2025 19:11 con Desconocido, revisar metodos de pago no contemplados","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"3201\",\"Domicilio\": \"\"Nombre\": \"DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY\",\"URL\": \"https://sistema.siip.mx/crm/client/3201\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 22/03/2025 19:11 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"22/03/2025 13:11\",\"Clabe Interbancaria\": \"124180650741646979\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 13:30","Nombre":"👤 DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-22 19:30:06.435786] [notice] Logging level set to:debug -[2025-03-22 19:30:06.651597] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-22 19:30:06.651787] [debug] Valor de JSON: {"uuid":"747e681e-fa7b-4a26-afe9-832e65656373","changeType":"edit","entity":"service","entityId":"144","eventName":"service.edit","extraData":{"entity":{"id":144,"prepaid":false,"clientId":2,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T13:30:03-0600","endDate":null},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":144,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T13:30:03-0600","endDate":null},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[]}}} - -[2025-03-22 19:30:06.651961] [debug] Se editó el servicio a un cliente - -[2025-03-22 19:30:06.652076] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-22 19:30:06.652129] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-22 19:30:06.652240] [info] {"uuid":"747e681e-fa7b-4a26-afe9-832e65656373","changeType":"edit","entity":"service","entityId":144,"message":null,"clientId":2,"eventName":"service.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":144,"prepaid":false,"clientId":2,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":null},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[],"stopReason":"Test"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/03\/2025 13:30"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟠 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Domicilio":"📍 CALLE CHIAPAS #31, ZONA CENTRO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Cliente":"3201","URL":"🌐 https://sistema.siip.mx/crm/client/3201","Clabe Interbancaria":"124180650741646979","Fecha Ultimo Pago":"📆💸 22/03/2025 19:11 con Desconocido, revisar metodos de pago no contemplados","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"3201\",\"Domicilio\": \"\"Nombre\": \"DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY\",\"URL\": \"https://sistema.siip.mx/crm/client/3201\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 22/03/2025 19:11 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"22/03/2025 13:11\",\"Clabe Interbancaria\": \"124180650741646979\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 13:30","Nombre":"👤 DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-22 19:31:21.009030] [notice] Logging level set to:debug -[2025-03-22 19:31:21.376096] [debug] valor el evento recibido por webhook: service.suspend_cancel - -[2025-03-22 19:31:21.376322] [debug] Valor de JSON: {"uuid":"48476233-209a-4d83-8b05-c4102c4a15bb","changeType":"unsuspend","entity":"service","entityId":"144","eventName":"service.suspend_cancel","extraData":{"entity":{"id":144,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T13:31:20-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":144,"prepaid":false,"clientId":2,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T13:31:20-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[]}}} - -[2025-03-22 19:31:21.376589] [debug] Se reactivó el servicio a un cliente - -[2025-03-22 19:31:21.376702] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-22 19:31:21.376751] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-22 19:31:21.376833] [info] {"uuid":"48476233-209a-4d83-8b05-c4102c4a15bb","changeType":"unsuspend","entity":"service","entityId":144,"message":null,"clientId":2,"eventName":"service.suspend_cancel","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":144,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[]},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/03\/2025 13:31"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Domicilio":"📍 CALLE CHIAPAS #31, ZONA CENTRO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Cliente":"3201","URL":"🌐 https://sistema.siip.mx/crm/client/3201","Clabe Interbancaria":"124180650741646979","Fecha Ultimo Pago":"📆💸 22/03/2025 19:11 con Desconocido, revisar metodos de pago no contemplados","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"3201\",\"Domicilio\": \"\"Nombre\": \"DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY\",\"URL\": \"https://sistema.siip.mx/crm/client/3201\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 22/03/2025 19:11 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"22/03/2025 13:11\",\"Clabe Interbancaria\": \"124180650741646979\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 13:31","Nombre":"👤 DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-22 19:31:23.275973] [notice] Logging level set to:debug -[2025-03-22 19:31:23.424261] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-22 19:31:23.424443] [debug] Valor de JSON: {"uuid":"2a7161eb-2d03-4177-b55f-6b88ddd54d24","changeType":"edit","entity":"service","entityId":"144","eventName":"service.edit","extraData":{"entity":{"id":144,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T13:31:20-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":144,"prepaid":false,"clientId":2,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T13:31:20-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[]}}} - -[2025-03-22 19:31:23.424612] [debug] Se editó el servicio a un cliente - -[2025-03-22 19:31:23.424699] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-22 19:31:23.424751] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-22 19:31:23.424839] [info] {"uuid":"2a7161eb-2d03-4177-b55f-6b88ddd54d24","changeType":"edit","entity":"service","entityId":144,"message":null,"clientId":2,"eventName":"service.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":144,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[]},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/03\/2025 13:31"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Domicilio":"📍 CALLE CHIAPAS #31, ZONA CENTRO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Cliente":"3201","URL":"🌐 https://sistema.siip.mx/crm/client/3201","Clabe Interbancaria":"124180650741646979","Fecha Ultimo Pago":"📆💸 22/03/2025 19:11 con Desconocido, revisar metodos de pago no contemplados","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"3201\",\"Domicilio\": \"\"Nombre\": \"DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY\",\"URL\": \"https://sistema.siip.mx/crm/client/3201\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 22/03/2025 19:11 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"22/03/2025 13:11\",\"Clabe Interbancaria\": \"124180650741646979\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 13:31","Nombre":"👤 DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-22 19:49:51.566288] [notice] Logging level set to:debug -[2025-03-22 19:49:51.834471] [debug] valor el evento recibido por webhook: service.suspend - -[2025-03-22 19:49:51.834661] [debug] Valor de JSON: {"uuid":"879ffa93-b5ab-478c-ad57-2ae3811c5f70","changeType":"suspend","entity":"service","entityId":"144","eventName":"service.suspend","extraData":{"entity":{"id":144,"prepaid":false,"clientId":2,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T13:49:51-0600","endDate":null},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":144,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T13:49:51-0600","endDate":null},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[]}}} - -[2025-03-22 19:49:51.834912] [debug] Se suspendió el servicio a un cliente - -[2025-03-22 19:49:51.835026] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-22 19:49:51.835067] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-22 19:49:51.835150] [info] {"uuid":"879ffa93-b5ab-478c-ad57-2ae3811c5f70","changeType":"suspend","entity":"service","entityId":144,"message":null,"clientId":2,"eventName":"service.suspend","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":144,"prepaid":false,"clientId":2,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":null},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[],"stopReason":"Test"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/03\/2025 13:49"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟠 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Domicilio":"📍 CALLE CHIAPAS #31, ZONA CENTRO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Cliente":"3201","URL":"🌐 https://sistema.siip.mx/crm/client/3201","Clabe Interbancaria":"124180650741646979","Fecha Ultimo Pago":"📆💸 22/03/2025 19:11 con Desconocido, revisar metodos de pago no contemplados","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"3201\",\"Domicilio\": \"\"Nombre\": \"DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY\",\"URL\": \"https://sistema.siip.mx/crm/client/3201\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 22/03/2025 19:11 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"22/03/2025 13:11\",\"Clabe Interbancaria\": \"124180650741646979\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 13:49","Nombre":"👤 DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-22 19:49:53.995090] [notice] Logging level set to:debug -[2025-03-22 19:49:54.213701] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-22 19:49:54.213882] [debug] Valor de JSON: {"uuid":"d7bcfc9e-d9d8-4f16-9d6b-1a07fbee3e14","changeType":"edit","entity":"service","entityId":"144","eventName":"service.edit","extraData":{"entity":{"id":144,"prepaid":false,"clientId":2,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T13:49:51-0600","endDate":null},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":144,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T13:49:51-0600","endDate":null},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[]}}} - -[2025-03-22 19:49:54.214032] [debug] Se editó el servicio a un cliente - -[2025-03-22 19:49:54.214116] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-22 19:49:54.214158] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-22 19:49:54.214242] [info] {"uuid":"d7bcfc9e-d9d8-4f16-9d6b-1a07fbee3e14","changeType":"edit","entity":"service","entityId":144,"message":null,"clientId":2,"eventName":"service.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":144,"prepaid":false,"clientId":2,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":null},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[],"stopReason":"Test"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/03\/2025 13:49"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟠 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Domicilio":"📍 CALLE CHIAPAS #31, ZONA CENTRO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Cliente":"3201","URL":"🌐 https://sistema.siip.mx/crm/client/3201","Clabe Interbancaria":"124180650741646979","Fecha Ultimo Pago":"📆💸 22/03/2025 19:11 con Desconocido, revisar metodos de pago no contemplados","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"3201\",\"Domicilio\": \"\"Nombre\": \"DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY\",\"URL\": \"https://sistema.siip.mx/crm/client/3201\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 22/03/2025 19:11 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"22/03/2025 13:11\",\"Clabe Interbancaria\": \"124180650741646979\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 13:49","Nombre":"👤 DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-22 19:50:04.847493] [notice] Logging level set to:debug -[2025-03-22 19:50:05.105314] [debug] valor el evento recibido por webhook: service.suspend_cancel - -[2025-03-22 19:50:05.105515] [debug] Valor de JSON: {"uuid":"b0cdf192-b832-4390-8d91-05b25840a316","changeType":"unsuspend","entity":"service","entityId":"144","eventName":"service.suspend_cancel","extraData":{"entity":{"id":144,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T13:50:04-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":144,"prepaid":false,"clientId":2,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T13:50:04-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[]}}} - -[2025-03-22 19:50:05.105710] [debug] Se reactivó el servicio a un cliente - -[2025-03-22 19:50:05.105808] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-22 19:50:05.105875] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-22 19:50:05.105971] [info] {"uuid":"b0cdf192-b832-4390-8d91-05b25840a316","changeType":"unsuspend","entity":"service","entityId":144,"message":null,"clientId":2,"eventName":"service.suspend_cancel","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":144,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[]},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/03\/2025 13:50"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Domicilio":"📍 CALLE CHIAPAS #31, ZONA CENTRO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Cliente":"3201","URL":"🌐 https://sistema.siip.mx/crm/client/3201","Clabe Interbancaria":"124180650741646979","Fecha Ultimo Pago":"📆💸 22/03/2025 19:11 con Desconocido, revisar metodos de pago no contemplados","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"3201\",\"Domicilio\": \"\"Nombre\": \"DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY\",\"URL\": \"https://sistema.siip.mx/crm/client/3201\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 22/03/2025 19:11 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"22/03/2025 13:11\",\"Clabe Interbancaria\": \"124180650741646979\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 13:50","Nombre":"👤 DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-22 19:50:07.029635] [notice] Logging level set to:debug -[2025-03-22 19:50:07.171061] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-22 19:50:07.171248] [debug] Valor de JSON: {"uuid":"6b5f4370-d580-4279-ba37-e586120b37eb","changeType":"edit","entity":"service","entityId":"144","eventName":"service.edit","extraData":{"entity":{"id":144,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T13:50:04-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":144,"prepaid":false,"clientId":2,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T13:50:04-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[]}}} - -[2025-03-22 19:50:07.171430] [debug] Se editó el servicio a un cliente - -[2025-03-22 19:50:07.171533] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-22 19:50:07.171576] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-22 19:50:07.171659] [info] {"uuid":"6b5f4370-d580-4279-ba37-e586120b37eb","changeType":"edit","entity":"service","entityId":144,"message":null,"clientId":2,"eventName":"service.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":144,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[]},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/03\/2025 13:50"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Domicilio":"📍 CALLE CHIAPAS #31, ZONA CENTRO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Cliente":"3201","URL":"🌐 https://sistema.siip.mx/crm/client/3201","Clabe Interbancaria":"124180650741646979","Fecha Ultimo Pago":"📆💸 22/03/2025 19:11 con Desconocido, revisar metodos de pago no contemplados","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"3201\",\"Domicilio\": \"\"Nombre\": \"DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY\",\"URL\": \"https://sistema.siip.mx/crm/client/3201\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 22/03/2025 19:11 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"22/03/2025 13:11\",\"Clabe Interbancaria\": \"124180650741646979\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 13:50","Nombre":"👤 DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-22 19:50:36.009850] [notice] Logging level set to:debug -[2025-03-22 19:50:36.287451] [debug] valor el evento recibido por webhook: service.suspend - -[2025-03-22 19:50:36.287645] [debug] Valor de JSON: {"uuid":"f55c8d2c-5809-4357-8972-27de25ffffd7","changeType":"suspend","entity":"service","entityId":"144","eventName":"service.suspend","extraData":{"entity":{"id":144,"prepaid":false,"clientId":2,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T13:50:35-0600","endDate":null},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":144,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T13:50:35-0600","endDate":null},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[]}}} - -[2025-03-22 19:50:36.287894] [debug] Se suspendió el servicio a un cliente - -[2025-03-22 19:50:36.288001] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-22 19:50:36.288043] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-22 19:50:36.288127] [info] {"uuid":"f55c8d2c-5809-4357-8972-27de25ffffd7","changeType":"suspend","entity":"service","entityId":144,"message":null,"clientId":2,"eventName":"service.suspend","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":144,"prepaid":false,"clientId":2,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":null},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[],"stopReason":"Test"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/03\/2025 13:50"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟠 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Domicilio":"📍 CALLE CHIAPAS #31, ZONA CENTRO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Cliente":"3201","URL":"🌐 https://sistema.siip.mx/crm/client/3201","Clabe Interbancaria":"124180650741646979","Fecha Ultimo Pago":"📆💸 22/03/2025 19:11 con Desconocido, revisar metodos de pago no contemplados","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"3201\",\"Domicilio\": \"\"Nombre\": \"DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY\",\"URL\": \"https://sistema.siip.mx/crm/client/3201\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 22/03/2025 19:11 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"22/03/2025 13:11\",\"Clabe Interbancaria\": \"124180650741646979\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 13:50","Nombre":"👤 DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-22 19:50:38.164746] [notice] Logging level set to:debug -[2025-03-22 19:50:38.347318] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-22 19:50:38.347548] [debug] Valor de JSON: {"uuid":"2ddb9a3e-75b8-4e73-b151-d3297ef16ef7","changeType":"edit","entity":"service","entityId":"144","eventName":"service.edit","extraData":{"entity":{"id":144,"prepaid":false,"clientId":2,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T13:50:35-0600","endDate":null},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":144,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T13:50:35-0600","endDate":null},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[]}}} - -[2025-03-22 19:50:38.347712] [debug] Se editó el servicio a un cliente - -[2025-03-22 19:50:38.347779] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-22 19:50:38.347830] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-22 19:50:38.347910] [info] {"uuid":"2ddb9a3e-75b8-4e73-b151-d3297ef16ef7","changeType":"edit","entity":"service","entityId":144,"message":null,"clientId":2,"eventName":"service.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":144,"prepaid":false,"clientId":2,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":null},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[],"stopReason":"Test"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/03\/2025 13:50"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟠 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Domicilio":"📍 CALLE CHIAPAS #31, ZONA CENTRO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Cliente":"3201","URL":"🌐 https://sistema.siip.mx/crm/client/3201","Clabe Interbancaria":"124180650741646979","Fecha Ultimo Pago":"📆💸 22/03/2025 19:11 con Desconocido, revisar metodos de pago no contemplados","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"3201\",\"Domicilio\": \"\"Nombre\": \"DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY\",\"URL\": \"https://sistema.siip.mx/crm/client/3201\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 22/03/2025 19:11 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"22/03/2025 13:11\",\"Clabe Interbancaria\": \"124180650741646979\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 13:50","Nombre":"👤 DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-22 19:50:48.850476] [notice] Logging level set to:debug -[2025-03-22 19:50:49.230685] [debug] valor el evento recibido por webhook: service.suspend_cancel - -[2025-03-22 19:50:49.230782] [debug] Valor de JSON: {"uuid":"b3fc3a73-fc8a-4900-acd5-44450f166d4c","changeType":"unsuspend","entity":"service","entityId":"144","eventName":"service.suspend_cancel","extraData":{"entity":{"id":144,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T13:50:48-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":144,"prepaid":false,"clientId":2,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T13:50:48-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[]}}} - -[2025-03-22 19:50:49.230921] [debug] Se reactivó el servicio a un cliente - -[2025-03-22 19:50:49.230973] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-22 19:50:49.230986] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-22 19:50:49.231040] [info] {"uuid":"b3fc3a73-fc8a-4900-acd5-44450f166d4c","changeType":"unsuspend","entity":"service","entityId":144,"message":null,"clientId":2,"eventName":"service.suspend_cancel","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":144,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[]},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/03\/2025 13:50"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Domicilio":"📍 CALLE CHIAPAS #31, ZONA CENTRO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Cliente":"3201","URL":"🌐 https://sistema.siip.mx/crm/client/3201","Clabe Interbancaria":"124180650741646979","Fecha Ultimo Pago":"📆💸 22/03/2025 19:11 con Desconocido, revisar metodos de pago no contemplados","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"3201\",\"Domicilio\": \"\"Nombre\": \"DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY\",\"URL\": \"https://sistema.siip.mx/crm/client/3201\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 22/03/2025 19:11 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"22/03/2025 13:11\",\"Clabe Interbancaria\": \"124180650741646979\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 13:50","Nombre":"👤 DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-22 19:50:51.003405] [notice] Logging level set to:debug -[2025-03-22 19:50:51.155978] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-22 19:50:51.156192] [debug] Valor de JSON: {"uuid":"9bcdefd4-7eef-4a33-a124-2e0e7bb9d2b5","changeType":"edit","entity":"service","entityId":"144","eventName":"service.edit","extraData":{"entity":{"id":144,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T13:50:48-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":144,"prepaid":false,"clientId":2,"status":3,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T13:50:48-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[]}}} - -[2025-03-22 19:50:51.156395] [debug] Se editó el servicio a un cliente - -[2025-03-22 19:50:51.156491] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-22 19:50:51.156532] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-22 19:50:51.156611] [info] {"uuid":"9bcdefd4-7eef-4a33-a124-2e0e7bb9d2b5","changeType":"edit","entity":"service","entityId":144,"message":null,"clientId":2,"eventName":"service.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":144,"prepaid":false,"clientId":2,"status":1,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[]},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/03\/2025 13:50"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Domicilio":"📍 CALLE CHIAPAS #31, ZONA CENTRO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Cliente":"3201","URL":"🌐 https://sistema.siip.mx/crm/client/3201","Clabe Interbancaria":"124180650741646979","Fecha Ultimo Pago":"📆💸 22/03/2025 19:11 con Desconocido, revisar metodos de pago no contemplados","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"3201\",\"Domicilio\": \"\"Nombre\": \"DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY\",\"URL\": \"https://sistema.siip.mx/crm/client/3201\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 22/03/2025 19:11 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"22/03/2025 13:11\",\"Clabe Interbancaria\": \"124180650741646979\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 13:50","Nombre":"👤 DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-22 19:52:41.639849] [notice] Logging level set to:debug -[2025-03-22 19:52:41.823884] [debug] valor el evento recibido por webhook: service.add - -[2025-03-22 19:52:41.823960] [debug] Valor de JSON: {"uuid":"79076cec-df1c-4d5c-9f94-d69fb4800345","changeType":"insert","entity":"service","entityId":"145","eventName":"service.add","extraData":{"entity":{"id":145,"prepaid":false,"clientId":104,"status":7,"name":"Basico 300","fullAddress":null,"street1":null,"street2":null,"city":null,"countryId":173,"stateId":null,"zipCode":null,"note":null,"addressGpsLat":null,"addressGpsLon":null,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":null,"activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":null,"invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"9910eaff-aed4-47eb-9111-571d59fe1351","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":null}} - -[2025-03-22 19:54:46.926316] [notice] Logging level set to:debug -[2025-03-22 19:54:47.138379] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-22 19:54:47.138632] [debug] Valor de JSON: {"uuid":"0ea9e78e-d938-4cd6-a2e7-cd8ffa7e914d","changeType":"edit","entity":"client","entityId":"104","eventName":"client.edit","extraData":{"entity":{"id":104,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":null,"countryId":173,"stateId":null,"zipCode":null,"fullAddress":null,"invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-02-09T00:00:00-0600","leadConvertedAt":"2025-03-22T13:54:46-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Manolo","lastName":"Vega","username":"mvega04","contacts":[{"id":105,"clientId":104,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":null,"addressGpsLon":null,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":104,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":null,"countryId":173,"stateId":null,"zipCode":null,"fullAddress":null,"invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-02-09T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Manolo","lastName":"Vega","username":"mvega04","contacts":[{"id":105,"clientId":104,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":null,"addressGpsLon":null,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-22 19:54:47.138891] [debug] Se actualiza a un cliente -[2025-03-22 19:54:47.138962] [debug] Valor de json_data: {"uuid":"0ea9e78e-d938-4cd6-a2e7-cd8ffa7e914d","changeType":"edit","entity":"client","entityId":"104","eventName":"client.edit","extraData":{"entity":{"id":104,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":null,"countryId":173,"stateId":null,"zipCode":null,"fullAddress":null,"invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-02-09T00:00:00-0600","leadConvertedAt":"2025-03-22T13:54:46-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Manolo","lastName":"Vega","username":"mvega04","contacts":[{"id":105,"clientId":104,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":null,"addressGpsLon":null,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":104,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":null,"countryId":173,"stateId":null,"zipCode":null,"fullAddress":null,"invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-02-09T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Manolo","lastName":"Vega","username":"mvega04","contacts":[{"id":105,"clientId":104,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":null,"addressGpsLon":null,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-22 19:54:47.139024] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-22 19:54:47.139060] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-22 19:54:47.139096] [debug] El cliente cambió de potencial a cliente -[2025-03-22 19:54:47.210150] [info] ID correspondiente a 'Customer Stripe ID': 10 - -[2025-03-22 19:54:47.210239] [info] El valor de 'isLead' es: false - -[2025-03-22 19:54:47.210252] [info] El cliente NO es un lead, se procesará - -[2025-03-22 19:54:47.210262] [info] Creando el Customer Stripe - -[2025-03-22 19:54:47.210269] [info] El cliente a procesar es : Manolo Vega - -[2025-03-22 19:54:47.210288] [info] Datos notificationData: {"uuid":"0ea9e78e-d938-4cd6-a2e7-cd8ffa7e914d","changeType":"edit","entity":"client","entityId":104,"message":null,"clientId":104,"eventName":"client.edit","clientData":{"id":104,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":null,"countryId":173,"stateId":null,"zipCode":null,"fullAddress":null,"invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-02-09T00:00:00-0600","leadConvertedAt":"2025-03-22T13:54:46-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Manolo","lastName":"Vega","username":"mvega04","contacts":[{"id":105,"clientId":104,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":null,"addressGpsLon":null,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-22 19:54:47.210295] [info] Ya dentro del FOREACH!!! - -[2025-03-22 19:54:47.210304] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-22 19:54:47.210310] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-22 19:54:47.210319] [info] SE VALIDA EL EMAIL!!! - -[2025-03-22 19:54:47.210988] [info] ahora se procede a validar el teléfono!!! - -[2025-03-22 19:55:51.460339] [notice] Logging level set to:debug -[2025-03-22 19:55:51.533782] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-22 19:55:51.533862] [debug] Valor de JSON: {"uuid":"8ca461be-3d01-4bd7-872d-50d812a690b9","changeType":"edit","entity":"client","entityId":"104","eventName":"client.edit","extraData":{"entity":{"id":104,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"100 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 100, Centro, Dolores 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-02-09T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Manolo","lastName":"Vega","username":"mvega04","contacts":[{"id":105,"clientId":104,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1619921,"addressGpsLon":-100.9362838,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":104,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":null,"countryId":173,"stateId":null,"zipCode":null,"fullAddress":null,"invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-02-09T00:00:00-0600","leadConvertedAt":"2025-03-22T13:54:46-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Manolo","lastName":"Vega","username":"mvega04","contacts":[{"id":105,"clientId":104,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":null,"addressGpsLon":null,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-22 19:55:51.534127] [debug] Se actualiza a un cliente -[2025-03-22 19:55:51.534168] [debug] Valor de json_data: {"uuid":"8ca461be-3d01-4bd7-872d-50d812a690b9","changeType":"edit","entity":"client","entityId":"104","eventName":"client.edit","extraData":{"entity":{"id":104,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"100 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 100, Centro, Dolores 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-02-09T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Manolo","lastName":"Vega","username":"mvega04","contacts":[{"id":105,"clientId":104,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1619921,"addressGpsLon":-100.9362838,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":104,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":null,"countryId":173,"stateId":null,"zipCode":null,"fullAddress":null,"invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-02-09T00:00:00-0600","leadConvertedAt":"2025-03-22T13:54:46-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Manolo","lastName":"Vega","username":"mvega04","contacts":[{"id":105,"clientId":104,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":null,"addressGpsLon":null,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-22 19:55:51.534185] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-22 19:55:51.534194] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-22 19:55:51.534203] [debug] El cliente no cambió de potencial a cliente -[2025-03-22 19:55:51.534209] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-22 19:55:51.534218] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-22 19:55:51.534224] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-22 19:55:51.534231] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-22 19:55:51.534259] [debug] {"uuid":"8ca461be-3d01-4bd7-872d-50d812a690b9","changeType":"edit","entity":"client","entityId":104,"message":null,"clientId":104,"eventName":"client.edit","clientData":{"id":104,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"100 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 100, Centro, Dolores 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-02-09T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Manolo","lastName":"Vega","username":"mvega04","contacts":[{"id":105,"clientId":104,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1619921,"addressGpsLon":-100.9362838,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-22 19:55:51.715291] [notice] Logging level set to:debug -[2025-03-22 19:55:51.834448] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-22 19:55:51.834657] [debug] Valor de JSON: {"uuid":"96303fb0-d3af-4e01-96ca-0759fceb5325","changeType":"edit","entity":"service","entityId":"145","eventName":"service.edit","extraData":{"entity":{"id":145,"prepaid":false,"clientId":104,"status":7,"name":"Basico 300","fullAddress":"Avenida Norte 100, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"100 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1619921,"addressGpsLon":-100.9362838,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":null,"activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":null,"invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"9910eaff-aed4-47eb-9111-571d59fe1351","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":{"id":145,"prepaid":false,"clientId":104,"status":7,"name":"Basico 300","fullAddress":null,"street1":null,"street2":null,"city":null,"countryId":173,"stateId":null,"zipCode":null,"note":null,"addressGpsLat":null,"addressGpsLon":null,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":null,"activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":null,"invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"9910eaff-aed4-47eb-9111-571d59fe1351","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}} - -[2025-03-22 19:55:51.834817] [debug] Se editó el servicio a un cliente - -[2025-03-22 19:56:05.289779] [notice] Logging level set to:debug -[2025-03-22 19:56:05.367450] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-22 19:56:05.367650] [debug] Valor de JSON: {"uuid":"cace0358-c05f-4aa2-826f-a598a2a078c6","changeType":"edit","entity":"client","entityId":"104","eventName":"client.edit","extraData":{"entity":{"id":104,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"100 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 100, Centro, Dolores 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-02-09T00:00:00-0600","leadConvertedAt":"2025-03-22T13:56:05-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Manolo","lastName":"Vega","username":"mvega04","contacts":[{"id":105,"clientId":104,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1619921,"addressGpsLon":-100.9362838,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":104,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"100 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 100, Centro, Dolores 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-02-09T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Manolo","lastName":"Vega","username":"mvega04","contacts":[{"id":105,"clientId":104,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1619921,"addressGpsLon":-100.9362838,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-22 19:56:05.367886] [debug] Se actualiza a un cliente -[2025-03-22 19:56:05.367955] [debug] Valor de json_data: {"uuid":"cace0358-c05f-4aa2-826f-a598a2a078c6","changeType":"edit","entity":"client","entityId":"104","eventName":"client.edit","extraData":{"entity":{"id":104,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"100 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 100, Centro, Dolores 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-02-09T00:00:00-0600","leadConvertedAt":"2025-03-22T13:56:05-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Manolo","lastName":"Vega","username":"mvega04","contacts":[{"id":105,"clientId":104,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1619921,"addressGpsLon":-100.9362838,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":104,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"100 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 100, Centro, Dolores 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-02-09T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Manolo","lastName":"Vega","username":"mvega04","contacts":[{"id":105,"clientId":104,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1619921,"addressGpsLon":-100.9362838,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-22 19:56:05.368006] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-22 19:56:05.368046] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-22 19:56:05.368082] [debug] El cliente cambió de potencial a cliente -[2025-03-22 19:56:05.418479] [info] ID correspondiente a 'Customer Stripe ID': 10 - -[2025-03-22 19:56:05.418642] [info] El valor de 'isLead' es: false - -[2025-03-22 19:56:05.418689] [info] El cliente NO es un lead, se procesará - -[2025-03-22 19:56:05.418734] [info] Creando el Customer Stripe - -[2025-03-22 19:56:05.418775] [info] El cliente a procesar es : Manolo Vega - -[2025-03-22 19:56:05.418823] [info] Datos notificationData: {"uuid":"cace0358-c05f-4aa2-826f-a598a2a078c6","changeType":"edit","entity":"client","entityId":104,"message":null,"clientId":104,"eventName":"client.edit","clientData":{"id":104,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"100 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 100, Centro, Dolores 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-02-09T00:00:00-0600","leadConvertedAt":"2025-03-22T13:56:05-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Manolo","lastName":"Vega","username":"mvega04","contacts":[{"id":105,"clientId":104,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1619921,"addressGpsLon":-100.9362838,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-22 19:56:05.418870] [info] Ya dentro del FOREACH!!! - -[2025-03-22 19:56:05.418905] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-22 19:56:05.418941] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-22 19:56:05.418977] [info] SE VALIDA EL EMAIL!!! - -[2025-03-22 19:56:05.419656] [info] ahora se procede a validar el teléfono!!! - -[2025-03-22 19:58:57.206886] [notice] Logging level set to:debug -[2025-03-22 19:58:57.289556] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-22 19:58:57.289771] [debug] Valor de JSON: {"uuid":"7196df03-9659-425e-9824-6686d52a514a","changeType":"edit","entity":"client","entityId":"104","eventName":"client.edit","extraData":{"entity":{"id":104,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"100 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 100, Centro, Dolores 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-02-09T00:00:00-0600","leadConvertedAt":"2025-03-22T13:56:05-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Manolo","lastName":"Vega","username":"mvega04","contacts":[{"id":105,"clientId":104,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1619921,"addressGpsLon":-100.9362838,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":104,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"100 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 100, Centro, Dolores 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-02-09T00:00:00-0600","leadConvertedAt":"2025-03-22T13:56:05-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Manolo","lastName":"Vega","username":"mvega04","contacts":[{"id":105,"clientId":104,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1619921,"addressGpsLon":-100.9362838,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-22 19:58:57.290030] [debug] Se actualiza a un cliente -[2025-03-22 19:58:57.290128] [debug] Valor de json_data: {"uuid":"7196df03-9659-425e-9824-6686d52a514a","changeType":"edit","entity":"client","entityId":"104","eventName":"client.edit","extraData":{"entity":{"id":104,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"100 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 100, Centro, Dolores 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-02-09T00:00:00-0600","leadConvertedAt":"2025-03-22T13:56:05-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Manolo","lastName":"Vega","username":"mvega04","contacts":[{"id":105,"clientId":104,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1619921,"addressGpsLon":-100.9362838,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":104,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"100 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 100, Centro, Dolores 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-02-09T00:00:00-0600","leadConvertedAt":"2025-03-22T13:56:05-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Manolo","lastName":"Vega","username":"mvega04","contacts":[{"id":105,"clientId":104,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1619921,"addressGpsLon":-100.9362838,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-22 19:58:57.290179] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-22 19:58:57.290227] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-22 19:58:57.290261] [debug] El cliente no cambió de potencial a cliente -[2025-03-22 19:58:57.290293] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-22 19:58:57.290326] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-22 19:58:57.290358] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-22 19:58:57.290390] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-22 19:58:57.290443] [debug] {"uuid":"7196df03-9659-425e-9824-6686d52a514a","changeType":"edit","entity":"client","entityId":104,"message":null,"clientId":104,"eventName":"client.edit","clientData":{"id":104,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"100 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 100, Centro, Dolores 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-02-09T00:00:00-0600","leadConvertedAt":"2025-03-22T13:56:05-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Manolo","lastName":"Vega","username":"mvega04","contacts":[{"id":105,"clientId":104,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1619921,"addressGpsLon":-100.9362838,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-22 19:58:57.290539] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-22 19:58:57.290575] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"7196df03-9659-425e-9824-6686d52a514a","changeType":"edit","entity":"client","entityId":104,"message":null,"clientId":104,"eventName":"client.edit","clientData":{"id":104,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"100 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 100, Centro, Dolores 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-02-09T00:00:00-0600","leadConvertedAt":"2025-03-22T13:56:05-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Manolo","lastName":"Vega","username":"mvega04","contacts":[{"id":105,"clientId":104,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1619921,"addressGpsLon":-100.9362838,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Manolo Vega - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Manolo Vega","custom_fields":{"Cliente":104,"Domicilio":"\ud83d\udccd Avenida Norte 100, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Manolo Vega","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/104","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"104\",\"Domicilio\": \"\"Nombre\": \"Manolo Vega\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/104\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 22\/03\/2025 19:58 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"22\/03\/2025 13:58\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 22\/03\/2025 19:58 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/03\/2025 13:58","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "104","Domicilio": ""Nombre": "Manolo Vega","URL": "https://sistema.siip.mx/crm/client/104","Saldo Actual": "💲0 está al corriente","Monto Ultimo Pago": "$ ","Estado": "Activo","Fecha Ultimo Pago": " 22/03/2025 19:58 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "22/03/2025 13:58","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Manolo Vega","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Cliente":"104","Clabe Interbancaria":"124180650741646979","Monto Ultimo Pago":"💲 ","Domicilio":"📍 Avenida Norte 100, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","URL":"🌐 https://sistema.siip.mx/crm/client/104","Fecha Ultimo Pago":"📆💸 22/03/2025 19:58 con Desconocido, revisar metodos de pago no contemplados","Resumen":"{\"Cliente\": \"104\",\"Domicilio\": \"\"Nombre\": \"Manolo Vega\",\"URL\": \"https://sistema.siip.mx/crm/client/104\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 22/03/2025 19:58 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"22/03/2025 13:58\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 13:58","Nombre":"👤 Manolo Vega"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Manolo Vega","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Cliente":"104","Clabe Interbancaria":"124180650741646979","Monto Ultimo Pago":"💲 ","Domicilio":"📍 Avenida Norte 100, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","URL":"🌐 https://sistema.siip.mx/crm/client/104","Fecha Ultimo Pago":"📆💸 22/03/2025 19:58 con Desconocido, revisar metodos de pago no contemplados","Resumen":"{\"Cliente\": \"104\",\"Domicilio\": \"\"Nombre\": \"Manolo Vega\",\"URL\": \"https://sistema.siip.mx/crm/client/104\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 22/03/2025 19:58 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"22/03/2025 13:58\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 13:58","Nombre":"👤 Manolo Vega"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-22 19:59:34.954447] [notice] Logging level set to:debug -[2025-03-22 19:59:35.038280] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-22 19:59:35.038460] [debug] Valor de JSON: {"uuid":"be4615c4-9ee5-415f-b21e-1d460e87e6a6","changeType":"edit","entity":"client","entityId":"104","eventName":"client.edit","extraData":{"entity":{"id":104,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"100 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 100, Centro, Dolores 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-02-09T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Manolo","lastName":"Hernandez","username":"mvega04","contacts":[{"id":105,"clientId":104,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1619921,"addressGpsLon":-100.9362838,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":104,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"100 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 100, Centro, Dolores 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-02-09T00:00:00-0600","leadConvertedAt":"2025-03-22T13:56:05-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Manolo","lastName":"Vega","username":"mvega04","contacts":[{"id":105,"clientId":104,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1619921,"addressGpsLon":-100.9362838,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-22 19:59:35.038728] [debug] Se actualiza a un cliente -[2025-03-22 19:59:35.038816] [debug] Valor de json_data: {"uuid":"be4615c4-9ee5-415f-b21e-1d460e87e6a6","changeType":"edit","entity":"client","entityId":"104","eventName":"client.edit","extraData":{"entity":{"id":104,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"100 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 100, Centro, Dolores 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-02-09T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Manolo","lastName":"Hernandez","username":"mvega04","contacts":[{"id":105,"clientId":104,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1619921,"addressGpsLon":-100.9362838,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":104,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"100 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 100, Centro, Dolores 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-02-09T00:00:00-0600","leadConvertedAt":"2025-03-22T13:56:05-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Manolo","lastName":"Vega","username":"mvega04","contacts":[{"id":105,"clientId":104,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1619921,"addressGpsLon":-100.9362838,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-22 19:59:35.038865] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-22 19:59:35.038903] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-22 19:59:35.038938] [debug] El cliente no cambió de potencial a cliente -[2025-03-22 19:59:35.038973] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-22 19:59:35.039006] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-22 19:59:35.039048] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-22 19:59:35.039091] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-22 19:59:35.039155] [debug] {"uuid":"be4615c4-9ee5-415f-b21e-1d460e87e6a6","changeType":"edit","entity":"client","entityId":104,"message":null,"clientId":104,"eventName":"client.edit","clientData":{"id":104,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"100 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 100, Centro, Dolores 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-02-09T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Manolo","lastName":"Hernandez","username":"mvega04","contacts":[{"id":105,"clientId":104,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1619921,"addressGpsLon":-100.9362838,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-22 19:59:35.039268] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-22 19:59:35.039309] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"be4615c4-9ee5-415f-b21e-1d460e87e6a6","changeType":"edit","entity":"client","entityId":104,"message":null,"clientId":104,"eventName":"client.edit","clientData":{"id":104,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"100 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 100, Centro, Dolores 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-02-09T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Manolo","lastName":"Hernandez","username":"mvega04","contacts":[{"id":105,"clientId":104,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1619921,"addressGpsLon":-100.9362838,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Manolo Hernandez - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Manolo Hernandez","custom_fields":{"Cliente":104,"Domicilio":"\ud83d\udccd Avenida Norte 100, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Manolo Hernandez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/104","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"104\",\"Domicilio\": \"\"Nombre\": \"Manolo Hernandez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/104\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 22\/03\/2025 19:59 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"22\/03\/2025 13:59\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 22\/03\/2025 19:59 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/03\/2025 13:59","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "104","Domicilio": ""Nombre": "Manolo Hernandez","URL": "https://sistema.siip.mx/crm/client/104","Saldo Actual": "💲0 está al corriente","Monto Ultimo Pago": "$ ","Estado": "Activo","Fecha Ultimo Pago": " 22/03/2025 19:59 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "22/03/2025 13:59","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Manolo Hernandez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Cliente":"104","Clabe Interbancaria":"124180650741646979","Monto Ultimo Pago":"💲 ","Domicilio":"📍 Avenida Norte 100, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","URL":"🌐 https://sistema.siip.mx/crm/client/104","Fecha Ultimo Pago":"📆💸 22/03/2025 19:59 con Desconocido, revisar metodos de pago no contemplados","Resumen":"{\"Cliente\": \"104\",\"Domicilio\": \"\"Nombre\": \"Manolo Hernandez\",\"URL\": \"https://sistema.siip.mx/crm/client/104\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 22/03/2025 19:59 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"22/03/2025 13:59\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 13:59","Nombre":"👤 Manolo Hernandez"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Manolo Hernandez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Cliente":"104","Clabe Interbancaria":"124180650741646979","Monto Ultimo Pago":"💲 ","Domicilio":"📍 Avenida Norte 100, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","URL":"🌐 https://sistema.siip.mx/crm/client/104","Fecha Ultimo Pago":"📆💸 22/03/2025 19:59 con Desconocido, revisar metodos de pago no contemplados","Resumen":"{\"Cliente\": \"104\",\"Domicilio\": \"\"Nombre\": \"Manolo Hernandez\",\"URL\": \"https://sistema.siip.mx/crm/client/104\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 22/03/2025 19:59 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"22/03/2025 13:59\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 13:59","Nombre":"👤 Manolo Hernandez"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-22 19:59:42.012032] [notice] Logging level set to:debug -[2025-03-22 19:59:42.092670] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-22 19:59:42.092847] [debug] Valor de JSON: {"uuid":"82dbc586-dc64-438d-bcfb-bafe3a3a21e1","changeType":"edit","entity":"client","entityId":"104","eventName":"client.edit","extraData":{"entity":{"id":104,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"100 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 100, Centro, Dolores 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-02-09T00:00:00-0600","leadConvertedAt":"2025-03-22T13:59:41-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Manolo","lastName":"Hernandez","username":"mvega04","contacts":[{"id":105,"clientId":104,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1619921,"addressGpsLon":-100.9362838,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":104,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"100 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 100, Centro, Dolores 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-02-09T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Manolo","lastName":"Hernandez","username":"mvega04","contacts":[{"id":105,"clientId":104,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1619921,"addressGpsLon":-100.9362838,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-22 19:59:42.093781] [debug] Se actualiza a un cliente -[2025-03-22 19:59:42.093899] [debug] Valor de json_data: {"uuid":"82dbc586-dc64-438d-bcfb-bafe3a3a21e1","changeType":"edit","entity":"client","entityId":"104","eventName":"client.edit","extraData":{"entity":{"id":104,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"100 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 100, Centro, Dolores 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-02-09T00:00:00-0600","leadConvertedAt":"2025-03-22T13:59:41-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Manolo","lastName":"Hernandez","username":"mvega04","contacts":[{"id":105,"clientId":104,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1619921,"addressGpsLon":-100.9362838,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":104,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"100 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 100, Centro, Dolores 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-02-09T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Manolo","lastName":"Hernandez","username":"mvega04","contacts":[{"id":105,"clientId":104,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1619921,"addressGpsLon":-100.9362838,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-22 19:59:42.093955] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-22 19:59:42.093996] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-22 19:59:42.094033] [debug] El cliente cambió de potencial a cliente -[2025-03-22 19:59:42.143496] [info] ID correspondiente a 'Customer Stripe ID': 10 - -[2025-03-22 19:59:42.143696] [info] El valor de 'isLead' es: false - -[2025-03-22 19:59:42.143749] [info] El cliente NO es un lead, se procesará - -[2025-03-22 19:59:42.143793] [info] Creando el Customer Stripe - -[2025-03-22 19:59:42.143831] [info] El cliente a procesar es : Manolo Hernandez - -[2025-03-22 19:59:42.143882] [info] Datos notificationData: {"uuid":"82dbc586-dc64-438d-bcfb-bafe3a3a21e1","changeType":"edit","entity":"client","entityId":104,"message":null,"clientId":104,"eventName":"client.edit","clientData":{"id":104,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"100 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 100, Centro, Dolores 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-02-09T00:00:00-0600","leadConvertedAt":"2025-03-22T13:59:41-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Manolo","lastName":"Hernandez","username":"mvega04","contacts":[{"id":105,"clientId":104,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1619921,"addressGpsLon":-100.9362838,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-22 19:59:42.143922] [info] Ya dentro del FOREACH!!! - -[2025-03-22 19:59:42.143959] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-22 19:59:42.143996] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-22 19:59:42.144037] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-22 19:59:42.144076] [info] SE VALIDA EL EMAIL!!! - -[2025-03-22 19:59:42.144814] [info] ahora se procede a validar el teléfono!!! - -[2025-03-22 19:59:42.144942] [info] AHORA SE MANDA A CREAR EL CLIENTE A STRIPE!!! - -[2025-03-22 19:59:42.594412] [info] {"id":"cus_RzXHrqMVOmOT94","object":"customer","address":null,"balance":0,"created":1742673582,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 104","discount":null,"email":null,"invoice_prefix":"E0D125B5","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":[],"name":"Manolo Hernandez","next_invoice_sequence":1,"phone":"4181878106","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-22 19:59:44.798244] [info] {"id":"cus_RzXHrqMVOmOT94","object":"customer","address":null,"balance":0,"created":1742673582,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 104","discount":null,"email":null,"invoice_prefix":"E0D125B5","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":{"ucrm_client_id":"104"},"name":"Manolo Hernandez","next_invoice_sequence":1,"phone":"4181878106","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-22 19:59:45.277689] [notice] Logging level set to:debug -[2025-03-22 19:59:45.277909] [info] No UUID found in the webhook data -[2025-03-22 19:59:47.148776] [info] {"object":"funding_instructions","bank_transfer":{"country":"MX","financial_addresses":[{"spei":{"account_holder_address":{"city":"Ciudad de M\u00e9xico","country":"MX","line1":"Av Paseo de la Reforma 180 piso 29 col Juarez","line2":null,"postal_code":"06600","state":"Ciudad de M\u00e9xico"},"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":"124180922232926548"},"supported_networks":["spei"],"type":"spei"}],"type":"mx_bank_transfer"},"currency":"mxn","funding_type":"bank_transfer","livemode":false} - -[2025-03-22 19:59:47.395349] [info] CLABE guardada en metadata: 124180922232926548 - -[2025-03-22 19:59:47.551769] [info] {} - -[2025-03-22 19:59:47.671730] [notice] Logging level set to:debug -[2025-03-22 19:59:47.754262] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-22 19:59:47.754348] [debug] Valor de JSON: {"uuid":"8d62ccc1-6e4e-42e4-ae5b-9ed38c7a5bae","changeType":"edit","entity":"client","entityId":"104","eventName":"client.edit","extraData":{"entity":{"id":104,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"100 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 100, Centro, Dolores 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-02-09T00:00:00-0600","leadConvertedAt":"2025-03-22T13:59:41-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Manolo","lastName":"Hernandez","username":"mvega04","contacts":[{"id":105,"clientId":104,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":180,"clientId":104,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RzXHrqMVOmOT94","clientZoneVisible":true},{"id":181,"clientId":104,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180922232926548","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1619921,"addressGpsLon":-100.9362838,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":104,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"100 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 100, Centro, Dolores 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-02-09T00:00:00-0600","leadConvertedAt":"2025-03-22T13:59:41-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Manolo","lastName":"Hernandez","username":"mvega04","contacts":[{"id":105,"clientId":104,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1619921,"addressGpsLon":-100.9362838,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-22 19:59:47.754555] [debug] Se actualiza a un cliente -[2025-03-22 19:59:47.754595] [debug] Valor de json_data: {"uuid":"8d62ccc1-6e4e-42e4-ae5b-9ed38c7a5bae","changeType":"edit","entity":"client","entityId":"104","eventName":"client.edit","extraData":{"entity":{"id":104,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"100 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 100, Centro, Dolores 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-02-09T00:00:00-0600","leadConvertedAt":"2025-03-22T13:59:41-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Manolo","lastName":"Hernandez","username":"mvega04","contacts":[{"id":105,"clientId":104,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":180,"clientId":104,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RzXHrqMVOmOT94","clientZoneVisible":true},{"id":181,"clientId":104,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180922232926548","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1619921,"addressGpsLon":-100.9362838,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":104,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"100 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 100, Centro, Dolores 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-02-09T00:00:00-0600","leadConvertedAt":"2025-03-22T13:59:41-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Manolo","lastName":"Hernandez","username":"mvega04","contacts":[{"id":105,"clientId":104,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1619921,"addressGpsLon":-100.9362838,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-22 19:59:47.754614] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-22 19:59:47.754622] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-22 19:59:47.754631] [debug] El cliente no cambió de potencial a cliente -[2025-03-22 19:59:47.754638] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-22 19:59:47.754646] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-22 19:59:47.754652] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-22 19:59:47.754661] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-22 19:59:47.754688] [debug] {"uuid":"8d62ccc1-6e4e-42e4-ae5b-9ed38c7a5bae","changeType":"edit","entity":"client","entityId":104,"message":null,"clientId":104,"eventName":"client.edit","clientData":{"id":104,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"100 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 100, Centro, Dolores 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-02-09T00:00:00-0600","leadConvertedAt":"2025-03-22T13:59:41-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Manolo","lastName":"Hernandez","username":"mvega04","contacts":[{"id":105,"clientId":104,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":180,"clientId":104,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RzXHrqMVOmOT94","clientZoneVisible":true},{"id":181,"clientId":104,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180922232926548","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1619921,"addressGpsLon":-100.9362838,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-22 19:59:47.754765] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-22 19:59:47.754777] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-22 19:59:47.770390] [notice] Logging level set to:debug -[2025-03-22 19:59:47.770466] [info] No UUID found in the webhook data -Notificacion data: {"uuid":"8d62ccc1-6e4e-42e4-ae5b-9ed38c7a5bae","changeType":"edit","entity":"client","entityId":104,"message":null,"clientId":104,"eventName":"client.edit","clientData":{"id":104,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"100 Avenida Norte","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Avenida Norte 100, Centro, Dolores 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-02-09T00:00:00-0600","leadConvertedAt":"2025-03-22T13:59:41-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Manolo","lastName":"Hernandez","username":"mvega04","contacts":[{"id":105,"clientId":104,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":180,"clientId":104,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RzXHrqMVOmOT94","clientZoneVisible":true},{"id":181,"clientId":104,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180922232926548","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1619921,"addressGpsLon":-100.9362838,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Manolo Hernandez - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Manolo Hernandez","custom_fields":{"Cliente":104,"Domicilio":"\ud83d\udccd Avenida Norte 100, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Manolo Hernandez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/104","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"104\",\"Domicilio\": \"\"Nombre\": \"Manolo Hernandez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/104\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 22\/03\/2025 19:59 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"22\/03\/2025 13:59\",\"Clabe Interbancaria\": \"124180922232926548\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 22\/03\/2025 19:59 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/03\/2025 13:59","Clabe Interbancaria":"124180922232926548","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "104","Domicilio": ""Nombre": "Manolo Hernandez","URL": "https://sistema.siip.mx/crm/client/104","Saldo Actual": "💲0 está al corriente","Monto Ultimo Pago": "$ ","Estado": "Activo","Fecha Ultimo Pago": " 22/03/2025 19:59 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "22/03/2025 13:59","Clabe Interbancaria": "124180922232926548","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Manolo Hernandez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Cliente":"104","Clabe Interbancaria":"124180922232926548","Monto Ultimo Pago":"💲 ","Domicilio":"📍 Avenida Norte 100, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","URL":"🌐 https://sistema.siip.mx/crm/client/104","Fecha Ultimo Pago":"📆💸 22/03/2025 19:59 con Desconocido, revisar metodos de pago no contemplados","Resumen":"{\"Cliente\": \"104\",\"Domicilio\": \"\"Nombre\": \"Manolo Hernandez\",\"URL\": \"https://sistema.siip.mx/crm/client/104\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 22/03/2025 19:59 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"22/03/2025 13:59\",\"Clabe Interbancaria\": \"124180922232926548\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 13:59","Nombre":"👤 Manolo Hernandez"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Manolo Hernandez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Cliente":"104","Clabe Interbancaria":"124180922232926548","Monto Ultimo Pago":"💲 ","Domicilio":"📍 Avenida Norte 100, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","URL":"🌐 https://sistema.siip.mx/crm/client/104","Fecha Ultimo Pago":"📆💸 22/03/2025 19:59 con Desconocido, revisar metodos de pago no contemplados","Resumen":"{\"Cliente\": \"104\",\"Domicilio\": \"\"Nombre\": \"Manolo Hernandez\",\"URL\": \"https://sistema.siip.mx/crm/client/104\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 22/03/2025 19:59 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"22/03/2025 13:59\",\"Clabe Interbancaria\": \"124180922232926548\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultima Actualizacion":"📆🔄️ 22/03/2025 13:59","Nombre":"👤 Manolo Hernandez"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-22 20:06:24.161401] [notice] Logging level set to:debug -[2025-03-22 20:06:24.235872] [debug] valor el evento recibido por webhook: client.add - -[2025-03-22 20:06:24.235929] [debug] Valor de JSON: {"uuid":"99605d70-5f7b-4dbd-b037-223e75a2f836","changeType":"insert","entity":"client","entityId":"168","eventName":"client.add","extraData":{"entity":{"id":168,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 34, Guadalupe, Dolores 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-03-22T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luisillo","lastName":"El Pillo","username":null,"contacts":[{"id":174,"clientId":168,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2e7d32","addressGpsLat":21.15326,"addressGpsLon":-100.9134126,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":null}} - -[2025-03-22 20:06:24.236145] [debug] Se agregó un nuevo cliente - -[2025-03-22 20:06:24.236176] [debug] Valor de json_data: {"uuid":"99605d70-5f7b-4dbd-b037-223e75a2f836","changeType":"insert","entity":"client","entityId":"168","eventName":"client.add","extraData":{"entity":{"id":168,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 34, Guadalupe, Dolores 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-03-22T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luisillo","lastName":"El Pillo","username":null,"contacts":[{"id":174,"clientId":168,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2e7d32","addressGpsLat":21.15326,"addressGpsLon":-100.9134126,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":null}} -[2025-03-22 20:06:31.657593] [notice] Logging level set to:debug -[2025-03-22 20:06:31.814429] [debug] valor el evento recibido por webhook: service.add - -[2025-03-22 20:06:31.814618] [debug] Valor de JSON: {"uuid":"22d46552-1910-4c7d-b8f5-490e8070a3c5","changeType":"insert","entity":"service","entityId":"146","eventName":"service.add","extraData":{"entity":{"id":146,"prepaid":false,"clientId":168,"status":7,"name":"INTERMEDIO","fullAddress":"San Luis 34, Guadalupe, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"34 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","note":null,"addressGpsLat":21.15326,"addressGpsLon":-100.9134126,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":null,"activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":null,"invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"e754c7a2-950b-4964-9b62-e27cf1b243f8","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":null}} - -[2025-03-22 20:06:33.229460] [notice] Logging level set to:debug -[2025-03-22 20:06:33.384563] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-22 20:06:33.384659] [debug] Valor de JSON: {"uuid":"e69597a5-e396-4d6c-80e5-a5dd5f5db297","changeType":"edit","entity":"service","entityId":"146","eventName":"service.edit","extraData":{"entity":{"id":146,"prepaid":false,"clientId":168,"status":7,"name":"INTERMEDIO","fullAddress":"San Luis 34, Guadalupe, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"34 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","note":null,"addressGpsLat":21.15326,"addressGpsLon":-100.9134126,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":null,"activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":null,"invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"e754c7a2-950b-4964-9b62-e27cf1b243f8","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":{"id":146,"prepaid":false,"clientId":168,"status":7,"name":"INTERMEDIO","fullAddress":"San Luis 34, Guadalupe, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"34 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","note":null,"addressGpsLat":21.15326,"addressGpsLon":-100.9134126,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":null,"activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":null,"invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"e754c7a2-950b-4964-9b62-e27cf1b243f8","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}} - -[2025-03-22 20:06:33.384773] [debug] Se editó el servicio a un cliente - -[2025-03-22 20:06:48.209486] [notice] Logging level set to:debug -[2025-03-22 20:06:48.342468] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-22 20:06:48.342550] [debug] Valor de JSON: {"uuid":"82066765-7b14-41bb-82bb-d5a4b632bf73","changeType":"edit","entity":"client","entityId":"168","eventName":"client.edit","extraData":{"entity":{"id":168,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 34, Guadalupe, Dolores 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-03-22T00:00:00-0600","leadConvertedAt":"2025-03-22T14:06:48-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luisillo","lastName":"El Pillo","username":null,"contacts":[{"id":174,"clientId":168,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2e7d32","addressGpsLat":21.15326,"addressGpsLon":-100.9134126,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":168,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 34, Guadalupe, Dolores 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-03-22T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luisillo","lastName":"El Pillo","username":null,"contacts":[{"id":174,"clientId":168,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2e7d32","addressGpsLat":21.15326,"addressGpsLon":-100.9134126,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-22 20:06:48.342806] [debug] Se actualiza a un cliente -[2025-03-22 20:06:48.342843] [debug] Valor de json_data: {"uuid":"82066765-7b14-41bb-82bb-d5a4b632bf73","changeType":"edit","entity":"client","entityId":"168","eventName":"client.edit","extraData":{"entity":{"id":168,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 34, Guadalupe, Dolores 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-03-22T00:00:00-0600","leadConvertedAt":"2025-03-22T14:06:48-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luisillo","lastName":"El Pillo","username":null,"contacts":[{"id":174,"clientId":168,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2e7d32","addressGpsLat":21.15326,"addressGpsLon":-100.9134126,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":168,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 34, Guadalupe, Dolores 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-03-22T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luisillo","lastName":"El Pillo","username":null,"contacts":[{"id":174,"clientId":168,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2e7d32","addressGpsLat":21.15326,"addressGpsLon":-100.9134126,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-22 20:06:48.342859] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-22 20:06:48.342868] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-22 20:06:48.342875] [debug] El cliente cambió de potencial a cliente -[2025-03-22 20:06:48.404611] [info] ID correspondiente a 'Customer Stripe ID': 10 - -[2025-03-22 20:06:48.404794] [info] El valor de 'isLead' es: false - -[2025-03-22 20:06:48.404843] [info] El cliente NO es un lead, se procesará - -[2025-03-22 20:06:48.404889] [info] Creando el Customer Stripe - -[2025-03-22 20:06:48.404930] [info] El cliente a procesar es : Luisillo El Pillo - -[2025-03-22 20:06:48.404978] [info] Datos notificationData: {"uuid":"82066765-7b14-41bb-82bb-d5a4b632bf73","changeType":"edit","entity":"client","entityId":168,"message":null,"clientId":168,"eventName":"client.edit","clientData":{"id":168,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 34, Guadalupe, Dolores 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-03-22T00:00:00-0600","leadConvertedAt":"2025-03-22T14:06:48-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luisillo","lastName":"El Pillo","username":null,"contacts":[{"id":174,"clientId":168,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2e7d32","addressGpsLat":21.15326,"addressGpsLon":-100.9134126,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-22 20:06:48.405013] [info] Ya dentro del FOREACH!!! - -[2025-03-22 20:06:48.405046] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-22 20:06:48.405091] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-22 20:06:48.405127] [info] SE VALIDA EL EMAIL!!! - -[2025-03-22 20:06:48.405827] [info] ahora se procede a validar el teléfono!!! - -[2025-03-24 15:29:09.682971] [notice] Logging level set to:debug -[2025-03-24 15:29:09.754498] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-24 15:29:09.754668] [debug] Valor de JSON: {"uuid":"dacc108d-7216-49a0-b285-f9a4920229ad","changeType":"edit","entity":"client","entityId":"168","eventName":"client.edit","extraData":{"entity":{"id":168,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 34, Guadalupe, Dolores 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-03-22T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luisillo","lastName":"El Pillo","username":null,"contacts":[{"id":174,"clientId":168,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2e7d32","addressGpsLat":21.15326,"addressGpsLon":-100.9134126,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":168,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 34, Guadalupe, Dolores 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-03-22T00:00:00-0600","leadConvertedAt":"2025-03-22T14:06:48-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luisillo","lastName":"El Pillo","username":null,"contacts":[{"id":174,"clientId":168,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2e7d32","addressGpsLat":21.15326,"addressGpsLon":-100.9134126,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-24 15:29:09.754915] [debug] Se actualiza a un cliente -[2025-03-24 15:29:09.754995] [debug] Valor de json_data: {"uuid":"dacc108d-7216-49a0-b285-f9a4920229ad","changeType":"edit","entity":"client","entityId":"168","eventName":"client.edit","extraData":{"entity":{"id":168,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 34, Guadalupe, Dolores 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-03-22T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luisillo","lastName":"El Pillo","username":null,"contacts":[{"id":174,"clientId":168,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2e7d32","addressGpsLat":21.15326,"addressGpsLon":-100.9134126,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":168,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 34, Guadalupe, Dolores 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-03-22T00:00:00-0600","leadConvertedAt":"2025-03-22T14:06:48-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luisillo","lastName":"El Pillo","username":null,"contacts":[{"id":174,"clientId":168,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2e7d32","addressGpsLat":21.15326,"addressGpsLon":-100.9134126,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-24 15:29:09.755054] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-24 15:29:09.755098] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-24 15:29:09.755135] [debug] El cliente no cambió de potencial a cliente -[2025-03-24 15:29:09.755170] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-24 15:29:09.755204] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-24 15:29:09.755239] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-24 15:29:09.755279] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-24 15:29:09.755333] [debug] {"uuid":"dacc108d-7216-49a0-b285-f9a4920229ad","changeType":"edit","entity":"client","entityId":168,"message":null,"clientId":168,"eventName":"client.edit","clientData":{"id":168,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 34, Guadalupe, Dolores 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-03-22T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luisillo","lastName":"El Pillo","username":null,"contacts":[{"id":174,"clientId":168,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2e7d32","addressGpsLat":21.15326,"addressGpsLon":-100.9134126,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-24 15:32:53.628151] [notice] Logging level set to:debug -[2025-03-24 15:32:53.704689] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-24 15:32:53.704775] [debug] Valor de JSON: {"uuid":"0c82b0da-d026-4f1b-8de3-c80de37e5241","changeType":"edit","entity":"client","entityId":"168","eventName":"client.edit","extraData":{"entity":{"id":168,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 34, Guadalupe, Dolores 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-03-22T00:00:00-0600","leadConvertedAt":"2025-03-24T09:32:53-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luisillo","lastName":"El Pillo","username":null,"contacts":[{"id":174,"clientId":168,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2e7d32","addressGpsLat":21.15326,"addressGpsLon":-100.9134126,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":168,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 34, Guadalupe, Dolores 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-03-22T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luisillo","lastName":"El Pillo","username":null,"contacts":[{"id":174,"clientId":168,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2e7d32","addressGpsLat":21.15326,"addressGpsLon":-100.9134126,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-24 15:32:53.704993] [debug] Se actualiza a un cliente -[2025-03-24 15:32:53.705033] [debug] Valor de json_data: {"uuid":"0c82b0da-d026-4f1b-8de3-c80de37e5241","changeType":"edit","entity":"client","entityId":"168","eventName":"client.edit","extraData":{"entity":{"id":168,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 34, Guadalupe, Dolores 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-03-22T00:00:00-0600","leadConvertedAt":"2025-03-24T09:32:53-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luisillo","lastName":"El Pillo","username":null,"contacts":[{"id":174,"clientId":168,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2e7d32","addressGpsLat":21.15326,"addressGpsLon":-100.9134126,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":168,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 34, Guadalupe, Dolores 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-03-22T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luisillo","lastName":"El Pillo","username":null,"contacts":[{"id":174,"clientId":168,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2e7d32","addressGpsLat":21.15326,"addressGpsLon":-100.9134126,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-24 15:32:53.705050] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-24 15:32:53.705060] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-24 15:32:53.705176] [debug] El cliente cambió de potencial a cliente -[2025-03-24 15:32:53.751956] [info] ID correspondiente a 'Customer Stripe ID': 10 - -[2025-03-24 15:32:53.752221] [info] Creando el Customer Stripe - -[2025-03-24 15:32:53.752289] [info] El cliente a procesar es : Luisillo El Pillo - -[2025-03-24 15:32:53.752362] [info] Datos notificationData: {"uuid":"0c82b0da-d026-4f1b-8de3-c80de37e5241","changeType":"edit","entity":"client","entityId":168,"message":null,"clientId":168,"eventName":"client.edit","clientData":{"id":168,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 34, Guadalupe, Dolores 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-03-22T00:00:00-0600","leadConvertedAt":"2025-03-24T09:32:53-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luisillo","lastName":"El Pillo","username":null,"contacts":[{"id":174,"clientId":168,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2e7d32","addressGpsLat":21.15326,"addressGpsLon":-100.9134126,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-24 15:32:53.752408] [info] Ya dentro del FOREACH!!! - -[2025-03-24 15:32:53.752453] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-24 15:32:53.752496] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-24 15:32:53.752538] [info] SE VALIDA EL EMAIL!!! - -[2025-03-24 15:32:53.753365] [info] ahora se procede a validar el teléfono!!! - -[2025-03-24 15:32:53.753475] [info] El número de teléfono está vacío o no es válido. - -[2025-03-24 15:32:53.753540] [info] AHORA SE MANDA A CREAR EL CLIENTE A STRIPE!!! - -[2025-03-24 15:32:54.387324] [info] {"id":"cus_S0DQeKATtu0KMR","object":"customer","address":null,"balance":0,"created":1742830374,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 168","discount":null,"email":null,"invoice_prefix":"8881D3D8","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":[],"name":"Luisillo El Pillo","next_invoice_sequence":1,"phone":null,"preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-24 15:32:56.714869] [info] {"id":"cus_S0DQeKATtu0KMR","object":"customer","address":null,"balance":0,"created":1742830374,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 168","discount":null,"email":null,"invoice_prefix":"8881D3D8","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":{"ucrm_client_id":"168"},"name":"Luisillo El Pillo","next_invoice_sequence":1,"phone":null,"preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-24 15:32:56.978564] [notice] Logging level set to:debug -[2025-03-24 15:32:56.978884] [info] No UUID found in the webhook data -[2025-03-24 15:32:59.163485] [info] {"object":"funding_instructions","bank_transfer":{"country":"MX","financial_addresses":[{"spei":{"account_holder_address":{"city":"Ciudad de M\u00e9xico","country":"MX","line1":"Av Paseo de la Reforma 180 piso 29 col Juarez","line2":null,"postal_code":"06600","state":"Ciudad de M\u00e9xico"},"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":"124180477742583023"},"supported_networks":["spei"],"type":"spei"}],"type":"mx_bank_transfer"},"currency":"mxn","funding_type":"bank_transfer","livemode":false} - -[2025-03-24 15:32:59.489909] [info] CLABE guardada en metadata: 124180477742583023 - -[2025-03-24 15:32:59.647041] [info] {} - -[2025-03-24 15:32:59.647619] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-24 15:32:59.648709] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-24 15:32:59.648761] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-24 15:32:59.648799] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-24 15:32:59.648861] [debug] {"uuid":"0c82b0da-d026-4f1b-8de3-c80de37e5241","changeType":"edit","entity":"client","entityId":168,"message":null,"clientId":168,"eventName":"client.edit","clientData":{"id":168,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 34, Guadalupe, Dolores 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-03-22T00:00:00-0600","leadConvertedAt":"2025-03-24T09:32:53-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luisillo","lastName":"El Pillo","username":null,"contacts":[{"id":174,"clientId":168,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2e7d32","addressGpsLat":21.15326,"addressGpsLon":-100.9134126,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-24 15:32:59.790568] [notice] Logging level set to:debug -[2025-03-24 15:32:59.874152] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-24 15:32:59.874332] [debug] Valor de JSON: {"uuid":"ae8dd03a-2b58-4ebf-a47d-29952ab7fb4a","changeType":"edit","entity":"client","entityId":"168","eventName":"client.edit","extraData":{"entity":{"id":168,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 34, Guadalupe, Dolores 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-03-22T00:00:00-0600","leadConvertedAt":"2025-03-24T09:32:53-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luisillo","lastName":"El Pillo","username":null,"contacts":[{"id":174,"clientId":168,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":182,"clientId":168,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0DQeKATtu0KMR","clientZoneVisible":true},{"id":183,"clientId":168,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180477742583023","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2e7d32","addressGpsLat":21.15326,"addressGpsLon":-100.9134126,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":168,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 34, Guadalupe, Dolores 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-03-22T00:00:00-0600","leadConvertedAt":"2025-03-24T09:32:53-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luisillo","lastName":"El Pillo","username":null,"contacts":[{"id":174,"clientId":168,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2e7d32","addressGpsLat":21.15326,"addressGpsLon":-100.9134126,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-24 15:32:59.874583] [debug] Se actualiza a un cliente -[2025-03-24 15:32:59.874656] [debug] Valor de json_data: {"uuid":"ae8dd03a-2b58-4ebf-a47d-29952ab7fb4a","changeType":"edit","entity":"client","entityId":"168","eventName":"client.edit","extraData":{"entity":{"id":168,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 34, Guadalupe, Dolores 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-03-22T00:00:00-0600","leadConvertedAt":"2025-03-24T09:32:53-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luisillo","lastName":"El Pillo","username":null,"contacts":[{"id":174,"clientId":168,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":182,"clientId":168,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0DQeKATtu0KMR","clientZoneVisible":true},{"id":183,"clientId":168,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180477742583023","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2e7d32","addressGpsLat":21.15326,"addressGpsLon":-100.9134126,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":168,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 34, Guadalupe, Dolores 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-03-22T00:00:00-0600","leadConvertedAt":"2025-03-24T09:32:53-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luisillo","lastName":"El Pillo","username":null,"contacts":[{"id":174,"clientId":168,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2e7d32","addressGpsLat":21.15326,"addressGpsLon":-100.9134126,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-24 15:32:59.874703] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-24 15:32:59.874742] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-24 15:32:59.874777] [debug] El cliente no cambió de potencial a cliente -[2025-03-24 15:32:59.874813] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-24 15:32:59.874846] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-24 15:32:59.874881] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-24 15:32:59.874917] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-24 15:32:59.874974] [debug] {"uuid":"ae8dd03a-2b58-4ebf-a47d-29952ab7fb4a","changeType":"edit","entity":"client","entityId":168,"message":null,"clientId":168,"eventName":"client.edit","clientData":{"id":168,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 34, Guadalupe, Dolores 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-03-22T00:00:00-0600","leadConvertedAt":"2025-03-24T09:32:53-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luisillo","lastName":"El Pillo","username":null,"contacts":[{"id":174,"clientId":168,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":182,"clientId":168,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0DQeKATtu0KMR","clientZoneVisible":true},{"id":183,"clientId":168,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180477742583023","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2e7d32","addressGpsLat":21.15326,"addressGpsLon":-100.9134126,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-24 15:32:59.877419] [notice] Logging level set to:debug -[2025-03-24 15:32:59.878377] [info] No UUID found in the webhook data -[2025-03-24 15:37:13.992703] [notice] Logging level set to:debug -[2025-03-24 15:37:14.071089] [debug] valor el evento recibido por webhook: client.add - -[2025-03-24 15:37:14.071238] [debug] Valor de JSON: {"uuid":"1eff7880-f94a-4d51-a7c9-06ca312642c2","changeType":"insert","entity":"client","entityId":"169","eventName":"client.add","extraData":{"entity":{"id":169,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"colima 40","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"colima 40, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Sebastian","lastName":"Jaramillo Pe\u00f1a","username":"sebasjar25@gmail.com","contacts":[{"id":175,"clientId":169,"email":"sebasjar25@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ad1457","addressGpsLat":21.1570629,"addressGpsLon":-100.9275609,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":null}} - -[2025-03-24 15:37:14.071762] [debug] Se agregó un nuevo cliente - -[2025-03-24 15:37:14.071844] [debug] Valor de json_data: {"uuid":"1eff7880-f94a-4d51-a7c9-06ca312642c2","changeType":"insert","entity":"client","entityId":"169","eventName":"client.add","extraData":{"entity":{"id":169,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"colima 40","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"colima 40, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Sebastian","lastName":"Jaramillo Pe\u00f1a","username":"sebasjar25@gmail.com","contacts":[{"id":175,"clientId":169,"email":"sebasjar25@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ad1457","addressGpsLat":21.1570629,"addressGpsLon":-100.9275609,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":null}} -[2025-03-24 15:38:44.708461] [notice] Logging level set to:debug -[2025-03-24 15:38:44.900506] [debug] valor el evento recibido por webhook: service.add - -[2025-03-24 15:38:44.900727] [debug] Valor de JSON: {"uuid":"b8a6e5bf-30d3-4eab-98be-d2e2782dc4d7","changeType":"insert","entity":"service","entityId":"147","eventName":"service.add","extraData":{"entity":{"id":147,"prepaid":false,"clientId":169,"status":7,"name":"INTERMEDIO","fullAddress":"colima 40, Dolores Hidalgo, 37800","street1":"colima 40","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1570629,"addressGpsLon":-100.9275609,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":null,"activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":null,"invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"ee506fba-a17b-4e8f-8a5d-f4e34ecdb983","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":null}} - -[2025-03-24 15:38:49.195332] [notice] Logging level set to:debug -[2025-03-24 15:38:49.334434] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-24 15:38:49.334619] [debug] Valor de JSON: {"uuid":"a8ee51a2-fc44-4a2d-8e20-6b1df5b0ead1","changeType":"edit","entity":"service","entityId":"147","eventName":"service.edit","extraData":{"entity":{"id":147,"prepaid":false,"clientId":169,"status":7,"name":"INTERMEDIO","fullAddress":"colima 40, Dolores Hidalgo, 37800","street1":"colima 40","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1570629,"addressGpsLon":-100.9275609,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":null,"activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":null,"invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"ee506fba-a17b-4e8f-8a5d-f4e34ecdb983","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":{"id":147,"prepaid":false,"clientId":169,"status":7,"name":"INTERMEDIO","fullAddress":"colima 40, Dolores Hidalgo, 37800","street1":"colima 40","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1570629,"addressGpsLon":-100.9275609,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":null,"activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":null,"invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"ee506fba-a17b-4e8f-8a5d-f4e34ecdb983","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}} - -[2025-03-24 15:38:49.334783] [debug] Se editó el servicio a un cliente - -[2025-03-24 15:39:06.460505] [notice] Logging level set to:debug -[2025-03-24 15:39:06.535079] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-24 15:39:06.535268] [debug] Valor de JSON: {"uuid":"14bd76e4-5fcc-445a-be49-16315ee48630","changeType":"edit","entity":"client","entityId":"169","eventName":"client.edit","extraData":{"entity":{"id":169,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"colima 40","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"colima 40, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T09:39:06-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Sebastian","lastName":"Jaramillo Pe\u00f1a","username":"sebasjar25@gmail.com","contacts":[{"id":175,"clientId":169,"email":"sebasjar25@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ad1457","addressGpsLat":21.1570629,"addressGpsLon":-100.9275609,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":169,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"colima 40","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"colima 40, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Sebastian","lastName":"Jaramillo Pe\u00f1a","username":"sebasjar25@gmail.com","contacts":[{"id":175,"clientId":169,"email":"sebasjar25@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ad1457","addressGpsLat":21.1570629,"addressGpsLon":-100.9275609,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-24 15:39:06.535547] [debug] Se actualiza a un cliente -[2025-03-24 15:39:06.535624] [debug] Valor de json_data: {"uuid":"14bd76e4-5fcc-445a-be49-16315ee48630","changeType":"edit","entity":"client","entityId":"169","eventName":"client.edit","extraData":{"entity":{"id":169,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"colima 40","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"colima 40, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T09:39:06-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Sebastian","lastName":"Jaramillo Pe\u00f1a","username":"sebasjar25@gmail.com","contacts":[{"id":175,"clientId":169,"email":"sebasjar25@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ad1457","addressGpsLat":21.1570629,"addressGpsLon":-100.9275609,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":169,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"colima 40","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"colima 40, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Sebastian","lastName":"Jaramillo Pe\u00f1a","username":"sebasjar25@gmail.com","contacts":[{"id":175,"clientId":169,"email":"sebasjar25@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ad1457","addressGpsLat":21.1570629,"addressGpsLon":-100.9275609,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-24 15:39:06.535669] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-24 15:39:06.535708] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-24 15:39:06.535747] [debug] El cliente cambió de potencial a cliente -[2025-03-24 15:39:06.586559] [info] ID correspondiente a 'Customer Stripe ID': 10 - -[2025-03-24 15:39:06.586812] [info] Creando el Customer Stripe - -[2025-03-24 15:39:06.586886] [info] El cliente a procesar es : Sebastian Jaramillo Peña - -[2025-03-24 15:39:06.586957] [info] Datos notificationData: {"uuid":"14bd76e4-5fcc-445a-be49-16315ee48630","changeType":"edit","entity":"client","entityId":169,"message":null,"clientId":169,"eventName":"client.edit","clientData":{"id":169,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"colima 40","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"colima 40, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T09:39:06-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Sebastian","lastName":"Jaramillo Pe\u00f1a","username":"sebasjar25@gmail.com","contacts":[{"id":175,"clientId":169,"email":"sebasjar25@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ad1457","addressGpsLat":21.1570629,"addressGpsLon":-100.9275609,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-24 15:39:06.587007] [info] Ya dentro del FOREACH!!! - -[2025-03-24 15:39:06.587058] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-24 15:39:06.587105] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-24 15:39:06.587155] [info] SE VALIDA EL EMAIL!!! - -[2025-03-24 15:39:06.588057] [info] ahora se procede a validar el teléfono!!! - -[2025-03-24 15:39:06.588169] [info] El número de teléfono está vacío o no es válido. - -[2025-03-24 15:39:06.588224] [info] AHORA SE MANDA A CREAR EL CLIENTE A STRIPE!!! - -[2025-03-24 15:39:07.177417] [info] {"id":"cus_S0DWTPET8Ev6vM","object":"customer","address":null,"balance":0,"created":1742830746,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 169","discount":null,"email":"sebasjar25@gmail.com","invoice_prefix":"E4D452E7","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":[],"name":"Sebastian Jaramillo Pe\u00f1a","next_invoice_sequence":1,"phone":null,"preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-24 15:39:09.510010] [info] {"id":"cus_S0DWTPET8Ev6vM","object":"customer","address":null,"balance":0,"created":1742830746,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 169","discount":null,"email":"sebasjar25@gmail.com","invoice_prefix":"E4D452E7","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":{"ucrm_client_id":"169"},"name":"Sebastian Jaramillo Pe\u00f1a","next_invoice_sequence":1,"phone":null,"preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-24 15:39:09.866436] [notice] Logging level set to:debug -[2025-03-24 15:39:09.866553] [info] No UUID found in the webhook data -[2025-03-24 15:39:11.959095] [info] {"object":"funding_instructions","bank_transfer":{"country":"MX","financial_addresses":[{"spei":{"account_holder_address":{"city":"Ciudad de M\u00e9xico","country":"MX","line1":"Av Paseo de la Reforma 180 piso 29 col Juarez","line2":null,"postal_code":"06600","state":"Ciudad de M\u00e9xico"},"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":"124180640152053886"},"supported_networks":["spei"],"type":"spei"}],"type":"mx_bank_transfer"},"currency":"mxn","funding_type":"bank_transfer","livemode":false} - -[2025-03-24 15:39:12.295238] [info] CLABE guardada en metadata: 124180640152053886 - -[2025-03-24 15:39:12.437768] [info] {} - -[2025-03-24 15:39:12.438812] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-24 15:39:12.438914] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-24 15:39:12.438963] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-24 15:39:12.439002] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-24 15:39:12.439069] [debug] {"uuid":"14bd76e4-5fcc-445a-be49-16315ee48630","changeType":"edit","entity":"client","entityId":169,"message":null,"clientId":169,"eventName":"client.edit","clientData":{"id":169,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"colima 40","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"colima 40, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T09:39:06-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Sebastian","lastName":"Jaramillo Pe\u00f1a","username":"sebasjar25@gmail.com","contacts":[{"id":175,"clientId":169,"email":"sebasjar25@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ad1457","addressGpsLat":21.1570629,"addressGpsLon":-100.9275609,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-24 15:39:12.544558] [notice] Logging level set to:debug -[2025-03-24 15:39:12.544739] [info] No UUID found in the webhook data -[2025-03-24 15:39:12.560792] [notice] Logging level set to:debug -[2025-03-24 15:39:12.632308] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-24 15:39:12.632384] [debug] Valor de JSON: {"uuid":"1ec9dd02-ff96-46ec-bb77-5ff2b92b2194","changeType":"edit","entity":"client","entityId":"169","eventName":"client.edit","extraData":{"entity":{"id":169,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"colima 40","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"colima 40, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T09:39:06-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Sebastian","lastName":"Jaramillo Pe\u00f1a","username":"sebasjar25@gmail.com","contacts":[{"id":175,"clientId":169,"email":"sebasjar25@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":184,"clientId":169,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0DWTPET8Ev6vM","clientZoneVisible":true},{"id":185,"clientId":169,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180640152053886","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ad1457","addressGpsLat":21.1570629,"addressGpsLon":-100.9275609,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":169,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"colima 40","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"colima 40, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T09:39:06-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Sebastian","lastName":"Jaramillo Pe\u00f1a","username":"sebasjar25@gmail.com","contacts":[{"id":175,"clientId":169,"email":"sebasjar25@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ad1457","addressGpsLat":21.1570629,"addressGpsLon":-100.9275609,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-24 15:39:12.632570] [debug] Se actualiza a un cliente -[2025-03-24 15:39:12.632616] [debug] Valor de json_data: {"uuid":"1ec9dd02-ff96-46ec-bb77-5ff2b92b2194","changeType":"edit","entity":"client","entityId":"169","eventName":"client.edit","extraData":{"entity":{"id":169,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"colima 40","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"colima 40, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T09:39:06-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Sebastian","lastName":"Jaramillo Pe\u00f1a","username":"sebasjar25@gmail.com","contacts":[{"id":175,"clientId":169,"email":"sebasjar25@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":184,"clientId":169,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0DWTPET8Ev6vM","clientZoneVisible":true},{"id":185,"clientId":169,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180640152053886","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ad1457","addressGpsLat":21.1570629,"addressGpsLon":-100.9275609,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":169,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"colima 40","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"colima 40, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T09:39:06-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Sebastian","lastName":"Jaramillo Pe\u00f1a","username":"sebasjar25@gmail.com","contacts":[{"id":175,"clientId":169,"email":"sebasjar25@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ad1457","addressGpsLat":21.1570629,"addressGpsLon":-100.9275609,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-24 15:39:12.632648] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-24 15:39:12.632658] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-24 15:39:12.632666] [debug] El cliente no cambió de potencial a cliente -[2025-03-24 15:39:12.632673] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-24 15:39:12.632679] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-24 15:39:12.632687] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-24 15:39:12.632694] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-24 15:39:12.632723] [debug] {"uuid":"1ec9dd02-ff96-46ec-bb77-5ff2b92b2194","changeType":"edit","entity":"client","entityId":169,"message":null,"clientId":169,"eventName":"client.edit","clientData":{"id":169,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"colima 40","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"colima 40, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T09:39:06-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Sebastian","lastName":"Jaramillo Pe\u00f1a","username":"sebasjar25@gmail.com","contacts":[{"id":175,"clientId":169,"email":"sebasjar25@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":184,"clientId":169,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0DWTPET8Ev6vM","clientZoneVisible":true},{"id":185,"clientId":169,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180640152053886","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ad1457","addressGpsLat":21.1570629,"addressGpsLon":-100.9275609,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-24 16:00:03.811728] [notice] Logging level set to:debug -[2025-03-24 16:00:04.001432] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-24 16:00:04.001503] [debug] Valor de JSON: {"uuid":"82b173db-976e-46e0-a6e8-a45ed357515f","changeType":"insert","entity":"invoice","entityId":"1703","eventName":"invoice.add_draft","extraData":{"entity":{"id":1703,"clientId":126,"number":"001654","createdDate":"2025-03-24T10:00:01-0600","dueDate":"2025-04-07T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-23T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1706,"type":"service","label":"PREMIUM 24\/02\/2025 \u2013 23\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":108,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL INNU","clientLastName":"RATA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-24 16:00:04.001719] [debug] Adición de borrador de Factura - -[2025-03-24 16:00:04.001775] [debug] {"uuid":"82b173db-976e-46e0-a6e8-a45ed357515f","changeType":"insert","entity":"invoice","entityId":1703,"message":null,"clientId":126,"eventName":"invoice.add_draft","clientData":{"id":126,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-05-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DANIEL INNU","lastName":"RATA","username":"dhsv.141089@gmail.com","contacts":[{"id":130,"clientId":126,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":127,"clientId":126,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QASKG6Z0Hree1h","clientZoneVisible":true},{"id":128,"clientId":126,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180704572078989","clientZoneVisible":true}],"accountBalance":-2800,"accountCredit":0,"accountOutstanding":2800,"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":1703,"clientId":126,"number":"001654","createdDate":"2025-03-24T10:00:01-0600","dueDate":"2025-04-07T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1706,"type":"service","label":"PREMIUM 24\/02\/2025 \u2013 23\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":108,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL INNU","clientLastName":"RATA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-24 16:00:04.001861] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-24 16:00:04.001874] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"82b173db-976e-46e0-a6e8-a45ed357515f","changeType":"insert","entity":"invoice","entityId":1703,"message":null,"clientId":126,"eventName":"invoice.add_draft","clientData":{"id":126,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-05-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DANIEL INNU","lastName":"RATA","username":"dhsv.141089@gmail.com","contacts":[{"id":130,"clientId":126,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":127,"clientId":126,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QASKG6Z0Hree1h","clientZoneVisible":true},{"id":128,"clientId":126,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180704572078989","clientZoneVisible":true}],"accountBalance":-2800,"accountCredit":0,"accountOutstanding":2800,"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":1703,"clientId":126,"number":"001654","createdDate":"2025-03-24T10:00:01-0600","dueDate":"2025-04-07T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1706,"type":"service","label":"PREMIUM 24\/02\/2025 \u2013 23\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":108,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL INNU","clientLastName":"RATA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":296,"clientId":126,"methodId":"78e84000-9b5b-44a4-8367-da43df86ce34","checkNumber":null,"createdDate":"2024-06-07T13:36:46-0600","amount":2100,"currencyCode":"MXN","note":null,"receiptSentDate":"2024-06-07T13:37:23-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":337,"invoiceId":495,"paymentId":296,"creditNoteId":null,"refundId":null,"amount":700},{"id":338,"invoiceId":613,"paymentId":296,"creditNoteId":null,"refundId":null,"amount":700},{"id":339,"invoiceId":614,"paymentId":296,"creditNoteId":null,"refundId":null,"amount":700}],"creditAmount":0,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: DANIEL INNU RATA - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"DANIEL INNU RATA","custom_fields":{"Cliente":126,"Domicilio":"\ud83d\udccd Chiapas, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 DANIEL INNU RATA","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/126","Saldo Actual":"\ud83d\udcb22800 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 2100","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"126\",\"Domicilio\": \"\"Nombre\": \"DANIEL INNU RATA\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/126\",\"Saldo Actual\": \"\ud83d\udcb22800 pendientes\",\"Monto Ultimo Pago\": \"$ 2100\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07\/06\/2024 13:36 con PayPal \ud83c\udf10\ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"24\/03\/2025 10:00\",\"Clabe Interbancaria\": \"002180704572078989\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/06\/2024 13:36 con PayPal \ud83c\udf10\ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/03\/2025 10:00","Clabe Interbancaria":"002180704572078989","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "126","Domicilio": ""Nombre": "DANIEL INNU RATA","URL": "https://sistema.siip.mx/crm/client/126","Saldo Actual": "💲2800 pendientes","Monto Ultimo Pago": "$ 2100","Estado": "Suspendido","Fecha Ultimo Pago": " 07/06/2024 13:36 con PayPal 🌐💳","Fecha Ultima Actualizacion": "24/03/2025 10:00","Clabe Interbancaria": "002180704572078989","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"DANIEL INNU RATA","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🔴 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲2800 pendientes","user name":"Daniel Humberto 🐁","Cliente":"126","Clabe Interbancaria":"002180704572078989","Monto Ultimo Pago":"💲 2100","Domicilio":"📍 Chiapas, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 07/06/2024 13:36 con PayPal 🌐💳","Fecha Ultima Actualizacion":"📆🔄️ 24/03/2025 10:00","Nombre":"👤 DANIEL INNU RATA","Resumen":"{\"Cliente\": \"126\",\"Domicilio\": \"\"Nombre\": \"DANIEL INNU RATA\",\"URL\": \"https://sistema.siip.mx/crm/client/126\",\"Saldo Actual\": \"💲2800 pendientes\",\"Monto Ultimo Pago\": \"$ 2100\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/06/2024 13:36 con PayPal 🌐💳\",\"Fecha Ultima Actualizacion\": \"24/03/2025 10:00\",\"Clabe Interbancaria\": \"002180704572078989\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","URL":"🌐 https://sistema.siip.mx/crm/client/126"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"DANIEL INNU RATA","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🔴 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲2800 pendientes","user name":"Daniel Humberto 🐁","Cliente":"126","Clabe Interbancaria":"002180704572078989","Monto Ultimo Pago":"💲 2100","Domicilio":"📍 Chiapas, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 07/06/2024 13:36 con PayPal 🌐💳","Fecha Ultima Actualizacion":"📆🔄️ 24/03/2025 10:00","Nombre":"👤 DANIEL INNU RATA","Resumen":"{\"Cliente\": \"126\",\"Domicilio\": \"\"Nombre\": \"DANIEL INNU RATA\",\"URL\": \"https://sistema.siip.mx/crm/client/126\",\"Saldo Actual\": \"💲2800 pendientes\",\"Monto Ultimo Pago\": \"$ 2100\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/06/2024 13:36 con PayPal 🌐💳\",\"Fecha Ultima Actualizacion\": \"24/03/2025 10:00\",\"Clabe Interbancaria\": \"002180704572078989\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","URL":"🌐 https://sistema.siip.mx/crm/client/126"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-24 16:00:07.071010] [notice] Logging level set to:debug -[2025-03-24 16:00:07.228929] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-24 16:00:07.228996] [debug] Valor de JSON: {"uuid":"10c9ecb7-76b7-4504-95f9-7da1e0a9cf6b","changeType":"draft_approved","entity":"invoice","entityId":"1703","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1703,"clientId":126,"number":"001654","createdDate":"2025-03-24T10:00:01-0600","dueDate":"2025-04-07T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-23T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1706,"type":"service","label":"PREMIUM 24\/02\/2025 \u2013 23\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":108,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL INNU","clientLastName":"RATA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-24 16:00:07.229116] [debug] Aprobación de Factura - -[2025-03-24 16:00:07.229167] [debug] {"uuid":"10c9ecb7-76b7-4504-95f9-7da1e0a9cf6b","changeType":"draft_approved","entity":"invoice","entityId":1703,"message":null,"clientId":126,"eventName":"invoice.draft_approved","clientData":{"id":126,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-05-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DANIEL INNU","lastName":"RATA","username":"dhsv.141089@gmail.com","contacts":[{"id":130,"clientId":126,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":127,"clientId":126,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QASKG6Z0Hree1h","clientZoneVisible":true},{"id":128,"clientId":126,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180704572078989","clientZoneVisible":true}],"accountBalance":-2800,"accountCredit":0,"accountOutstanding":2800,"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":1703,"clientId":126,"number":"001654","createdDate":"2025-03-24T10:00:01-0600","dueDate":"2025-04-07T10:00:01-0600","emailSentDate":"2025-03-24T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-22T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1706,"type":"service","label":"PREMIUM 24\/02\/2025 \u2013 23\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":108,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL INNU","clientLastName":"RATA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-24 16:00:07.229219] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-24 16:00:07.229233] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"10c9ecb7-76b7-4504-95f9-7da1e0a9cf6b","changeType":"draft_approved","entity":"invoice","entityId":1703,"message":null,"clientId":126,"eventName":"invoice.draft_approved","clientData":{"id":126,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-05-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DANIEL INNU","lastName":"RATA","username":"dhsv.141089@gmail.com","contacts":[{"id":130,"clientId":126,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":127,"clientId":126,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QASKG6Z0Hree1h","clientZoneVisible":true},{"id":128,"clientId":126,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180704572078989","clientZoneVisible":true}],"accountBalance":-2800,"accountCredit":0,"accountOutstanding":2800,"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":1703,"clientId":126,"number":"001654","createdDate":"2025-03-24T10:00:01-0600","dueDate":"2025-04-07T10:00:01-0600","emailSentDate":"2025-03-24T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-22T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1706,"type":"service","label":"PREMIUM 24\/02\/2025 \u2013 23\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":108,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL INNU","clientLastName":"RATA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":296,"clientId":126,"methodId":"78e84000-9b5b-44a4-8367-da43df86ce34","checkNumber":null,"createdDate":"2024-06-07T13:36:46-0600","amount":2100,"currencyCode":"MXN","note":null,"receiptSentDate":"2024-06-07T13:37:23-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":337,"invoiceId":495,"paymentId":296,"creditNoteId":null,"refundId":null,"amount":700},{"id":338,"invoiceId":613,"paymentId":296,"creditNoteId":null,"refundId":null,"amount":700},{"id":339,"invoiceId":614,"paymentId":296,"creditNoteId":null,"refundId":null,"amount":700}],"creditAmount":0,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: DANIEL INNU RATA - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"DANIEL INNU RATA","custom_fields":{"Cliente":126,"Domicilio":"\ud83d\udccd Chiapas, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 DANIEL INNU RATA","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/126","Saldo Actual":"\ud83d\udcb22800 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 2100","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"126\",\"Domicilio\": \"\"Nombre\": \"DANIEL INNU RATA\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/126\",\"Saldo Actual\": \"\ud83d\udcb22800 pendientes\",\"Monto Ultimo Pago\": \"$ 2100\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07\/06\/2024 13:36 con PayPal \ud83c\udf10\ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"24\/03\/2025 10:00\",\"Clabe Interbancaria\": \"002180704572078989\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/06\/2024 13:36 con PayPal \ud83c\udf10\ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/03\/2025 10:00","Clabe Interbancaria":"002180704572078989","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "126","Domicilio": ""Nombre": "DANIEL INNU RATA","URL": "https://sistema.siip.mx/crm/client/126","Saldo Actual": "💲2800 pendientes","Monto Ultimo Pago": "$ 2100","Estado": "Suspendido","Fecha Ultimo Pago": " 07/06/2024 13:36 con PayPal 🌐💳","Fecha Ultima Actualizacion": "24/03/2025 10:00","Clabe Interbancaria": "002180704572078989","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"DANIEL INNU RATA","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🔴 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲2800 pendientes","user name":"Daniel Humberto 🐁","Cliente":"126","Clabe Interbancaria":"002180704572078989","Monto Ultimo Pago":"💲 2100","Domicilio":"📍 Chiapas, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 07/06/2024 13:36 con PayPal 🌐💳","Fecha Ultima Actualizacion":"📆🔄️ 24/03/2025 10:00","Nombre":"👤 DANIEL INNU RATA","Resumen":"{\"Cliente\": \"126\",\"Domicilio\": \"\"Nombre\": \"DANIEL INNU RATA\",\"URL\": \"https://sistema.siip.mx/crm/client/126\",\"Saldo Actual\": \"💲2800 pendientes\",\"Monto Ultimo Pago\": \"$ 2100\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/06/2024 13:36 con PayPal 🌐💳\",\"Fecha Ultima Actualizacion\": \"24/03/2025 10:00\",\"Clabe Interbancaria\": \"002180704572078989\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","URL":"🌐 https://sistema.siip.mx/crm/client/126"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"DANIEL INNU RATA","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🔴 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲2800 pendientes","user name":"Daniel Humberto 🐁","Cliente":"126","Clabe Interbancaria":"002180704572078989","Monto Ultimo Pago":"💲 2100","Domicilio":"📍 Chiapas, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 07/06/2024 13:36 con PayPal 🌐💳","Fecha Ultima Actualizacion":"📆🔄️ 24/03/2025 10:00","Nombre":"👤 DANIEL INNU RATA","Resumen":"{\"Cliente\": \"126\",\"Domicilio\": \"\"Nombre\": \"DANIEL INNU RATA\",\"URL\": \"https://sistema.siip.mx/crm/client/126\",\"Saldo Actual\": \"💲2800 pendientes\",\"Monto Ultimo Pago\": \"$ 2100\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/06/2024 13:36 con PayPal 🌐💳\",\"Fecha Ultima Actualizacion\": \"24/03/2025 10:00\",\"Clabe Interbancaria\": \"002180704572078989\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","URL":"🌐 https://sistema.siip.mx/crm/client/126"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-24 16:24:02.623794] [notice] Logging level set to:debug -[2025-03-24 16:24:02.831759] [debug] valor el evento recibido por webhook: service.add - -[2025-03-24 16:24:02.831931] [debug] Valor de JSON: {"uuid":"db1d9c0e-e1df-4c01-a4ef-1d9cfbb0bb26","changeType":"insert","entity":"service","entityId":"148","eventName":"service.add","extraData":{"entity":{"id":148,"prepaid":false,"clientId":138,"status":1,"name":"Basico 300","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-03-24T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"d1c0d0df-8451-431d-86a2-35eb618d427c","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":null}} - -[2025-03-24 16:24:07.082757] [notice] Logging level set to:debug -[2025-03-24 16:24:07.230973] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-24 16:24:07.231184] [debug] Valor de JSON: {"uuid":"13a5ec6b-a911-415e-8261-8be2cec8dd05","changeType":"edit","entity":"service","entityId":"148","eventName":"service.edit","extraData":{"entity":{"id":148,"prepaid":false,"clientId":138,"status":1,"name":"Basico 300","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-03-24T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"d1c0d0df-8451-431d-86a2-35eb618d427c","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":{"id":148,"prepaid":false,"clientId":138,"status":1,"name":"Basico 300","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-03-24T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"d1c0d0df-8451-431d-86a2-35eb618d427c","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}} - -[2025-03-24 16:24:07.231376] [debug] Se editó el servicio a un cliente - -[2025-03-24 16:24:07.231519] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-24 16:24:07.231564] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-24 16:24:07.231626] [info] {"uuid":"13a5ec6b-a911-415e-8261-8be2cec8dd05","changeType":"edit","entity":"service","entityId":148,"message":null,"clientId":138,"eventName":"service.edit","clientData":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":380,"accountCredit":380,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":148,"prepaid":false,"clientId":138,"status":1,"name":"Basico 300","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-03-24T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"d1c0d0df-8451-431d-86a2-35eb618d427c","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Mofles El Ruco Lopez - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Mofles El Ruco Lopez","custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/03\/2025 10:24"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Mofles El Ruco Lopez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲2800 pendientes","user name":"Daniel Humberto 🐁","Cliente":"126","Clabe Interbancaria":"002180704572078989","Monto Ultimo Pago":"💲 2100","Domicilio":"📍 Chiapas, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 07/06/2024 13:36 con PayPal 🌐💳","Fecha Ultima Actualizacion":"📆🔄️ 24/03/2025 10:24","Nombre":"👤 DANIEL INNU RATA","Resumen":"{\"Cliente\": \"126\",\"Domicilio\": \"\"Nombre\": \"DANIEL INNU RATA\",\"URL\": \"https://sistema.siip.mx/crm/client/126\",\"Saldo Actual\": \"💲2800 pendientes\",\"Monto Ultimo Pago\": \"$ 2100\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/06/2024 13:36 con PayPal 🌐💳\",\"Fecha Ultima Actualizacion\": \"24/03/2025 10:00\",\"Clabe Interbancaria\": \"002180704572078989\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","URL":"🌐 https://sistema.siip.mx/crm/client/126"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-24 16:29:32.254935] [notice] Logging level set to:debug -[2025-03-24 16:29:32.344026] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-24 16:29:32.344127] [debug] Valor de JSON: {"uuid":"7b0f939a-1d26-4e52-9817-3565735175c3","changeType":"edit","entity":"client","entityId":"138","eventName":"client.edit","extraData":{"entity":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":380,"accountCredit":380,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":380,"accountCredit":380,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-24 16:29:32.344413] [debug] Se actualiza a un cliente -[2025-03-24 16:29:32.344465] [debug] Valor de json_data: {"uuid":"7b0f939a-1d26-4e52-9817-3565735175c3","changeType":"edit","entity":"client","entityId":"138","eventName":"client.edit","extraData":{"entity":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":380,"accountCredit":380,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":380,"accountCredit":380,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-24 16:29:32.344489] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-24 16:29:32.344501] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-24 16:29:32.344511] [debug] El cliente no cambió de potencial a cliente -[2025-03-24 16:29:32.344522] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-24 16:29:32.344533] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-24 16:29:32.344542] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-24 16:29:32.344552] [debug] La etiqueta STRIPE se agregará al cliente -[2025-03-24 16:29:32.373675] [info] Creando el Customer Stripe - -[2025-03-24 16:29:32.373794] [info] El cliente a procesar es : Mofles El Ruco Lopez - -[2025-03-24 16:29:32.373858] [info] Datos notificationData: {"uuid":"7b0f939a-1d26-4e52-9817-3565735175c3","changeType":"edit","entity":"client","entityId":138,"message":null,"clientId":138,"eventName":"client.edit","clientData":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":380,"accountCredit":380,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-24 16:29:32.373908] [info] Ya dentro del FOREACH!!! - -[2025-03-24 16:29:32.373943] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-24 16:29:32.373977] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-24 16:29:32.374011] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-24 16:29:32.374061] [info] SE VALIDA EL EMAIL!!! - -[2025-03-24 16:29:32.374932] [info] ahora se procede a validar el teléfono!!! - -[2025-03-24 16:29:32.375107] [info] AHORA SE MANDA A CREAR EL CLIENTE A STRIPE!!! - -[2025-03-24 16:29:32.997328] [info] {"id":"cus_S0ELXQk5rEXAdF","object":"customer","address":null,"balance":0,"created":1742833772,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 138","discount":null,"email":"moblesruco24@gmail.com","invoice_prefix":"428E024A","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":[],"name":"Mofles El Ruco Lopez","next_invoice_sequence":1,"phone":"4181878106","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-24 16:29:35.344468] [info] {"id":"cus_S0ELXQk5rEXAdF","object":"customer","address":null,"balance":0,"created":1742833772,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 138","discount":null,"email":"moblesruco24@gmail.com","invoice_prefix":"428E024A","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":{"ucrm_client_id":"138"},"name":"Mofles El Ruco Lopez","next_invoice_sequence":1,"phone":"4181878106","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-24 16:29:35.596019] [notice] Logging level set to:debug -[2025-03-24 16:29:35.596131] [info] No UUID found in the webhook data -[2025-03-24 16:29:37.781294] [info] {"object":"funding_instructions","bank_transfer":{"country":"MX","financial_addresses":[{"spei":{"account_holder_address":{"city":"Ciudad de M\u00e9xico","country":"MX","line1":"Av Paseo de la Reforma 180 piso 29 col Juarez","line2":null,"postal_code":"06600","state":"Ciudad de M\u00e9xico"},"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":"124180440496147483"},"supported_networks":["spei"],"type":"spei"}],"type":"mx_bank_transfer"},"currency":"mxn","funding_type":"bank_transfer","livemode":false} - -[2025-03-24 16:29:38.113899] [info] CLABE guardada en metadata: 124180440496147483 - -[2025-03-24 16:29:38.373298] [info] Error al hacer el patch al CRM: Client error: `PATCH https://172.16.5.134/crm/api/v1.0/clients/138` resulted in a `415 Unsupported Media Type` response: -{"code":415,"message":""} - - -[2025-03-24 16:29:38.422888] [info] ID correspondiente a 'Customer Stripe ID': 10 - -[2025-03-24 16:29:38.422983] [info] Creando el Customer Stripe - -[2025-03-24 16:29:38.422996] [info] El cliente a procesar es : Mofles El Ruco Lopez - -[2025-03-24 16:29:38.423018] [info] Datos notificationData: {"uuid":"7b0f939a-1d26-4e52-9817-3565735175c3","changeType":"edit","entity":"client","entityId":138,"message":null,"clientId":138,"eventName":"client.edit","clientData":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":380,"accountCredit":380,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-24 16:29:38.423038] [info] Ya dentro del FOREACH!!! - -[2025-03-24 16:29:38.423047] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-24 16:29:38.423054] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-24 16:29:38.423062] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-24 16:29:38.423069] [info] SE VALIDA EL EMAIL!!! - -[2025-03-24 16:29:38.423084] [info] ahora se procede a validar el teléfono!!! - -[2025-03-24 16:29:38.423094] [info] AHORA SE MANDA A CREAR EL CLIENTE A STRIPE!!! - -[2025-03-24 16:29:38.507199] [notice] Logging level set to:debug -[2025-03-24 16:29:38.507281] [info] No UUID found in the webhook data -[2025-03-24 16:29:38.761015] [info] {"id":"cus_S0ELEIMpRfdeLs","object":"customer","address":null,"balance":0,"created":1742833778,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 138","discount":null,"email":"moblesruco24@gmail.com","invoice_prefix":"9EF5AB30","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":[],"name":"Mofles El Ruco Lopez","next_invoice_sequence":1,"phone":"4181878106","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-24 16:29:41.078668] [info] {"id":"cus_S0ELEIMpRfdeLs","object":"customer","address":null,"balance":0,"created":1742833778,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 138","discount":null,"email":"moblesruco24@gmail.com","invoice_prefix":"9EF5AB30","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":{"ucrm_client_id":"138"},"name":"Mofles El Ruco Lopez","next_invoice_sequence":1,"phone":"4181878106","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-24 16:29:41.323920] [notice] Logging level set to:debug -[2025-03-24 16:29:41.324058] [info] No UUID found in the webhook data -[2025-03-24 16:29:43.544302] [info] {"object":"funding_instructions","bank_transfer":{"country":"MX","financial_addresses":[{"spei":{"account_holder_address":{"city":"Ciudad de M\u00e9xico","country":"MX","line1":"Av Paseo de la Reforma 180 piso 29 col Juarez","line2":null,"postal_code":"06600","state":"Ciudad de M\u00e9xico"},"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":"124180174170666420"},"supported_networks":["spei"],"type":"spei"}],"type":"mx_bank_transfer"},"currency":"mxn","funding_type":"bank_transfer","livemode":false} - -[2025-03-24 16:29:43.875596] [info] CLABE guardada en metadata: 124180174170666420 - -[2025-03-24 16:29:44.036607] [info] {} - -[2025-03-24 16:29:44.037134] [debug] {"uuid":"7b0f939a-1d26-4e52-9817-3565735175c3","changeType":"edit","entity":"client","entityId":138,"message":null,"clientId":138,"eventName":"client.edit","clientData":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":380,"accountCredit":380,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-24 16:29:44.037308] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-24 16:29:44.037355] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-24 16:29:44.113413] [notice] Logging level set to:debug -[2025-03-24 16:29:44.113529] [info] No UUID found in the webhook data -[2025-03-24 16:29:44.176739] [notice] Logging level set to:debug -[2025-03-24 16:29:44.265270] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-24 16:29:44.265363] [debug] Valor de JSON: {"uuid":"b50b4fdd-1212-4ec7-809d-afca8c49f471","changeType":"edit","entity":"client","entityId":"138","eventName":"client.edit","extraData":{"entity":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":186,"clientId":138,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0ELEIMpRfdeLs","clientZoneVisible":true},{"id":187,"clientId":138,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180174170666420","clientZoneVisible":true}],"accountBalance":380,"accountCredit":380,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":380,"accountCredit":380,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-24 16:29:44.265582] [debug] Se actualiza a un cliente -[2025-03-24 16:29:44.265625] [debug] Valor de json_data: {"uuid":"b50b4fdd-1212-4ec7-809d-afca8c49f471","changeType":"edit","entity":"client","entityId":"138","eventName":"client.edit","extraData":{"entity":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":186,"clientId":138,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0ELEIMpRfdeLs","clientZoneVisible":true},{"id":187,"clientId":138,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180174170666420","clientZoneVisible":true}],"accountBalance":380,"accountCredit":380,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":380,"accountCredit":380,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-24 16:29:44.265640] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-24 16:29:44.265650] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-24 16:29:44.265656] [debug] El cliente no cambió de potencial a cliente -[2025-03-24 16:29:44.265665] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-24 16:29:44.265671] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-24 16:29:44.265678] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-24 16:29:44.265686] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-24 16:29:44.265717] [debug] {"uuid":"b50b4fdd-1212-4ec7-809d-afca8c49f471","changeType":"edit","entity":"client","entityId":138,"message":null,"clientId":138,"eventName":"client.edit","clientData":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":186,"clientId":138,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0ELEIMpRfdeLs","clientZoneVisible":true},{"id":187,"clientId":138,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180174170666420","clientZoneVisible":true}],"accountBalance":380,"accountCredit":380,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-24 16:29:44.265779] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-24 16:29:44.265857] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"7b0f939a-1d26-4e52-9817-3565735175c3","changeType":"edit","entity":"client","entityId":138,"message":null,"clientId":138,"eventName":"client.edit","clientData":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":380,"accountCredit":380,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":584,"clientId":138,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:12:19-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-02-14T13:13:16-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]}] - -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":{"Cliente":138,"Domicilio":"\ud83d\udccd Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Mofles El Ruco Lopez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/138","Saldo Actual":"\ud83d\udcb2380 a favor","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"138\",\"Domicilio\": \"\"Nombre\": \"Mofles El Ruco Lopez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/138\",\"Saldo Actual\": \"\ud83d\udcb2380 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/02\/2025 13:12 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"24\/03\/2025 10:29\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/02\/2025 13:12 con Personalizado \ud83d\udcdd\ud83d\udcb8","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/03\/2025 10:29","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "138","Domicilio": ""Nombre": "Mofles El Ruco Lopez","URL": "https://sistema.siip.mx/crm/client/138","Saldo Actual": "💲380 a favor","Monto Ultimo Pago": "$ 300","Estado": "Activo","Fecha Ultimo Pago": " 14/02/2025 13:12 con Personalizado 📝💸","Fecha Ultima Actualizacion": "24/03/2025 10:29","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Notificacion data: {"uuid":"b50b4fdd-1212-4ec7-809d-afca8c49f471","changeType":"edit","entity":"client","entityId":138,"message":null,"clientId":138,"eventName":"client.edit","clientData":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":186,"clientId":138,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0ELEIMpRfdeLs","clientZoneVisible":true},{"id":187,"clientId":138,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180174170666420","clientZoneVisible":true}],"accountBalance":380,"accountCredit":380,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":584,"clientId":138,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:12:19-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-02-14T13:13:16-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]}] - -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":{"Cliente":138,"Domicilio":"\ud83d\udccd Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Mofles El Ruco Lopez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/138","Saldo Actual":"\ud83d\udcb2380 a favor","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"138\",\"Domicilio\": \"\"Nombre\": \"Mofles El Ruco Lopez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/138\",\"Saldo Actual\": \"\ud83d\udcb2380 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/02\/2025 13:12 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"24\/03\/2025 10:29\",\"Clabe Interbancaria\": \"124180174170666420\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/02\/2025 13:12 con Personalizado \ud83d\udcdd\ud83d\udcb8","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/03\/2025 10:29","Clabe Interbancaria":"124180174170666420","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "138","Domicilio": ""Nombre": "Mofles El Ruco Lopez","URL": "https://sistema.siip.mx/crm/client/138","Saldo Actual": "💲380 a favor","Monto Ultimo Pago": "$ 300","Estado": "Activo","Fecha Ultimo Pago": " 14/02/2025 13:12 con Personalizado 📝💸","Fecha Ultima Actualizacion": "24/03/2025 10:29","Clabe Interbancaria": "124180174170666420","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Mofles El Ruco Lopez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲380 a favor","user name":"Daniel Humberto 🐁","Cliente":"138","Clabe Interbancaria":"002180704572078989","Monto Ultimo Pago":"💲 300","Domicilio":"📍 Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 14/02/2025 13:12 con Personalizado 📝💸","Fecha Ultima Actualizacion":"📆🔄️ 24/03/2025 10:29","Nombre":"👤 Mofles El Ruco Lopez","Resumen":"{\"Cliente\": \"138\",\"Domicilio\": \"\"Nombre\": \"Mofles El Ruco Lopez\",\"URL\": \"https://sistema.siip.mx/crm/client/138\",\"Saldo Actual\": \"💲380 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14/02/2025 13:12 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"24/03/2025 10:29\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","URL":"🌐 https://sistema.siip.mx/crm/client/138"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Mofles El Ruco Lopez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲380 a favor","user name":"Daniel Humberto 🐁","Cliente":"138","Clabe Interbancaria":"124180174170666420","Monto Ultimo Pago":"💲 300","Domicilio":"📍 Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 14/02/2025 13:12 con Personalizado 📝💸","Fecha Ultima Actualizacion":"📆🔄️ 24/03/2025 10:29","Nombre":"👤 Mofles El Ruco Lopez","URL":"🌐 https://sistema.siip.mx/crm/client/138","Resumen":"{\"Cliente\": \"138\",\"Domicilio\": \"\"Nombre\": \"Mofles El Ruco Lopez\",\"URL\": \"https://sistema.siip.mx/crm/client/138\",\"Saldo Actual\": \"💲380 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14/02/2025 13:12 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"24/03/2025 10:29\",\"Clabe Interbancaria\": \"124180174170666420\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Mofles El Ruco Lopez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲380 a favor","user name":"Daniel Humberto 🐁","Cliente":"138","Clabe Interbancaria":"124180174170666420","Monto Ultimo Pago":"💲 300","Domicilio":"📍 Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 14/02/2025 13:12 con Personalizado 📝💸","Fecha Ultima Actualizacion":"📆🔄️ 24/03/2025 10:29","Nombre":"👤 Mofles El Ruco Lopez","URL":"🌐 https://sistema.siip.mx/crm/client/138","Resumen":"{\"Cliente\": \"138\",\"Domicilio\": \"\"Nombre\": \"Mofles El Ruco Lopez\",\"URL\": \"https://sistema.siip.mx/crm/client/138\",\"Saldo Actual\": \"💲380 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14/02/2025 13:12 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"24/03/2025 10:29\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Mofles El Ruco Lopez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲380 a favor","user name":"Daniel Humberto 🐁","Cliente":"138","Clabe Interbancaria":"124180174170666420","Monto Ultimo Pago":"💲 300","Domicilio":"📍 Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 14/02/2025 13:12 con Personalizado 📝💸","Fecha Ultima Actualizacion":"📆🔄️ 24/03/2025 10:29","Nombre":"👤 Mofles El Ruco Lopez","URL":"🌐 https://sistema.siip.mx/crm/client/138","Resumen":"{\"Cliente\": \"138\",\"Domicilio\": \"\"Nombre\": \"Mofles El Ruco Lopez\",\"URL\": \"https://sistema.siip.mx/crm/client/138\",\"Saldo Actual\": \"💲380 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14/02/2025 13:12 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"24/03/2025 10:29\",\"Clabe Interbancaria\": \"124180174170666420\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-24 16:30:02.429333] [notice] Logging level set to:debug -[2025-03-24 16:30:02.574508] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-24 16:30:02.574609] [debug] Valor de JSON: {"uuid":"711da5ee-cb80-41ac-b3c0-4abd6009aa87","changeType":"edit","entity":"client","entityId":"138","eventName":"client.edit","extraData":{"entity":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":186,"clientId":138,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0ELEIMpRfdeLs","clientZoneVisible":true},{"id":187,"clientId":138,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180174170666420","clientZoneVisible":true}],"accountBalance":380,"accountCredit":380,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":186,"clientId":138,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0ELEIMpRfdeLs","clientZoneVisible":true},{"id":187,"clientId":138,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180174170666420","clientZoneVisible":true}],"accountBalance":380,"accountCredit":380,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-24 16:30:02.582336] [debug] Se actualiza a un cliente -[2025-03-24 16:30:02.582413] [debug] Valor de json_data: {"uuid":"711da5ee-cb80-41ac-b3c0-4abd6009aa87","changeType":"edit","entity":"client","entityId":"138","eventName":"client.edit","extraData":{"entity":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":186,"clientId":138,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0ELEIMpRfdeLs","clientZoneVisible":true},{"id":187,"clientId":138,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180174170666420","clientZoneVisible":true}],"accountBalance":380,"accountCredit":380,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":186,"clientId":138,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0ELEIMpRfdeLs","clientZoneVisible":true},{"id":187,"clientId":138,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180174170666420","clientZoneVisible":true}],"accountBalance":380,"accountCredit":380,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":3,"name":"STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-24 16:30:02.582437] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-24 16:30:02.582447] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-24 16:30:02.582454] [debug] El cliente no cambió de potencial a cliente -[2025-03-24 16:30:02.582462] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-24 16:30:02.582468] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-24 16:30:02.582475] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-24 16:30:02.582483] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-24 16:30:02.582514] [debug] {"uuid":"711da5ee-cb80-41ac-b3c0-4abd6009aa87","changeType":"edit","entity":"client","entityId":138,"message":null,"clientId":138,"eventName":"client.edit","clientData":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":186,"clientId":138,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0ELEIMpRfdeLs","clientZoneVisible":true},{"id":187,"clientId":138,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180174170666420","clientZoneVisible":true}],"accountBalance":380,"accountCredit":380,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-24 16:30:02.582586] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-24 16:30:02.582596] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"711da5ee-cb80-41ac-b3c0-4abd6009aa87","changeType":"edit","entity":"client","entityId":138,"message":null,"clientId":138,"eventName":"client.edit","clientData":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":186,"clientId":138,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0ELEIMpRfdeLs","clientZoneVisible":true},{"id":187,"clientId":138,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180174170666420","clientZoneVisible":true}],"accountBalance":380,"accountCredit":380,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":584,"clientId":138,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:12:19-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-02-14T13:13:16-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]}] - -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":{"Cliente":138,"Domicilio":"\ud83d\udccd Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Mofles El Ruco Lopez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/138","Saldo Actual":"\ud83d\udcb2380 a favor","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"138\",\"Domicilio\": \"\"Nombre\": \"Mofles El Ruco Lopez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/138\",\"Saldo Actual\": \"\ud83d\udcb2380 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/02\/2025 13:12 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"24\/03\/2025 10:30\",\"Clabe Interbancaria\": \"124180174170666420\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/02\/2025 13:12 con Personalizado \ud83d\udcdd\ud83d\udcb8","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/03\/2025 10:30","Clabe Interbancaria":"124180174170666420","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "138","Domicilio": ""Nombre": "Mofles El Ruco Lopez","URL": "https://sistema.siip.mx/crm/client/138","Saldo Actual": "💲380 a favor","Monto Ultimo Pago": "$ 300","Estado": "Activo","Fecha Ultimo Pago": " 14/02/2025 13:12 con Personalizado 📝💸","Fecha Ultima Actualizacion": "24/03/2025 10:30","Clabe Interbancaria": "124180174170666420","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Mofles El Ruco Lopez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲380 a favor","user name":"Daniel Humberto 🐁","Cliente":"138","Clabe Interbancaria":"124180174170666420","Monto Ultimo Pago":"💲 300","Domicilio":"📍 Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 14/02/2025 13:12 con Personalizado 📝💸","Fecha Ultima Actualizacion":"📆🔄️ 24/03/2025 10:30","Nombre":"👤 Mofles El Ruco Lopez","URL":"🌐 https://sistema.siip.mx/crm/client/138","Resumen":"{\"Cliente\": \"138\",\"Domicilio\": \"\"Nombre\": \"Mofles El Ruco Lopez\",\"URL\": \"https://sistema.siip.mx/crm/client/138\",\"Saldo Actual\": \"💲380 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14/02/2025 13:12 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"24/03/2025 10:30\",\"Clabe Interbancaria\": \"124180174170666420\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Mofles El Ruco Lopez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲380 a favor","user name":"Daniel Humberto 🐁","Cliente":"138","Clabe Interbancaria":"124180174170666420","Monto Ultimo Pago":"💲 300","Domicilio":"📍 Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 14/02/2025 13:12 con Personalizado 📝💸","Fecha Ultima Actualizacion":"📆🔄️ 24/03/2025 10:30","Nombre":"👤 Mofles El Ruco Lopez","URL":"🌐 https://sistema.siip.mx/crm/client/138","Resumen":"{\"Cliente\": \"138\",\"Domicilio\": \"\"Nombre\": \"Mofles El Ruco Lopez\",\"URL\": \"https://sistema.siip.mx/crm/client/138\",\"Saldo Actual\": \"💲380 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14/02/2025 13:12 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"24/03/2025 10:30\",\"Clabe Interbancaria\": \"124180174170666420\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-24 16:31:38.809580] [notice] Logging level set to:debug -[2025-03-24 16:31:38.887326] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-24 16:31:38.887511] [debug] Valor de JSON: {"uuid":"95eeef0d-80b9-4e8c-b2b7-b55a98d2e6cf","changeType":"edit","entity":"client","entityId":"138","eventName":"client.edit","extraData":{"entity":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":186,"clientId":138,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0ELEIMpRfdeLs","clientZoneVisible":true},{"id":187,"clientId":138,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180174170666420","clientZoneVisible":true}],"accountBalance":380,"accountCredit":380,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":186,"clientId":138,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0ELEIMpRfdeLs","clientZoneVisible":true},{"id":187,"clientId":138,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180174170666420","clientZoneVisible":true}],"accountBalance":380,"accountCredit":380,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-24 16:31:38.887788] [debug] Se actualiza a un cliente -[2025-03-24 16:31:38.887984] [debug] Valor de json_data: {"uuid":"95eeef0d-80b9-4e8c-b2b7-b55a98d2e6cf","changeType":"edit","entity":"client","entityId":"138","eventName":"client.edit","extraData":{"entity":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":186,"clientId":138,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0ELEIMpRfdeLs","clientZoneVisible":true},{"id":187,"clientId":138,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180174170666420","clientZoneVisible":true}],"accountBalance":380,"accountCredit":380,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":186,"clientId":138,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0ELEIMpRfdeLs","clientZoneVisible":true},{"id":187,"clientId":138,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180174170666420","clientZoneVisible":true}],"accountBalance":380,"accountCredit":380,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-24 16:31:38.888044] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-24 16:31:38.888082] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-24 16:31:38.888118] [debug] El cliente no cambió de potencial a cliente -[2025-03-24 16:31:38.888153] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-24 16:31:38.888187] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-24 16:31:38.888221] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-24 16:31:38.888257] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-24 16:31:38.888318] [debug] {"uuid":"95eeef0d-80b9-4e8c-b2b7-b55a98d2e6cf","changeType":"edit","entity":"client","entityId":138,"message":null,"clientId":138,"eventName":"client.edit","clientData":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":186,"clientId":138,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0ELEIMpRfdeLs","clientZoneVisible":true},{"id":187,"clientId":138,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180174170666420","clientZoneVisible":true}],"accountBalance":380,"accountCredit":380,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-24 16:31:38.888418] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-24 16:31:38.888458] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"95eeef0d-80b9-4e8c-b2b7-b55a98d2e6cf","changeType":"edit","entity":"client","entityId":138,"message":null,"clientId":138,"eventName":"client.edit","clientData":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":186,"clientId":138,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0ELEIMpRfdeLs","clientZoneVisible":true},{"id":187,"clientId":138,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180174170666420","clientZoneVisible":true}],"accountBalance":380,"accountCredit":380,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":584,"clientId":138,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:12:19-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-02-14T13:13:16-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]}] - -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":{"Cliente":138,"Domicilio":"\ud83d\udccd Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Mofles El Ruco Lopez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/138","Saldo Actual":"\ud83d\udcb2380 a favor","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"138\",\"Domicilio\": \"\"Nombre\": \"Mofles El Ruco Lopez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/138\",\"Saldo Actual\": \"\ud83d\udcb2380 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/02\/2025 13:12 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"24\/03\/2025 10:31\",\"Clabe Interbancaria\": \"124180174170666420\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/02\/2025 13:12 con Personalizado \ud83d\udcdd\ud83d\udcb8","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/03\/2025 10:31","Clabe Interbancaria":"124180174170666420","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "138","Domicilio": ""Nombre": "Mofles El Ruco Lopez","URL": "https://sistema.siip.mx/crm/client/138","Saldo Actual": "💲380 a favor","Monto Ultimo Pago": "$ 300","Estado": "Activo","Fecha Ultimo Pago": " 14/02/2025 13:12 con Personalizado 📝💸","Fecha Ultima Actualizacion": "24/03/2025 10:31","Clabe Interbancaria": "124180174170666420","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Mofles El Ruco Lopez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲380 a favor","user name":"Daniel Humberto 🐁","Cliente":"138","Clabe Interbancaria":"124180174170666420","Monto Ultimo Pago":"💲 300","Domicilio":"📍 Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 14/02/2025 13:12 con Personalizado 📝💸","Fecha Ultima Actualizacion":"📆🔄️ 24/03/2025 10:31","Nombre":"👤 Mofles El Ruco Lopez","URL":"🌐 https://sistema.siip.mx/crm/client/138","Resumen":"{\"Cliente\": \"138\",\"Domicilio\": \"\"Nombre\": \"Mofles El Ruco Lopez\",\"URL\": \"https://sistema.siip.mx/crm/client/138\",\"Saldo Actual\": \"💲380 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14/02/2025 13:12 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"24/03/2025 10:31\",\"Clabe Interbancaria\": \"124180174170666420\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Mofles El Ruco Lopez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲380 a favor","user name":"Daniel Humberto 🐁","Cliente":"138","Clabe Interbancaria":"124180174170666420","Monto Ultimo Pago":"💲 300","Domicilio":"📍 Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 14/02/2025 13:12 con Personalizado 📝💸","Fecha Ultima Actualizacion":"📆🔄️ 24/03/2025 10:31","Nombre":"👤 Mofles El Ruco Lopez","URL":"🌐 https://sistema.siip.mx/crm/client/138","Resumen":"{\"Cliente\": \"138\",\"Domicilio\": \"\"Nombre\": \"Mofles El Ruco Lopez\",\"URL\": \"https://sistema.siip.mx/crm/client/138\",\"Saldo Actual\": \"💲380 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14/02/2025 13:12 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"24/03/2025 10:31\",\"Clabe Interbancaria\": \"124180174170666420\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-24 16:32:03.089395] [notice] Logging level set to:debug -[2025-03-24 16:32:03.182431] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-24 16:32:03.182539] [debug] Valor de JSON: {"uuid":"d41d457e-2b24-4666-8c1f-b82024d52c34","changeType":"edit","entity":"client","entityId":"138","eventName":"client.edit","extraData":{"entity":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":186,"clientId":138,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0ELEIMpRfdeLs","clientZoneVisible":true},{"id":187,"clientId":138,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180174170666420","clientZoneVisible":true}],"accountBalance":380,"accountCredit":380,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":186,"clientId":138,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0ELEIMpRfdeLs","clientZoneVisible":true},{"id":187,"clientId":138,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180174170666420","clientZoneVisible":true}],"accountBalance":380,"accountCredit":380,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-24 16:32:03.182785] [debug] Se actualiza a un cliente -[2025-03-24 16:32:03.182827] [debug] Valor de json_data: {"uuid":"d41d457e-2b24-4666-8c1f-b82024d52c34","changeType":"edit","entity":"client","entityId":"138","eventName":"client.edit","extraData":{"entity":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":186,"clientId":138,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0ELEIMpRfdeLs","clientZoneVisible":true},{"id":187,"clientId":138,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180174170666420","clientZoneVisible":true}],"accountBalance":380,"accountCredit":380,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":186,"clientId":138,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0ELEIMpRfdeLs","clientZoneVisible":true},{"id":187,"clientId":138,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180174170666420","clientZoneVisible":true}],"accountBalance":380,"accountCredit":380,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-24 16:32:03.182843] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-24 16:32:03.182852] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-24 16:32:03.182859] [debug] El cliente no cambió de potencial a cliente -[2025-03-24 16:32:03.182868] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-24 16:32:03.182879] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-24 16:32:03.182889] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-24 16:32:03.182898] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-24 16:32:03.182929] [debug] {"uuid":"d41d457e-2b24-4666-8c1f-b82024d52c34","changeType":"edit","entity":"client","entityId":138,"message":null,"clientId":138,"eventName":"client.edit","clientData":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":186,"clientId":138,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0ELEIMpRfdeLs","clientZoneVisible":true},{"id":187,"clientId":138,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180174170666420","clientZoneVisible":true}],"accountBalance":380,"accountCredit":380,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-24 16:32:03.183001] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-24 16:32:03.183012] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"d41d457e-2b24-4666-8c1f-b82024d52c34","changeType":"edit","entity":"client","entityId":138,"message":null,"clientId":138,"eventName":"client.edit","clientData":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":186,"clientId":138,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0ELEIMpRfdeLs","clientZoneVisible":true},{"id":187,"clientId":138,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180174170666420","clientZoneVisible":true}],"accountBalance":380,"accountCredit":380,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":584,"clientId":138,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:12:19-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-02-14T13:13:16-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":1015,"attributes":[]}] - -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":{"Cliente":138,"Domicilio":"\ud83d\udccd Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Mofles El Ruco Lopez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/138","Saldo Actual":"\ud83d\udcb2380 a favor","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"138\",\"Domicilio\": \"\"Nombre\": \"Mofles El Ruco Lopez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/138\",\"Saldo Actual\": \"\ud83d\udcb2380 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/02\/2025 13:12 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"24\/03\/2025 10:32\",\"Clabe Interbancaria\": \"124180174170666420\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/02\/2025 13:12 con Personalizado \ud83d\udcdd\ud83d\udcb8","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/03\/2025 10:32","Clabe Interbancaria":"124180174170666420","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "138","Domicilio": ""Nombre": "Mofles El Ruco Lopez","URL": "https://sistema.siip.mx/crm/client/138","Saldo Actual": "💲380 a favor","Monto Ultimo Pago": "$ 300","Estado": "Activo","Fecha Ultimo Pago": " 14/02/2025 13:12 con Personalizado 📝💸","Fecha Ultima Actualizacion": "24/03/2025 10:32","Clabe Interbancaria": "124180174170666420","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Mofles El Ruco Lopez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲380 a favor","user name":"Daniel Humberto 🐁","Cliente":"138","Clabe Interbancaria":"124180174170666420","Monto Ultimo Pago":"💲 300","Domicilio":"📍 Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 14/02/2025 13:12 con Personalizado 📝💸","Fecha Ultima Actualizacion":"📆🔄️ 24/03/2025 10:32","Nombre":"👤 Mofles El Ruco Lopez","URL":"🌐 https://sistema.siip.mx/crm/client/138","Resumen":"{\"Cliente\": \"138\",\"Domicilio\": \"\"Nombre\": \"Mofles El Ruco Lopez\",\"URL\": \"https://sistema.siip.mx/crm/client/138\",\"Saldo Actual\": \"💲380 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14/02/2025 13:12 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"24/03/2025 10:32\",\"Clabe Interbancaria\": \"124180174170666420\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Mofles El Ruco Lopez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲380 a favor","user name":"Daniel Humberto 🐁","Cliente":"138","Clabe Interbancaria":"124180174170666420","Monto Ultimo Pago":"💲 300","Domicilio":"📍 Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 14/02/2025 13:12 con Personalizado 📝💸","Fecha Ultima Actualizacion":"📆🔄️ 24/03/2025 10:32","Nombre":"👤 Mofles El Ruco Lopez","URL":"🌐 https://sistema.siip.mx/crm/client/138","Resumen":"{\"Cliente\": \"138\",\"Domicilio\": \"\"Nombre\": \"Mofles El Ruco Lopez\",\"URL\": \"https://sistema.siip.mx/crm/client/138\",\"Saldo Actual\": \"💲380 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14/02/2025 13:12 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"24/03/2025 10:32\",\"Clabe Interbancaria\": \"124180174170666420\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-24 16:33:02.632224] [notice] Logging level set to:debug -[2025-03-24 16:33:02.882631] [debug] valor el evento recibido por webhook: service.add - -[2025-03-24 16:33:02.882833] [debug] Valor de JSON: {"uuid":"72241957-83a4-4257-8b85-5f573ad0743e","changeType":"insert","entity":"service","entityId":"149","eventName":"service.add","extraData":{"entity":{"id":149,"prepaid":false,"clientId":114,"status":1,"name":"Basico 300","fullAddress":"Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Guanajuato","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-03-24T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"fc029e42-0a10-43c6-a432-08e9fe772f21","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":null}} - -[2025-03-24 16:33:08.615051] [notice] Logging level set to:debug -[2025-03-24 16:33:08.810034] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-24 16:33:08.810245] [debug] Valor de JSON: {"uuid":"52538d25-374d-4cd5-9a35-5deaf173dbae","changeType":"insert","entity":"invoice","entityId":"1704","eventName":"invoice.add_draft","extraData":{"entity":{"id":1704,"clientId":114,"number":"001655","createdDate":"2025-03-24T10:33:07-0600","dueDate":"2025-04-07T10:33:07-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1707,"type":"service","label":"Basico 300 24\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":0.26666666666666666,"total":80,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":149,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":80,"discount":null,"discountLabel":"Descuento","taxes":[],"total":80,"amountPaid":0,"totalUntaxed":80,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":80,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Juan Calavera","clientLastName":"Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Guanajuato","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-24 16:33:08.810432] [debug] Adición de borrador de Factura - -[2025-03-24 16:33:08.810522] [debug] {"uuid":"52538d25-374d-4cd5-9a35-5deaf173dbae","changeType":"insert","entity":"invoice","entityId":1704,"message":null,"clientId":114,"eventName":"invoice.add_draft","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":[],"accountBalance":-380,"accountCredit":0,"accountOutstanding":380,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1704,"clientId":114,"number":"001655","createdDate":"2025-03-24T10:33:07-0600","dueDate":"2025-04-07T10:33:07-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1707,"type":"service","label":"Basico 300 24\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":0.26666666666667,"total":80,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":149,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":80,"discount":null,"discountLabel":"Descuento","taxes":[],"total":80,"amountPaid":0,"totalUntaxed":80,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":80,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Juan Calavera","clientLastName":"Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Guanajuato","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-24 16:33:08.810668] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-24 16:33:08.810719] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"52538d25-374d-4cd5-9a35-5deaf173dbae","changeType":"insert","entity":"invoice","entityId":1704,"message":null,"clientId":114,"eventName":"invoice.add_draft","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":[],"accountBalance":-380,"accountCredit":0,"accountOutstanding":380,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1704,"clientId":114,"number":"001655","createdDate":"2025-03-24T10:33:07-0600","dueDate":"2025-04-07T10:33:07-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1707,"type":"service","label":"Basico 300 24\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":0.26666666666667,"total":80,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":149,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":80,"discount":null,"discountLabel":"Descuento","taxes":[],"total":80,"amountPaid":0,"totalUntaxed":80,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":80,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Juan Calavera","clientLastName":"Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Guanajuato","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -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":{"Cliente":114,"Domicilio":"\ud83d\udccd Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Juan Calavera Gonz\u00e1lez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/114","Saldo Actual":"\ud83d\udcb2380 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"114\",\"Domicilio\": \"\"Nombre\": \"Juan Calavera Gonz\u00e1lez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/114\",\"Saldo Actual\": \"\ud83d\udcb2380 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 24\/03\/2025 16:33 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"24\/03\/2025 10:33\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 24\/03\/2025 16:33 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/03\/2025 10:33","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "114","Domicilio": ""Nombre": "Juan Calavera González","URL": "https://sistema.siip.mx/crm/client/114","Saldo Actual": "💲380 pendientes","Monto Ultimo Pago": "$ ","Estado": "Activo","Fecha Ultimo Pago": " 24/03/2025 16:33 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "24/03/2025 10:33","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: - -Response 2 Patch CallBell: - -[2025-03-24 16:33:11.589174] [notice] Logging level set to:debug -[2025-03-24 16:33:11.778006] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-24 16:33:11.778305] [debug] Valor de JSON: {"uuid":"0b9eeaa7-d8cf-4618-b7e2-2475f4de3697","changeType":"draft_approved","entity":"invoice","entityId":"1704","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1704,"clientId":114,"number":"001655","createdDate":"2025-03-24T10:33:07-0600","dueDate":"2025-04-07T10:33:07-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1707,"type":"service","label":"Basico 300 24\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":0.26666666666666666,"total":80,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":149,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":80,"discount":null,"discountLabel":"Descuento","taxes":[],"total":80,"amountPaid":0,"totalUntaxed":80,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":80,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Juan Calavera","clientLastName":"Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Guanajuato","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-24 16:33:11.778565] [debug] Aprobación de Factura - -[2025-03-24 16:33:11.778659] [debug] {"uuid":"0b9eeaa7-d8cf-4618-b7e2-2475f4de3697","changeType":"draft_approved","entity":"invoice","entityId":1704,"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":[],"accountBalance":-380,"accountCredit":0,"accountOutstanding":380,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1704,"clientId":114,"number":"001655","createdDate":"2025-03-24T10:33:07-0600","dueDate":"2025-04-07T10:33:07-0600","emailSentDate":"2025-03-24T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1707,"type":"service","label":"Basico 300 24\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":0.26666666666667,"total":80,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":149,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":80,"discount":null,"discountLabel":"Descuento","taxes":[],"total":80,"amountPaid":0,"totalUntaxed":80,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":80,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Juan Calavera","clientLastName":"Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Guanajuato","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-24 16:33:11.778739] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-24 16:33:11.778779] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"0b9eeaa7-d8cf-4618-b7e2-2475f4de3697","changeType":"draft_approved","entity":"invoice","entityId":1704,"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":[],"accountBalance":-380,"accountCredit":0,"accountOutstanding":380,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1704,"clientId":114,"number":"001655","createdDate":"2025-03-24T10:33:07-0600","dueDate":"2025-04-07T10:33:07-0600","emailSentDate":"2025-03-24T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1707,"type":"service","label":"Basico 300 24\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":0.26666666666667,"total":80,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":149,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":80,"discount":null,"discountLabel":"Descuento","taxes":[],"total":80,"amountPaid":0,"totalUntaxed":80,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":80,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Juan Calavera","clientLastName":"Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Guanajuato","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -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":{"Cliente":114,"Domicilio":"\ud83d\udccd Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Juan Calavera Gonz\u00e1lez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/114","Saldo Actual":"\ud83d\udcb2380 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"114\",\"Domicilio\": \"\"Nombre\": \"Juan Calavera Gonz\u00e1lez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/114\",\"Saldo Actual\": \"\ud83d\udcb2380 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 24\/03\/2025 16:33 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"24\/03\/2025 10:33\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 24\/03\/2025 16:33 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/03\/2025 10:33","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "114","Domicilio": ""Nombre": "Juan Calavera González","URL": "https://sistema.siip.mx/crm/client/114","Saldo Actual": "💲380 pendientes","Monto Ultimo Pago": "$ ","Estado": "Activo","Fecha Ultimo Pago": " 24/03/2025 16:33 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "24/03/2025 10:33","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: - -Response 2 Patch CallBell: - -[2025-03-24 16:33:13.968327] [notice] Logging level set to:debug -[2025-03-24 16:33:14.133960] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-24 16:33:14.134133] [debug] Valor de JSON: {"uuid":"f1eb69dc-949f-40cc-ade4-0f5264cbf138","changeType":"insert","entity":"invoice","entityId":"1705","eventName":"invoice.add_draft","extraData":{"entity":{"id":1705,"clientId":114,"number":"001656","createdDate":"2025-03-24T10:33:07-0600","dueDate":"2025-04-07T10:33:07-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1708,"type":"service","label":"Basico 300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":149,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Juan Calavera","clientLastName":"Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Guanajuato","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-24 16:33:14.134290] [debug] Adición de borrador de Factura - -[2025-03-24 16:33:14.134372] [debug] {"uuid":"f1eb69dc-949f-40cc-ade4-0f5264cbf138","changeType":"insert","entity":"invoice","entityId":1705,"message":null,"clientId":114,"eventName":"invoice.add_draft","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":[],"accountBalance":-380,"accountCredit":0,"accountOutstanding":380,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1705,"clientId":114,"number":"001656","createdDate":"2025-03-24T10:33:07-0600","dueDate":"2025-04-07T10:33:07-0600","emailSentDate":"2025-03-24T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1708,"type":"service","label":"Basico 300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":149,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Juan Calavera","clientLastName":"Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Guanajuato","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-24 16:33:14.134500] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-24 16:33:14.134561] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"f1eb69dc-949f-40cc-ade4-0f5264cbf138","changeType":"insert","entity":"invoice","entityId":1705,"message":null,"clientId":114,"eventName":"invoice.add_draft","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":[],"accountBalance":-380,"accountCredit":0,"accountOutstanding":380,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1705,"clientId":114,"number":"001656","createdDate":"2025-03-24T10:33:07-0600","dueDate":"2025-04-07T10:33:07-0600","emailSentDate":"2025-03-24T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1708,"type":"service","label":"Basico 300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":149,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Juan Calavera","clientLastName":"Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Guanajuato","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -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":{"Cliente":114,"Domicilio":"\ud83d\udccd Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Juan Calavera Gonz\u00e1lez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/114","Saldo Actual":"\ud83d\udcb2380 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"114\",\"Domicilio\": \"\"Nombre\": \"Juan Calavera Gonz\u00e1lez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/114\",\"Saldo Actual\": \"\ud83d\udcb2380 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 24\/03\/2025 16:33 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"24\/03\/2025 10:33\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 24\/03\/2025 16:33 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/03\/2025 10:33","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "114","Domicilio": ""Nombre": "Juan Calavera González","URL": "https://sistema.siip.mx/crm/client/114","Saldo Actual": "💲380 pendientes","Monto Ultimo Pago": "$ ","Estado": "Activo","Fecha Ultimo Pago": " 24/03/2025 16:33 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "24/03/2025 10:33","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: - -Response 2 Patch CallBell: - -[2025-03-24 16:33:15.840723] [notice] Logging level set to:debug -[2025-03-24 16:33:15.983825] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-24 16:33:15.983902] [debug] Valor de JSON: {"uuid":"a3cdf592-98d4-4b0f-bb46-d5566e606ecd","changeType":"draft_approved","entity":"invoice","entityId":"1705","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1705,"clientId":114,"number":"001656","createdDate":"2025-03-24T10:33:07-0600","dueDate":"2025-04-07T10:33:07-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1708,"type":"service","label":"Basico 300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":149,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Juan Calavera","clientLastName":"Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Guanajuato","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-24 16:33:15.984028] [debug] Aprobación de Factura - -[2025-03-24 16:33:15.984076] [debug] {"uuid":"a3cdf592-98d4-4b0f-bb46-d5566e606ecd","changeType":"draft_approved","entity":"invoice","entityId":1705,"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":[],"accountBalance":-380,"accountCredit":0,"accountOutstanding":380,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1705,"clientId":114,"number":"001656","createdDate":"2025-03-24T10:33:07-0600","dueDate":"2025-04-07T10:33:07-0600","emailSentDate":"2025-03-24T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1708,"type":"service","label":"Basico 300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":149,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Juan Calavera","clientLastName":"Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Guanajuato","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-24 16:33:15.984323] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-24 16:33:15.984388] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"a3cdf592-98d4-4b0f-bb46-d5566e606ecd","changeType":"draft_approved","entity":"invoice","entityId":1705,"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":[],"accountBalance":-380,"accountCredit":0,"accountOutstanding":380,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1705,"clientId":114,"number":"001656","createdDate":"2025-03-24T10:33:07-0600","dueDate":"2025-04-07T10:33:07-0600","emailSentDate":"2025-03-24T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1708,"type":"service","label":"Basico 300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":149,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Juan Calavera","clientLastName":"Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Guanajuato","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -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":{"Cliente":114,"Domicilio":"\ud83d\udccd Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Juan Calavera Gonz\u00e1lez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/114","Saldo Actual":"\ud83d\udcb2380 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"114\",\"Domicilio\": \"\"Nombre\": \"Juan Calavera Gonz\u00e1lez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/114\",\"Saldo Actual\": \"\ud83d\udcb2380 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 24\/03\/2025 16:33 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"24\/03\/2025 10:33\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 24\/03\/2025 16:33 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/03\/2025 10:33","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "114","Domicilio": ""Nombre": "Juan Calavera González","URL": "https://sistema.siip.mx/crm/client/114","Saldo Actual": "💲380 pendientes","Monto Ultimo Pago": "$ ","Estado": "Activo","Fecha Ultimo Pago": " 24/03/2025 16:33 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "24/03/2025 10:33","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: - -Response 2 Patch CallBell: - -[2025-03-24 16:33:18.460649] [notice] Logging level set to:debug -[2025-03-24 16:33:18.658025] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-24 16:33:18.658266] [debug] Valor de JSON: {"uuid":"8e02f555-2f9c-4acd-8e7b-54b6887bb189","changeType":"edit","entity":"service","entityId":"149","eventName":"service.edit","extraData":{"entity":{"id":149,"prepaid":false,"clientId":114,"status":1,"name":"Basico 300","fullAddress":"Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Guanajuato","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-03-24T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"fc029e42-0a10-43c6-a432-08e9fe772f21","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":{"id":149,"prepaid":false,"clientId":114,"status":1,"name":"Basico 300","fullAddress":"Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Guanajuato","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-03-24T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"fc029e42-0a10-43c6-a432-08e9fe772f21","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}} - -[2025-03-24 16:33:18.658473] [debug] Se editó el servicio a un cliente - -[2025-03-24 16:33:18.658560] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-24 16:33:18.658601] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-24 16:33:18.658667] [info] {"uuid":"8e02f555-2f9c-4acd-8e7b-54b6887bb189","changeType":"edit","entity":"service","entityId":149,"message":null,"clientId":114,"eventName":"service.edit","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":[],"accountBalance":-380,"accountCredit":0,"accountOutstanding":380,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":149,"prepaid":false,"clientId":114,"status":1,"name":"Basico 300","fullAddress":"Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Guanajuato","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-03-24T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"fc029e42-0a10-43c6-a432-08e9fe772f21","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Juan Calavera González - -UUID: - -JSON con los datos a actualizar: {"name":"Juan Calavera Gonz\u00e1lez","custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/03\/2025 10:33"}} - -Response Patch CallBell: - -[2025-03-24 16:34:33.390114] [notice] Logging level set to:debug -[2025-03-24 16:34:33.480247] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-24 16:34:33.480423] [debug] Valor de JSON: {"uuid":"78554f2a-9d38-427e-b7a7-62902859d261","changeType":"edit","entity":"client","entityId":"114","eventName":"client.edit","extraData":{"entity":{"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":[],"accountBalance":-380,"accountCredit":0,"accountOutstanding":380,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"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":[],"accountBalance":-380,"accountCredit":0,"accountOutstanding":380,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-24 16:34:33.480757] [debug] Se actualiza a un cliente -[2025-03-24 16:34:33.480839] [debug] Valor de json_data: {"uuid":"78554f2a-9d38-427e-b7a7-62902859d261","changeType":"edit","entity":"client","entityId":"114","eventName":"client.edit","extraData":{"entity":{"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":[],"accountBalance":-380,"accountCredit":0,"accountOutstanding":380,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"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":[],"accountBalance":-380,"accountCredit":0,"accountOutstanding":380,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-24 16:34:33.480885] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-24 16:34:33.480923] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-24 16:34:33.480957] [debug] El cliente no cambió de potencial a cliente -[2025-03-24 16:34:33.480993] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-24 16:34:33.481026] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-24 16:34:33.481060] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-24 16:34:33.481096] [debug] La etiqueta STRIPE se agregará al cliente -[2025-03-24 16:34:33.509284] [info] Creando el Customer Stripe - -[2025-03-24 16:34:33.509409] [info] El cliente a procesar es : Juan Calavera González - -[2025-03-24 16:34:33.509536] [info] Datos notificationData: {"uuid":"78554f2a-9d38-427e-b7a7-62902859d261","changeType":"edit","entity":"client","entityId":114,"message":null,"clientId":114,"eventName":"client.edit","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":[],"accountBalance":-380,"accountCredit":0,"accountOutstanding":380,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-24 16:34:33.509578] [info] Ya dentro del FOREACH!!! - -[2025-03-24 16:34:33.509614] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-24 16:34:33.509649] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-24 16:34:33.509684] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-24 16:34:33.509721] [info] SE VALIDA EL EMAIL!!! - -[2025-03-24 16:34:33.510425] [info] ahora se procede a validar el teléfono!!! - -[2025-03-24 16:34:33.510571] [info] AHORA SE MANDA A CREAR EL CLIENTE A STRIPE!!! - -[2025-03-24 16:34:34.116396] [info] {"id":"cus_S0EQfCnIYLyiC4","object":"customer","address":null,"balance":0,"created":1742834073,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 114","discount":null,"email":"juancalavera@gmail.com","invoice_prefix":"3A29C17D","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":[],"name":"Juan Calavera Gonz\u00e1lez","next_invoice_sequence":1,"phone":"1856987412","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-24 16:34:36.436774] [info] {"id":"cus_S0EQfCnIYLyiC4","object":"customer","address":null,"balance":0,"created":1742834073,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 114","discount":null,"email":"juancalavera@gmail.com","invoice_prefix":"3A29C17D","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":{"ucrm_client_id":"114"},"name":"Juan Calavera Gonz\u00e1lez","next_invoice_sequence":1,"phone":"1856987412","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-24 16:34:36.759301] [notice] Logging level set to:debug -[2025-03-24 16:34:36.759495] [info] No UUID found in the webhook data -[2025-03-24 16:34:38.903588] [info] {"object":"funding_instructions","bank_transfer":{"country":"MX","financial_addresses":[{"spei":{"account_holder_address":{"city":"Ciudad de M\u00e9xico","country":"MX","line1":"Av Paseo de la Reforma 180 piso 29 col Juarez","line2":null,"postal_code":"06600","state":"Ciudad de M\u00e9xico"},"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":"124180669650302612"},"supported_networks":["spei"],"type":"spei"}],"type":"mx_bank_transfer"},"currency":"mxn","funding_type":"bank_transfer","livemode":false} - -[2025-03-24 16:34:39.236059] [info] CLABE guardada en metadata: 124180669650302612 - -[2025-03-24 16:34:39.421103] [info] Error al hacer el patch al CRM: Client error: `PATCH https://172.16.5.134/crm/api/v1.0/clients/114` resulted in a `415 Unsupported Media Type` response: -{"code":415,"message":""} - - -[2025-03-24 16:34:39.474478] [info] ID correspondiente a 'Customer Stripe ID': 10 - -[2025-03-24 16:34:39.474570] [info] Creando el Customer Stripe - -[2025-03-24 16:34:39.474582] [info] El cliente a procesar es : Juan Calavera González - -[2025-03-24 16:34:39.474605] [info] Datos notificationData: {"uuid":"78554f2a-9d38-427e-b7a7-62902859d261","changeType":"edit","entity":"client","entityId":114,"message":null,"clientId":114,"eventName":"client.edit","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":[],"accountBalance":-380,"accountCredit":0,"accountOutstanding":380,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-24 16:34:39.474622] [info] Ya dentro del FOREACH!!! - -[2025-03-24 16:34:39.474631] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-24 16:34:39.474637] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-24 16:34:39.474644] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-24 16:34:39.474653] [info] SE VALIDA EL EMAIL!!! - -[2025-03-24 16:34:39.474667] [info] ahora se procede a validar el teléfono!!! - -[2025-03-24 16:34:39.474678] [info] AHORA SE MANDA A CREAR EL CLIENTE A STRIPE!!! - -[2025-03-24 16:34:39.538503] [notice] Logging level set to:debug -[2025-03-24 16:34:39.538579] [info] No UUID found in the webhook data -[2025-03-24 16:34:39.814776] [info] {"id":"cus_S0EQeXBl8NhBZi","object":"customer","address":null,"balance":0,"created":1742834079,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 114","discount":null,"email":"juancalavera@gmail.com","invoice_prefix":"3CFBE881","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":[],"name":"Juan Calavera Gonz\u00e1lez","next_invoice_sequence":1,"phone":"1856987412","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-24 16:34:42.136059] [info] {"id":"cus_S0EQeXBl8NhBZi","object":"customer","address":null,"balance":0,"created":1742834079,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 114","discount":null,"email":"juancalavera@gmail.com","invoice_prefix":"3CFBE881","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":{"ucrm_client_id":"114"},"name":"Juan Calavera Gonz\u00e1lez","next_invoice_sequence":1,"phone":"1856987412","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-24 16:34:42.371414] [notice] Logging level set to:debug -[2025-03-24 16:34:42.371503] [info] No UUID found in the webhook data -[2025-03-24 16:34:44.593844] [info] {"object":"funding_instructions","bank_transfer":{"country":"MX","financial_addresses":[{"spei":{"account_holder_address":{"city":"Ciudad de M\u00e9xico","country":"MX","line1":"Av Paseo de la Reforma 180 piso 29 col Juarez","line2":null,"postal_code":"06600","state":"Ciudad de M\u00e9xico"},"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":"124180969856650415"},"supported_networks":["spei"],"type":"spei"}],"type":"mx_bank_transfer"},"currency":"mxn","funding_type":"bank_transfer","livemode":false} - -[2025-03-24 16:34:44.935878] [info] CLABE guardada en metadata: 124180969856650415 - -[2025-03-24 16:34:45.185194] [info] {} - -[2025-03-24 16:34:45.185560] [debug] {"uuid":"78554f2a-9d38-427e-b7a7-62902859d261","changeType":"edit","entity":"client","entityId":114,"message":null,"clientId":114,"eventName":"client.edit","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":[],"accountBalance":-380,"accountCredit":0,"accountOutstanding":380,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-24 16:34:45.185679] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-24 16:34:45.185693] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-24 16:34:45.297024] [notice] Logging level set to:debug -[2025-03-24 16:34:45.329365] [notice] Logging level set to:debug -[2025-03-24 16:34:45.329463] [info] No UUID found in the webhook data -[2025-03-24 16:34:45.450994] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-24 16:34:45.451081] [debug] Valor de JSON: {"uuid":"cbbf6d67-6bed-4fa7-845b-873282c0300e","changeType":"edit","entity":"client","entityId":"114","eventName":"client.edit","extraData":{"entity":{"id":114,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Guanajuato","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan Calavera","lastName":"Gonz\u00e1lez","username":null,"contacts":[{"id":118,"clientId":114,"email":"juancalavera@gmail.com","phone":"41856987412","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":188,"clientId":114,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0EQeXBl8NhBZi","clientZoneVisible":true},{"id":189,"clientId":114,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180969856650415","clientZoneVisible":true}],"accountBalance":-380,"accountCredit":0,"accountOutstanding":380,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"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":[],"accountBalance":-380,"accountCredit":0,"accountOutstanding":380,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-24 16:34:45.451288] [debug] Se actualiza a un cliente -[2025-03-24 16:34:45.451329] [debug] Valor de json_data: {"uuid":"cbbf6d67-6bed-4fa7-845b-873282c0300e","changeType":"edit","entity":"client","entityId":"114","eventName":"client.edit","extraData":{"entity":{"id":114,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Guanajuato","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan Calavera","lastName":"Gonz\u00e1lez","username":null,"contacts":[{"id":118,"clientId":114,"email":"juancalavera@gmail.com","phone":"41856987412","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":188,"clientId":114,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0EQeXBl8NhBZi","clientZoneVisible":true},{"id":189,"clientId":114,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180969856650415","clientZoneVisible":true}],"accountBalance":-380,"accountCredit":0,"accountOutstanding":380,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"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":[],"accountBalance":-380,"accountCredit":0,"accountOutstanding":380,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-24 16:34:45.451348] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-24 16:34:45.451358] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-24 16:34:45.451365] [debug] El cliente no cambió de potencial a cliente -[2025-03-24 16:34:45.451375] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-24 16:34:45.451381] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-24 16:34:45.451389] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-24 16:34:45.451396] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-24 16:34:45.451426] [debug] {"uuid":"cbbf6d67-6bed-4fa7-845b-873282c0300e","changeType":"edit","entity":"client","entityId":114,"message":null,"clientId":114,"eventName":"client.edit","clientData":{"id":114,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Guanajuato","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan Calavera","lastName":"Gonz\u00e1lez","username":null,"contacts":[{"id":118,"clientId":114,"email":"juancalavera@gmail.com","phone":"41856987412","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":188,"clientId":114,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0EQeXBl8NhBZi","clientZoneVisible":true},{"id":189,"clientId":114,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180969856650415","clientZoneVisible":true}],"accountBalance":-380,"accountCredit":0,"accountOutstanding":380,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-24 16:34:45.451493] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-24 16:34:45.451507] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"78554f2a-9d38-427e-b7a7-62902859d261","changeType":"edit","entity":"client","entityId":114,"message":null,"clientId":114,"eventName":"client.edit","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":[],"accountBalance":-380,"accountCredit":0,"accountOutstanding":380,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -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":{"Cliente":114,"Domicilio":"\ud83d\udccd Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Juan Calavera Gonz\u00e1lez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/114","Saldo Actual":"\ud83d\udcb2380 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"114\",\"Domicilio\": \"\"Nombre\": \"Juan Calavera Gonz\u00e1lez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/114\",\"Saldo Actual\": \"\ud83d\udcb2380 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 24\/03\/2025 16:34 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"24\/03\/2025 10:34\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 24\/03\/2025 16:34 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/03\/2025 10:34","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "114","Domicilio": ""Nombre": "Juan Calavera González","URL": "https://sistema.siip.mx/crm/client/114","Saldo Actual": "💲380 pendientes","Monto Ultimo Pago": "$ ","Estado": "Activo","Fecha Ultimo Pago": " 24/03/2025 16:34 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "24/03/2025 10:34","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: - -Notificacion data: {"uuid":"cbbf6d67-6bed-4fa7-845b-873282c0300e","changeType":"edit","entity":"client","entityId":114,"message":null,"clientId":114,"eventName":"client.edit","clientData":{"id":114,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Guanajuato","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan Calavera","lastName":"Gonz\u00e1lez","username":null,"contacts":[{"id":118,"clientId":114,"email":"juancalavera@gmail.com","phone":"41856987412","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":188,"clientId":114,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0EQeXBl8NhBZi","clientZoneVisible":true},{"id":189,"clientId":114,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180969856650415","clientZoneVisible":true}],"accountBalance":-380,"accountCredit":0,"accountOutstanding":380,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -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":{"Cliente":114,"Domicilio":"\ud83d\udccd Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Juan Calavera Gonz\u00e1lez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/114","Saldo Actual":"\ud83d\udcb2380 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"114\",\"Domicilio\": \"\"Nombre\": \"Juan Calavera Gonz\u00e1lez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/114\",\"Saldo Actual\": \"\ud83d\udcb2380 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 24\/03\/2025 16:34 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"24\/03\/2025 10:34\",\"Clabe Interbancaria\": \"124180969856650415\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 24\/03\/2025 16:34 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/03\/2025 10:34","Clabe Interbancaria":"124180969856650415","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "114","Domicilio": ""Nombre": "Juan Calavera González","URL": "https://sistema.siip.mx/crm/client/114","Saldo Actual": "💲380 pendientes","Monto Ultimo Pago": "$ ","Estado": "Activo","Fecha Ultimo Pago": " 24/03/2025 16:34 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "24/03/2025 10:34","Clabe Interbancaria": "124180969856650415","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: - -Response 2 Patch CallBell: - -Response 2 Patch CallBell: - -[2025-03-24 16:35:56.167002] [notice] Logging level set to:debug -[2025-03-24 16:35:56.244328] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-24 16:35:56.244417] [debug] Valor de JSON: {"uuid":"1451e5bb-57e3-494f-b13e-eecec30707d2","changeType":"edit","entity":"client","entityId":"114","eventName":"client.edit","extraData":{"entity":{"id":114,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Guanajuato","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan Calavera","lastName":"Gonz\u00e1lez","username":null,"contacts":[{"id":118,"clientId":114,"email":"juancalavera@gmail.com","phone":"41856987412","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":188,"clientId":114,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0EQeXBl8NhBZi","clientZoneVisible":true},{"id":189,"clientId":114,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180969856650415","clientZoneVisible":true}],"accountBalance":-380,"accountCredit":0,"accountOutstanding":380,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":114,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Guanajuato","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan Calavera","lastName":"Gonz\u00e1lez","username":null,"contacts":[{"id":118,"clientId":114,"email":"juancalavera@gmail.com","phone":"41856987412","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":188,"clientId":114,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0EQeXBl8NhBZi","clientZoneVisible":true},{"id":189,"clientId":114,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180969856650415","clientZoneVisible":true}],"accountBalance":-380,"accountCredit":0,"accountOutstanding":380,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-24 16:35:56.244628] [debug] Se actualiza a un cliente -[2025-03-24 16:35:56.244673] [debug] Valor de json_data: {"uuid":"1451e5bb-57e3-494f-b13e-eecec30707d2","changeType":"edit","entity":"client","entityId":"114","eventName":"client.edit","extraData":{"entity":{"id":114,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Guanajuato","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan Calavera","lastName":"Gonz\u00e1lez","username":null,"contacts":[{"id":118,"clientId":114,"email":"juancalavera@gmail.com","phone":"41856987412","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":188,"clientId":114,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0EQeXBl8NhBZi","clientZoneVisible":true},{"id":189,"clientId":114,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180969856650415","clientZoneVisible":true}],"accountBalance":-380,"accountCredit":0,"accountOutstanding":380,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":114,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Guanajuato","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan Calavera","lastName":"Gonz\u00e1lez","username":null,"contacts":[{"id":118,"clientId":114,"email":"juancalavera@gmail.com","phone":"41856987412","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":188,"clientId":114,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0EQeXBl8NhBZi","clientZoneVisible":true},{"id":189,"clientId":114,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180969856650415","clientZoneVisible":true}],"accountBalance":-380,"accountCredit":0,"accountOutstanding":380,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-24 16:35:56.244690] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-24 16:35:56.244699] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-24 16:35:56.244708] [debug] El cliente no cambió de potencial a cliente -[2025-03-24 16:35:56.244715] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-24 16:35:56.244723] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-24 16:35:56.244730] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-24 16:35:56.244738] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-24 16:35:56.244776] [debug] {"uuid":"1451e5bb-57e3-494f-b13e-eecec30707d2","changeType":"edit","entity":"client","entityId":114,"message":null,"clientId":114,"eventName":"client.edit","clientData":{"id":114,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Guanajuato","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan Calavera","lastName":"Gonz\u00e1lez","username":null,"contacts":[{"id":118,"clientId":114,"email":"juancalavera@gmail.com","phone":"41856987412","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":188,"clientId":114,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0EQeXBl8NhBZi","clientZoneVisible":true},{"id":189,"clientId":114,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180969856650415","clientZoneVisible":true}],"accountBalance":-380,"accountCredit":0,"accountOutstanding":380,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-24 16:35:56.244848] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-24 16:35:56.244867] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"1451e5bb-57e3-494f-b13e-eecec30707d2","changeType":"edit","entity":"client","entityId":114,"message":null,"clientId":114,"eventName":"client.edit","clientData":{"id":114,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Guanajuato","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan Calavera","lastName":"Gonz\u00e1lez","username":null,"contacts":[{"id":118,"clientId":114,"email":"juancalavera@gmail.com","phone":"41856987412","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":188,"clientId":114,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0EQeXBl8NhBZi","clientZoneVisible":true},{"id":189,"clientId":114,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180969856650415","clientZoneVisible":true}],"accountBalance":-380,"accountCredit":0,"accountOutstanding":380,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -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":{"Cliente":114,"Domicilio":"\ud83d\udccd Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Juan Calavera Gonz\u00e1lez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/114","Saldo Actual":"\ud83d\udcb2380 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"114\",\"Domicilio\": \"\"Nombre\": \"Juan Calavera Gonz\u00e1lez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/114\",\"Saldo Actual\": \"\ud83d\udcb2380 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 24\/03\/2025 16:35 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"24\/03\/2025 10:35\",\"Clabe Interbancaria\": \"124180969856650415\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 24\/03\/2025 16:35 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/03\/2025 10:35","Clabe Interbancaria":"124180969856650415","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "114","Domicilio": ""Nombre": "Juan Calavera González","URL": "https://sistema.siip.mx/crm/client/114","Saldo Actual": "💲380 pendientes","Monto Ultimo Pago": "$ ","Estado": "Activo","Fecha Ultimo Pago": " 24/03/2025 16:35 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "24/03/2025 10:35","Clabe Interbancaria": "124180969856650415","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: - -Response 2 Patch CallBell: - -[2025-03-24 20:58:48.687190] [notice] Logging level set to:debug -[2025-03-24 20:58:48.771310] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-24 20:58:48.771421] [debug] Valor de JSON: {"uuid":"7193a739-9aa9-4f9c-8168-e97732787935","changeType":"edit","entity":"client","entityId":"134","eventName":"client.edit","extraData":{"entity":{"id":134,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"25 Michoac\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"La Mosca","lastName":"Tse Tse","username":null,"contacts":[{"id":138,"clientId":134,"email":"lamoscatsetse@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-6300,"accountCredit":0,"accountOutstanding":6300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1576726,"addressGpsLon":-100.9370354,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":134,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"25 Michoac\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"La Mosca","lastName":"Tse Tse","username":null,"contacts":[{"id":138,"clientId":134,"email":"lamoscatsetse@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-6300,"accountCredit":0,"accountOutstanding":6300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1576726,"addressGpsLon":-100.9370354,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-24 20:58:48.772231] [debug] Se actualiza a un cliente -[2025-03-24 20:58:48.772304] [debug] Valor de json_data: {"uuid":"7193a739-9aa9-4f9c-8168-e97732787935","changeType":"edit","entity":"client","entityId":"134","eventName":"client.edit","extraData":{"entity":{"id":134,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"25 Michoac\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"La Mosca","lastName":"Tse Tse","username":null,"contacts":[{"id":138,"clientId":134,"email":"lamoscatsetse@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-6300,"accountCredit":0,"accountOutstanding":6300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1576726,"addressGpsLon":-100.9370354,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":134,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"25 Michoac\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"La Mosca","lastName":"Tse Tse","username":null,"contacts":[{"id":138,"clientId":134,"email":"lamoscatsetse@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-6300,"accountCredit":0,"accountOutstanding":6300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1576726,"addressGpsLon":-100.9370354,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-24 20:58:48.772331] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-24 20:58:48.772344] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-24 20:58:48.772353] [debug] El cliente no cambió de potencial a cliente -[2025-03-24 20:58:48.772362] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-24 20:58:48.772372] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-24 20:58:48.772381] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-24 20:58:48.772389] [debug] La etiqueta STRIPE se agregará al cliente -[2025-03-24 20:58:48.822710] [info] Creando el Customer Stripe - -[2025-03-24 20:58:48.822760] [info] El cliente a procesar es : La Mosca Tse Tse - -[2025-03-24 20:58:48.822794] [info] Datos notificationData: {"uuid":"7193a739-9aa9-4f9c-8168-e97732787935","changeType":"edit","entity":"client","entityId":134,"message":null,"clientId":134,"eventName":"client.edit","clientData":{"id":134,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"25 Michoac\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"La Mosca","lastName":"Tse Tse","username":null,"contacts":[{"id":138,"clientId":134,"email":"lamoscatsetse@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-6300,"accountCredit":0,"accountOutstanding":6300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1576726,"addressGpsLon":-100.9370354,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-24 20:58:48.822803] [info] Ya dentro del FOREACH!!! - -[2025-03-24 20:58:48.822812] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-24 20:58:48.822834] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-24 20:58:48.822840] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-24 20:58:48.822849] [info] SE VALIDA EL EMAIL!!! - -[2025-03-24 20:58:48.823535] [info] ahora se procede a validar el teléfono!!! - -[2025-03-24 20:58:48.823640] [info] AHORA SE MANDA A CREAR EL CLIENTE A STRIPE!!! - -[2025-03-24 20:58:49.475049] [info] {"id":"cus_S0IgIWlHJimuWg","object":"customer","address":null,"balance":0,"created":1742849929,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 134","discount":null,"email":"lamoscatsetse@gmail.com","invoice_prefix":"8A77320D","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":[],"name":"La Mosca Tse Tse","next_invoice_sequence":1,"phone":"4181878106","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-24 20:58:51.800973] [info] {"id":"cus_S0IgIWlHJimuWg","object":"customer","address":null,"balance":0,"created":1742849929,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 134","discount":null,"email":"lamoscatsetse@gmail.com","invoice_prefix":"8A77320D","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":{"ucrm_client_id":"134"},"name":"La Mosca Tse Tse","next_invoice_sequence":1,"phone":"4181878106","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-24 20:58:52.124766] [notice] Logging level set to:debug -[2025-03-24 20:58:52.124882] [info] No UUID found in the webhook data -[2025-03-24 20:58:54.260898] [info] {"object":"funding_instructions","bank_transfer":{"country":"MX","financial_addresses":[{"spei":{"account_holder_address":{"city":"Ciudad de M\u00e9xico","country":"MX","line1":"Av Paseo de la Reforma 180 piso 29 col Juarez","line2":null,"postal_code":"06600","state":"Ciudad de M\u00e9xico"},"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":"124180966324280572"},"supported_networks":["spei"],"type":"spei"}],"type":"mx_bank_transfer"},"currency":"mxn","funding_type":"bank_transfer","livemode":false} - -[2025-03-24 20:58:54.586502] [info] CLABE guardada en metadata: 124180966324280572 - -[2025-03-24 20:58:54.818701] [info] Error al hacer el patch al CRM: Client error: `PATCH https://172.16.5.134/crm/api/v1.0/clients/134` resulted in a `415 Unsupported Media Type` response: -{"code":415,"message":""} - - -[2025-03-24 20:58:54.879091] [info] ID correspondiente a 'Customer Stripe ID': 10 - -[2025-03-24 20:58:54.879199] [info] Creando el Customer Stripe - -[2025-03-24 20:58:54.879214] [info] El cliente a procesar es : La Mosca Tse Tse - -[2025-03-24 20:58:54.879235] [info] Datos notificationData: {"uuid":"7193a739-9aa9-4f9c-8168-e97732787935","changeType":"edit","entity":"client","entityId":134,"message":null,"clientId":134,"eventName":"client.edit","clientData":{"id":134,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"25 Michoac\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"La Mosca","lastName":"Tse Tse","username":null,"contacts":[{"id":138,"clientId":134,"email":"lamoscatsetse@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-6300,"accountCredit":0,"accountOutstanding":6300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1576726,"addressGpsLon":-100.9370354,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-24 20:58:54.879255] [info] Ya dentro del FOREACH!!! - -[2025-03-24 20:58:54.879262] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-24 20:58:54.879270] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-24 20:58:54.879276] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-24 20:58:54.879285] [info] SE VALIDA EL EMAIL!!! - -[2025-03-24 20:58:54.879300] [info] ahora se procede a validar el teléfono!!! - -[2025-03-24 20:58:54.879309] [info] AHORA SE MANDA A CREAR EL CLIENTE A STRIPE!!! - -[2025-03-24 20:58:54.928654] [notice] Logging level set to:debug -[2025-03-24 20:58:54.928889] [info] No UUID found in the webhook data -[2025-03-24 20:58:55.222776] [info] {"id":"cus_S0Igo0UyD5CUtI","object":"customer","address":null,"balance":0,"created":1742849935,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 134","discount":null,"email":"lamoscatsetse@gmail.com","invoice_prefix":"754AF414","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":[],"name":"La Mosca Tse Tse","next_invoice_sequence":1,"phone":"4181878106","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-24 20:58:57.554836] [info] {"id":"cus_S0Igo0UyD5CUtI","object":"customer","address":null,"balance":0,"created":1742849935,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 134","discount":null,"email":"lamoscatsetse@gmail.com","invoice_prefix":"754AF414","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":{"ucrm_client_id":"134"},"name":"La Mosca Tse Tse","next_invoice_sequence":1,"phone":"4181878106","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-24 20:58:57.980839] [notice] Logging level set to:debug -[2025-03-24 20:58:57.981023] [info] No UUID found in the webhook data -[2025-03-24 20:59:00.100858] [info] {"object":"funding_instructions","bank_transfer":{"country":"MX","financial_addresses":[{"spei":{"account_holder_address":{"city":"Ciudad de M\u00e9xico","country":"MX","line1":"Av Paseo de la Reforma 180 piso 29 col Juarez","line2":null,"postal_code":"06600","state":"Ciudad de M\u00e9xico"},"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":"124180573205227652"},"supported_networks":["spei"],"type":"spei"}],"type":"mx_bank_transfer"},"currency":"mxn","funding_type":"bank_transfer","livemode":false} - -[2025-03-24 20:59:00.421719] [info] CLABE guardada en metadata: 124180573205227652 - -[2025-03-24 20:59:00.654670] [notice] Logging level set to:debug -[2025-03-24 20:59:00.654838] [info] No UUID found in the webhook data -[2025-03-24 20:59:00.714553] [info] {} - -[2025-03-24 20:59:00.715202] [debug] {"uuid":"7193a739-9aa9-4f9c-8168-e97732787935","changeType":"edit","entity":"client","entityId":134,"message":null,"clientId":134,"eventName":"client.edit","clientData":{"id":134,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"25 Michoac\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"La Mosca","lastName":"Tse Tse","username":null,"contacts":[{"id":138,"clientId":134,"email":"lamoscatsetse@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-6300,"accountCredit":0,"accountOutstanding":6300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1576726,"addressGpsLon":-100.9370354,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-24 20:59:00.717822] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-24 20:59:00.717854] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-24 20:59:00.824840] [notice] Logging level set to:debug -[2025-03-24 20:59:00.935111] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-24 20:59:00.935302] [debug] Valor de JSON: {"uuid":"484aa7c0-8c78-4d44-9cd5-4e12849e899b","changeType":"edit","entity":"client","entityId":"134","eventName":"client.edit","extraData":{"entity":{"id":134,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"25 Michoac\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"La Mosca","lastName":"Tse Tse","username":null,"contacts":[{"id":138,"clientId":134,"email":"lamoscatsetse@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":190,"clientId":134,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0Igo0UyD5CUtI","clientZoneVisible":true},{"id":191,"clientId":134,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180573205227652","clientZoneVisible":true}],"accountBalance":-6300,"accountCredit":0,"accountOutstanding":6300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1576726,"addressGpsLon":-100.9370354,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":134,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"25 Michoac\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"La Mosca","lastName":"Tse Tse","username":null,"contacts":[{"id":138,"clientId":134,"email":"lamoscatsetse@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-6300,"accountCredit":0,"accountOutstanding":6300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1576726,"addressGpsLon":-100.9370354,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-24 20:59:00.935574] [debug] Se actualiza a un cliente -[2025-03-24 20:59:00.935655] [debug] Valor de json_data: {"uuid":"484aa7c0-8c78-4d44-9cd5-4e12849e899b","changeType":"edit","entity":"client","entityId":"134","eventName":"client.edit","extraData":{"entity":{"id":134,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"25 Michoac\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"La Mosca","lastName":"Tse Tse","username":null,"contacts":[{"id":138,"clientId":134,"email":"lamoscatsetse@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":190,"clientId":134,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0Igo0UyD5CUtI","clientZoneVisible":true},{"id":191,"clientId":134,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180573205227652","clientZoneVisible":true}],"accountBalance":-6300,"accountCredit":0,"accountOutstanding":6300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1576726,"addressGpsLon":-100.9370354,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":134,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"25 Michoac\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"La Mosca","lastName":"Tse Tse","username":null,"contacts":[{"id":138,"clientId":134,"email":"lamoscatsetse@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-6300,"accountCredit":0,"accountOutstanding":6300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1576726,"addressGpsLon":-100.9370354,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-24 20:59:00.935703] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-24 20:59:00.935743] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-24 20:59:00.935777] [debug] El cliente no cambió de potencial a cliente -[2025-03-24 20:59:00.935813] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-24 20:59:00.935848] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-24 20:59:00.935883] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-24 20:59:00.935918] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-24 20:59:00.935978] [debug] {"uuid":"484aa7c0-8c78-4d44-9cd5-4e12849e899b","changeType":"edit","entity":"client","entityId":134,"message":null,"clientId":134,"eventName":"client.edit","clientData":{"id":134,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"25 Michoac\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"La Mosca","lastName":"Tse Tse","username":null,"contacts":[{"id":138,"clientId":134,"email":"lamoscatsetse@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":190,"clientId":134,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0Igo0UyD5CUtI","clientZoneVisible":true},{"id":191,"clientId":134,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180573205227652","clientZoneVisible":true}],"accountBalance":-6300,"accountCredit":0,"accountOutstanding":6300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1576726,"addressGpsLon":-100.9370354,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-24 20:59:00.936080] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-24 20:59:00.936120] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"7193a739-9aa9-4f9c-8168-e97732787935","changeType":"edit","entity":"client","entityId":134,"message":null,"clientId":134,"eventName":"client.edit","clientData":{"id":134,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"25 Michoac\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"La Mosca","lastName":"Tse Tse","username":null,"contacts":[{"id":138,"clientId":134,"email":"lamoscatsetse@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-6300,"accountCredit":0,"accountOutstanding":6300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1576726,"addressGpsLon":-100.9370354,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: La Mosca Tse Tse - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"La Mosca Tse Tse","custom_fields":{"Cliente":134,"Domicilio":"\ud83d\udccd Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 La Mosca Tse Tse","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/134","Saldo Actual":"\ud83d\udcb26300 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"134\",\"Domicilio\": \"\"Nombre\": \"La Mosca Tse Tse\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/134\",\"Saldo Actual\": \"\ud83d\udcb26300 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 24\/03\/2025 20:59 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"24\/03\/2025 14:59\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 24\/03\/2025 20:59 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/03\/2025 14:59","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "134","Domicilio": ""Nombre": "La Mosca Tse Tse","URL": "https://sistema.siip.mx/crm/client/134","Saldo Actual": "💲6300 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 24/03/2025 20:59 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "24/03/2025 14:59","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Notificacion data: {"uuid":"484aa7c0-8c78-4d44-9cd5-4e12849e899b","changeType":"edit","entity":"client","entityId":134,"message":null,"clientId":134,"eventName":"client.edit","clientData":{"id":134,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"25 Michoac\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"La Mosca","lastName":"Tse Tse","username":null,"contacts":[{"id":138,"clientId":134,"email":"lamoscatsetse@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":190,"clientId":134,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0Igo0UyD5CUtI","clientZoneVisible":true},{"id":191,"clientId":134,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180573205227652","clientZoneVisible":true}],"accountBalance":-6300,"accountCredit":0,"accountOutstanding":6300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1576726,"addressGpsLon":-100.9370354,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: La Mosca Tse Tse - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"La Mosca Tse Tse","custom_fields":{"Cliente":134,"Domicilio":"\ud83d\udccd Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 La Mosca Tse Tse","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/134","Saldo Actual":"\ud83d\udcb26300 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"134\",\"Domicilio\": \"\"Nombre\": \"La Mosca Tse Tse\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/134\",\"Saldo Actual\": \"\ud83d\udcb26300 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 24\/03\/2025 20:59 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"24\/03\/2025 14:59\",\"Clabe Interbancaria\": \"124180573205227652\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 24\/03\/2025 20:59 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/03\/2025 14:59","Clabe Interbancaria":"124180573205227652","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "134","Domicilio": ""Nombre": "La Mosca Tse Tse","URL": "https://sistema.siip.mx/crm/client/134","Saldo Actual": "💲6300 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 24/03/2025 20:59 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "24/03/2025 14:59","Clabe Interbancaria": "124180573205227652","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"La Mosca Tse Tse","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🔴 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲6300 pendientes","user name":"Daniel Humberto 🐁","Cliente":"134","Clabe Interbancaria":"124180573205227652","Monto Ultimo Pago":"💲 ","Domicilio":"📍 Michoacán 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 24/03/2025 20:59 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 24/03/2025 14:59","Nombre":"👤 La Mosca Tse Tse","URL":"🌐 https://sistema.siip.mx/crm/client/134","Resumen":"{\"Cliente\": \"134\",\"Domicilio\": \"\"Nombre\": \"La Mosca Tse Tse\",\"URL\": \"https://sistema.siip.mx/crm/client/134\",\"Saldo Actual\": \"💲6300 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 24/03/2025 20:59 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"24/03/2025 14:59\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"La Mosca Tse Tse","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🔴 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲6300 pendientes","user name":"Daniel Humberto 🐁","Cliente":"134","Clabe Interbancaria":"124180573205227652","Monto Ultimo Pago":"💲 ","Domicilio":"📍 Michoacán 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 24/03/2025 20:59 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 24/03/2025 14:59","Nombre":"👤 La Mosca Tse Tse","URL":"🌐 https://sistema.siip.mx/crm/client/134","Resumen":"{\"Cliente\": \"134\",\"Domicilio\": \"\"Nombre\": \"La Mosca Tse Tse\",\"URL\": \"https://sistema.siip.mx/crm/client/134\",\"Saldo Actual\": \"💲6300 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 24/03/2025 20:59 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"24/03/2025 14:59\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"La Mosca Tse Tse","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🔴 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲6300 pendientes","user name":"Daniel Humberto 🐁","Cliente":"134","Clabe Interbancaria":"124180573205227652","Monto Ultimo Pago":"💲 ","Domicilio":"📍 Michoacán 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 24/03/2025 20:59 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 24/03/2025 14:59","Nombre":"👤 La Mosca Tse Tse","URL":"🌐 https://sistema.siip.mx/crm/client/134","Resumen":"{\"Cliente\": \"134\",\"Domicilio\": \"\"Nombre\": \"La Mosca Tse Tse\",\"URL\": \"https://sistema.siip.mx/crm/client/134\",\"Saldo Actual\": \"💲6300 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 24/03/2025 20:59 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"24/03/2025 14:59\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"La Mosca Tse Tse","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🔴 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲6300 pendientes","user name":"Daniel Humberto 🐁","Cliente":"134","Clabe Interbancaria":"124180573205227652","Monto Ultimo Pago":"💲 ","Domicilio":"📍 Michoacán 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 24/03/2025 20:59 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 24/03/2025 14:59","Nombre":"👤 La Mosca Tse Tse","URL":"🌐 https://sistema.siip.mx/crm/client/134","Resumen":"{\"Cliente\": \"134\",\"Domicilio\": \"\"Nombre\": \"La Mosca Tse Tse\",\"URL\": \"https://sistema.siip.mx/crm/client/134\",\"Saldo Actual\": \"💲6300 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 24/03/2025 20:59 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"24/03/2025 14:59\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-24 20:59:16.039963] [notice] Logging level set to:debug -[2025-03-24 20:59:16.131021] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-24 20:59:16.131117] [debug] Valor de JSON: {"uuid":"e8682c91-ca40-4e37-92db-0350b76d53e6","changeType":"edit","entity":"client","entityId":"134","eventName":"client.edit","extraData":{"entity":{"id":134,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"25 Michoac\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"La Mosca","lastName":"Tse Tse","username":null,"contacts":[{"id":138,"clientId":134,"email":"lamoscatsetse@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":190,"clientId":134,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0Igo0UyD5CUtI","clientZoneVisible":true},{"id":191,"clientId":134,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180573205227652","clientZoneVisible":true}],"accountBalance":-6300,"accountCredit":0,"accountOutstanding":6300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1576726,"addressGpsLon":-100.9370354,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":134,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"25 Michoac\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"La Mosca","lastName":"Tse Tse","username":null,"contacts":[{"id":138,"clientId":134,"email":"lamoscatsetse@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":190,"clientId":134,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0Igo0UyD5CUtI","clientZoneVisible":true},{"id":191,"clientId":134,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180573205227652","clientZoneVisible":true}],"accountBalance":-6300,"accountCredit":0,"accountOutstanding":6300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1576726,"addressGpsLon":-100.9370354,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-24 20:59:16.131334] [debug] Se actualiza a un cliente -[2025-03-24 20:59:16.131381] [debug] Valor de json_data: {"uuid":"e8682c91-ca40-4e37-92db-0350b76d53e6","changeType":"edit","entity":"client","entityId":"134","eventName":"client.edit","extraData":{"entity":{"id":134,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"25 Michoac\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"La Mosca","lastName":"Tse Tse","username":null,"contacts":[{"id":138,"clientId":134,"email":"lamoscatsetse@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":190,"clientId":134,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0Igo0UyD5CUtI","clientZoneVisible":true},{"id":191,"clientId":134,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180573205227652","clientZoneVisible":true}],"accountBalance":-6300,"accountCredit":0,"accountOutstanding":6300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1576726,"addressGpsLon":-100.9370354,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":134,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"25 Michoac\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"La Mosca","lastName":"Tse Tse","username":null,"contacts":[{"id":138,"clientId":134,"email":"lamoscatsetse@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":190,"clientId":134,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0Igo0UyD5CUtI","clientZoneVisible":true},{"id":191,"clientId":134,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180573205227652","clientZoneVisible":true}],"accountBalance":-6300,"accountCredit":0,"accountOutstanding":6300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1576726,"addressGpsLon":-100.9370354,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-24 20:59:16.131530] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-24 20:59:16.131583] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-24 20:59:16.131620] [debug] El cliente no cambió de potencial a cliente -[2025-03-24 20:59:16.131655] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-24 20:59:16.131690] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-24 20:59:16.131725] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-24 20:59:16.131758] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-24 20:59:16.131820] [debug] {"uuid":"e8682c91-ca40-4e37-92db-0350b76d53e6","changeType":"edit","entity":"client","entityId":134,"message":null,"clientId":134,"eventName":"client.edit","clientData":{"id":134,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"25 Michoac\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"La Mosca","lastName":"Tse Tse","username":null,"contacts":[{"id":138,"clientId":134,"email":"lamoscatsetse@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":190,"clientId":134,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0Igo0UyD5CUtI","clientZoneVisible":true},{"id":191,"clientId":134,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180573205227652","clientZoneVisible":true}],"accountBalance":-6300,"accountCredit":0,"accountOutstanding":6300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1576726,"addressGpsLon":-100.9370354,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-24 20:59:16.131927] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-24 20:59:16.131968] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"e8682c91-ca40-4e37-92db-0350b76d53e6","changeType":"edit","entity":"client","entityId":134,"message":null,"clientId":134,"eventName":"client.edit","clientData":{"id":134,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"25 Michoac\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"La Mosca","lastName":"Tse Tse","username":null,"contacts":[{"id":138,"clientId":134,"email":"lamoscatsetse@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":190,"clientId":134,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0Igo0UyD5CUtI","clientZoneVisible":true},{"id":191,"clientId":134,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180573205227652","clientZoneVisible":true}],"accountBalance":-6300,"accountCredit":0,"accountOutstanding":6300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1576726,"addressGpsLon":-100.9370354,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: La Mosca Tse Tse - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"La Mosca Tse Tse","custom_fields":{"Cliente":134,"Domicilio":"\ud83d\udccd Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 La Mosca Tse Tse","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/134","Saldo Actual":"\ud83d\udcb26300 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"134\",\"Domicilio\": \"\"Nombre\": \"La Mosca Tse Tse\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/134\",\"Saldo Actual\": \"\ud83d\udcb26300 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 24\/03\/2025 20:59 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"24\/03\/2025 14:59\",\"Clabe Interbancaria\": \"124180573205227652\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 24\/03\/2025 20:59 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/03\/2025 14:59","Clabe Interbancaria":"124180573205227652","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "134","Domicilio": ""Nombre": "La Mosca Tse Tse","URL": "https://sistema.siip.mx/crm/client/134","Saldo Actual": "💲6300 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 24/03/2025 20:59 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "24/03/2025 14:59","Clabe Interbancaria": "124180573205227652","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"La Mosca Tse Tse","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🔴 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲6300 pendientes","user name":"Daniel Humberto 🐁","Cliente":"134","Clabe Interbancaria":"124180573205227652","Monto Ultimo Pago":"💲 ","Domicilio":"📍 Michoacán 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 24/03/2025 20:59 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 24/03/2025 14:59","Nombre":"👤 La Mosca Tse Tse","URL":"🌐 https://sistema.siip.mx/crm/client/134","Resumen":"{\"Cliente\": \"134\",\"Domicilio\": \"\"Nombre\": \"La Mosca Tse Tse\",\"URL\": \"https://sistema.siip.mx/crm/client/134\",\"Saldo Actual\": \"💲6300 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 24/03/2025 20:59 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"24/03/2025 14:59\",\"Clabe Interbancaria\": \"124180573205227652\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"La Mosca Tse Tse","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🔴 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲6300 pendientes","user name":"Daniel Humberto 🐁","Cliente":"134","Clabe Interbancaria":"124180573205227652","Monto Ultimo Pago":"💲 ","Domicilio":"📍 Michoacán 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 24/03/2025 20:59 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 24/03/2025 14:59","Nombre":"👤 La Mosca Tse Tse","URL":"🌐 https://sistema.siip.mx/crm/client/134","Resumen":"{\"Cliente\": \"134\",\"Domicilio\": \"\"Nombre\": \"La Mosca Tse Tse\",\"URL\": \"https://sistema.siip.mx/crm/client/134\",\"Saldo Actual\": \"💲6300 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 24/03/2025 20:59 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"24/03/2025 14:59\",\"Clabe Interbancaria\": \"124180573205227652\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-24 21:01:05.174014] [notice] Logging level set to:debug -[2025-03-24 21:01:05.250720] [debug] valor el evento recibido por webhook: client.add - -[2025-03-24 21:01:05.250880] [debug] Valor de JSON: {"uuid":"ba6fe035-cb6c-4730-b3c3-594c8c14f550","changeType":"insert","entity":"client","entityId":"170","eventName":"client.add","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":null}} - -[2025-03-24 21:01:05.251468] [debug] Se agregó un nuevo cliente - -[2025-03-24 21:01:05.251568] [debug] Valor de json_data: {"uuid":"ba6fe035-cb6c-4730-b3c3-594c8c14f550","changeType":"insert","entity":"client","entityId":"170","eventName":"client.add","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":null}} -[2025-03-24 21:01:15.147412] [notice] Logging level set to:debug -[2025-03-24 21:01:15.346280] [debug] valor el evento recibido por webhook: service.add - -[2025-03-24 21:01:15.346425] [debug] Valor de JSON: {"uuid":"a7b50e07-a6c4-4aca-9d64-c921d196f318","changeType":"insert","entity":"service","entityId":"150","eventName":"service.add","extraData":{"entity":{"id":150,"prepaid":false,"clientId":170,"status":7,"name":"Basico 300","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":null,"activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":null,"invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"66ad10af-9c6e-43d0-b487-610df2407f59","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":null}} - -[2025-03-24 21:01:23.019201] [notice] Logging level set to:debug -[2025-03-24 21:01:23.105539] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-24 21:01:23.105700] [debug] Valor de JSON: {"uuid":"cdc1ab38-75f6-4211-b52c-4362f828c3c9","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-24 21:01:23.105860] [debug] Se actualiza a un cliente -[2025-03-24 21:01:23.105928] [debug] Valor de json_data: {"uuid":"cdc1ab38-75f6-4211-b52c-4362f828c3c9","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-24 21:01:23.105978] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-24 21:01:23.106014] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-24 21:01:23.106080] [debug] El cliente cambió de potencial a cliente -[2025-03-24 21:01:23.170974] [info] ID correspondiente a 'Customer Stripe ID': 10 - -[2025-03-24 21:01:23.171150] [info] Creando el Customer Stripe - -[2025-03-24 21:01:23.171205] [info] El cliente a procesar es : Charicuas Quinero - -[2025-03-24 21:01:23.171256] [info] Datos notificationData: {"uuid":"cdc1ab38-75f6-4211-b52c-4362f828c3c9","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-24 21:01:23.171292] [info] Ya dentro del FOREACH!!! - -[2025-03-24 21:01:23.171325] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-24 21:01:23.171360] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-24 21:01:23.171395] [info] SE VALIDA EL EMAIL!!! - -[2025-03-24 21:01:23.172076] [info] ahora se procede a validar el teléfono!!! - -[2025-03-24 21:01:23.172162] [info] El número de teléfono está vacío o no es válido. - -[2025-03-24 21:01:23.172202] [info] AHORA SE MANDA A CREAR EL CLIENTE A STRIPE!!! - -[2025-03-24 21:01:23.761749] [info] {"id":"cus_S0Ij5DnjC3Jep2","object":"customer","address":null,"balance":0,"created":1742850083,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 170","discount":null,"email":null,"invoice_prefix":"3E7254A6","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":[],"name":"Charicuas Quinero","next_invoice_sequence":1,"phone":null,"preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-24 21:01:26.120301] [info] {"id":"cus_S0Ij5DnjC3Jep2","object":"customer","address":null,"balance":0,"created":1742850083,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 170","discount":null,"email":null,"invoice_prefix":"3E7254A6","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":{"ucrm_client_id":"170"},"name":"Charicuas Quinero","next_invoice_sequence":1,"phone":null,"preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-24 21:01:26.488567] [notice] Logging level set to:debug -[2025-03-24 21:01:26.488712] [info] No UUID found in the webhook data -[2025-03-24 21:01:28.576281] [info] {"object":"funding_instructions","bank_transfer":{"country":"MX","financial_addresses":[{"spei":{"account_holder_address":{"city":"Ciudad de M\u00e9xico","country":"MX","line1":"Av Paseo de la Reforma 180 piso 29 col Juarez","line2":null,"postal_code":"06600","state":"Ciudad de M\u00e9xico"},"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":"124180281893318618"},"supported_networks":["spei"],"type":"spei"}],"type":"mx_bank_transfer"},"currency":"mxn","funding_type":"bank_transfer","livemode":false} - -[2025-03-24 21:01:28.923222] [info] CLABE guardada en metadata: 124180281893318618 - -[2025-03-24 21:01:29.051016] [info] {} - -[2025-03-24 21:01:29.051481] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-24 21:01:29.051574] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-24 21:01:29.051614] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-24 21:01:29.051651] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-24 21:01:29.051716] [debug] {"uuid":"cdc1ab38-75f6-4211-b52c-4362f828c3c9","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-24 21:01:29.175235] [notice] Logging level set to:debug -[2025-03-24 21:01:29.207165] [notice] Logging level set to:debug -[2025-03-24 21:01:29.207319] [info] No UUID found in the webhook data -[2025-03-24 21:01:29.285763] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-24 21:01:29.285923] [debug] Valor de JSON: {"uuid":"324c2d45-8b30-4eb4-8731-87acf4a158c2","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0Ij5DnjC3Jep2","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180281893318618","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-24 21:01:29.286191] [debug] Se actualiza a un cliente -[2025-03-24 21:01:29.286268] [debug] Valor de json_data: {"uuid":"324c2d45-8b30-4eb4-8731-87acf4a158c2","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0Ij5DnjC3Jep2","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180281893318618","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-24 21:01:29.286309] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-24 21:01:29.286345] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-24 21:01:29.286381] [debug] El cliente no cambió de potencial a cliente -[2025-03-24 21:01:29.286416] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-24 21:01:29.286457] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-24 21:01:29.286492] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-24 21:01:29.286525] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-24 21:01:29.286583] [debug] {"uuid":"324c2d45-8b30-4eb4-8731-87acf4a158c2","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0Ij5DnjC3Jep2","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180281893318618","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-24 21:01:29.404009] [notice] Logging level set to:debug -[2025-03-24 21:01:29.542022] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-24 21:01:29.542217] [debug] Valor de JSON: {"uuid":"a2524e0b-380d-4456-8c47-fbe2c0952150","changeType":"edit","entity":"service","entityId":"150","eventName":"service.edit","extraData":{"entity":{"id":150,"prepaid":false,"clientId":170,"status":7,"name":"Basico 300","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":null,"activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":null,"invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"66ad10af-9c6e-43d0-b487-610df2407f59","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":{"id":150,"prepaid":false,"clientId":170,"status":7,"name":"Basico 300","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":null,"activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":null,"invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"66ad10af-9c6e-43d0-b487-610df2407f59","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}} - -[2025-03-24 21:01:29.542376] [debug] Se editó el servicio a un cliente - -[2025-03-25 7:46:45.559578] [notice] Logging level set to:debug -[2025-03-25 7:46:45.645900] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 7:46:45.645984] [debug] Valor de JSON: {"uuid":"fd9cdf04-f93d-4dfd-9cb0-dae56366830a","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0Ij5DnjC3Jep2","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180281893318618","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0Ij5DnjC3Jep2","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180281893318618","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 7:46:45.646219] [debug] Se actualiza a un cliente -[2025-03-25 7:46:45.646260] [debug] Valor de json_data: {"uuid":"fd9cdf04-f93d-4dfd-9cb0-dae56366830a","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0Ij5DnjC3Jep2","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180281893318618","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0Ij5DnjC3Jep2","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180281893318618","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 7:46:45.646277] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 7:46:45.646287] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 7:46:45.646295] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 7:46:45.646301] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 7:46:45.646308] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 7:46:45.646315] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 7:46:45.646322] [debug] La etiqueta STRIPE se agregará al cliente -[2025-03-25 7:46:45.671575] [info] Creando el Customer Stripe - -[2025-03-25 7:46:45.671621] [info] El cliente a procesar es : Charicuas Quinero - -[2025-03-25 7:46:45.671654] [info] Datos notificationData: {"uuid":"fd9cdf04-f93d-4dfd-9cb0-dae56366830a","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0Ij5DnjC3Jep2","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180281893318618","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 7:46:45.671675] [info] Ya dentro del FOREACH!!! - -[2025-03-25 7:46:45.671684] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-25 7:46:45.671691] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-25 7:46:45.671700] [info] SE VALIDA EL EMAIL!!! - -[2025-03-25 7:46:45.672422] [info] ahora se procede a validar el teléfono!!! - -[2025-03-25 7:46:45.672455] [info] El número de teléfono está vacío o no es válido. - -[2025-03-25 7:46:45.672463] [info] AHORA SE MANDA A CREAR EL CLIENTE A STRIPE!!! - -[2025-03-25 7:46:46.079484] [info] {"id":"cus_S0T8SbgBAD32H0","object":"customer","address":null,"balance":0,"created":1742888805,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 170","discount":null,"email":null,"invoice_prefix":"3141896E","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":[],"name":"Charicuas Quinero","next_invoice_sequence":1,"phone":null,"preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-25 7:46:48.297148] [info] {"id":"cus_S0T8SbgBAD32H0","object":"customer","address":null,"balance":0,"created":1742888805,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 170","discount":null,"email":null,"invoice_prefix":"3141896E","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":{"ucrm_client_id":"170"},"name":"Charicuas Quinero","next_invoice_sequence":1,"phone":null,"preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-25 7:46:48.708384] [notice] Logging level set to:debug -[2025-03-25 7:46:48.708493] [info] No UUID found in the webhook data -[2025-03-25 7:46:50.636574] [info] {"object":"funding_instructions","bank_transfer":{"country":"MX","financial_addresses":[{"spei":{"account_holder_address":{"city":"Ciudad de M\u00e9xico","country":"MX","line1":"Av Paseo de la Reforma 180 piso 29 col Juarez","line2":null,"postal_code":"06600","state":"Ciudad de M\u00e9xico"},"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":"124180608385489285"},"supported_networks":["spei"],"type":"spei"}],"type":"mx_bank_transfer"},"currency":"mxn","funding_type":"bank_transfer","livemode":false} - -[2025-03-25 7:46:50.858269] [info] CLABE guardada en metadata: 124180608385489285 - -[2025-03-25 7:46:51.098876] [info] Error al hacer el patch al CRM: Client error: `PATCH https://172.16.5.134/crm/api/v1.0/clients/170` resulted in a `415 Unsupported Media Type` response: -{"code":415,"message":""} - - -[2025-03-25 7:46:51.158531] [info] ID correspondiente a 'Customer Stripe ID': 10 - -[2025-03-25 7:46:51.158641] [info] Creando el Customer Stripe - -[2025-03-25 7:46:51.158653] [info] El cliente a procesar es : Charicuas Quinero - -[2025-03-25 7:46:51.158675] [info] Datos notificationData: {"uuid":"fd9cdf04-f93d-4dfd-9cb0-dae56366830a","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0Ij5DnjC3Jep2","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180281893318618","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 7:46:51.158684] [info] Ya dentro del FOREACH!!! - -[2025-03-25 7:46:51.158691] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-25 7:46:51.158699] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-25 7:46:51.158705] [info] SE VALIDA EL EMAIL!!! - -[2025-03-25 7:46:51.158716] [info] ahora se procede a validar el teléfono!!! - -[2025-03-25 7:46:51.158725] [info] El número de teléfono está vacío o no es válido. - -[2025-03-25 7:46:51.158731] [info] AHORA SE MANDA A CREAR EL CLIENTE A STRIPE!!! - -[2025-03-25 7:46:51.320718] [notice] Logging level set to:debug -[2025-03-25 7:46:51.320833] [info] No UUID found in the webhook data -[2025-03-25 7:46:51.375024] [info] {"id":"cus_S0T8TcXIKlh9xg","object":"customer","address":null,"balance":0,"created":1742888811,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 170","discount":null,"email":null,"invoice_prefix":"2E8ED5AA","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":[],"name":"Charicuas Quinero","next_invoice_sequence":1,"phone":null,"preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-25 7:46:53.578768] [info] {"id":"cus_S0T8TcXIKlh9xg","object":"customer","address":null,"balance":0,"created":1742888811,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 170","discount":null,"email":null,"invoice_prefix":"2E8ED5AA","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":{"ucrm_client_id":"170"},"name":"Charicuas Quinero","next_invoice_sequence":1,"phone":null,"preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-25 7:46:54.021450] [notice] Logging level set to:debug -[2025-03-25 7:46:54.021785] [info] No UUID found in the webhook data -[2025-03-25 7:46:55.977932] [info] {"object":"funding_instructions","bank_transfer":{"country":"MX","financial_addresses":[{"spei":{"account_holder_address":{"city":"Ciudad de M\u00e9xico","country":"MX","line1":"Av Paseo de la Reforma 180 piso 29 col Juarez","line2":null,"postal_code":"06600","state":"Ciudad de M\u00e9xico"},"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":"124180282006853008"},"supported_networks":["spei"],"type":"spei"}],"type":"mx_bank_transfer"},"currency":"mxn","funding_type":"bank_transfer","livemode":false} - -[2025-03-25 7:46:56.192671] [info] CLABE guardada en metadata: 124180282006853008 - -[2025-03-25 7:46:56.325315] [info] {} - -[2025-03-25 7:46:56.325655] [debug] {"uuid":"fd9cdf04-f93d-4dfd-9cb0-dae56366830a","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0Ij5DnjC3Jep2","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180281893318618","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 7:46:56.437819] [notice] Logging level set to:debug -[2025-03-25 7:46:56.513642] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 7:46:56.513854] [debug] Valor de JSON: {"uuid":"7177a022-94bc-4803-9f95-0fa63b2fea7d","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0T8TcXIKlh9xg","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180282006853008","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0Ij5DnjC3Jep2","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180281893318618","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 7:46:56.514130] [debug] Se actualiza a un cliente -[2025-03-25 7:46:56.514214] [debug] Valor de json_data: {"uuid":"7177a022-94bc-4803-9f95-0fa63b2fea7d","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0T8TcXIKlh9xg","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180282006853008","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0Ij5DnjC3Jep2","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180281893318618","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 7:46:56.514266] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 7:46:56.514307] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 7:46:56.514343] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 7:46:56.514381] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 7:46:56.514426] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 7:46:56.514465] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 7:46:56.514501] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-25 7:46:56.514564] [debug] {"uuid":"7177a022-94bc-4803-9f95-0fa63b2fea7d","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0T8TcXIKlh9xg","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180282006853008","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 7:46:56.595580] [notice] Logging level set to:debug -[2025-03-25 7:46:56.595812] [info] No UUID found in the webhook data -[2025-03-25 7:47:41.025854] [notice] Logging level set to:debug -[2025-03-25 7:47:41.138272] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 7:47:41.138444] [debug] Valor de JSON: {"uuid":"870a7ca3-4103-4f78-9415-9474f77ff367","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0T8TcXIKlh9xg","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180282006853008","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0T8TcXIKlh9xg","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180282006853008","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 7:47:41.138735] [debug] Se actualiza a un cliente -[2025-03-25 7:47:41.138827] [debug] Valor de json_data: {"uuid":"870a7ca3-4103-4f78-9415-9474f77ff367","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0T8TcXIKlh9xg","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180282006853008","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0T8TcXIKlh9xg","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180282006853008","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 7:47:41.138874] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 7:47:41.138911] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 7:47:41.138945] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 7:47:41.138978] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 7:47:41.139013] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 7:47:41.139046] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 7:47:41.139081] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-25 7:47:41.139137] [debug] {"uuid":"870a7ca3-4103-4f78-9415-9474f77ff367","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0T8TcXIKlh9xg","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180282006853008","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 7:47:42.946212] [notice] Logging level set to:debug -[2025-03-25 7:47:43.026154] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 7:47:43.026356] [debug] Valor de JSON: {"uuid":"5abfb2e5-0f6f-46c7-b17c-5b420d8ad621","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0T8TcXIKlh9xg","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180282006853008","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0T8TcXIKlh9xg","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180282006853008","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 7:47:43.026508] [debug] Se actualiza a un cliente -[2025-03-25 7:47:43.026581] [debug] Valor de json_data: {"uuid":"5abfb2e5-0f6f-46c7-b17c-5b420d8ad621","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0T8TcXIKlh9xg","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180282006853008","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0T8TcXIKlh9xg","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180282006853008","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 7:47:43.026626] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 7:47:43.026663] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 7:47:43.026698] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 7:47:43.026731] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 7:47:43.026766] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 7:47:43.026798] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 7:47:43.026834] [debug] La etiqueta STRIPE se agregará al cliente -[2025-03-25 7:47:43.054174] [info] Creando el Customer Stripe - -[2025-03-25 7:47:43.054320] [info] El cliente a procesar es : Charicuas Quinero - -[2025-03-25 7:47:43.054388] [info] Datos notificationData: {"uuid":"5abfb2e5-0f6f-46c7-b17c-5b420d8ad621","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0T8TcXIKlh9xg","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180282006853008","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 7:47:43.054438] [info] Ya dentro del FOREACH!!! - -[2025-03-25 7:47:43.054475] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-25 7:47:43.054511] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-25 7:47:43.054546] [info] SE VALIDA EL EMAIL!!! - -[2025-03-25 7:47:43.055238] [info] ahora se procede a validar el teléfono!!! - -[2025-03-25 7:47:43.055319] [info] El número de teléfono está vacío o no es válido. - -[2025-03-25 7:47:43.055358] [info] AHORA SE MANDA A CREAR EL CLIENTE A STRIPE!!! - -[2025-03-25 7:47:43.478686] [info] {"id":"cus_S0T96gcz3x9jks","object":"customer","address":null,"balance":0,"created":1742888863,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 170","discount":null,"email":null,"invoice_prefix":"52BCD227","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":[],"name":"Charicuas Quinero","next_invoice_sequence":1,"phone":null,"preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-25 7:47:45.710918] [info] {"id":"cus_S0T96gcz3x9jks","object":"customer","address":null,"balance":0,"created":1742888863,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 170","discount":null,"email":null,"invoice_prefix":"52BCD227","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":{"ucrm_client_id":"170"},"name":"Charicuas Quinero","next_invoice_sequence":1,"phone":null,"preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-25 7:47:46.003288] [notice] Logging level set to:debug -[2025-03-25 7:47:46.003498] [info] No UUID found in the webhook data -[2025-03-25 7:47:48.070132] [info] {"object":"funding_instructions","bank_transfer":{"country":"MX","financial_addresses":[{"spei":{"account_holder_address":{"city":"Ciudad de M\u00e9xico","country":"MX","line1":"Av Paseo de la Reforma 180 piso 29 col Juarez","line2":null,"postal_code":"06600","state":"Ciudad de M\u00e9xico"},"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":"124180333342518448"},"supported_networks":["spei"],"type":"spei"}],"type":"mx_bank_transfer"},"currency":"mxn","funding_type":"bank_transfer","livemode":false} - -[2025-03-25 7:47:48.279113] [info] CLABE guardada en metadata: 124180333342518448 - -[2025-03-25 7:47:48.480362] [info] Error al hacer el patch al CRM: Client error: `PATCH https://172.16.5.134/crm/api/v1.0/clients/170` resulted in a `415 Unsupported Media Type` response: -{"code":415,"message":""} - - -[2025-03-25 7:47:48.524079] [info] ID correspondiente a 'Customer Stripe ID': 10 - -[2025-03-25 7:47:48.524255] [info] Creando el Customer Stripe - -[2025-03-25 7:47:48.524303] [info] El cliente a procesar es : Charicuas Quinero - -[2025-03-25 7:47:48.524359] [info] Datos notificationData: {"uuid":"5abfb2e5-0f6f-46c7-b17c-5b420d8ad621","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0T8TcXIKlh9xg","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180282006853008","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 7:47:48.524395] [info] Ya dentro del FOREACH!!! - -[2025-03-25 7:47:48.524430] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-25 7:47:48.524462] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-25 7:47:48.524496] [info] SE VALIDA EL EMAIL!!! - -[2025-03-25 7:47:48.524539] [info] ahora se procede a validar el teléfono!!! - -[2025-03-25 7:47:48.524575] [info] El número de teléfono está vacío o no es válido. - -[2025-03-25 7:47:48.524609] [info] AHORA SE MANDA A CREAR EL CLIENTE A STRIPE!!! - -[2025-03-25 7:47:48.628402] [notice] Logging level set to:debug -[2025-03-25 7:47:48.628492] [info] No UUID found in the webhook data -[2025-03-25 7:47:48.737524] [info] {"id":"cus_S0T9BJ4dO0p0A3","object":"customer","address":null,"balance":0,"created":1742888868,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 170","discount":null,"email":null,"invoice_prefix":"D91F797C","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":[],"name":"Charicuas Quinero","next_invoice_sequence":1,"phone":null,"preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-25 7:47:50.938329] [info] {"id":"cus_S0T9BJ4dO0p0A3","object":"customer","address":null,"balance":0,"created":1742888868,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 170","discount":null,"email":null,"invoice_prefix":"D91F797C","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":{"ucrm_client_id":"170"},"name":"Charicuas Quinero","next_invoice_sequence":1,"phone":null,"preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-25 7:47:51.418930] [notice] Logging level set to:debug -[2025-03-25 7:47:51.419135] [info] No UUID found in the webhook data -[2025-03-25 7:47:53.282296] [info] {"object":"funding_instructions","bank_transfer":{"country":"MX","financial_addresses":[{"spei":{"account_holder_address":{"city":"Ciudad de M\u00e9xico","country":"MX","line1":"Av Paseo de la Reforma 180 piso 29 col Juarez","line2":null,"postal_code":"06600","state":"Ciudad de M\u00e9xico"},"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":"124180302040274015"},"supported_networks":["spei"],"type":"spei"}],"type":"mx_bank_transfer"},"currency":"mxn","funding_type":"bank_transfer","livemode":false} - -[2025-03-25 7:47:53.495286] [info] CLABE guardada en metadata: 124180302040274015 - -[2025-03-25 7:47:53.641978] [info] {} - -[2025-03-25 7:47:53.642687] [debug] {"uuid":"5abfb2e5-0f6f-46c7-b17c-5b420d8ad621","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0T8TcXIKlh9xg","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180282006853008","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 7:47:53.755888] [notice] Logging level set to:debug -[2025-03-25 7:47:53.779221] [notice] Logging level set to:debug -[2025-03-25 7:47:53.779371] [info] No UUID found in the webhook data -[2025-03-25 7:47:53.861459] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 7:47:53.861546] [debug] Valor de JSON: {"uuid":"93b9db73-1465-474d-922d-565e6b565f8f","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0T9BJ4dO0p0A3","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180302040274015","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0T8TcXIKlh9xg","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180282006853008","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 7:47:53.861753] [debug] Se actualiza a un cliente -[2025-03-25 7:47:53.861793] [debug] Valor de json_data: {"uuid":"93b9db73-1465-474d-922d-565e6b565f8f","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0T9BJ4dO0p0A3","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180302040274015","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0T8TcXIKlh9xg","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180282006853008","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 7:47:53.861810] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 7:47:53.861819] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 7:47:53.861828] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 7:47:53.861835] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 7:47:53.861841] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 7:47:53.861849] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 7:47:53.861855] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-25 7:47:53.861886] [debug] {"uuid":"93b9db73-1465-474d-922d-565e6b565f8f","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0T9BJ4dO0p0A3","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180302040274015","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 7:55:23.599680] [notice] Logging level set to:debug -[2025-03-25 7:55:23.671329] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 7:55:23.671420] [debug] Valor de JSON: {"uuid":"f7ee1578-9f6f-48d6-bdda-8c556091e3ef","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0T9BJ4dO0p0A3","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180302040274015","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0T9BJ4dO0p0A3","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180302040274015","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 7:55:23.671698] [debug] Se actualiza a un cliente -[2025-03-25 7:55:23.671756] [debug] Valor de json_data: {"uuid":"f7ee1578-9f6f-48d6-bdda-8c556091e3ef","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0T9BJ4dO0p0A3","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180302040274015","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0T9BJ4dO0p0A3","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180302040274015","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 7:55:23.671848] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 7:55:23.671895] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 7:55:23.671938] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 7:55:23.671981] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 7:55:23.672023] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 7:55:23.672064] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 7:55:23.672106] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-25 7:55:23.672169] [debug] {"uuid":"f7ee1578-9f6f-48d6-bdda-8c556091e3ef","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0T9BJ4dO0p0A3","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180302040274015","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 7:55:30.865200] [notice] Logging level set to:debug -[2025-03-25 7:55:30.946923] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 7:55:30.947187] [debug] Valor de JSON: {"uuid":"0be6fee6-db1d-4ab5-a52c-2ee87b04315e","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0T9BJ4dO0p0A3","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180302040274015","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0T9BJ4dO0p0A3","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180302040274015","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 7:55:30.947391] [debug] Se actualiza a un cliente -[2025-03-25 7:55:30.947484] [debug] Valor de json_data: {"uuid":"0be6fee6-db1d-4ab5-a52c-2ee87b04315e","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0T9BJ4dO0p0A3","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180302040274015","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0T9BJ4dO0p0A3","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180302040274015","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 7:55:30.947551] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 7:55:30.947611] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 7:55:30.947668] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 7:55:30.947725] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 7:55:30.947802] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 7:55:30.947861] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 7:55:30.947922] [debug] La etiqueta STRIPE se agregará al cliente -[2025-03-25 7:55:30.948306] [info] Valor de notificationData: {"uuid":"0be6fee6-db1d-4ab5-a52c-2ee87b04315e","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0T9BJ4dO0p0A3","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180302040274015","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 7:55:30.978638] [info] Creando el Customer Stripe - -[2025-03-25 7:55:30.978842] [info] El cliente a procesar es : Charicuas Quinero - -[2025-03-25 7:55:30.978944] [info] Datos notificationData: {"uuid":"0be6fee6-db1d-4ab5-a52c-2ee87b04315e","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0T9BJ4dO0p0A3","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180302040274015","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 7:55:30.979016] [info] Ya dentro del FOREACH!!! - -[2025-03-25 7:55:30.979084] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-25 7:55:30.979152] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-25 7:55:30.979222] [info] SE VALIDA EL EMAIL!!! - -[2025-03-25 7:55:30.980004] [info] ahora se procede a validar el teléfono!!! - -[2025-03-25 7:55:30.980137] [info] El número de teléfono está vacío o no es válido. - -[2025-03-25 7:55:30.980221] [info] AHORA SE MANDA A CREAR EL CLIENTE A STRIPE!!! - -[2025-03-25 7:55:31.404126] [info] {"id":"cus_S0THEJYah4Xb1D","object":"customer","address":null,"balance":0,"created":1742889331,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 170","discount":null,"email":null,"invoice_prefix":"2752AF11","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":[],"name":"Charicuas Quinero","next_invoice_sequence":1,"phone":null,"preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-25 7:55:33.622787] [info] {"id":"cus_S0THEJYah4Xb1D","object":"customer","address":null,"balance":0,"created":1742889331,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 170","discount":null,"email":null,"invoice_prefix":"2752AF11","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":{"ucrm_client_id":"170"},"name":"Charicuas Quinero","next_invoice_sequence":1,"phone":null,"preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-25 7:55:33.920573] [notice] Logging level set to:debug -[2025-03-25 7:55:33.920680] [info] No UUID found in the webhook data -[2025-03-25 7:55:35.956557] [info] {"object":"funding_instructions","bank_transfer":{"country":"MX","financial_addresses":[{"spei":{"account_holder_address":{"city":"Ciudad de M\u00e9xico","country":"MX","line1":"Av Paseo de la Reforma 180 piso 29 col Juarez","line2":null,"postal_code":"06600","state":"Ciudad de M\u00e9xico"},"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":"124180420275053873"},"supported_networks":["spei"],"type":"spei"}],"type":"mx_bank_transfer"},"currency":"mxn","funding_type":"bank_transfer","livemode":false} - -[2025-03-25 7:55:36.172318] [info] CLABE guardada en metadata: 124180420275053873 - -[2025-03-25 7:55:36.354028] [info] Error al hacer el patch al CRM: Client error: `PATCH https://172.16.5.134/crm/api/v1.0/clients/170` resulted in a `415 Unsupported Media Type` response: -{"code":415,"message":""} - - -[2025-03-25 7:55:36.404000] [info] ID correspondiente a 'Customer Stripe ID': 10 - -[2025-03-25 7:55:36.404282] [info] Creando el Customer Stripe - -[2025-03-25 7:55:36.404361] [info] El cliente a procesar es : Charicuas Quinero - -[2025-03-25 7:55:36.404439] [info] Datos notificationData: {"uuid":"0be6fee6-db1d-4ab5-a52c-2ee87b04315e","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0T9BJ4dO0p0A3","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180302040274015","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 7:55:36.404515] [info] Ya dentro del FOREACH!!! - -[2025-03-25 7:55:36.404577] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-25 7:55:36.404663] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-25 7:55:36.404728] [info] SE VALIDA EL EMAIL!!! - -[2025-03-25 7:55:36.404795] [info] ahora se procede a validar el teléfono!!! - -[2025-03-25 7:55:36.404856] [info] El número de teléfono está vacío o no es válido. - -[2025-03-25 7:55:36.404917] [info] AHORA SE MANDA A CREAR EL CLIENTE A STRIPE!!! - -[2025-03-25 7:55:36.462296] [notice] Logging level set to:debug -[2025-03-25 7:55:36.462660] [info] No UUID found in the webhook data -[2025-03-25 7:55:36.630000] [info] {"id":"cus_S0THf9yIsb7EGq","object":"customer","address":null,"balance":0,"created":1742889336,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 170","discount":null,"email":null,"invoice_prefix":"E5BB734A","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":[],"name":"Charicuas Quinero","next_invoice_sequence":1,"phone":null,"preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-25 7:55:38.829696] [info] {"id":"cus_S0THf9yIsb7EGq","object":"customer","address":null,"balance":0,"created":1742889336,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 170","discount":null,"email":null,"invoice_prefix":"E5BB734A","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":{"ucrm_client_id":"170"},"name":"Charicuas Quinero","next_invoice_sequence":1,"phone":null,"preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-25 7:55:39.211913] [notice] Logging level set to:debug -[2025-03-25 7:55:39.212133] [info] No UUID found in the webhook data -[2025-03-25 7:55:41.165092] [info] {"object":"funding_instructions","bank_transfer":{"country":"MX","financial_addresses":[{"spei":{"account_holder_address":{"city":"Ciudad de M\u00e9xico","country":"MX","line1":"Av Paseo de la Reforma 180 piso 29 col Juarez","line2":null,"postal_code":"06600","state":"Ciudad de M\u00e9xico"},"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":"124180755648197581"},"supported_networks":["spei"],"type":"spei"}],"type":"mx_bank_transfer"},"currency":"mxn","funding_type":"bank_transfer","livemode":false} - -[2025-03-25 7:55:41.371949] [info] CLABE guardada en metadata: 124180755648197581 - -[2025-03-25 7:55:41.504017] [info] {} - -[2025-03-25 7:55:41.504621] [debug] {"uuid":"0be6fee6-db1d-4ab5-a52c-2ee87b04315e","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0T9BJ4dO0p0A3","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180302040274015","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 7:55:41.613429] [notice] Logging level set to:debug -[2025-03-25 7:55:41.679691] [notice] Logging level set to:debug -[2025-03-25 7:55:41.679917] [info] No UUID found in the webhook data -[2025-03-25 7:55:41.698429] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 7:55:41.698648] [debug] Valor de JSON: {"uuid":"ec72eb03-99dd-48fe-add8-fc54e14451ee","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0T9BJ4dO0p0A3","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180302040274015","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 7:55:41.698906] [debug] Se actualiza a un cliente -[2025-03-25 7:55:41.699014] [debug] Valor de json_data: {"uuid":"ec72eb03-99dd-48fe-add8-fc54e14451ee","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0T9BJ4dO0p0A3","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180302040274015","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 7:55:41.699089] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 7:55:41.699152] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 7:55:41.699213] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 7:55:41.699274] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 7:55:41.699333] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 7:55:41.699393] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 7:55:41.699455] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-25 7:55:41.699565] [debug] {"uuid":"ec72eb03-99dd-48fe-add8-fc54e14451ee","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 8:13:03.819670] [notice] Logging level set to:debug -[2025-03-25 8:13:03.890923] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 8:13:03.891078] [debug] Valor de JSON: {"uuid":"ba671c3e-6534-4a90-8087-604106521fa5","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 8:13:03.891309] [debug] Se actualiza a un cliente -[2025-03-25 8:13:03.894042] [debug] Valor de json_data: {"uuid":"ba671c3e-6534-4a90-8087-604106521fa5","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 8:13:03.894115] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 8:13:03.894155] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 8:13:03.894191] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 8:13:03.894227] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 8:13:03.894263] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 8:13:03.894296] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 8:13:03.894332] [debug] La etiqueta STRIPE no se agregó al cliente -[2025-03-25 8:13:03.894390] [debug] {"uuid":"ba671c3e-6534-4a90-8087-604106521fa5","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 8:13:12.256304] [notice] Logging level set to:debug -[2025-03-25 8:13:12.337121] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 8:13:12.337347] [debug] Valor de JSON: {"uuid":"b652230e-2c88-4c04-9a53-ad4b84038adc","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 8:13:12.337546] [debug] Se actualiza a un cliente -[2025-03-25 8:13:12.337631] [debug] Valor de json_data: {"uuid":"b652230e-2c88-4c04-9a53-ad4b84038adc","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 8:13:12.337687] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 8:13:12.337730] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 8:13:12.337771] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 8:13:12.337811] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 8:13:12.337852] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 8:13:12.337892] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 8:13:12.337933] [debug] La etiqueta STRIPE se agregará al cliente -[2025-03-25 8:13:12.338355] [info] Valor de notificationData: {"uuid":"b652230e-2c88-4c04-9a53-ad4b84038adc","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 8:13:12.338433] [info] Valor de attributes: [{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}] - -[2025-03-25 8:13:12.338479] [info] El cliente ya tiene un Stripe Customer ID: cus_S0THf9yIsb7EGq - -[2025-03-25 8:13:12.338545] [debug] {"uuid":"b652230e-2c88-4c04-9a53-ad4b84038adc","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 8:25:12.009906] [notice] Logging level set to:debug -[2025-03-25 8:25:12.083688] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 8:25:12.083988] [debug] Valor de JSON: {"uuid":"78a0b0e7-8eea-4e75-bbb3-4e1dfaefe795","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 8:25:12.084518] [debug] Se actualiza a un cliente -[2025-03-25 8:25:12.084743] [debug] Valor de json_data: {"uuid":"78a0b0e7-8eea-4e75-bbb3-4e1dfaefe795","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 8:25:12.084846] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 8:25:12.084925] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 8:25:12.085002] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 8:25:12.085079] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 8:25:12.085155] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 8:25:12.085232] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 8:25:12.085884] [debug] La etiqueta CREARCLABESTRIPE no se agregó al cliente -[2025-03-25 8:25:12.086087] [debug] {"uuid":"78a0b0e7-8eea-4e75-bbb3-4e1dfaefe795","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 8:25:24.426906] [notice] Logging level set to:debug -[2025-03-25 8:25:24.531210] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 8:25:24.531450] [debug] Valor de JSON: {"uuid":"e11ea5f7-d0ad-4c13-9205-18ec393b8168","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 8:25:24.531718] [debug] Se actualiza a un cliente -[2025-03-25 8:25:24.531877] [debug] Valor de json_data: {"uuid":"e11ea5f7-d0ad-4c13-9205-18ec393b8168","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 8:25:24.532062] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 8:25:24.532105] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 8:25:24.532138] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 8:25:24.532170] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 8:25:24.532201] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 8:25:24.532232] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 8:25:24.532279] [debug] La etiqueta CREARCLABESTRIPE se agregará al cliente -[2025-03-25 8:25:24.533220] [info] Valor de notificationData: {"uuid":"e11ea5f7-d0ad-4c13-9205-18ec393b8168","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 8:25:24.533315] [info] Valor de attributes: [{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}] - -[2025-03-25 8:25:24.533360] [info] El cliente ya tiene un Stripe Customer ID: cus_S0THf9yIsb7EGq - -[2025-03-25 8:25:24.604290] [info] Se eliminó la etiqueta 'CREARCLABESTRIPE' del cliente. - -[2025-03-25 8:25:24.607475] [debug] {"uuid":"e11ea5f7-d0ad-4c13-9205-18ec393b8168","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 8:26:26.552455] [notice] Logging level set to:debug -[2025-03-25 8:26:26.636881] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 8:26:26.637164] [debug] Valor de JSON: {"uuid":"0db704dd-4f32-4959-9edd-e477706f38e5","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 8:26:26.637469] [debug] Se actualiza a un cliente -[2025-03-25 8:26:26.637746] [debug] Valor de json_data: {"uuid":"0db704dd-4f32-4959-9edd-e477706f38e5","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 8:26:26.637811] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 8:26:26.637854] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 8:26:26.637900] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 8:26:26.637938] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 8:26:26.638147] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 8:26:26.639126] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 8:26:26.639379] [debug] La etiqueta CREARCLABESTRIPE no se agregó al cliente -[2025-03-25 8:26:26.639477] [debug] {"uuid":"0db704dd-4f32-4959-9edd-e477706f38e5","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 8:26:29.950479] [notice] Logging level set to:debug -[2025-03-25 8:26:30.034672] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 8:26:30.034928] [debug] Valor de JSON: {"uuid":"445d8658-7b68-4b35-be33-8316c93c9470","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 8:26:30.035125] [debug] Se actualiza a un cliente -[2025-03-25 8:26:30.035228] [debug] Valor de json_data: {"uuid":"445d8658-7b68-4b35-be33-8316c93c9470","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 8:26:30.035301] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 8:26:30.035365] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 8:26:30.035425] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 8:26:30.035486] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 8:26:30.035547] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 8:26:30.035609] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 8:26:30.035669] [debug] La etiqueta CREARCLABESTRIPE se agregará al cliente -[2025-03-25 8:26:30.036565] [info] Valor de notificationData: {"uuid":"445d8658-7b68-4b35-be33-8316c93c9470","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 8:26:30.036705] [info] Valor de attributes: [{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}] - -[2025-03-25 8:26:30.036773] [info] El cliente ya tiene un Stripe Customer ID: cus_S0THf9yIsb7EGq - -[2025-03-25 8:26:30.062181] [info] ID de la etiqueta 'CREARCLABESTRIPE': 3 - -[2025-03-25 8:26:30.118499] [info] Se eliminó la etiqueta 'CREARCLABESTRIPE' del cliente. - -[2025-03-25 8:26:30.118577] [debug] {"uuid":"445d8658-7b68-4b35-be33-8316c93c9470","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 8:31:41.147607] [notice] Logging level set to:debug -[2025-03-25 8:31:41.224340] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 8:31:41.224500] [debug] Valor de JSON: {"uuid":"d795ad37-be48-4e86-8fc1-293841bde258","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 8:31:41.224730] [debug] Se actualiza a un cliente -[2025-03-25 8:31:41.224828] [debug] Valor de json_data: {"uuid":"d795ad37-be48-4e86-8fc1-293841bde258","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 8:31:41.224877] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 8:31:41.224914] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 8:31:41.224948] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 8:31:41.224983] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 8:31:41.225017] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 8:31:41.225050] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 8:31:41.225085] [debug] La etiqueta CREARCLABESTRIPE no se agregó al cliente -[2025-03-25 8:31:41.225138] [debug] {"uuid":"d795ad37-be48-4e86-8fc1-293841bde258","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 8:32:00.305625] [notice] Logging level set to:debug -[2025-03-25 8:32:00.386413] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 8:32:00.386729] [debug] Valor de JSON: {"uuid":"cfb47556-0b9b-49a5-9316-1db65e7f8e52","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 8:32:00.387017] [debug] Se actualiza a un cliente -[2025-03-25 8:32:00.387126] [debug] Valor de json_data: {"uuid":"cfb47556-0b9b-49a5-9316-1db65e7f8e52","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 8:32:00.387201] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 8:32:00.387265] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 8:32:00.387331] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 8:32:00.387401] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 8:32:00.387463] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 8:32:00.387525] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 8:32:00.387603] [debug] La etiqueta CREARCLABESTRIPE se agregará al cliente -[2025-03-25 8:32:00.388597] [info] Valor de notificationData: {"uuid":"cfb47556-0b9b-49a5-9316-1db65e7f8e52","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 8:32:00.388736] [info] Valor de attributes: [{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}] - -[2025-03-25 8:32:00.388808] [info] El cliente ya tiene un Stripe Customer ID: cus_S0THf9yIsb7EGq - -[2025-03-25 8:32:00.424823] [info] valor de tagsIds: [{"id":4,"name":"EQUIPO A CREDITO","colorBackground":"#fed74a","colorText":"#444"},{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}] - -[2025-03-25 8:32:00.425010] [info] ID de la etiqueta 'CREARCLABESTRIPE': 4 - -[2025-03-25 8:32:00.460688] [info] Se eliminó la etiqueta 'CREARCLABESTRIPE' del cliente. - -[2025-03-25 8:32:00.460926] [debug] {"uuid":"cfb47556-0b9b-49a5-9316-1db65e7f8e52","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 8:45:50.121304] [notice] Logging level set to:debug -[2025-03-25 8:45:50.201838] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 8:45:50.202089] [debug] Valor de JSON: {"uuid":"6996cd97-8206-451b-9ce9-3744cd0f7028","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 8:45:50.202414] [debug] Se actualiza a un cliente -[2025-03-25 8:45:50.202527] [debug] Valor de json_data: {"uuid":"6996cd97-8206-451b-9ce9-3744cd0f7028","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 8:45:50.202694] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 8:45:50.202769] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 8:45:50.202831] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 8:45:50.202893] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 8:45:50.202955] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 8:45:50.203023] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 8:45:50.203088] [debug] La etiqueta CREARCLABESTRIPE no se agregó al cliente -[2025-03-25 8:45:50.203174] [debug] {"uuid":"6996cd97-8206-451b-9ce9-3744cd0f7028","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 8:45:54.103774] [notice] Logging level set to:debug -[2025-03-25 8:45:54.189382] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 8:45:54.189614] [debug] Valor de JSON: {"uuid":"b7d68b32-2389-41a6-ade9-2c5136a6896c","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 8:45:54.189819] [debug] Se actualiza a un cliente -[2025-03-25 8:45:54.189919] [debug] Valor de json_data: {"uuid":"b7d68b32-2389-41a6-ade9-2c5136a6896c","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 8:45:54.189997] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 8:45:54.190079] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 8:45:54.190144] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 8:45:54.190221] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 8:45:54.190284] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 8:45:54.190346] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 8:45:54.190414] [debug] La etiqueta CREARCLABESTRIPE se agregará al cliente -[2025-03-25 8:45:54.191412] [info] Valor de notificationData: {"uuid":"b7d68b32-2389-41a6-ade9-2c5136a6896c","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 8:45:54.191540] [info] Valor de attributes: [{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}] - -[2025-03-25 8:45:54.191608] [info] El cliente ya tiene un Stripe Customer ID: cus_S0THf9yIsb7EGq - -[2025-03-25 8:45:54.224641] [info] ID de la etiqueta 'CREARCLABESTRIPE': 5 - -[2025-03-25 8:45:54.265326] [info] Se eliminó la etiqueta 'CREARCLABESTRIPE' del cliente. - -[2025-03-25 8:45:54.265407] [debug] {"uuid":"b7d68b32-2389-41a6-ade9-2c5136a6896c","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 8:46:51.136754] [notice] Logging level set to:debug -[2025-03-25 8:46:51.215904] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 8:46:51.216118] [debug] Valor de JSON: {"uuid":"7ce30d0a-ca87-40ea-afb8-0a11a05eb523","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":6,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 8:46:51.216382] [debug] Se actualiza a un cliente -[2025-03-25 8:46:51.216464] [debug] Valor de json_data: {"uuid":"7ce30d0a-ca87-40ea-afb8-0a11a05eb523","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":6,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 8:46:51.216514] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 8:46:51.216552] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 8:46:51.216589] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 8:46:51.216626] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 8:46:51.216665] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 8:46:51.216701] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 8:46:51.216738] [debug] La etiqueta CREARCLABESTRIPE se agregará al cliente -[2025-03-25 8:46:51.217616] [info] Valor de notificationData: {"uuid":"7ce30d0a-ca87-40ea-afb8-0a11a05eb523","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":6,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 8:46:51.217710] [info] Valor de attributes: [{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}] - -[2025-03-25 8:46:51.217753] [info] El cliente ya tiene un Stripe Customer ID: cus_S0THf9yIsb7EGq - -[2025-03-25 8:46:51.245876] [info] ID de la etiqueta 'CREARCLABESTRIPE': 6 - -[2025-03-25 8:46:51.277986] [info] Se eliminó la etiqueta 'CREARCLABESTRIPE' del cliente. - -[2025-03-25 8:46:51.278168] [debug] {"uuid":"7ce30d0a-ca87-40ea-afb8-0a11a05eb523","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":6,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 8:51:03.294269] [notice] Logging level set to:debug -[2025-03-25 8:51:03.369309] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 8:51:03.369532] [debug] Valor de JSON: {"uuid":"2687886c-ebe0-4420-906b-6da593cc3c21","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 8:51:03.369805] [debug] Se actualiza a un cliente -[2025-03-25 8:51:03.369950] [debug] Valor de json_data: {"uuid":"2687886c-ebe0-4420-906b-6da593cc3c21","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 8:51:03.370027] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 8:51:03.370106] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 8:51:03.370171] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 8:51:03.370234] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 8:51:03.370296] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 8:51:03.370357] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 8:51:03.370419] [debug] La etiqueta CREARCLABESTRIPE se agregará al cliente -[2025-03-25 8:51:03.371320] [info] Valor de notificationData: {"uuid":"2687886c-ebe0-4420-906b-6da593cc3c21","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 8:51:03.371433] [info] Valor de attributes: [{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}] - -[2025-03-25 8:51:03.371500] [info] El cliente ya tiene un Stripe Customer ID: cus_S0THf9yIsb7EGq - -[2025-03-25 8:51:03.396620] [info] ID de la etiqueta 'CREARCLABESTRIPE': 7 - -[2025-03-25 8:51:03.418409] [error] Client error: `DELETE http://localhost/crm/api/v1.0/clients/170/remove-tag/7` resulted in a `405 Method Not Allowed` response: -{"code":405,"message":"No route found for \"DELETE http:\/\/localhost\/crm\/api\/v1.0\/clients\/170\/remove-tag\/7\": Me (truncated...) - -[2025-03-25 8:51:03.418608] [info] #0 /data/ucrm/data/plugins/siip-whatsapp-notifications/vendor/guzzlehttp/guzzle/src/Middleware.php(72): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response), NULL, Array, NULL) -#1 /data/ucrm/data/plugins/siip-whatsapp-notifications/vendor/guzzlehttp/promises/src/Promise.php(209): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Response)) -#2 /data/ucrm/data/plugins/siip-whatsapp-notifications/vendor/guzzlehttp/promises/src/Promise.php(158): GuzzleHttp\Promise\Promise::callHandler(1, Object(GuzzleHttp\Psr7\Response), NULL) -#3 /data/ucrm/data/plugins/siip-whatsapp-notifications/vendor/guzzlehttp/promises/src/TaskQueue.php(52): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}() -#4 /data/ucrm/data/plugins/siip-whatsapp-notifications/vendor/guzzlehttp/promises/src/Promise.php(251): GuzzleHttp\Promise\TaskQueue->run(true) -#5 /data/ucrm/data/plugins/siip-whatsapp-notifications/vendor/guzzlehttp/promises/src/Promise.php(227): GuzzleHttp\Promise\Promise->invokeWaitFn() -#6 /data/ucrm/data/plugins/siip-whatsapp-notifications/vendor/guzzlehttp/promises/src/Promise.php(272): GuzzleHttp\Promise\Promise->waitIfPending() -#7 /data/ucrm/data/plugins/siip-whatsapp-notifications/vendor/guzzlehttp/promises/src/Promise.php(229): GuzzleHttp\Promise\Promise->invokeWaitList() -#8 /data/ucrm/data/plugins/siip-whatsapp-notifications/vendor/guzzlehttp/promises/src/Promise.php(69): GuzzleHttp\Promise\Promise->waitIfPending() -#9 /data/ucrm/data/plugins/siip-whatsapp-notifications/vendor/guzzlehttp/guzzle/src/Client.php(189): GuzzleHttp\Promise\Promise->wait() -#10 /data/ucrm/data/plugins/siip-whatsapp-notifications/vendor/ubnt/ucrm-plugin-sdk/src/UcrmPluginSdk/Service/UcrmApi.php(218): GuzzleHttp\Client->request('DELETE', 'clients/170/rem...', Array) -#11 /data/ucrm/data/plugins/siip-whatsapp-notifications/vendor/ubnt/ucrm-plugin-sdk/src/UcrmPluginSdk/Service/UcrmApi.php(200): Ubnt\UcrmPluginSdk\Service\UcrmApi->request('DELETE', 'clients/170/rem...') -#12 /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/AbstractStripeOperationsFacade.php(182): Ubnt\UcrmPluginSdk\Service\UcrmApi->delete('clients/170/rem...') -#13 /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Plugin.php(416): SmsNotifier\Facade\AbstractStripeOperationsFacade->createStripeClient(Object(SmsNotifier\Data\NotificationData), true) -#14 /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Plugin.php(84): SmsNotifier\Plugin->processHttpRequest() -#15 /data/ucrm/data/plugins/siip-whatsapp-notifications/main.php(13): SmsNotifier\Plugin->run() -#16 /data/ucrm/data/plugins/siip-whatsapp-notifications/main.php(22): {closure}() -#17 /data/ucrm/data/plugins/siip-whatsapp-notifications/public.php(5): require_once('/data/ucrm/data...') -#18 /usr/src/ucrm/web/_plugins/siip-whatsapp-notifications/public.php(3): require_once('/data/ucrm/data...') -#19 {main} -[2025-03-25 8:53:07.277089] [notice] Logging level set to:debug -[2025-03-25 8:53:07.353178] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 8:53:07.353401] [debug] Valor de JSON: {"uuid":"9d354a8f-077a-4bc1-b69d-e9120fbe6982","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 8:53:07.353677] [debug] Se actualiza a un cliente -[2025-03-25 8:53:07.353768] [debug] Valor de json_data: {"uuid":"9d354a8f-077a-4bc1-b69d-e9120fbe6982","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 8:53:07.353822] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 8:53:07.353866] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 8:53:07.353905] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 8:53:07.353945] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 8:53:07.353985] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 8:53:07.354028] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 8:53:07.354085] [debug] La etiqueta CREARCLABESTRIPE no se agregó al cliente -[2025-03-25 8:53:07.354151] [debug] {"uuid":"9d354a8f-077a-4bc1-b69d-e9120fbe6982","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 8:53:09.563154] [notice] Logging level set to:debug -[2025-03-25 8:53:09.644114] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 8:53:09.644282] [debug] Valor de JSON: {"uuid":"1f003e5f-b24f-431b-8afa-615d608da32e","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 8:53:09.644428] [debug] Se actualiza a un cliente -[2025-03-25 8:53:09.644500] [debug] Valor de json_data: {"uuid":"1f003e5f-b24f-431b-8afa-615d608da32e","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 8:53:09.644550] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 8:53:09.644592] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 8:53:09.644630] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 8:53:09.644669] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 8:53:09.644706] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 8:53:09.644742] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 8:53:09.644779] [debug] La etiqueta CREARCLABESTRIPE se agregará al cliente -[2025-03-25 8:53:09.645690] [info] Valor de notificationData: {"uuid":"1f003e5f-b24f-431b-8afa-615d608da32e","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 8:53:09.645791] [info] Valor de attributes: [{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}] - -[2025-03-25 8:53:09.645834] [info] El cliente ya tiene un Stripe Customer ID: cus_S0THf9yIsb7EGq - -[2025-03-25 8:53:09.688780] [info] ID de la etiqueta 'CREARCLABESTRIPE': 7 - -[2025-03-25 8:53:09.798855] [info] Se eliminó la etiqueta 'CREARCLABESTRIPE' del cliente. - -[2025-03-25 8:53:09.799079] [debug] {"uuid":"1f003e5f-b24f-431b-8afa-615d608da32e","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 8:53:09.915249] [notice] Logging level set to:debug -[2025-03-25 8:53:09.999696] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 8:53:09.999869] [debug] Valor de JSON: {"uuid":"86601e52-fbdb-417e-8e6c-b4403ded8021","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 8:53:10.000036] [debug] Se actualiza a un cliente -[2025-03-25 8:53:10.000112] [debug] Valor de json_data: {"uuid":"86601e52-fbdb-417e-8e6c-b4403ded8021","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 8:53:10.000272] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 8:53:10.000323] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 8:53:10.000364] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 8:53:10.000401] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 8:53:10.000438] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 8:53:10.000474] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 8:53:10.000511] [debug] La etiqueta CREARCLABESTRIPE no se agregó al cliente -[2025-03-25 8:53:10.000571] [debug] {"uuid":"86601e52-fbdb-417e-8e6c-b4403ded8021","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 8:53:31.139900] [notice] Logging level set to:debug -[2025-03-25 8:53:31.222156] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 8:53:31.222399] [debug] Valor de JSON: {"uuid":"d6854f9d-e21d-4b81-a7ea-ca120ff91945","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 8:53:31.222645] [debug] Se actualiza a un cliente -[2025-03-25 8:53:31.222721] [debug] Valor de json_data: {"uuid":"d6854f9d-e21d-4b81-a7ea-ca120ff91945","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 8:53:31.222768] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 8:53:31.222805] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 8:53:31.222841] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 8:53:31.222876] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 8:53:31.222909] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 8:53:31.222948] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 8:53:31.222982] [debug] La etiqueta CREARCLABESTRIPE se agregará al cliente -[2025-03-25 8:53:31.223799] [info] Valor de notificationData: {"uuid":"d6854f9d-e21d-4b81-a7ea-ca120ff91945","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 8:53:31.224040] [info] Valor de attributes: [{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}] - -[2025-03-25 8:53:31.224098] [info] El cliente ya tiene un Stripe Customer ID: cus_S0THf9yIsb7EGq - -[2025-03-25 8:53:31.249764] [info] ID de la etiqueta 'CREARCLABESTRIPE': 7 - -[2025-03-25 8:53:31.378592] [info] Se eliminó la etiqueta 'CREARCLABESTRIPE' del cliente. - -[2025-03-25 8:53:31.378796] [debug] {"uuid":"d6854f9d-e21d-4b81-a7ea-ca120ff91945","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 8:53:31.496438] [notice] Logging level set to:debug -[2025-03-25 8:53:31.574502] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 8:53:31.574713] [debug] Valor de JSON: {"uuid":"0282a9a2-0bd1-42d4-912e-113038c8cded","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 8:53:31.574875] [debug] Se actualiza a un cliente -[2025-03-25 8:53:31.574950] [debug] Valor de json_data: {"uuid":"0282a9a2-0bd1-42d4-912e-113038c8cded","changeType":"edit","entity":"client","entityId":"170","eventName":"client.edit","extraData":{"entity":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 8:53:31.575000] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 8:53:31.575038] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 8:53:31.575077] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 8:53:31.575114] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 8:53:31.575150] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 8:53:31.575186] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 8:53:31.575222] [debug] La etiqueta CREARCLABESTRIPE no se agregó al cliente -[2025-03-25 8:53:31.575280] [debug] {"uuid":"0282a9a2-0bd1-42d4-912e-113038c8cded","changeType":"edit","entity":"client","entityId":170,"message":null,"clientId":170,"eventName":"client.edit","clientData":{"id":170,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"San Luis 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"San Luis 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-03-24T00:00:00-0600","leadConvertedAt":"2025-03-24T15:01:22-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Charicuas","lastName":"Quinero","username":null,"contacts":[{"id":176,"clientId":170,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":192,"clientId":170,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0THf9yIsb7EGq","clientZoneVisible":true},{"id":193,"clientId":170,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180755648197581","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":22.00854045,"addressGpsLon":-99.0272544,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 8:54:44.166831] [notice] Logging level set to:debug -[2025-03-25 8:54:44.375909] [debug] valor el evento recibido por webhook: service.add - -[2025-03-25 8:54:44.376195] [debug] Valor de JSON: {"uuid":"ffc77a5e-3b80-4888-b41b-b7b13cd8976b","changeType":"insert","entity":"service","entityId":"151","eventName":"service.add","extraData":{"entity":{"id":151,"prepaid":false,"clientId":160,"status":1,"name":"Basico 300","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-03-25T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"186ad538-28ae-4d60-8eea-493e69d48d71","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":null}} - -[2025-03-25 8:54:50.423994] [notice] Logging level set to:debug -[2025-03-25 8:54:50.676202] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-25 8:54:50.676430] [debug] Valor de JSON: {"uuid":"4525f356-3dd3-424f-9f31-35f75f48d7c3","changeType":"insert","entity":"invoice","entityId":"1706","eventName":"invoice.add_draft","extraData":{"entity":{"id":1706,"clientId":160,"number":"001657","createdDate":"2025-03-25T02:54:49-0600","dueDate":"2025-04-08T02:54:49-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-25T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1709,"type":"service","label":"Basico 300 25\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":0.23333333333333334,"total":70,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":151,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":70,"discount":null,"discountLabel":"Descuento","taxes":[],"total":70,"amountPaid":0,"totalUntaxed":70,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":70,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jimy","clientLastName":"Turner","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Jalisco","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-25 8:54:50.676632] [debug] Adición de borrador de Factura - -[2025-03-25 8:54:50.676763] [debug] {"uuid":"4525f356-3dd3-424f-9f31-35f75f48d7c3","changeType":"insert","entity":"invoice","entityId":1706,"message":null,"clientId":160,"eventName":"invoice.add_draft","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1706,"clientId":160,"number":"001657","createdDate":"2025-03-25T02:54:49-0600","dueDate":"2025-04-08T02:54:49-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-25T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1709,"type":"service","label":"Basico 300 25\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":0.23333333333333,"total":70,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":151,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":70,"discount":null,"discountLabel":"Descuento","taxes":[],"total":70,"amountPaid":0,"totalUntaxed":70,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":70,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jimy","clientLastName":"Turner","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Jalisco","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-25 8:54:50.792952] [notice] Logging level set to:debug -[2025-03-25 8:54:50.977981] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-25 8:54:50.978226] [debug] Valor de JSON: {"uuid":"1b2fc3bb-318a-4dd8-ae32-bb2f76b21770","changeType":"draft_approved","entity":"invoice","entityId":"1706","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1706,"clientId":160,"number":"001657","createdDate":"2025-03-25T02:54:49-0600","dueDate":"2025-04-08T02:54:49-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-25T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1709,"type":"service","label":"Basico 300 25\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":0.23333333333333334,"total":70,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":151,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":70,"discount":null,"discountLabel":"Descuento","taxes":[],"total":70,"amountPaid":0,"totalUntaxed":70,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":70,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jimy","clientLastName":"Turner","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Jalisco","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-25 8:54:50.981405] [debug] Aprobación de Factura - -[2025-03-25 8:54:50.981532] [debug] {"uuid":"1b2fc3bb-318a-4dd8-ae32-bb2f76b21770","changeType":"draft_approved","entity":"invoice","entityId":1706,"message":null,"clientId":160,"eventName":"invoice.draft_approved","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1706,"clientId":160,"number":"001657","createdDate":"2025-03-25T02:54:49-0600","dueDate":"2025-04-08T02:54:49-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-25T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1709,"type":"service","label":"Basico 300 25\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":0.23333333333333,"total":70,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":151,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":70,"discount":null,"discountLabel":"Descuento","taxes":[],"total":70,"amountPaid":0,"totalUntaxed":70,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":70,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jimy","clientLastName":"Turner","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Jalisco","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-25 8:54:51.092502] [notice] Logging level set to:debug -[2025-03-25 8:54:51.341118] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-25 8:54:51.341306] [debug] Valor de JSON: {"uuid":"f0db0f57-945b-4f12-943a-96f02e7fdee1","changeType":"insert","entity":"invoice","entityId":"1707","eventName":"invoice.add_draft","extraData":{"entity":{"id":1707,"clientId":160,"number":"001658","createdDate":"2025-03-25T02:54:49-0600","dueDate":"2025-04-08T02:54:49-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-25T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1710,"type":"service","label":"Basico 300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":151,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jimy","clientLastName":"Turner","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Jalisco","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-25 8:54:51.341455] [debug] Adición de borrador de Factura - -[2025-03-25 8:54:51.341555] [debug] {"uuid":"f0db0f57-945b-4f12-943a-96f02e7fdee1","changeType":"insert","entity":"invoice","entityId":1707,"message":null,"clientId":160,"eventName":"invoice.add_draft","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1707,"clientId":160,"number":"001658","createdDate":"2025-03-25T02:54:49-0600","dueDate":"2025-04-08T02:54:49-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-25T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1710,"type":"service","label":"Basico 300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":151,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jimy","clientLastName":"Turner","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Jalisco","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-25 8:54:51.460655] [notice] Logging level set to:debug -[2025-03-25 8:54:51.664011] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-25 8:54:51.664083] [debug] Valor de JSON: {"uuid":"39134cec-80a6-4f3b-ac5a-7536686fbb3c","changeType":"draft_approved","entity":"invoice","entityId":"1707","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1707,"clientId":160,"number":"001658","createdDate":"2025-03-25T02:54:49-0600","dueDate":"2025-04-08T02:54:49-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-25T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1710,"type":"service","label":"Basico 300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":151,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jimy","clientLastName":"Turner","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Jalisco","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-25 8:54:51.664186] [debug] Aprobación de Factura - -[2025-03-25 8:54:51.664232] [debug] {"uuid":"39134cec-80a6-4f3b-ac5a-7536686fbb3c","changeType":"draft_approved","entity":"invoice","entityId":1707,"message":null,"clientId":160,"eventName":"invoice.draft_approved","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1707,"clientId":160,"number":"001658","createdDate":"2025-03-25T02:54:49-0600","dueDate":"2025-04-08T02:54:49-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-25T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1710,"type":"service","label":"Basico 300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":151,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jimy","clientLastName":"Turner","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Jalisco","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-25 8:54:51.781913] [notice] Logging level set to:debug -[2025-03-25 8:54:51.921144] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-25 8:54:51.921366] [debug] Valor de JSON: {"uuid":"ccbee1b5-3ca0-4c1d-b677-cf9121035073","changeType":"edit","entity":"service","entityId":"151","eventName":"service.edit","extraData":{"entity":{"id":151,"prepaid":false,"clientId":160,"status":1,"name":"Basico 300","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-03-25T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"186ad538-28ae-4d60-8eea-493e69d48d71","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":{"id":151,"prepaid":false,"clientId":160,"status":1,"name":"Basico 300","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-03-25T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"186ad538-28ae-4d60-8eea-493e69d48d71","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}} - -[2025-03-25 8:54:51.921673] [debug] Se editó el servicio a un cliente - -[2025-03-25 8:54:58.808240] [notice] Logging level set to:debug -[2025-03-25 8:54:58.889539] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 8:54:58.889708] [debug] Valor de JSON: {"uuid":"7ebd37e4-0645-43d0-91a7-1aa566977b29","changeType":"edit","entity":"client","entityId":"160","eventName":"client.edit","extraData":{"entity":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 8:54:58.889873] [debug] Se actualiza a un cliente -[2025-03-25 8:54:58.889945] [debug] Valor de json_data: {"uuid":"7ebd37e4-0645-43d0-91a7-1aa566977b29","changeType":"edit","entity":"client","entityId":"160","eventName":"client.edit","extraData":{"entity":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 8:54:58.889993] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 8:54:58.890032] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 8:54:58.890085] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 8:54:58.890121] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 8:54:58.890156] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 8:54:58.890189] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 8:54:58.890224] [debug] La etiqueta CREARCLABESTRIPE se agregará al cliente -[2025-03-25 8:54:58.891128] [info] Valor de notificationData: {"uuid":"7ebd37e4-0645-43d0-91a7-1aa566977b29","changeType":"edit","entity":"client","entityId":160,"message":null,"clientId":160,"eventName":"client.edit","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 8:54:58.891221] [info] Valor de attributes: [] - -[2025-03-25 8:54:58.918881] [info] ID de la etiqueta 'CREARCLABESTRIPE': 7 - -[2025-03-25 8:54:58.919029] [info] Creando el Customer Stripe - -[2025-03-25 8:54:58.919076] [info] El cliente a procesar es : Jimy Turner - -[2025-03-25 8:54:58.919142] [info] Datos notificationData: {"uuid":"7ebd37e4-0645-43d0-91a7-1aa566977b29","changeType":"edit","entity":"client","entityId":160,"message":null,"clientId":160,"eventName":"client.edit","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 8:54:58.919303] [info] Ya dentro del FOREACH!!! - -[2025-03-25 8:54:58.919346] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-25 8:54:58.919384] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-25 8:54:58.919423] [info] SE VALIDA EL EMAIL!!! - -[2025-03-25 8:54:58.920375] [info] ahora se procede a validar el teléfono!!! - -[2025-03-25 8:54:58.920533] [info] AHORA SE MANDA A CREAR EL CLIENTE A STRIPE!!! - -[2025-03-25 8:54:59.343226] [info] {"id":"cus_S0UEM7qBp7d2Ck","object":"customer","address":null,"balance":0,"created":1742892899,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 160","discount":null,"email":"jymy@gmail.com","invoice_prefix":"49D2FE8B","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":[],"name":"Jimy Turner","next_invoice_sequence":1,"phone":"4186784656","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-25 8:55:01.570241] [info] {"id":"cus_S0UEM7qBp7d2Ck","object":"customer","address":null,"balance":0,"created":1742892899,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 160","discount":null,"email":"jymy@gmail.com","invoice_prefix":"49D2FE8B","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":{"ucrm_client_id":"160"},"name":"Jimy Turner","next_invoice_sequence":1,"phone":"4186784656","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-25 8:55:01.977075] [notice] Logging level set to:debug -[2025-03-25 8:55:01.977271] [info] No UUID found in the webhook data -[2025-03-25 8:55:03.925945] [info] {"object":"funding_instructions","bank_transfer":{"country":"MX","financial_addresses":[{"spei":{"account_holder_address":{"city":"Ciudad de M\u00e9xico","country":"MX","line1":"Av Paseo de la Reforma 180 piso 29 col Juarez","line2":null,"postal_code":"06600","state":"Ciudad de M\u00e9xico"},"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":"124180948265819567"},"supported_networks":["spei"],"type":"spei"}],"type":"mx_bank_transfer"},"currency":"mxn","funding_type":"bank_transfer","livemode":false} - -[2025-03-25 8:55:04.159621] [info] CLABE guardada en metadata: 124180948265819567 - -[2025-03-25 8:55:04.386478] [info] Error al hacer el patch al CRM: Client error: `PATCH https://172.16.5.134/crm/api/v1.0/clients/160` resulted in a `415 Unsupported Media Type` response: -{"code":415,"message":""} - - -[2025-03-25 8:55:04.455173] [notice] Logging level set to:debug -[2025-03-25 8:55:04.455351] [info] No UUID found in the webhook data -[2025-03-25 8:55:04.527141] [info] Se eliminó la etiqueta 'CREARCLABESTRIPE' del cliente. - -[2025-03-25 8:55:04.527219] [debug] {"uuid":"7ebd37e4-0645-43d0-91a7-1aa566977b29","changeType":"edit","entity":"client","entityId":160,"message":null,"clientId":160,"eventName":"client.edit","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 8:55:04.649075] [notice] Logging level set to:debug -[2025-03-25 8:55:04.751312] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 8:55:04.751395] [debug] Valor de JSON: {"uuid":"cd1d8aa8-2096-45ed-9467-ee19dd231036","changeType":"edit","entity":"client","entityId":"160","eventName":"client.edit","extraData":{"entity":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 8:55:04.751595] [debug] Se actualiza a un cliente -[2025-03-25 8:55:04.751632] [debug] Valor de json_data: {"uuid":"cd1d8aa8-2096-45ed-9467-ee19dd231036","changeType":"edit","entity":"client","entityId":"160","eventName":"client.edit","extraData":{"entity":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 8:55:04.751647] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 8:55:04.751657] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 8:55:04.751663] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 8:55:04.751672] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 8:55:04.751678] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 8:55:04.751686] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 8:55:04.751714] [debug] {"uuid":"cd1d8aa8-2096-45ed-9467-ee19dd231036","changeType":"edit","entity":"client","entityId":160,"message":null,"clientId":160,"eventName":"client.edit","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 8:55:47.433016] [notice] Logging level set to:debug -[2025-03-25 8:55:47.511174] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 8:55:47.511266] [debug] Valor de JSON: {"uuid":"253b7b9a-44dc-48d4-90b1-0da98ecfe09c","changeType":"edit","entity":"client","entityId":"160","eventName":"client.edit","extraData":{"entity":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 8:55:47.511473] [debug] Se actualiza a un cliente -[2025-03-25 8:55:47.511517] [debug] Valor de json_data: {"uuid":"253b7b9a-44dc-48d4-90b1-0da98ecfe09c","changeType":"edit","entity":"client","entityId":"160","eventName":"client.edit","extraData":{"entity":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 8:55:47.511596] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 8:55:47.511640] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 8:55:47.511686] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 8:55:47.511723] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 8:55:47.511761] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 8:55:47.511797] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 8:55:47.511835] [debug] La etiqueta CREARCLABESTRIPE se agregará al cliente -[2025-03-25 8:55:47.512850] [info] Valor de notificationData: {"uuid":"253b7b9a-44dc-48d4-90b1-0da98ecfe09c","changeType":"edit","entity":"client","entityId":160,"message":null,"clientId":160,"eventName":"client.edit","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 8:55:47.512938] [info] Valor de attributes: [] - -[2025-03-25 8:55:47.538486] [info] ID de la etiqueta 'CREARCLABESTRIPE': 7 - -[2025-03-25 8:55:47.538620] [info] Creando el Customer Stripe - -[2025-03-25 8:55:47.538675] [info] El cliente a procesar es : Jimy Turner - -[2025-03-25 8:55:47.538738] [info] Datos notificationData: {"uuid":"253b7b9a-44dc-48d4-90b1-0da98ecfe09c","changeType":"edit","entity":"client","entityId":160,"message":null,"clientId":160,"eventName":"client.edit","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 8:55:47.538793] [info] Ya dentro del FOREACH!!! - -[2025-03-25 8:55:47.538831] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-25 8:55:47.538871] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-25 8:55:47.538909] [info] SE VALIDA EL EMAIL!!! - -[2025-03-25 8:55:47.539597] [info] ahora se procede a validar el teléfono!!! - -[2025-03-25 8:55:47.539743] [info] AHORA SE MANDA A CREAR EL CLIENTE A STRIPE!!! - -[2025-03-25 8:55:47.946984] [info] {"id":"cus_S0UFtXhApDAlmx","object":"customer","address":null,"balance":0,"created":1742892947,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 160","discount":null,"email":"jymy@gmail.com","invoice_prefix":"BE4E8E5E","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":[],"name":"Jimy Turner","next_invoice_sequence":1,"phone":"4186784656","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-25 8:55:50.157113] [info] {"id":"cus_S0UFtXhApDAlmx","object":"customer","address":null,"balance":0,"created":1742892947,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 160","discount":null,"email":"jymy@gmail.com","invoice_prefix":"BE4E8E5E","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":{"ucrm_client_id":"160"},"name":"Jimy Turner","next_invoice_sequence":1,"phone":"4186784656","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-25 8:55:50.462888] [notice] Logging level set to:debug -[2025-03-25 8:55:50.463051] [info] No UUID found in the webhook data -[2025-03-25 8:55:52.475290] [info] {"object":"funding_instructions","bank_transfer":{"country":"MX","financial_addresses":[{"spei":{"account_holder_address":{"city":"Ciudad de M\u00e9xico","country":"MX","line1":"Av Paseo de la Reforma 180 piso 29 col Juarez","line2":null,"postal_code":"06600","state":"Ciudad de M\u00e9xico"},"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":"124180994621416684"},"supported_networks":["spei"],"type":"spei"}],"type":"mx_bank_transfer"},"currency":"mxn","funding_type":"bank_transfer","livemode":false} - -[2025-03-25 8:55:52.680044] [info] CLABE guardada en metadata: 124180994621416684 - -[2025-03-25 8:55:52.845947] [info] Error al hacer el patch al CRM: Client error: `PATCH https://172.16.5.134/crm/api/v1.0/clients/160` resulted in a `415 Unsupported Media Type` response: -{"code":415,"message":""} - - -[2025-03-25 8:55:52.964092] [info] Se eliminó la etiqueta 'CREARCLABESTRIPE' del cliente. - -[2025-03-25 8:55:52.964173] [debug] {"uuid":"253b7b9a-44dc-48d4-90b1-0da98ecfe09c","changeType":"edit","entity":"client","entityId":160,"message":null,"clientId":160,"eventName":"client.edit","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 8:55:53.098915] [notice] Logging level set to:debug -[2025-03-25 8:55:53.167444] [notice] Logging level set to:debug -[2025-03-25 8:55:53.167529] [info] No UUID found in the webhook data -[2025-03-25 8:55:53.253981] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 8:55:53.254297] [debug] Valor de JSON: {"uuid":"a9dff932-c21e-43e5-b039-2a7fed7890e0","changeType":"edit","entity":"client","entityId":"160","eventName":"client.edit","extraData":{"entity":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 8:55:53.254578] [debug] Se actualiza a un cliente -[2025-03-25 8:55:53.254683] [debug] Valor de json_data: {"uuid":"a9dff932-c21e-43e5-b039-2a7fed7890e0","changeType":"edit","entity":"client","entityId":"160","eventName":"client.edit","extraData":{"entity":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 8:55:53.254861] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 8:55:53.254940] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 8:55:53.255003] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 8:55:53.255065] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 8:55:53.255126] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 8:55:53.255188] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 8:55:53.255274] [debug] {"uuid":"a9dff932-c21e-43e5-b039-2a7fed7890e0","changeType":"edit","entity":"client","entityId":160,"message":null,"clientId":160,"eventName":"client.edit","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:01:28.035931] [notice] Logging level set to:debug -[2025-03-25 9:01:28.137887] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 9:01:28.138118] [debug] Valor de JSON: {"uuid":"4f7d648f-151b-453d-932a-16143ac1ff9d","changeType":"edit","entity":"client","entityId":"160","eventName":"client.edit","extraData":{"entity":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 9:01:28.138365] [debug] Se actualiza a un cliente -[2025-03-25 9:01:28.138438] [debug] Valor de json_data: {"uuid":"4f7d648f-151b-453d-932a-16143ac1ff9d","changeType":"edit","entity":"client","entityId":"160","eventName":"client.edit","extraData":{"entity":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 9:01:28.138504] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 9:01:28.138545] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 9:01:28.138598] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 9:01:28.138637] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 9:01:28.138674] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 9:01:28.138710] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 9:01:28.138768] [debug] {"uuid":"4f7d648f-151b-453d-932a-16143ac1ff9d","changeType":"edit","entity":"client","entityId":160,"message":null,"clientId":160,"eventName":"client.edit","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:01:35.517858] [notice] Logging level set to:debug -[2025-03-25 9:01:35.607959] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 9:01:35.608114] [debug] Valor de JSON: {"uuid":"caf345c0-fb6a-4660-941e-500131383a9f","changeType":"edit","entity":"client","entityId":"160","eventName":"client.edit","extraData":{"entity":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 9:01:35.608283] [debug] Se actualiza a un cliente -[2025-03-25 9:01:35.608355] [debug] Valor de json_data: {"uuid":"caf345c0-fb6a-4660-941e-500131383a9f","changeType":"edit","entity":"client","entityId":"160","eventName":"client.edit","extraData":{"entity":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 9:01:35.608403] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 9:01:35.608444] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 9:01:35.608483] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 9:01:35.608520] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 9:01:35.608556] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 9:01:35.608592] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 9:01:35.608629] [debug] La etiqueta CREARCLABESTRIPE se agregará al cliente -[2025-03-25 9:01:35.609920] [info] Valor de notificationData: {"uuid":"caf345c0-fb6a-4660-941e-500131383a9f","changeType":"edit","entity":"client","entityId":160,"message":null,"clientId":160,"eventName":"client.edit","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:01:35.610021] [info] Valor de attributes: [] - -[2025-03-25 9:01:35.656308] [info] ID de la etiqueta 'CREARCLABESTRIPE': 7 - -[2025-03-25 9:01:35.656371] [info] Creando el Customer Stripe - -[2025-03-25 9:01:35.656385] [info] El cliente a procesar es : Jimy Turner - -[2025-03-25 9:01:35.656418] [info] Datos notificationData: {"uuid":"caf345c0-fb6a-4660-941e-500131383a9f","changeType":"edit","entity":"client","entityId":160,"message":null,"clientId":160,"eventName":"client.edit","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:01:35.656439] [info] Ya dentro del FOREACH!!! - -[2025-03-25 9:01:35.656446] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-25 9:01:35.656455] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-25 9:01:35.656464] [info] SE VALIDA EL EMAIL!!! - -[2025-03-25 9:01:35.658174] [info] ahora se procede a validar el teléfono!!! - -[2025-03-25 9:01:35.658296] [info] AHORA SE MANDA A CREAR EL CLIENTE A STRIPE!!! - -[2025-03-25 9:01:36.080898] [info] {"id":"cus_S0ULLayep0nL2u","object":"customer","address":null,"balance":0,"created":1742893295,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 160","discount":null,"email":"jymy@gmail.com","invoice_prefix":"B36F3F74","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":[],"name":"Jimy Turner","next_invoice_sequence":1,"phone":"4186784656","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-25 9:01:38.299201] [info] {"id":"cus_S0ULLayep0nL2u","object":"customer","address":null,"balance":0,"created":1742893295,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 160","discount":null,"email":"jymy@gmail.com","invoice_prefix":"B36F3F74","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":{"ucrm_client_id":"160"},"name":"Jimy Turner","next_invoice_sequence":1,"phone":"4186784656","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-25 9:01:38.596501] [notice] Logging level set to:debug -[2025-03-25 9:01:38.596705] [info] No UUID found in the webhook data -[2025-03-25 9:01:40.691510] [info] {"object":"funding_instructions","bank_transfer":{"country":"MX","financial_addresses":[{"spei":{"account_holder_address":{"city":"Ciudad de M\u00e9xico","country":"MX","line1":"Av Paseo de la Reforma 180 piso 29 col Juarez","line2":null,"postal_code":"06600","state":"Ciudad de M\u00e9xico"},"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":"124180241104151588"},"supported_networks":["spei"],"type":"spei"}],"type":"mx_bank_transfer"},"currency":"mxn","funding_type":"bank_transfer","livemode":false} - -[2025-03-25 9:01:40.931457] [info] CLABE guardada en metadata: 124180241104151588 - -[2025-03-25 9:01:41.115497] [info] Error al hacer el patch al CRM: Client error: `PATCH https://172.16.5.134/crm/api/v1.0/clients/160` resulted in a `415 Unsupported Media Type` response: -{"code":415,"message":""} - - -[2025-03-25 9:01:41.227113] [notice] Logging level set to:debug -[2025-03-25 9:01:41.227201] [info] No UUID found in the webhook data -[2025-03-25 9:01:41.241471] [info] Se eliminó la etiqueta 'CREARCLABESTRIPE' del cliente. - -[2025-03-25 9:01:41.241676] [debug] {"uuid":"caf345c0-fb6a-4660-941e-500131383a9f","changeType":"edit","entity":"client","entityId":160,"message":null,"clientId":160,"eventName":"client.edit","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:01:41.361234] [notice] Logging level set to:debug -[2025-03-25 9:01:41.448035] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 9:01:41.448122] [debug] Valor de JSON: {"uuid":"e797f0b5-5afe-4faa-b206-94745f982e0c","changeType":"edit","entity":"client","entityId":"160","eventName":"client.edit","extraData":{"entity":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 9:01:41.448332] [debug] Se actualiza a un cliente -[2025-03-25 9:01:41.448369] [debug] Valor de json_data: {"uuid":"e797f0b5-5afe-4faa-b206-94745f982e0c","changeType":"edit","entity":"client","entityId":"160","eventName":"client.edit","extraData":{"entity":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 9:01:41.448384] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 9:01:41.448393] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 9:01:41.448405] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 9:01:41.448412] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 9:01:41.448420] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 9:01:41.448427] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 9:01:41.448570] [debug] {"uuid":"e797f0b5-5afe-4faa-b206-94745f982e0c","changeType":"edit","entity":"client","entityId":160,"message":null,"clientId":160,"eventName":"client.edit","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:05:02.149362] [notice] Logging level set to:debug -[2025-03-25 9:05:02.274691] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 9:05:02.274925] [debug] Valor de JSON: {"uuid":"fec783a4-b3c6-4483-88bb-503290e43ad9","changeType":"edit","entity":"client","entityId":"160","eventName":"client.edit","extraData":{"entity":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 9:05:02.278364] [debug] Se actualiza a un cliente -[2025-03-25 9:05:02.278559] [debug] Valor de json_data: {"uuid":"fec783a4-b3c6-4483-88bb-503290e43ad9","changeType":"edit","entity":"client","entityId":"160","eventName":"client.edit","extraData":{"entity":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 9:05:02.278642] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 9:05:02.278707] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 9:05:02.278769] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 9:05:02.278831] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 9:05:02.278892] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 9:05:02.278954] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 9:05:02.279015] [debug] La etiqueta CREARCLABESTRIPE se agregará al cliente -[2025-03-25 9:05:02.279968] [info] Valor de notificationData: {"uuid":"fec783a4-b3c6-4483-88bb-503290e43ad9","changeType":"edit","entity":"client","entityId":160,"message":null,"clientId":160,"eventName":"client.edit","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:05:02.280100] [info] Valor de attributes: [] - -[2025-03-25 9:05:02.336489] [info] ID de la etiqueta 'CREARCLABESTRIPE': 7 - -[2025-03-25 9:05:02.337261] [info] Creando el Customer Stripe - -[2025-03-25 9:05:02.337390] [info] El cliente a procesar es : Jimy Turner - -[2025-03-25 9:05:02.337481] [info] Datos notificationData: {"uuid":"fec783a4-b3c6-4483-88bb-503290e43ad9","changeType":"edit","entity":"client","entityId":160,"message":null,"clientId":160,"eventName":"client.edit","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:05:02.337559] [info] Ya dentro del FOREACH!!! - -[2025-03-25 9:05:02.337624] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-25 9:05:02.337685] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-25 9:05:02.337745] [info] SE VALIDA EL EMAIL!!! - -[2025-03-25 9:05:02.338490] [info] ahora se procede a validar el teléfono!!! - -[2025-03-25 9:05:02.338645] [info] AHORA SE MANDA A CREAR EL CLIENTE A STRIPE!!! - -[2025-03-25 9:05:02.758657] [info] {"id":"cus_S0UONKug8QudsU","object":"customer","address":null,"balance":0,"created":1742893502,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 160","discount":null,"email":"jymy@gmail.com","invoice_prefix":"0242C4CF","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":[],"name":"Jimy Turner","next_invoice_sequence":1,"phone":"4186784656","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-25 9:05:04.995014] [info] {"id":"cus_S0UONKug8QudsU","object":"customer","address":null,"balance":0,"created":1742893502,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 160","discount":null,"email":"jymy@gmail.com","invoice_prefix":"0242C4CF","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":{"ucrm_client_id":"160"},"name":"Jimy Turner","next_invoice_sequence":1,"phone":"4186784656","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-25 9:05:05.289350] [notice] Logging level set to:debug -[2025-03-25 9:05:05.289484] [info] No UUID found in the webhook data -[2025-03-25 9:05:07.317404] [info] {"object":"funding_instructions","bank_transfer":{"country":"MX","financial_addresses":[{"spei":{"account_holder_address":{"city":"Ciudad de M\u00e9xico","country":"MX","line1":"Av Paseo de la Reforma 180 piso 29 col Juarez","line2":null,"postal_code":"06600","state":"Ciudad de M\u00e9xico"},"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":"124180847514196919"},"supported_networks":["spei"],"type":"spei"}],"type":"mx_bank_transfer"},"currency":"mxn","funding_type":"bank_transfer","livemode":false} - -[2025-03-25 9:05:07.541110] [info] CLABE guardada en metadata: 124180847514196919 - -[2025-03-25 9:05:07.829715] [notice] Logging level set to:debug -[2025-03-25 9:05:07.830238] [info] No UUID found in the webhook data -[2025-03-25 9:10:55.808748] [notice] Logging level set to:debug -[2025-03-25 9:10:55.876451] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 9:10:55.876616] [debug] Valor de JSON: {"uuid":"ed9a3908-998c-448f-a85b-883f935ea1fc","changeType":"edit","entity":"client","entityId":"160","eventName":"client.edit","extraData":{"entity":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 9:10:55.876854] [debug] Se actualiza a un cliente -[2025-03-25 9:10:55.876934] [debug] Valor de json_data: {"uuid":"ed9a3908-998c-448f-a85b-883f935ea1fc","changeType":"edit","entity":"client","entityId":"160","eventName":"client.edit","extraData":{"entity":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 9:10:55.876985] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 9:10:55.877027] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 9:10:55.877065] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 9:10:55.877104] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 9:10:55.877141] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 9:10:55.877181] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 9:10:55.877238] [debug] {"uuid":"ed9a3908-998c-448f-a85b-883f935ea1fc","changeType":"edit","entity":"client","entityId":160,"message":null,"clientId":160,"eventName":"client.edit","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:11:01.169018] [notice] Logging level set to:debug -[2025-03-25 9:11:01.250247] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 9:11:01.250479] [debug] Valor de JSON: {"uuid":"c2f92bf6-a27f-491c-8130-e3c070522b51","changeType":"edit","entity":"client","entityId":"160","eventName":"client.edit","extraData":{"entity":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 9:11:01.251401] [debug] Se actualiza a un cliente -[2025-03-25 9:11:01.251534] [debug] Valor de json_data: {"uuid":"c2f92bf6-a27f-491c-8130-e3c070522b51","changeType":"edit","entity":"client","entityId":"160","eventName":"client.edit","extraData":{"entity":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 9:11:01.251611] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 9:11:01.251676] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 9:11:01.251738] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 9:11:01.251799] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 9:11:01.251859] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 9:11:01.251920] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 9:11:01.251981] [debug] La etiqueta CREARCLABESTRIPE se agregará al cliente -[2025-03-25 9:11:01.252859] [info] Valor de notificationData: {"uuid":"c2f92bf6-a27f-491c-8130-e3c070522b51","changeType":"edit","entity":"client","entityId":160,"message":null,"clientId":160,"eventName":"client.edit","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:11:01.252993] [info] Valor de attributes: [] - -[2025-03-25 9:11:01.278261] [info] ID de la etiqueta 'CREARCLABESTRIPE': 7 - -[2025-03-25 9:11:01.278650] [info] Creando el Customer Stripe - -[2025-03-25 9:11:01.278776] [info] El cliente a procesar es : Jimy Turner - -[2025-03-25 9:11:01.278867] [info] Datos notificationData: {"uuid":"c2f92bf6-a27f-491c-8130-e3c070522b51","changeType":"edit","entity":"client","entityId":160,"message":null,"clientId":160,"eventName":"client.edit","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:11:01.278942] [info] Ya dentro del FOREACH!!! - -[2025-03-25 9:11:01.279004] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-25 9:11:01.279066] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-25 9:11:01.279129] [info] SE VALIDA EL EMAIL!!! - -[2025-03-25 9:11:01.279828] [info] ahora se procede a validar el teléfono!!! - -[2025-03-25 9:11:01.279983] [info] AHORA SE MANDA A CREAR EL CLIENTE A STRIPE!!! - -[2025-03-25 9:11:01.713120] [info] {"id":"cus_S0UUCKNxLZwpkG","object":"customer","address":null,"balance":0,"created":1742893861,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 160","discount":null,"email":"jymy@gmail.com","invoice_prefix":"CAEB43A2","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":[],"name":"Jimy Turner","next_invoice_sequence":1,"phone":"4186784656","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-25 9:11:03.933366] [info] {"id":"cus_S0UUCKNxLZwpkG","object":"customer","address":null,"balance":0,"created":1742893861,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 160","discount":null,"email":"jymy@gmail.com","invoice_prefix":"CAEB43A2","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":{"ucrm_client_id":"160"},"name":"Jimy Turner","next_invoice_sequence":1,"phone":"4186784656","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-25 9:11:04.228666] [notice] Logging level set to:debug -[2025-03-25 9:11:04.228773] [info] No UUID found in the webhook data -[2025-03-25 9:11:06.266855] [info] {"object":"funding_instructions","bank_transfer":{"country":"MX","financial_addresses":[{"spei":{"account_holder_address":{"city":"Ciudad de M\u00e9xico","country":"MX","line1":"Av Paseo de la Reforma 180 piso 29 col Juarez","line2":null,"postal_code":"06600","state":"Ciudad de M\u00e9xico"},"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":"124180624540738991"},"supported_networks":["spei"],"type":"spei"}],"type":"mx_bank_transfer"},"currency":"mxn","funding_type":"bank_transfer","livemode":false} - -[2025-03-25 9:11:06.479630] [info] CLABE guardada en metadata: 124180624540738991 - -[2025-03-25 9:11:06.594644] [info] Se actualizó el cliente en UCRM con el Stripe Customer ID y la Clabe Interbancaria. - -[2025-03-25 9:11:06.594844] [info] {"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false} - -[2025-03-25 9:11:06.703188] [info] Se eliminó la etiqueta 'CREARCLABESTRIPE' del cliente. - -[2025-03-25 9:11:06.703398] [debug] {"uuid":"c2f92bf6-a27f-491c-8130-e3c070522b51","changeType":"edit","entity":"client","entityId":160,"message":null,"clientId":160,"eventName":"client.edit","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:11:06.763003] [notice] Logging level set to:debug -[2025-03-25 9:11:06.763531] [info] No UUID found in the webhook data -[2025-03-25 9:11:06.820508] [notice] Logging level set to:debug -[2025-03-25 9:11:06.898205] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 9:11:06.898447] [debug] Valor de JSON: {"uuid":"ca84cd09-7f4b-4074-9aa2-c410bb3c1cdb","changeType":"edit","entity":"client","entityId":"160","eventName":"client.edit","extraData":{"entity":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 9:11:06.898647] [debug] Se actualiza a un cliente -[2025-03-25 9:11:06.898781] [debug] Valor de json_data: {"uuid":"ca84cd09-7f4b-4074-9aa2-c410bb3c1cdb","changeType":"edit","entity":"client","entityId":"160","eventName":"client.edit","extraData":{"entity":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 9:11:06.898852] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 9:11:06.898912] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 9:11:06.898969] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 9:11:06.899027] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 9:11:06.899085] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 9:11:06.899158] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 9:11:06.899241] [debug] {"uuid":"ca84cd09-7f4b-4074-9aa2-c410bb3c1cdb","changeType":"edit","entity":"client","entityId":160,"message":null,"clientId":160,"eventName":"client.edit","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:11:07.010478] [notice] Logging level set to:debug -[2025-03-25 9:11:07.088203] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 9:11:07.088305] [debug] Valor de JSON: {"uuid":"6a9b973b-4fce-433f-8aa3-7a6bd8babde7","changeType":"edit","entity":"client","entityId":"160","eventName":"client.edit","extraData":{"entity":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 9:11:07.088543] [debug] Se actualiza a un cliente -[2025-03-25 9:11:07.088644] [debug] Valor de json_data: {"uuid":"6a9b973b-4fce-433f-8aa3-7a6bd8babde7","changeType":"edit","entity":"client","entityId":"160","eventName":"client.edit","extraData":{"entity":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 9:11:07.088758] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 9:11:07.088840] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 9:11:07.088917] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 9:11:07.088995] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 9:11:07.089162] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 9:11:07.089245] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 9:11:07.089348] [debug] {"uuid":"6a9b973b-4fce-433f-8aa3-7a6bd8babde7","changeType":"edit","entity":"client","entityId":160,"message":null,"clientId":160,"eventName":"client.edit","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:13:42.474591] [notice] Logging level set to:debug -[2025-03-25 9:13:42.548729] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 9:13:42.548907] [debug] Valor de JSON: {"uuid":"2197fcb5-a61a-41dd-84d3-84ef85dbc66a","changeType":"edit","entity":"client","entityId":"160","eventName":"client.edit","extraData":{"entity":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 9:13:42.549165] [debug] Se actualiza a un cliente -[2025-03-25 9:13:42.549254] [debug] Valor de json_data: {"uuid":"2197fcb5-a61a-41dd-84d3-84ef85dbc66a","changeType":"edit","entity":"client","entityId":"160","eventName":"client.edit","extraData":{"entity":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 9:13:42.549305] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 9:13:42.549346] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 9:13:42.549385] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 9:13:42.549422] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 9:13:42.549458] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 9:13:42.549494] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 9:13:42.549534] [debug] La etiqueta CREARCLABESTRIPE se agregará al cliente -[2025-03-25 9:13:42.550637] [info] Valor de notificationData: {"uuid":"2197fcb5-a61a-41dd-84d3-84ef85dbc66a","changeType":"edit","entity":"client","entityId":160,"message":null,"clientId":160,"eventName":"client.edit","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:13:42.550772] [info] Valor de attributes: [] - -[2025-03-25 9:13:42.586774] [info] ID de la etiqueta 'CREARCLABESTRIPE': 7 - -[2025-03-25 9:13:42.587093] [info] Creando el Customer Stripe - -[2025-03-25 9:13:42.587126] [info] El cliente a procesar es : Jimy Turner - -[2025-03-25 9:13:42.587157] [info] Datos notificationData: {"uuid":"2197fcb5-a61a-41dd-84d3-84ef85dbc66a","changeType":"edit","entity":"client","entityId":160,"message":null,"clientId":160,"eventName":"client.edit","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:13:42.587177] [info] Ya dentro del FOREACH!!! - -[2025-03-25 9:13:42.587184] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-25 9:13:42.587193] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-03-25 9:13:42.587203] [info] SE VALIDA EL EMAIL!!! - -[2025-03-25 9:13:42.587857] [info] ahora se procede a validar el teléfono!!! - -[2025-03-25 9:13:42.587917] [info] AHORA SE MANDA A CREAR EL CLIENTE A STRIPE!!! - -[2025-03-25 9:13:43.006139] [info] {"id":"cus_S0UX8huTjp9A2h","object":"customer","address":null,"balance":0,"created":1742894022,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 160","discount":null,"email":"jymy@gmail.com","invoice_prefix":"A28674B5","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":[],"name":"Jimy Turner","next_invoice_sequence":1,"phone":"4186784656","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-25 9:13:45.238416] [info] {"id":"cus_S0UX8huTjp9A2h","object":"customer","address":null,"balance":0,"created":1742894022,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 160","discount":null,"email":"jymy@gmail.com","invoice_prefix":"A28674B5","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":{"ucrm_client_id":"160"},"name":"Jimy Turner","next_invoice_sequence":1,"phone":"4186784656","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-25 9:13:45.539339] [notice] Logging level set to:debug -[2025-03-25 9:13:45.539663] [info] No UUID found in the webhook data -[2025-03-25 9:13:47.620234] [info] {"object":"funding_instructions","bank_transfer":{"country":"MX","financial_addresses":[{"spei":{"account_holder_address":{"city":"Ciudad de M\u00e9xico","country":"MX","line1":"Av Paseo de la Reforma 180 piso 29 col Juarez","line2":null,"postal_code":"06600","state":"Ciudad de M\u00e9xico"},"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":"124180721315193648"},"supported_networks":["spei"],"type":"spei"}],"type":"mx_bank_transfer"},"currency":"mxn","funding_type":"bank_transfer","livemode":false} - -[2025-03-25 9:13:47.846946] [info] CLABE guardada en metadata: 124180721315193648 - -[2025-03-25 9:13:47.975723] [info] Se actualizó el cliente en UCRM con el Stripe Customer ID y la Clabe Interbancaria. - -[2025-03-25 9:13:47.975783] [info] {"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false} - -[2025-03-25 9:13:48.092808] [info] Se eliminó la etiqueta 'CREARCLABESTRIPE' del cliente. - -[2025-03-25 9:13:48.092885] [debug] {"uuid":"2197fcb5-a61a-41dd-84d3-84ef85dbc66a","changeType":"edit","entity":"client","entityId":160,"message":null,"clientId":160,"eventName":"client.edit","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:13:48.139163] [notice] Logging level set to:debug -[2025-03-25 9:13:48.139383] [info] No UUID found in the webhook data -[2025-03-25 9:13:48.231445] [notice] Logging level set to:debug -[2025-03-25 9:13:48.317722] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 9:13:48.317800] [debug] Valor de JSON: {"uuid":"601fa8f3-c818-4fb2-8d6e-ed0a6247516e","changeType":"edit","entity":"client","entityId":"160","eventName":"client.edit","extraData":{"entity":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 9:13:48.317960] [debug] Se actualiza a un cliente -[2025-03-25 9:13:48.318000] [debug] Valor de json_data: {"uuid":"601fa8f3-c818-4fb2-8d6e-ed0a6247516e","changeType":"edit","entity":"client","entityId":"160","eventName":"client.edit","extraData":{"entity":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 9:13:48.318016] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 9:13:48.318026] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 9:13:48.318032] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 9:13:48.318041] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 9:13:48.318062] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 9:13:48.318070] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 9:13:48.318098] [debug] {"uuid":"601fa8f3-c818-4fb2-8d6e-ed0a6247516e","changeType":"edit","entity":"client","entityId":160,"message":null,"clientId":160,"eventName":"client.edit","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:13:48.435766] [notice] Logging level set to:debug -[2025-03-25 9:13:48.509465] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 9:13:48.509696] [debug] Valor de JSON: {"uuid":"08828fa1-12d2-46dc-a660-02a7f8fbf226","changeType":"edit","entity":"client","entityId":"160","eventName":"client.edit","extraData":{"entity":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 9:13:48.509922] [debug] Se actualiza a un cliente -[2025-03-25 9:13:48.510032] [debug] Valor de json_data: {"uuid":"08828fa1-12d2-46dc-a660-02a7f8fbf226","changeType":"edit","entity":"client","entityId":"160","eventName":"client.edit","extraData":{"entity":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 9:13:48.510123] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 9:13:48.510189] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 9:13:48.510251] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 9:13:48.510313] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 9:13:48.510375] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 9:13:48.510437] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 9:13:48.510519] [debug] {"uuid":"08828fa1-12d2-46dc-a660-02a7f8fbf226","changeType":"edit","entity":"client","entityId":160,"message":null,"clientId":160,"eventName":"client.edit","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:14:22.230407] [notice] Logging level set to:debug -[2025-03-25 9:14:22.315843] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 9:14:22.315942] [debug] Valor de JSON: {"uuid":"8b569778-7cf2-4ddd-aeed-2c34f9d51e89","changeType":"edit","entity":"client","entityId":"154","eventName":"client.edit","extraData":{"entity":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 9:14:22.316137] [debug] Se actualiza a un cliente -[2025-03-25 9:14:22.316174] [debug] Valor de json_data: {"uuid":"8b569778-7cf2-4ddd-aeed-2c34f9d51e89","changeType":"edit","entity":"client","entityId":"154","eventName":"client.edit","extraData":{"entity":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 9:14:22.316194] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 9:14:22.316204] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 9:14:22.316211] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 9:14:22.316220] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 9:14:22.316227] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 9:14:22.316235] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 9:14:22.316242] [debug] La etiqueta CREARCLABESTRIPE se agregará al cliente -[2025-03-25 9:14:22.317066] [info] Valor de notificationData: {"uuid":"8b569778-7cf2-4ddd-aeed-2c34f9d51e89","changeType":"edit","entity":"client","entityId":154,"message":null,"clientId":154,"eventName":"client.edit","clientData":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:14:22.317111] [info] Valor de attributes: [] - -[2025-03-25 9:14:22.351495] [info] ID de la etiqueta 'CREARCLABESTRIPE': 7 - -[2025-03-25 9:14:22.351886] [info] Creando el Customer Stripe - -[2025-03-25 9:14:22.352073] [info] El cliente a procesar es : Teresita Alvarez Alvarez - -[2025-03-25 9:14:22.352171] [info] Datos notificationData: {"uuid":"8b569778-7cf2-4ddd-aeed-2c34f9d51e89","changeType":"edit","entity":"client","entityId":154,"message":null,"clientId":154,"eventName":"client.edit","clientData":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:14:22.352236] [info] ahora se procede a validar el teléfono!!! - -[2025-03-25 9:14:22.352336] [info] El número de teléfono está vacío o no es válido. - -[2025-03-25 9:14:22.352967] [info] AHORA SE MANDA A CREAR EL CLIENTE A STRIPE!!! - -[2025-03-25 9:14:22.748013] [info] {"id":"cus_S0UYeJHKYCvJW5","object":"customer","address":null,"balance":0,"created":1742894062,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 154","discount":null,"email":null,"invoice_prefix":"F58DCD33","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":[],"name":"Teresita Alvarez Alvarez","next_invoice_sequence":1,"phone":null,"preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-25 9:14:24.978117] [info] {"id":"cus_S0UYeJHKYCvJW5","object":"customer","address":null,"balance":0,"created":1742894062,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 154","discount":null,"email":null,"invoice_prefix":"F58DCD33","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":{"ucrm_client_id":"154"},"name":"Teresita Alvarez Alvarez","next_invoice_sequence":1,"phone":null,"preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-25 9:14:25.277637] [notice] Logging level set to:debug -[2025-03-25 9:14:25.278318] [info] No UUID found in the webhook data -[2025-03-25 9:14:27.285620] [info] {"object":"funding_instructions","bank_transfer":{"country":"MX","financial_addresses":[{"spei":{"account_holder_address":{"city":"Ciudad de M\u00e9xico","country":"MX","line1":"Av Paseo de la Reforma 180 piso 29 col Juarez","line2":null,"postal_code":"06600","state":"Ciudad de M\u00e9xico"},"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":"124180295776637596"},"supported_networks":["spei"],"type":"spei"}],"type":"mx_bank_transfer"},"currency":"mxn","funding_type":"bank_transfer","livemode":false} - -[2025-03-25 9:14:27.504436] [info] CLABE guardada en metadata: 124180295776637596 - -[2025-03-25 9:14:27.627814] [info] Se actualizó el cliente en UCRM con el Stripe Customer ID y la Clabe Interbancaria. - -[2025-03-25 9:14:27.627954] [info] {"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false} - -[2025-03-25 9:14:27.729445] [info] Se eliminó la etiqueta 'CREARCLABESTRIPE' del cliente. - -[2025-03-25 9:14:27.729609] [debug] {"uuid":"8b569778-7cf2-4ddd-aeed-2c34f9d51e89","changeType":"edit","entity":"client","entityId":154,"message":null,"clientId":154,"eventName":"client.edit","clientData":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:14:27.790843] [notice] Logging level set to:debug -[2025-03-25 9:14:27.791064] [info] No UUID found in the webhook data -[2025-03-25 9:14:27.842089] [notice] Logging level set to:debug -[2025-03-25 9:14:27.940504] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 9:14:27.940630] [debug] Valor de JSON: {"uuid":"f947857d-8f88-4776-8e26-6652e5078e29","changeType":"edit","entity":"client","entityId":"154","eventName":"client.edit","extraData":{"entity":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 9:14:27.940834] [debug] Se actualiza a un cliente -[2025-03-25 9:14:27.940905] [debug] Valor de json_data: {"uuid":"f947857d-8f88-4776-8e26-6652e5078e29","changeType":"edit","entity":"client","entityId":"154","eventName":"client.edit","extraData":{"entity":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 9:14:27.940927] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 9:14:27.940943] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 9:14:27.940957] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 9:14:27.940987] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 9:14:27.941001] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 9:14:27.941025] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 9:14:27.941071] [debug] {"uuid":"f947857d-8f88-4776-8e26-6652e5078e29","changeType":"edit","entity":"client","entityId":154,"message":null,"clientId":154,"eventName":"client.edit","clientData":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:14:28.055610] [notice] Logging level set to:debug -[2025-03-25 9:14:28.137212] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 9:14:28.137300] [debug] Valor de JSON: {"uuid":"dd836f0a-0c00-4776-a291-200250ee0a2c","changeType":"edit","entity":"client","entityId":"154","eventName":"client.edit","extraData":{"entity":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 9:14:28.137453] [debug] Se actualiza a un cliente -[2025-03-25 9:14:28.137491] [debug] Valor de json_data: {"uuid":"dd836f0a-0c00-4776-a291-200250ee0a2c","changeType":"edit","entity":"client","entityId":"154","eventName":"client.edit","extraData":{"entity":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 9:14:28.137509] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 9:14:28.137517] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 9:14:28.137526] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 9:14:28.137533] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 9:14:28.137542] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 9:14:28.137548] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 9:14:28.137583] [debug] {"uuid":"dd836f0a-0c00-4776-a291-200250ee0a2c","changeType":"edit","entity":"client","entityId":154,"message":null,"clientId":154,"eventName":"client.edit","clientData":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:15:28.985829] [notice] Logging level set to:debug -[2025-03-25 9:15:29.063937] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 9:15:29.064217] [debug] Valor de JSON: {"uuid":"935f70b0-eb54-4b71-9ea8-a14e1a8f6806","changeType":"edit","entity":"client","entityId":"154","eventName":"client.edit","extraData":{"entity":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 9:15:29.064496] [debug] Se actualiza a un cliente -[2025-03-25 9:15:29.064604] [debug] Valor de json_data: {"uuid":"935f70b0-eb54-4b71-9ea8-a14e1a8f6806","changeType":"edit","entity":"client","entityId":"154","eventName":"client.edit","extraData":{"entity":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 9:15:29.064682] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 9:15:29.064748] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 9:15:29.064812] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 9:15:29.064876] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 9:15:29.064939] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 9:15:29.065001] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 9:15:29.065063] [debug] La etiqueta CREARCLABESTRIPE se agregará al cliente -[2025-03-25 9:15:29.065952] [info] Valor de notificationData: {"uuid":"935f70b0-eb54-4b71-9ea8-a14e1a8f6806","changeType":"edit","entity":"client","entityId":154,"message":null,"clientId":154,"eventName":"client.edit","clientData":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:15:29.066095] [info] Valor de attributes: [] - -[2025-03-25 9:15:29.092763] [info] ID de la etiqueta 'CREARCLABESTRIPE': 7 - -[2025-03-25 9:15:29.093163] [info] Creando el Customer Stripe - -[2025-03-25 9:15:29.093358] [info] El cliente a procesar es : Teresita Alvarez Alvarez - -[2025-03-25 9:15:29.093456] [info] Datos notificationData: {"uuid":"935f70b0-eb54-4b71-9ea8-a14e1a8f6806","changeType":"edit","entity":"client","entityId":154,"message":null,"clientId":154,"eventName":"client.edit","clientData":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:15:29.093527] [info] ahora se procede a validar el teléfono!!! - -[2025-03-25 9:15:29.093686] [info] El número de teléfono está vacío o no es válido. - -[2025-03-25 9:15:29.095799] [info] AHORA SE MANDA A CREAR EL CLIENTE A STRIPE!!! - -[2025-03-25 9:15:29.528378] [info] {"id":"cus_S0UZaOUg929QEh","object":"customer","address":null,"balance":0,"created":1742894129,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 154","discount":null,"email":null,"invoice_prefix":"08027D7E","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":[],"name":"Teresita Alvarez Alvarez","next_invoice_sequence":1,"phone":null,"preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-25 9:15:31.755902] [info] {"id":"cus_S0UZaOUg929QEh","object":"customer","address":null,"balance":0,"created":1742894129,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 154","discount":null,"email":null,"invoice_prefix":"08027D7E","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":{"ucrm_client_id":"154"},"name":"Teresita Alvarez Alvarez","next_invoice_sequence":1,"phone":null,"preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-25 9:15:32.052160] [notice] Logging level set to:debug -[2025-03-25 9:15:32.052468] [info] No UUID found in the webhook data -[2025-03-25 9:15:34.140208] [info] {"object":"funding_instructions","bank_transfer":{"country":"MX","financial_addresses":[{"spei":{"account_holder_address":{"city":"Ciudad de M\u00e9xico","country":"MX","line1":"Av Paseo de la Reforma 180 piso 29 col Juarez","line2":null,"postal_code":"06600","state":"Ciudad de M\u00e9xico"},"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":"124180179051347818"},"supported_networks":["spei"],"type":"spei"}],"type":"mx_bank_transfer"},"currency":"mxn","funding_type":"bank_transfer","livemode":false} - -[2025-03-25 9:15:34.389965] [info] CLABE guardada en metadata: 124180179051347818 - -[2025-03-25 9:15:34.623694] [info] Error al hacer el patch al CRM: Client error: `PATCH https://172.16.5.134/crm/api/v1.0/clients/154` resulted in a `415 Unsupported Media Type` response: -{"code":415,"message":""} - - -[2025-03-25 9:15:34.669965] [notice] Logging level set to:debug -[2025-03-25 9:15:34.670166] [info] No UUID found in the webhook data -[2025-03-25 9:15:34.741838] [info] Se eliminó la etiqueta 'CREARCLABESTRIPE' del cliente. - -[2025-03-25 9:15:34.742005] [debug] {"uuid":"935f70b0-eb54-4b71-9ea8-a14e1a8f6806","changeType":"edit","entity":"client","entityId":154,"message":null,"clientId":154,"eventName":"client.edit","clientData":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:15:34.857420] [notice] Logging level set to:debug -[2025-03-25 9:15:34.931677] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 9:15:34.931899] [debug] Valor de JSON: {"uuid":"3c1d6723-ff23-4f3c-b195-a0a31f949764","changeType":"edit","entity":"client","entityId":"154","eventName":"client.edit","extraData":{"entity":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 9:15:34.932183] [debug] Se actualiza a un cliente -[2025-03-25 9:15:34.932260] [debug] Valor de json_data: {"uuid":"3c1d6723-ff23-4f3c-b195-a0a31f949764","changeType":"edit","entity":"client","entityId":"154","eventName":"client.edit","extraData":{"entity":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 9:15:34.932310] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 9:15:34.932349] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 9:15:34.932387] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 9:15:34.932424] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 9:15:34.932461] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 9:15:34.932497] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 9:15:34.932560] [debug] {"uuid":"3c1d6723-ff23-4f3c-b195-a0a31f949764","changeType":"edit","entity":"client","entityId":154,"message":null,"clientId":154,"eventName":"client.edit","clientData":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:21:42.509356] [notice] Logging level set to:debug -[2025-03-25 9:21:42.584007] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 9:21:42.584100] [debug] Valor de JSON: {"uuid":"1305b47d-6ca5-48e4-9995-862ca61bf99a","changeType":"edit","entity":"client","entityId":"154","eventName":"client.edit","extraData":{"entity":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 9:21:42.584299] [debug] Se actualiza a un cliente -[2025-03-25 9:21:42.584336] [debug] Valor de json_data: {"uuid":"1305b47d-6ca5-48e4-9995-862ca61bf99a","changeType":"edit","entity":"client","entityId":"154","eventName":"client.edit","extraData":{"entity":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 9:21:42.584367] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 9:21:42.584378] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 9:21:42.584384] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 9:21:42.584393] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 9:21:42.584400] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 9:21:42.584408] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 9:21:42.584434] [debug] {"uuid":"1305b47d-6ca5-48e4-9995-862ca61bf99a","changeType":"edit","entity":"client","entityId":154,"message":null,"clientId":154,"eventName":"client.edit","clientData":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:21:44.962488] [notice] Logging level set to:debug -[2025-03-25 9:21:45.042381] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 9:21:45.042586] [debug] Valor de JSON: {"uuid":"ffe0c9a2-0988-47ca-8b60-a79e10986a6a","changeType":"edit","entity":"client","entityId":"154","eventName":"client.edit","extraData":{"entity":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 9:21:45.042741] [debug] Se actualiza a un cliente -[2025-03-25 9:21:45.042834] [debug] Valor de json_data: {"uuid":"ffe0c9a2-0988-47ca-8b60-a79e10986a6a","changeType":"edit","entity":"client","entityId":"154","eventName":"client.edit","extraData":{"entity":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 9:21:45.042906] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 9:21:45.042967] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 9:21:45.043025] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 9:21:45.043081] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 9:21:45.043148] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 9:21:45.043204] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 9:21:45.043258] [debug] La etiqueta CREARCLABESTRIPE se agregará al cliente -[2025-03-25 9:21:45.044251] [info] Valor de notificationData: {"uuid":"ffe0c9a2-0988-47ca-8b60-a79e10986a6a","changeType":"edit","entity":"client","entityId":154,"message":null,"clientId":154,"eventName":"client.edit","clientData":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:21:45.044542] [info] Valor de attributes: [] - -[2025-03-25 9:21:45.088032] [info] ID de la etiqueta 'CREARCLABESTRIPE': 7 - -[2025-03-25 9:21:45.088418] [info] Creando el Customer Stripe - -[2025-03-25 9:21:45.088592] [info] El cliente a procesar es : Teresita Alvarez Alvarez - -[2025-03-25 9:21:45.088686] [info] Datos notificationData: {"uuid":"ffe0c9a2-0988-47ca-8b60-a79e10986a6a","changeType":"edit","entity":"client","entityId":154,"message":null,"clientId":154,"eventName":"client.edit","clientData":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:21:45.088752] [info] ahora se procede a validar el teléfono!!! - -[2025-03-25 9:21:45.088849] [info] El número de teléfono está vacío o no es válido. - -[2025-03-25 9:21:45.089410] [info] AHORA SE MANDA A CREAR EL CLIENTE A STRIPE!!! - -[2025-03-25 9:21:45.502633] [info] {"id":"cus_S0UfNVoYGaEbl6","object":"customer","address":null,"balance":0,"created":1742894505,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 154","discount":null,"email":null,"invoice_prefix":"9DFDB0A8","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":[],"name":"Teresita Alvarez Alvarez","next_invoice_sequence":1,"phone":null,"preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-25 9:21:47.735392] [info] {"id":"cus_S0UfNVoYGaEbl6","object":"customer","address":null,"balance":0,"created":1742894505,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 154","discount":null,"email":null,"invoice_prefix":"9DFDB0A8","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":{"ucrm_client_id":"154"},"name":"Teresita Alvarez Alvarez","next_invoice_sequence":1,"phone":null,"preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-25 9:21:48.015767] [notice] Logging level set to:debug -[2025-03-25 9:21:48.015974] [info] No UUID found in the webhook data -[2025-03-25 9:21:50.125696] [info] {"object":"funding_instructions","bank_transfer":{"country":"MX","financial_addresses":[{"spei":{"account_holder_address":{"city":"Ciudad de M\u00e9xico","country":"MX","line1":"Av Paseo de la Reforma 180 piso 29 col Juarez","line2":null,"postal_code":"06600","state":"Ciudad de M\u00e9xico"},"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":"124180498086345799"},"supported_networks":["spei"],"type":"spei"}],"type":"mx_bank_transfer"},"currency":"mxn","funding_type":"bank_transfer","livemode":false} - -[2025-03-25 9:21:50.329637] [info] CLABE guardada en metadata: 124180498086345799 - -[2025-03-25 9:21:50.329700] [info] Valor de json_data_patch: { - "attributes": [ - { - "value": "cus_S0UfNVoYGaEbl6", - "customAttributeId": - }, - { - "value": "124180498086345799", - "customAttributeId": - } - ] - - } - -[2025-03-25 9:21:50.525646] [info] Error al hacer el patch al CRM: Client error: `PATCH https://172.16.5.134/crm/api/v1.0/clients/154` resulted in a `415 Unsupported Media Type` response: -{"code":415,"message":""} - - -[2025-03-25 9:21:50.616178] [notice] Logging level set to:debug -[2025-03-25 9:21:50.616411] [info] No UUID found in the webhook data -[2025-03-25 9:21:50.638835] [info] Se eliminó la etiqueta 'CREARCLABESTRIPE' del cliente. - -[2025-03-25 9:21:50.638915] [debug] {"uuid":"ffe0c9a2-0988-47ca-8b60-a79e10986a6a","changeType":"edit","entity":"client","entityId":154,"message":null,"clientId":154,"eventName":"client.edit","clientData":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:21:50.761286] [notice] Logging level set to:debug -[2025-03-25 9:21:50.944173] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 9:21:50.944458] [debug] Valor de JSON: {"uuid":"ff191b0c-78db-4937-8622-e991c3475291","changeType":"edit","entity":"client","entityId":"154","eventName":"client.edit","extraData":{"entity":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 9:21:50.944745] [debug] Se actualiza a un cliente -[2025-03-25 9:21:50.944849] [debug] Valor de json_data: {"uuid":"ff191b0c-78db-4937-8622-e991c3475291","changeType":"edit","entity":"client","entityId":"154","eventName":"client.edit","extraData":{"entity":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 9:21:50.944925] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 9:21:50.944988] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 9:21:50.945050] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 9:21:50.945111] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 9:21:50.945173] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 9:21:50.945234] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 9:21:50.945322] [debug] {"uuid":"ff191b0c-78db-4937-8622-e991c3475291","changeType":"edit","entity":"client","entityId":154,"message":null,"clientId":154,"eventName":"client.edit","clientData":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:25:59.749191] [notice] Logging level set to:debug -[2025-03-25 9:25:59.834151] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 9:25:59.834230] [debug] Valor de JSON: {"uuid":"6960c813-6836-4b8e-a9f0-0f0898873f14","changeType":"edit","entity":"client","entityId":"154","eventName":"client.edit","extraData":{"entity":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 9:25:59.834449] [debug] Se actualiza a un cliente -[2025-03-25 9:25:59.834489] [debug] Valor de json_data: {"uuid":"6960c813-6836-4b8e-a9f0-0f0898873f14","changeType":"edit","entity":"client","entityId":"154","eventName":"client.edit","extraData":{"entity":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 9:25:59.834500] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 9:25:59.834508] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 9:25:59.834522] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 9:25:59.834534] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 9:25:59.834542] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 9:25:59.834551] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 9:25:59.834575] [debug] {"uuid":"6960c813-6836-4b8e-a9f0-0f0898873f14","changeType":"edit","entity":"client","entityId":154,"message":null,"clientId":154,"eventName":"client.edit","clientData":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:26:04.856555] [notice] Logging level set to:debug -[2025-03-25 9:26:04.934866] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 9:26:04.935074] [debug] Valor de JSON: {"uuid":"46889499-89a7-48bd-933a-791ccbcdc73d","changeType":"edit","entity":"client","entityId":"154","eventName":"client.edit","extraData":{"entity":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 9:26:04.935257] [debug] Se actualiza a un cliente -[2025-03-25 9:26:04.935353] [debug] Valor de json_data: {"uuid":"46889499-89a7-48bd-933a-791ccbcdc73d","changeType":"edit","entity":"client","entityId":"154","eventName":"client.edit","extraData":{"entity":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 9:26:04.935425] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 9:26:04.935487] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 9:26:04.935548] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 9:26:04.935609] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 9:26:04.935667] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 9:26:04.935728] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 9:26:04.935787] [debug] La etiqueta CREARCLABESTRIPE se agregará al cliente -[2025-03-25 9:26:04.936676] [info] Valor de notificationData: {"uuid":"46889499-89a7-48bd-933a-791ccbcdc73d","changeType":"edit","entity":"client","entityId":154,"message":null,"clientId":154,"eventName":"client.edit","clientData":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:26:04.936800] [info] Valor de attributes: [] - -[2025-03-25 9:26:05.006023] [info] ID correspondiente a 'Customer Stripe ID': 10 - -[2025-03-25 9:26:05.034413] [info] ID de la etiqueta 'CREARCLABESTRIPE': 7 - -[2025-03-25 9:26:05.034677] [info] Creando el Customer Stripe - -[2025-03-25 9:26:05.034709] [info] El cliente a procesar es : Teresita Alvarez Alvarez - -[2025-03-25 9:26:05.034739] [info] Datos notificationData: {"uuid":"46889499-89a7-48bd-933a-791ccbcdc73d","changeType":"edit","entity":"client","entityId":154,"message":null,"clientId":154,"eventName":"client.edit","clientData":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:26:05.034760] [info] ahora se procede a validar el teléfono!!! - -[2025-03-25 9:26:05.034796] [info] El número de teléfono está vacío o no es válido. - -[2025-03-25 9:26:05.034806] [info] AHORA SE MANDA A CREAR EL CLIENTE A STRIPE!!! - -[2025-03-25 9:26:05.449985] [info] {"id":"cus_S0UjC1XOPLUnW0","object":"customer","address":null,"balance":0,"created":1742894765,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 154","discount":null,"email":null,"invoice_prefix":"90D7773F","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":[],"name":"Teresita Alvarez Alvarez","next_invoice_sequence":1,"phone":null,"preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-25 9:26:07.652720] [info] {"id":"cus_S0UjC1XOPLUnW0","object":"customer","address":null,"balance":0,"created":1742894765,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 154","discount":null,"email":null,"invoice_prefix":"90D7773F","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":{"ucrm_client_id":"154"},"name":"Teresita Alvarez Alvarez","next_invoice_sequence":1,"phone":null,"preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-03-25 9:26:07.939377] [notice] Logging level set to:debug -[2025-03-25 9:26:07.939486] [info] No UUID found in the webhook data -[2025-03-25 9:26:09.984569] [info] {"object":"funding_instructions","bank_transfer":{"country":"MX","financial_addresses":[{"spei":{"account_holder_address":{"city":"Ciudad de M\u00e9xico","country":"MX","line1":"Av Paseo de la Reforma 180 piso 29 col Juarez","line2":null,"postal_code":"06600","state":"Ciudad de M\u00e9xico"},"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":"124180169088806510"},"supported_networks":["spei"],"type":"spei"}],"type":"mx_bank_transfer"},"currency":"mxn","funding_type":"bank_transfer","livemode":false} - -[2025-03-25 9:26:10.186203] [info] CLABE guardada en metadata: 124180169088806510 - -[2025-03-25 9:26:10.186269] [info] Valor de json_data_patch: { - "attributes": [ - { - "value": "cus_S0UjC1XOPLUnW0", - "customAttributeId":10 - }, - { - "value": "124180169088806510", - "customAttributeId":11 - } - ] - - } - -[2025-03-25 9:26:10.348959] [info] {} - -[2025-03-25 9:26:10.478790] [notice] Logging level set to:debug -[2025-03-25 9:26:10.478874] [info] No UUID found in the webhook data -[2025-03-25 9:26:10.575850] [info] Se eliminó la etiqueta 'CREARCLABESTRIPE' del cliente. - -[2025-03-25 9:26:10.575927] [debug] {"uuid":"46889499-89a7-48bd-933a-791ccbcdc73d","changeType":"edit","entity":"client","entityId":154,"message":null,"clientId":154,"eventName":"client.edit","clientData":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:26:10.695456] [notice] Logging level set to:debug -[2025-03-25 9:26:10.765738] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 9:26:10.765940] [debug] Valor de JSON: {"uuid":"8a46f8bb-001c-4aad-aada-26a5c78ee34b","changeType":"edit","entity":"client","entityId":"154","eventName":"client.edit","extraData":{"entity":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[{"id":194,"clientId":154,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0UjC1XOPLUnW0","clientZoneVisible":true},{"id":195,"clientId":154,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180169088806510","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 9:26:10.766325] [debug] Se actualiza a un cliente -[2025-03-25 9:26:10.766415] [debug] Valor de json_data: {"uuid":"8a46f8bb-001c-4aad-aada-26a5c78ee34b","changeType":"edit","entity":"client","entityId":"154","eventName":"client.edit","extraData":{"entity":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[{"id":194,"clientId":154,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0UjC1XOPLUnW0","clientZoneVisible":true},{"id":195,"clientId":154,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180169088806510","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 9:26:10.766463] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 9:26:10.766500] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 9:26:10.766535] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 9:26:10.766571] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 9:26:10.766606] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 9:26:10.766639] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 9:26:10.766696] [debug] {"uuid":"8a46f8bb-001c-4aad-aada-26a5c78ee34b","changeType":"edit","entity":"client","entityId":154,"message":null,"clientId":154,"eventName":"client.edit","clientData":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[{"id":194,"clientId":154,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0UjC1XOPLUnW0","clientZoneVisible":true},{"id":195,"clientId":154,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180169088806510","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:26:10.880414] [notice] Logging level set to:debug -[2025-03-25 9:26:10.958446] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 9:26:10.958616] [debug] Valor de JSON: {"uuid":"d252973a-eda4-4673-813a-18cb66fef496","changeType":"edit","entity":"client","entityId":"154","eventName":"client.edit","extraData":{"entity":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[{"id":194,"clientId":154,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0UjC1XOPLUnW0","clientZoneVisible":true},{"id":195,"clientId":154,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180169088806510","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[{"id":194,"clientId":154,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0UjC1XOPLUnW0","clientZoneVisible":true},{"id":195,"clientId":154,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180169088806510","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 9:26:10.958760] [debug] Se actualiza a un cliente -[2025-03-25 9:26:10.958833] [debug] Valor de json_data: {"uuid":"d252973a-eda4-4673-813a-18cb66fef496","changeType":"edit","entity":"client","entityId":"154","eventName":"client.edit","extraData":{"entity":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[{"id":194,"clientId":154,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0UjC1XOPLUnW0","clientZoneVisible":true},{"id":195,"clientId":154,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180169088806510","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[{"id":194,"clientId":154,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0UjC1XOPLUnW0","clientZoneVisible":true},{"id":195,"clientId":154,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180169088806510","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 9:26:10.958884] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 9:26:10.958924] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 9:26:10.958962] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 9:26:10.959002] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 9:26:10.959039] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 9:26:10.959076] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 9:26:10.959136] [debug] {"uuid":"d252973a-eda4-4673-813a-18cb66fef496","changeType":"edit","entity":"client","entityId":154,"message":null,"clientId":154,"eventName":"client.edit","clientData":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[{"id":194,"clientId":154,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0UjC1XOPLUnW0","clientZoneVisible":true},{"id":195,"clientId":154,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180169088806510","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:26:30.324440] [notice] Logging level set to:debug -[2025-03-25 9:26:30.417716] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 9:26:30.417937] [debug] Valor de JSON: {"uuid":"4d480431-caeb-4e28-8b6b-04d85617de48","changeType":"edit","entity":"client","entityId":"154","eventName":"client.edit","extraData":{"entity":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[{"id":194,"clientId":154,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0UjC1XOPLUnW0","clientZoneVisible":true},{"id":195,"clientId":154,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180169088806510","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[{"id":194,"clientId":154,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0UjC1XOPLUnW0","clientZoneVisible":true},{"id":195,"clientId":154,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180169088806510","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 9:26:30.418231] [debug] Se actualiza a un cliente -[2025-03-25 9:26:30.418339] [debug] Valor de json_data: {"uuid":"4d480431-caeb-4e28-8b6b-04d85617de48","changeType":"edit","entity":"client","entityId":"154","eventName":"client.edit","extraData":{"entity":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[{"id":194,"clientId":154,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0UjC1XOPLUnW0","clientZoneVisible":true},{"id":195,"clientId":154,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180169088806510","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[{"id":194,"clientId":154,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0UjC1XOPLUnW0","clientZoneVisible":true},{"id":195,"clientId":154,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180169088806510","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 9:26:30.418411] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 9:26:30.418476] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 9:26:30.418538] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 9:26:30.418598] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 9:26:30.418659] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 9:26:30.418729] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 9:26:30.418785] [debug] La etiqueta CREARCLABESTRIPE se agregará al cliente -[2025-03-25 9:26:30.419656] [info] Valor de notificationData: {"uuid":"4d480431-caeb-4e28-8b6b-04d85617de48","changeType":"edit","entity":"client","entityId":154,"message":null,"clientId":154,"eventName":"client.edit","clientData":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[{"id":194,"clientId":154,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0UjC1XOPLUnW0","clientZoneVisible":true},{"id":195,"clientId":154,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180169088806510","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:26:30.419792] [info] Valor de attributes: [{"id":194,"clientId":154,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0UjC1XOPLUnW0","clientZoneVisible":true},{"id":195,"clientId":154,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180169088806510","clientZoneVisible":true}] - -[2025-03-25 9:26:30.512837] [info] ID correspondiente a 'Customer Stripe ID': 10 - -[2025-03-25 9:26:30.513035] [info] El cliente ya tiene un Stripe Customer ID: cus_S0UjC1XOPLUnW0 - -[2025-03-25 9:26:30.553153] [info] ID de la etiqueta 'CREARCLABESTRIPE': 7 - -[2025-03-25 9:26:30.694382] [info] Se eliminó la etiqueta 'CREARCLABESTRIPE' del cliente. - -[2025-03-25 9:26:30.694648] [debug] {"uuid":"4d480431-caeb-4e28-8b6b-04d85617de48","changeType":"edit","entity":"client","entityId":154,"message":null,"clientId":154,"eventName":"client.edit","clientData":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[{"id":194,"clientId":154,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0UjC1XOPLUnW0","clientZoneVisible":true},{"id":195,"clientId":154,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180169088806510","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 9:26:30.816061] [notice] Logging level set to:debug -[2025-03-25 9:26:30.902921] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 9:26:30.903143] [debug] Valor de JSON: {"uuid":"13699a82-8b94-4d82-9103-b7135ffbb58b","changeType":"edit","entity":"client","entityId":"154","eventName":"client.edit","extraData":{"entity":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[{"id":194,"clientId":154,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0UjC1XOPLUnW0","clientZoneVisible":true},{"id":195,"clientId":154,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180169088806510","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[{"id":194,"clientId":154,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0UjC1XOPLUnW0","clientZoneVisible":true},{"id":195,"clientId":154,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180169088806510","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 9:26:30.903309] [debug] Se actualiza a un cliente -[2025-03-25 9:26:30.903407] [debug] Valor de json_data: {"uuid":"13699a82-8b94-4d82-9103-b7135ffbb58b","changeType":"edit","entity":"client","entityId":"154","eventName":"client.edit","extraData":{"entity":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[{"id":194,"clientId":154,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0UjC1XOPLUnW0","clientZoneVisible":true},{"id":195,"clientId":154,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180169088806510","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[{"id":194,"clientId":154,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0UjC1XOPLUnW0","clientZoneVisible":true},{"id":195,"clientId":154,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180169088806510","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 9:26:30.903477] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 9:26:30.903542] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 9:26:30.903603] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 9:26:30.903664] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 9:26:30.903723] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 9:26:30.903784] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 9:26:30.903866] [debug] {"uuid":"13699a82-8b94-4d82-9103-b7135ffbb58b","changeType":"edit","entity":"client","entityId":154,"message":null,"clientId":154,"eventName":"client.edit","clientData":{"id":154,"userIdent":"298","previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle sepa la tostada","street2":null,"city":"Dolores Hidalgo Guanajuato","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Prueba de direcci\u00f3n de teresita","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente importado desde el SITEC","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-09-03T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Teresita Alvarez","lastName":"Alvarez","username":null,"contacts":[],"attributes":[{"id":194,"clientId":154,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0UjC1XOPLUnW0","clientZoneVisible":true},{"id":195,"clientId":154,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180169088806510","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.230419908826,"addressGpsLon":-100.73321275413,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 16:00:04.583339] [notice] Logging level set to:debug -[2025-03-25 16:00:04.764153] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-25 16:00:04.764312] [debug] Valor de JSON: {"uuid":"821da260-40a3-408b-a6b0-0927d3b7618d","changeType":"insert","entity":"invoice","entityId":"1708","eventName":"invoice.add_draft","extraData":{"entity":{"id":1708,"clientId":1,"number":"001659","createdDate":"2025-03-25T10:00:02-0600","dueDate":"2025-04-08T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-24T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1711,"type":"service","label":"PREMIUM 25\/02\/2025 \u2013 24\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":132,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":700.0000000000001,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":684,"invoiceId":1708,"paymentId":500,"creditNoteId":null,"refundId":null,"amount":286.67},{"id":685,"invoiceId":1708,"paymentId":511,"creditNoteId":null,"refundId":null,"amount":100},{"id":686,"invoiceId":1708,"paymentId":574,"creditNoteId":null,"refundId":null,"amount":300},{"id":687,"invoiceId":1708,"paymentId":577,"creditNoteId":null,"refundId":null,"amount":13.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":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-25 16:00:04.764569] [debug] Adición de borrador de Factura - -[2025-03-25 16:00:04.764744] [debug] {"uuid":"821da260-40a3-408b-a6b0-0927d3b7618d","changeType":"insert","entity":"invoice","entityId":1708,"message":null,"clientId":1,"eventName":"invoice.add_draft","clientData":{"id":1,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true}],"accountBalance":1076.67,"accountCredit":1076.67,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1708,"clientId":1,"number":"001659","createdDate":"2025-03-25T10:00:02-0600","dueDate":"2025-04-08T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-23T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1711,"type":"service","label":"PREMIUM 25\/02\/2025 \u2013 24\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":132,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":700,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":684,"invoiceId":1708,"paymentId":500,"creditNoteId":null,"refundId":null,"amount":286.67},{"id":685,"invoiceId":1708,"paymentId":511,"creditNoteId":null,"refundId":null,"amount":100},{"id":686,"invoiceId":1708,"paymentId":574,"creditNoteId":null,"refundId":null,"amount":300},{"id":687,"invoiceId":1708,"paymentId":577,"creditNoteId":null,"refundId":null,"amount":13.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":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-25 16:00:04.764890] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-25 16:00:04.764941] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"821da260-40a3-408b-a6b0-0927d3b7618d","changeType":"insert","entity":"invoice","entityId":1708,"message":null,"clientId":1,"eventName":"invoice.add_draft","clientData":{"id":1,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true}],"accountBalance":1076.67,"accountCredit":1076.67,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1708,"clientId":1,"number":"001659","createdDate":"2025-03-25T10:00:02-0600","dueDate":"2025-04-08T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-23T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1711,"type":"service","label":"PREMIUM 25\/02\/2025 \u2013 24\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":132,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":700,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":684,"invoiceId":1708,"paymentId":500,"creditNoteId":null,"refundId":null,"amount":286.67},{"id":685,"invoiceId":1708,"paymentId":511,"creditNoteId":null,"refundId":null,"amount":100},{"id":686,"invoiceId":1708,"paymentId":574,"creditNoteId":null,"refundId":null,"amount":300},{"id":687,"invoiceId":1708,"paymentId":577,"creditNoteId":null,"refundId":null,"amount":13.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":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":608,"clientId":1,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T23:51:02-0600","amount":190,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":190,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Don Miguel Ángel Guerrero González - -UUID: 0e53e926ce424db5b9284a75915d24fe - -JSON con los datos a actualizar: {"name":"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","custom_fields":{"Cliente":1,"Domicilio":"\ud83d\udccd Calle Morelos 34, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/1","Saldo Actual":"\ud83d\udcb21076.67 a favor","Monto Ultimo Pago":"\ud83d\udcb2 190","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\"Nombre\": \"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/1\",\"Saldo Actual\": \"\ud83d\udcb21076.67 a favor\",\"Monto Ultimo Pago\": \"$ 190\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 07\/03\/2025 23:51 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"25\/03\/2025 10:00\",\"Clabe Interbancaria\": \"002180697144444854\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/03\/2025 23:51 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 25\/03\/2025 10:00","Clabe Interbancaria":"002180697144444854","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "1","Domicilio": ""Nombre": "Don Miguel Ángel Guerrero González","URL": "https://sistema.siip.mx/crm/client/1","Saldo Actual": "💲1076.67 a favor","Monto Ultimo Pago": "$ 190","Estado": "Activo","Fecha Ultimo Pago": " 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "25/03/2025 10:00","Clabe Interbancaria": "002180697144444854","Site": "","Antena/Sectorial": ""} - -[2025-03-25 16:00:14.741730] [notice] Logging level set to:debug -[2025-03-25 16:00:14.925180] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-25 16:00:14.925256] [debug] Valor de JSON: {"uuid":"1b471114-eae5-46f4-8048-c6306d2d687a","changeType":"draft_approved","entity":"invoice","entityId":"1708","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1708,"clientId":1,"number":"001659","createdDate":"2025-03-25T10:00:02-0600","dueDate":"2025-04-08T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-24T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1711,"type":"service","label":"PREMIUM 25\/02\/2025 \u2013 24\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":132,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":700.0000000000001,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":684,"invoiceId":1708,"paymentId":500,"creditNoteId":null,"refundId":null,"amount":286.67},{"id":685,"invoiceId":1708,"paymentId":511,"creditNoteId":null,"refundId":null,"amount":100},{"id":686,"invoiceId":1708,"paymentId":574,"creditNoteId":null,"refundId":null,"amount":300},{"id":687,"invoiceId":1708,"paymentId":577,"creditNoteId":null,"refundId":null,"amount":13.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":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-25 16:00:14.925463] [debug] Aprobación de Factura - -[2025-03-25 16:00:14.925525] [debug] {"uuid":"1b471114-eae5-46f4-8048-c6306d2d687a","changeType":"draft_approved","entity":"invoice","entityId":1708,"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":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true}],"accountBalance":1076.67,"accountCredit":1076.67,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1708,"clientId":1,"number":"001659","createdDate":"2025-03-25T10:00:02-0600","dueDate":"2025-04-08T10:00:02-0600","emailSentDate":"2025-03-25T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-23T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1711,"type":"service","label":"PREMIUM 25\/02\/2025 \u2013 24\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":132,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":700,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":684,"invoiceId":1708,"paymentId":500,"creditNoteId":null,"refundId":null,"amount":286.67},{"id":685,"invoiceId":1708,"paymentId":511,"creditNoteId":null,"refundId":null,"amount":100},{"id":686,"invoiceId":1708,"paymentId":574,"creditNoteId":null,"refundId":null,"amount":300},{"id":687,"invoiceId":1708,"paymentId":577,"creditNoteId":null,"refundId":null,"amount":13.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":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-25 16:00:14.925604] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-25 16:00:14.925615] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"1b471114-eae5-46f4-8048-c6306d2d687a","changeType":"draft_approved","entity":"invoice","entityId":1708,"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":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true}],"accountBalance":1076.67,"accountCredit":1076.67,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1708,"clientId":1,"number":"001659","createdDate":"2025-03-25T10:00:02-0600","dueDate":"2025-04-08T10:00:02-0600","emailSentDate":"2025-03-25T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-23T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1711,"type":"service","label":"PREMIUM 25\/02\/2025 \u2013 24\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":132,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":700,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":684,"invoiceId":1708,"paymentId":500,"creditNoteId":null,"refundId":null,"amount":286.67},{"id":685,"invoiceId":1708,"paymentId":511,"creditNoteId":null,"refundId":null,"amount":100},{"id":686,"invoiceId":1708,"paymentId":574,"creditNoteId":null,"refundId":null,"amount":300},{"id":687,"invoiceId":1708,"paymentId":577,"creditNoteId":null,"refundId":null,"amount":13.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":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":608,"clientId":1,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T23:51:02-0600","amount":190,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":190,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Don Miguel Ángel Guerrero González - -UUID: 0e53e926ce424db5b9284a75915d24fe - -JSON con los datos a actualizar: {"name":"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","custom_fields":{"Cliente":1,"Domicilio":"\ud83d\udccd Calle Morelos 34, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/1","Saldo Actual":"\ud83d\udcb21076.67 a favor","Monto Ultimo Pago":"\ud83d\udcb2 190","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\"Nombre\": \"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/1\",\"Saldo Actual\": \"\ud83d\udcb21076.67 a favor\",\"Monto Ultimo Pago\": \"$ 190\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 07\/03\/2025 23:51 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"25\/03\/2025 10:00\",\"Clabe Interbancaria\": \"002180697144444854\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/03\/2025 23:51 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 25\/03\/2025 10:00","Clabe Interbancaria":"002180697144444854","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "1","Domicilio": ""Nombre": "Don Miguel Ángel Guerrero González","URL": "https://sistema.siip.mx/crm/client/1","Saldo Actual": "💲1076.67 a favor","Monto Ultimo Pago": "$ 190","Estado": "Activo","Fecha Ultimo Pago": " 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "25/03/2025 10:00","Clabe Interbancaria": "002180697144444854","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"0e53e926ce424db5b9284a75915d24fe","name":"Don Miguel Ángel Guerrero González","phoneNumber":"5214181148554","avatarUrl":null,"createdAt":"2024-01-26T17:29:28Z","closedAt":"2025-03-18T17:21:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https://dash.callbell.eu/chat/f017e454a6b94ab297509274216c6795","tags":["SIIP"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clientes Relacionados":"oxxo","Antena/Sectorial":"1","Nombre":"👤 Don Miguel Ángel Guerrero González","Clabe Interbancaria":"002180697144444854","Fecha Ultima Actualizacion":"📆🔄️ 25/03/2025 10:00","Acciones":"1","Domicilio":"📍 Calle Morelos 34, Dolores Hidalgo, 37800","Estado":"🟢 Activo ","Saldo Actual":"💲1076.67 a favor","URL":"🌐 https://sistema.siip.mx/crm/client/1","Cliente":"1","user name":"Angel","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\"Nombre\": \"Don Miguel Ángel Guerrero González\",\"URL\": \"https://sistema.siip.mx/crm/client/1\",\"Saldo Actual\": \"💲1076.67 a favor\",\"Monto Ultimo Pago\": \"$ 190\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"25/03/2025 10:00\",\"Clabe Interbancaria\": \"002180697144444854\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Monto Ultimo Pago":"💲 190","Fecha Ultimo Pago":"📆💸 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"0e53e926ce424db5b9284a75915d24fe","name":"Don Miguel Ángel Guerrero González","phoneNumber":"5214181148554","avatarUrl":null,"createdAt":"2024-01-26T17:29:28Z","closedAt":"2025-03-18T17:21:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https://dash.callbell.eu/chat/f017e454a6b94ab297509274216c6795","tags":["SIIP"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clientes Relacionados":"oxxo","Antena/Sectorial":"1","Nombre":"👤 Don Miguel Ángel Guerrero González","Clabe Interbancaria":"002180697144444854","Fecha Ultima Actualizacion":"📆🔄️ 25/03/2025 10:00","Acciones":"1","Domicilio":"📍 Calle Morelos 34, Dolores Hidalgo, 37800","Estado":"🟢 Activo ","Saldo Actual":"💲1076.67 a favor","URL":"🌐 https://sistema.siip.mx/crm/client/1","Cliente":"1","user name":"Angel","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\"Nombre\": \"Don Miguel Ángel Guerrero González\",\"URL\": \"https://sistema.siip.mx/crm/client/1\",\"Saldo Actual\": \"💲1076.67 a favor\",\"Monto Ultimo Pago\": \"$ 190\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"25/03/2025 10:00\",\"Clabe Interbancaria\": \"002180697144444854\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Monto Ultimo Pago":"💲 190","Fecha Ultimo Pago":"📆💸 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-25 16:00:18.136435] [notice] Logging level set to:debug -[2025-03-25 16:00:18.298504] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-25 16:00:18.298666] [debug] Valor de JSON: {"uuid":"1fab15f6-b2cb-41b8-af7e-d93070ea04db","changeType":"insert","entity":"invoice","entityId":"1709","eventName":"invoice.add_draft","extraData":{"entity":{"id":1709,"clientId":138,"number":"001660","createdDate":"2025-03-25T10:00:02-0600","dueDate":"2025-04-08T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-25T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1712,"type":"service","label":"Basico 300 24\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":0.26666666666666666,"total":80,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":148,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":80,"discount":null,"discountLabel":"Descuento","taxes":[],"total":80,"amountPaid":80,"totalUntaxed":80,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":688,"invoiceId":1709,"paymentId":340,"creditNoteId":null,"refundId":null,"amount":80}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Mofles","clientLastName":"El Ruco Lopez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"89 Baja California Sur","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-25 16:00:18.298810] [debug] Adición de borrador de Factura - -[2025-03-25 16:00:18.298891] [debug] {"uuid":"1fab15f6-b2cb-41b8-af7e-d93070ea04db","changeType":"insert","entity":"invoice","entityId":1709,"message":null,"clientId":138,"eventName":"invoice.add_draft","clientData":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":186,"clientId":138,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0ELEIMpRfdeLs","clientZoneVisible":true},{"id":187,"clientId":138,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180174170666420","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1709,"clientId":138,"number":"001660","createdDate":"2025-03-25T10:00:02-0600","dueDate":"2025-04-08T10:00:02-0600","emailSentDate":"2025-03-25T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-25T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1712,"type":"service","label":"Basico 300 24\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":0.26666666666667,"total":80,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":148,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":80,"discount":null,"discountLabel":"Descuento","taxes":[],"total":80,"amountPaid":80,"totalUntaxed":80,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":688,"invoiceId":1709,"paymentId":340,"creditNoteId":null,"refundId":null,"amount":80}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Mofles","clientLastName":"El Ruco Lopez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"89 Baja California Sur","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-25 16:00:18.298973] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-25 16:00:18.299012] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"1fab15f6-b2cb-41b8-af7e-d93070ea04db","changeType":"insert","entity":"invoice","entityId":1709,"message":null,"clientId":138,"eventName":"invoice.add_draft","clientData":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":186,"clientId":138,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0ELEIMpRfdeLs","clientZoneVisible":true},{"id":187,"clientId":138,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180174170666420","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1709,"clientId":138,"number":"001660","createdDate":"2025-03-25T10:00:02-0600","dueDate":"2025-04-08T10:00:02-0600","emailSentDate":"2025-03-25T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-25T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1712,"type":"service","label":"Basico 300 24\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":0.26666666666667,"total":80,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":148,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":80,"discount":null,"discountLabel":"Descuento","taxes":[],"total":80,"amountPaid":80,"totalUntaxed":80,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":688,"invoiceId":1709,"paymentId":340,"creditNoteId":null,"refundId":null,"amount":80}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Mofles","clientLastName":"El Ruco Lopez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"89 Baja California Sur","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":584,"clientId":138,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:12:19-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-02-14T13:13:16-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":689,"invoiceId":1710,"paymentId":584,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1015,"attributes":[]}] - -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":{"Cliente":138,"Domicilio":"\ud83d\udccd Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Mofles El Ruco Lopez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/138","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"138\",\"Domicilio\": \"\"Nombre\": \"Mofles El Ruco Lopez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/138\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/02\/2025 13:12 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"25\/03\/2025 10:00\",\"Clabe Interbancaria\": \"124180174170666420\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/02\/2025 13:12 con Personalizado \ud83d\udcdd\ud83d\udcb8","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 25\/03\/2025 10:00","Clabe Interbancaria":"124180174170666420","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "138","Domicilio": ""Nombre": "Mofles El Ruco Lopez","URL": "https://sistema.siip.mx/crm/client/138","Saldo Actual": "💲0 está al corriente","Monto Ultimo Pago": "$ 300","Estado": "Activo","Fecha Ultimo Pago": " 14/02/2025 13:12 con Personalizado 📝💸","Fecha Ultima Actualizacion": "25/03/2025 10:00","Clabe Interbancaria": "124180174170666420","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Mofles El Ruco Lopez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Cliente":"138","Clabe Interbancaria":"124180174170666420","Monto Ultimo Pago":"💲 300","Domicilio":"📍 Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 14/02/2025 13:12 con Personalizado 📝💸","Fecha Ultima Actualizacion":"📆🔄️ 25/03/2025 10:00","Nombre":"👤 Mofles El Ruco Lopez","URL":"🌐 https://sistema.siip.mx/crm/client/138","Resumen":"{\"Cliente\": \"138\",\"Domicilio\": \"\"Nombre\": \"Mofles El Ruco Lopez\",\"URL\": \"https://sistema.siip.mx/crm/client/138\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14/02/2025 13:12 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"25/03/2025 10:00\",\"Clabe Interbancaria\": \"124180174170666420\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Mofles El Ruco Lopez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Cliente":"138","Clabe Interbancaria":"124180174170666420","Monto Ultimo Pago":"💲 300","Domicilio":"📍 Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 14/02/2025 13:12 con Personalizado 📝💸","Fecha Ultima Actualizacion":"📆🔄️ 25/03/2025 10:00","Nombre":"👤 Mofles El Ruco Lopez","URL":"🌐 https://sistema.siip.mx/crm/client/138","Resumen":"{\"Cliente\": \"138\",\"Domicilio\": \"\"Nombre\": \"Mofles El Ruco Lopez\",\"URL\": \"https://sistema.siip.mx/crm/client/138\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14/02/2025 13:12 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"25/03/2025 10:00\",\"Clabe Interbancaria\": \"124180174170666420\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-25 16:00:21.079117] [notice] Logging level set to:debug -[2025-03-25 16:00:21.234309] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-25 16:00:21.234381] [debug] Valor de JSON: {"uuid":"00ff6c7a-a5d1-47fc-8a5c-9e75a0d7bd5f","changeType":"draft_approved","entity":"invoice","entityId":"1709","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1709,"clientId":138,"number":"001660","createdDate":"2025-03-25T10:00:02-0600","dueDate":"2025-04-08T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-25T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1712,"type":"service","label":"Basico 300 24\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":0.26666666666666666,"total":80,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":148,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":80,"discount":null,"discountLabel":"Descuento","taxes":[],"total":80,"amountPaid":80,"totalUntaxed":80,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":688,"invoiceId":1709,"paymentId":340,"creditNoteId":null,"refundId":null,"amount":80}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Mofles","clientLastName":"El Ruco Lopez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"89 Baja California Sur","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-25 16:00:21.234498] [debug] Aprobación de Factura - -[2025-03-25 16:00:21.234549] [debug] {"uuid":"00ff6c7a-a5d1-47fc-8a5c-9e75a0d7bd5f","changeType":"draft_approved","entity":"invoice","entityId":1709,"message":null,"clientId":138,"eventName":"invoice.draft_approved","clientData":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":186,"clientId":138,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0ELEIMpRfdeLs","clientZoneVisible":true},{"id":187,"clientId":138,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180174170666420","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1709,"clientId":138,"number":"001660","createdDate":"2025-03-25T10:00:02-0600","dueDate":"2025-04-08T10:00:02-0600","emailSentDate":"2025-03-25T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-25T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1712,"type":"service","label":"Basico 300 24\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":0.26666666666667,"total":80,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":148,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":80,"discount":null,"discountLabel":"Descuento","taxes":[],"total":80,"amountPaid":80,"totalUntaxed":80,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":688,"invoiceId":1709,"paymentId":340,"creditNoteId":null,"refundId":null,"amount":80}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Mofles","clientLastName":"El Ruco Lopez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"89 Baja California Sur","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-25 16:00:21.234602] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-25 16:00:21.234616] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"00ff6c7a-a5d1-47fc-8a5c-9e75a0d7bd5f","changeType":"draft_approved","entity":"invoice","entityId":1709,"message":null,"clientId":138,"eventName":"invoice.draft_approved","clientData":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":186,"clientId":138,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0ELEIMpRfdeLs","clientZoneVisible":true},{"id":187,"clientId":138,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180174170666420","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1709,"clientId":138,"number":"001660","createdDate":"2025-03-25T10:00:02-0600","dueDate":"2025-04-08T10:00:02-0600","emailSentDate":"2025-03-25T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-25T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1712,"type":"service","label":"Basico 300 24\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":0.26666666666667,"total":80,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":148,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":80,"discount":null,"discountLabel":"Descuento","taxes":[],"total":80,"amountPaid":80,"totalUntaxed":80,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":688,"invoiceId":1709,"paymentId":340,"creditNoteId":null,"refundId":null,"amount":80}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Mofles","clientLastName":"El Ruco Lopez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"89 Baja California Sur","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":584,"clientId":138,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:12:19-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-02-14T13:13:16-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":689,"invoiceId":1710,"paymentId":584,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1015,"attributes":[]}] - -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":{"Cliente":138,"Domicilio":"\ud83d\udccd Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Mofles El Ruco Lopez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/138","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"138\",\"Domicilio\": \"\"Nombre\": \"Mofles El Ruco Lopez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/138\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/02\/2025 13:12 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"25\/03\/2025 10:00\",\"Clabe Interbancaria\": \"124180174170666420\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/02\/2025 13:12 con Personalizado \ud83d\udcdd\ud83d\udcb8","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 25\/03\/2025 10:00","Clabe Interbancaria":"124180174170666420","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "138","Domicilio": ""Nombre": "Mofles El Ruco Lopez","URL": "https://sistema.siip.mx/crm/client/138","Saldo Actual": "💲0 está al corriente","Monto Ultimo Pago": "$ 300","Estado": "Activo","Fecha Ultimo Pago": " 14/02/2025 13:12 con Personalizado 📝💸","Fecha Ultima Actualizacion": "25/03/2025 10:00","Clabe Interbancaria": "124180174170666420","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Mofles El Ruco Lopez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Cliente":"138","Clabe Interbancaria":"124180174170666420","Monto Ultimo Pago":"💲 300","Domicilio":"📍 Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 14/02/2025 13:12 con Personalizado 📝💸","Fecha Ultima Actualizacion":"📆🔄️ 25/03/2025 10:00","Nombre":"👤 Mofles El Ruco Lopez","URL":"🌐 https://sistema.siip.mx/crm/client/138","Resumen":"{\"Cliente\": \"138\",\"Domicilio\": \"\"Nombre\": \"Mofles El Ruco Lopez\",\"URL\": \"https://sistema.siip.mx/crm/client/138\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14/02/2025 13:12 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"25/03/2025 10:00\",\"Clabe Interbancaria\": \"124180174170666420\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Mofles El Ruco Lopez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Cliente":"138","Clabe Interbancaria":"124180174170666420","Monto Ultimo Pago":"💲 300","Domicilio":"📍 Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 14/02/2025 13:12 con Personalizado 📝💸","Fecha Ultima Actualizacion":"📆🔄️ 25/03/2025 10:00","Nombre":"👤 Mofles El Ruco Lopez","URL":"🌐 https://sistema.siip.mx/crm/client/138","Resumen":"{\"Cliente\": \"138\",\"Domicilio\": \"\"Nombre\": \"Mofles El Ruco Lopez\",\"URL\": \"https://sistema.siip.mx/crm/client/138\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14/02/2025 13:12 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"25/03/2025 10:00\",\"Clabe Interbancaria\": \"124180174170666420\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-25 16:00:25.482245] [notice] Logging level set to:debug -[2025-03-25 16:00:25.631285] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-25 16:00:25.631352] [debug] Valor de JSON: {"uuid":"adac8291-57b1-47f5-841c-d55e716b65f7","changeType":"insert","entity":"invoice","entityId":"1710","eventName":"invoice.add_draft","extraData":{"entity":{"id":1710,"clientId":138,"number":"001661","createdDate":"2025-03-25T10:00:02-0600","dueDate":"2025-04-08T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-25T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1713,"type":"service","label":"Basico 300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":148,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":300,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":689,"invoiceId":1710,"paymentId":584,"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":"Mofles","clientLastName":"El Ruco Lopez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"89 Baja California Sur","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-25 16:00:25.631474] [debug] Adición de borrador de Factura - -[2025-03-25 16:00:25.631525] [debug] {"uuid":"adac8291-57b1-47f5-841c-d55e716b65f7","changeType":"insert","entity":"invoice","entityId":1710,"message":null,"clientId":138,"eventName":"invoice.add_draft","clientData":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":186,"clientId":138,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0ELEIMpRfdeLs","clientZoneVisible":true},{"id":187,"clientId":138,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180174170666420","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1710,"clientId":138,"number":"001661","createdDate":"2025-03-25T10:00:02-0600","dueDate":"2025-04-08T10:00:02-0600","emailSentDate":"2025-03-25T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-25T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1713,"type":"service","label":"Basico 300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":148,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":300,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":689,"invoiceId":1710,"paymentId":584,"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":"Mofles","clientLastName":"El Ruco Lopez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"89 Baja California Sur","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-25 16:00:25.631578] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-25 16:00:25.631592] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"adac8291-57b1-47f5-841c-d55e716b65f7","changeType":"insert","entity":"invoice","entityId":1710,"message":null,"clientId":138,"eventName":"invoice.add_draft","clientData":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":186,"clientId":138,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0ELEIMpRfdeLs","clientZoneVisible":true},{"id":187,"clientId":138,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180174170666420","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1710,"clientId":138,"number":"001661","createdDate":"2025-03-25T10:00:02-0600","dueDate":"2025-04-08T10:00:02-0600","emailSentDate":"2025-03-25T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-25T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1713,"type":"service","label":"Basico 300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":148,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":300,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":689,"invoiceId":1710,"paymentId":584,"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":"Mofles","clientLastName":"El Ruco Lopez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"89 Baja California Sur","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":584,"clientId":138,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:12:19-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-02-14T13:13:16-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":689,"invoiceId":1710,"paymentId":584,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1015,"attributes":[]}] - -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":{"Cliente":138,"Domicilio":"\ud83d\udccd Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Mofles El Ruco Lopez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/138","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"138\",\"Domicilio\": \"\"Nombre\": \"Mofles El Ruco Lopez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/138\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/02\/2025 13:12 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"25\/03\/2025 10:00\",\"Clabe Interbancaria\": \"124180174170666420\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/02\/2025 13:12 con Personalizado \ud83d\udcdd\ud83d\udcb8","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 25\/03\/2025 10:00","Clabe Interbancaria":"124180174170666420","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "138","Domicilio": ""Nombre": "Mofles El Ruco Lopez","URL": "https://sistema.siip.mx/crm/client/138","Saldo Actual": "💲0 está al corriente","Monto Ultimo Pago": "$ 300","Estado": "Activo","Fecha Ultimo Pago": " 14/02/2025 13:12 con Personalizado 📝💸","Fecha Ultima Actualizacion": "25/03/2025 10:00","Clabe Interbancaria": "124180174170666420","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Mofles El Ruco Lopez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Cliente":"138","Clabe Interbancaria":"124180174170666420","Monto Ultimo Pago":"💲 300","Domicilio":"📍 Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 14/02/2025 13:12 con Personalizado 📝💸","Fecha Ultima Actualizacion":"📆🔄️ 25/03/2025 10:00","Nombre":"👤 Mofles El Ruco Lopez","URL":"🌐 https://sistema.siip.mx/crm/client/138","Resumen":"{\"Cliente\": \"138\",\"Domicilio\": \"\"Nombre\": \"Mofles El Ruco Lopez\",\"URL\": \"https://sistema.siip.mx/crm/client/138\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14/02/2025 13:12 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"25/03/2025 10:00\",\"Clabe Interbancaria\": \"124180174170666420\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Mofles El Ruco Lopez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Cliente":"138","Clabe Interbancaria":"124180174170666420","Monto Ultimo Pago":"💲 300","Domicilio":"📍 Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 14/02/2025 13:12 con Personalizado 📝💸","Fecha Ultima Actualizacion":"📆🔄️ 25/03/2025 10:00","Nombre":"👤 Mofles El Ruco Lopez","URL":"🌐 https://sistema.siip.mx/crm/client/138","Resumen":"{\"Cliente\": \"138\",\"Domicilio\": \"\"Nombre\": \"Mofles El Ruco Lopez\",\"URL\": \"https://sistema.siip.mx/crm/client/138\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14/02/2025 13:12 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"25/03/2025 10:00\",\"Clabe Interbancaria\": \"124180174170666420\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-25 16:00:28.423444] [notice] Logging level set to:debug -[2025-03-25 16:00:28.582235] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-25 16:00:28.582304] [debug] Valor de JSON: {"uuid":"63cf7a04-2ec7-4c52-8876-9ee091d52c53","changeType":"draft_approved","entity":"invoice","entityId":"1710","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1710,"clientId":138,"number":"001661","createdDate":"2025-03-25T10:00:02-0600","dueDate":"2025-04-08T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-25T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1713,"type":"service","label":"Basico 300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":148,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":300,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":689,"invoiceId":1710,"paymentId":584,"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":"Mofles","clientLastName":"El Ruco Lopez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"89 Baja California Sur","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-25 16:00:28.582427] [debug] Aprobación de Factura - -[2025-03-25 16:00:28.582492] [debug] {"uuid":"63cf7a04-2ec7-4c52-8876-9ee091d52c53","changeType":"draft_approved","entity":"invoice","entityId":1710,"message":null,"clientId":138,"eventName":"invoice.draft_approved","clientData":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":186,"clientId":138,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0ELEIMpRfdeLs","clientZoneVisible":true},{"id":187,"clientId":138,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180174170666420","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1710,"clientId":138,"number":"001661","createdDate":"2025-03-25T10:00:02-0600","dueDate":"2025-04-08T10:00:02-0600","emailSentDate":"2025-03-25T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-25T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1713,"type":"service","label":"Basico 300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":148,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":300,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":689,"invoiceId":1710,"paymentId":584,"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":"Mofles","clientLastName":"El Ruco Lopez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"89 Baja California Sur","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-25 16:00:28.582539] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-25 16:00:28.582552] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"63cf7a04-2ec7-4c52-8876-9ee091d52c53","changeType":"draft_approved","entity":"invoice","entityId":1710,"message":null,"clientId":138,"eventName":"invoice.draft_approved","clientData":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":186,"clientId":138,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0ELEIMpRfdeLs","clientZoneVisible":true},{"id":187,"clientId":138,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180174170666420","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1710,"clientId":138,"number":"001661","createdDate":"2025-03-25T10:00:02-0600","dueDate":"2025-04-08T10:00:02-0600","emailSentDate":"2025-03-25T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-25T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1713,"type":"service","label":"Basico 300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":148,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":300,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":689,"invoiceId":1710,"paymentId":584,"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":"Mofles","clientLastName":"El Ruco Lopez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"89 Baja California Sur","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":584,"clientId":138,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:12:19-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-02-14T13:13:16-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":689,"invoiceId":1710,"paymentId":584,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1015,"attributes":[]}] - -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":{"Cliente":138,"Domicilio":"\ud83d\udccd Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Mofles El Ruco Lopez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/138","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"138\",\"Domicilio\": \"\"Nombre\": \"Mofles El Ruco Lopez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/138\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/02\/2025 13:12 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"25\/03\/2025 10:00\",\"Clabe Interbancaria\": \"124180174170666420\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/02\/2025 13:12 con Personalizado \ud83d\udcdd\ud83d\udcb8","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 25\/03\/2025 10:00","Clabe Interbancaria":"124180174170666420","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "138","Domicilio": ""Nombre": "Mofles El Ruco Lopez","URL": "https://sistema.siip.mx/crm/client/138","Saldo Actual": "💲0 está al corriente","Monto Ultimo Pago": "$ 300","Estado": "Activo","Fecha Ultimo Pago": " 14/02/2025 13:12 con Personalizado 📝💸","Fecha Ultima Actualizacion": "25/03/2025 10:00","Clabe Interbancaria": "124180174170666420","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Mofles El Ruco Lopez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Cliente":"138","Clabe Interbancaria":"124180174170666420","Monto Ultimo Pago":"💲 300","Domicilio":"📍 Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 14/02/2025 13:12 con Personalizado 📝💸","Fecha Ultima Actualizacion":"📆🔄️ 25/03/2025 10:00","Nombre":"👤 Mofles El Ruco Lopez","URL":"🌐 https://sistema.siip.mx/crm/client/138","Resumen":"{\"Cliente\": \"138\",\"Domicilio\": \"\"Nombre\": \"Mofles El Ruco Lopez\",\"URL\": \"https://sistema.siip.mx/crm/client/138\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14/02/2025 13:12 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"25/03/2025 10:00\",\"Clabe Interbancaria\": \"124180174170666420\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Mofles El Ruco Lopez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Cliente":"138","Clabe Interbancaria":"124180174170666420","Monto Ultimo Pago":"💲 300","Domicilio":"📍 Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 14/02/2025 13:12 con Personalizado 📝💸","Fecha Ultima Actualizacion":"📆🔄️ 25/03/2025 10:00","Nombre":"👤 Mofles El Ruco Lopez","URL":"🌐 https://sistema.siip.mx/crm/client/138","Resumen":"{\"Cliente\": \"138\",\"Domicilio\": \"\"Nombre\": \"Mofles El Ruco Lopez\",\"URL\": \"https://sistema.siip.mx/crm/client/138\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14/02/2025 13:12 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"25/03/2025 10:00\",\"Clabe Interbancaria\": \"124180174170666420\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-25 19:46:52.087460] [notice] Logging level set to:debug -[2025-03-25 19:46:52.169081] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 19:46:52.169316] [debug] Valor de JSON: {"uuid":"87011931-fd5e-4de7-9899-3d495daa6fcc","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 19:46:52.170021] [debug] Se actualiza a un cliente -[2025-03-25 19:46:52.170152] [debug] Valor de json_data: {"uuid":"87011931-fd5e-4de7-9899-3d495daa6fcc","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 19:46:52.170211] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 19:46:52.170250] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 19:46:52.170286] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 19:46:52.170321] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 19:46:52.170356] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 19:46:52.170392] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 19:46:52.170427] [debug] La etiqueta CREARCLABESTRIPE se agregará al cliente -[2025-03-25 19:46:52.184802] [info] Valor de notificationData: {"uuid":"87011931-fd5e-4de7-9899-3d495daa6fcc","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 19:46:52.184937] [info] Valor de attributes: [{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}] - -[2025-03-25 19:46:52.253865] [info] ID correspondiente a 'Customer Stripe ID': 10 - -[2025-03-25 19:46:52.253915] [info] El cliente ya tiene un Stripe Customer ID: cus_PetN1dhr4rx0kX - -[2025-03-25 19:46:52.279771] [info] ID de la etiqueta 'CREARCLABESTRIPE': 7 - -[2025-03-25 19:46:52.415549] [info] Se eliminó la etiqueta 'CREARCLABESTRIPE' del cliente. - -[2025-03-25 19:46:52.415637] [debug] {"uuid":"87011931-fd5e-4de7-9899-3d495daa6fcc","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 19:46:52.418138] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-25 19:46:52.418175] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"87011931-fd5e-4de7-9899-3d495daa6fcc","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":611,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-19T08:11:25-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas pollerias","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb21753.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 110","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb21753.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 19\/03\/2025 08:11 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"25\/03\/2025 13:46\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 19\/03\/2025 08:11 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 25\/03\/2025 13:46","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas pollerias","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲1753.33 a favor","Monto Ultimo Pago": "$ 110","Estado": "Activo","Fecha Ultimo Pago": " 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "25/03/2025 13:46","Clabe Interbancaria": "0021804341999569810","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1753.33 a favor","user name":"Daniel Humberto 🐁","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Monto Ultimo Pago":"💲 110","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 25/03/2025 13:46","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","URL":"🌐 https://sistema.siip.mx/crm/client/2","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1753.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"25/03/2025 13:46\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1753.33 a favor","user name":"Daniel Humberto 🐁","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Monto Ultimo Pago":"💲 110","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 25/03/2025 13:46","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","URL":"🌐 https://sistema.siip.mx/crm/client/2","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1753.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"25/03/2025 13:46\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-25 19:46:55.419905] [notice] Logging level set to:debug -[2025-03-25 19:46:55.520587] [debug] valor el evento recibido por webhook: client.edit - -[2025-03-25 19:46:55.520804] [debug] Valor de JSON: {"uuid":"f6f2ef10-3089-44d3-addd-44a9be99fbe9","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-03-25 19:46:55.520975] [debug] Se actualiza a un cliente -[2025-03-25 19:46:55.521055] [debug] Valor de json_data: {"uuid":"f6f2ef10-3089-44d3-addd-44a9be99fbe9","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":7,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-03-25 19:46:55.521101] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-03-25 19:46:55.521140] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead -[2025-03-25 19:46:55.521174] [debug] El cliente no cambió de potencial a cliente -[2025-03-25 19:46:55.521210] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-03-25 19:46:55.521245] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-03-25 19:46:55.521280] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-03-25 19:46:55.521338] [debug] {"uuid":"f6f2ef10-3089-44d3-addd-44a9be99fbe9","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-03-25 19:46:55.521413] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-25 19:46:55.521450] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"f6f2ef10-3089-44d3-addd-44a9be99fbe9","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1753.33,"accountCredit":1753.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":611,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-19T08:11:25-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas pollerias","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb21753.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 110","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb21753.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 19\/03\/2025 08:11 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"25\/03\/2025 13:46\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 19\/03\/2025 08:11 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 25\/03\/2025 13:46","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas pollerias","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲1753.33 a favor","Monto Ultimo Pago": "$ 110","Estado": "Activo","Fecha Ultimo Pago": " 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "25/03/2025 13:46","Clabe Interbancaria": "0021804341999569810","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1753.33 a favor","user name":"Daniel Humberto 🐁","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Monto Ultimo Pago":"💲 110","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 25/03/2025 13:46","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","URL":"🌐 https://sistema.siip.mx/crm/client/2","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1753.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"25/03/2025 13:46\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1753.33 a favor","user name":"Daniel Humberto 🐁","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Monto Ultimo Pago":"💲 110","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 25/03/2025 13:46","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","URL":"🌐 https://sistema.siip.mx/crm/client/2","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1753.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"25/03/2025 13:46\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-25 21:01:32.409774] [notice] Logging level set to:debug -[2025-03-25 21:01:32.490269] [error] Error for request http://localhost/crm/api/v1.0/clients/services/144. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-03-25 21:01:32.629698] [notice] Logging level set to:debug -[2025-03-25 21:01:32.827728] [debug] valor el evento recibido por webhook: service.add - -[2025-03-25 21:01:32.827949] [debug] Valor de JSON: {"uuid":"a4d58120-054c-4527-9dd2-67bc90c563b0","changeType":"insert","entity":"service","entityId":"152","eventName":"service.add","extraData":{"entity":{"id":152,"prepaid":false,"clientId":2,"status":1,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":144,"prepaid":false,"clientId":2,"status":5,"name":"PREMIUM","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":"2025-03-24T00:00:00-0600","contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":null,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":null,"attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}} - -[2025-03-25 21:01:36.220774] [notice] Logging level set to:debug -[2025-03-25 21:01:36.374260] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-25 21:01:36.374473] [debug] Valor de JSON: {"uuid":"f22712a9-1c1c-43bf-b58e-18625f80a293","changeType":"insert","entity":"invoice","entityId":"1711","eventName":"invoice.add_draft","extraData":{"entity":{"id":1711,"clientId":2,"number":"001662","createdDate":"2025-03-25T15:01:35-0600","dueDate":"2025-04-08T15:01:35-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-25T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1714,"type":"service","label":"Basico 300 25\/03\/2025 \u2013 30\/04\/2025","price":300,"quantity":1.2333333333333334,"total":370,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":152,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":370,"discount":null,"discountLabel":"Descuento","taxes":[],"total":370,"amountPaid":370,"totalUntaxed":370,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":690,"invoiceId":1711,"paymentId":598,"creditNoteId":null,"refundId":null,"amount":43.33},{"id":691,"invoiceId":1711,"paymentId":599,"creditNoteId":null,"refundId":null,"amount":155},{"id":692,"invoiceId":1711,"paymentId":600,"creditNoteId":null,"refundId":null,"amount":155},{"id":693,"invoiceId":1711,"paymentId":601,"creditNoteId":null,"refundId":null,"amount":16.67}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-25 21:01:36.374631] [debug] Adición de borrador de Factura - -[2025-03-25 21:01:36.374730] [debug] {"uuid":"f22712a9-1c1c-43bf-b58e-18625f80a293","changeType":"insert","entity":"invoice","entityId":1711,"message":null,"clientId":2,"eventName":"invoice.add_draft","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1383.33,"accountCredit":1383.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1711,"clientId":2,"number":"001662","createdDate":"2025-03-25T15:01:35-0600","dueDate":"2025-04-08T15:01:35-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-25T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1714,"type":"service","label":"Basico 300 25\/03\/2025 \u2013 30\/04\/2025","price":300,"quantity":1.2333333333333,"total":370,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":152,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":370,"discount":null,"discountLabel":"Descuento","taxes":[],"total":370,"amountPaid":370,"totalUntaxed":370,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":690,"invoiceId":1711,"paymentId":598,"creditNoteId":null,"refundId":null,"amount":43.33},{"id":691,"invoiceId":1711,"paymentId":599,"creditNoteId":null,"refundId":null,"amount":155},{"id":692,"invoiceId":1711,"paymentId":600,"creditNoteId":null,"refundId":null,"amount":155},{"id":693,"invoiceId":1711,"paymentId":601,"creditNoteId":null,"refundId":null,"amount":16.67}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-25 21:01:36.374847] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-25 21:01:36.374891] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"f22712a9-1c1c-43bf-b58e-18625f80a293","changeType":"insert","entity":"invoice","entityId":1711,"message":null,"clientId":2,"eventName":"invoice.add_draft","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1383.33,"accountCredit":1383.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1711,"clientId":2,"number":"001662","createdDate":"2025-03-25T15:01:35-0600","dueDate":"2025-04-08T15:01:35-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-25T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1714,"type":"service","label":"Basico 300 25\/03\/2025 \u2013 30\/04\/2025","price":300,"quantity":1.2333333333333,"total":370,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":152,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":370,"discount":null,"discountLabel":"Descuento","taxes":[],"total":370,"amountPaid":370,"totalUntaxed":370,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":690,"invoiceId":1711,"paymentId":598,"creditNoteId":null,"refundId":null,"amount":43.33},{"id":691,"invoiceId":1711,"paymentId":599,"creditNoteId":null,"refundId":null,"amount":155},{"id":692,"invoiceId":1711,"paymentId":600,"creditNoteId":null,"refundId":null,"amount":155},{"id":693,"invoiceId":1711,"paymentId":601,"creditNoteId":null,"refundId":null,"amount":16.67}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":611,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-19T08:11:25-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas pollerias","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb21383.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 110","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb21383.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 19\/03\/2025 08:11 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"25\/03\/2025 15:01\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 19\/03\/2025 08:11 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 25\/03\/2025 15:01","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas pollerias","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲1383.33 a favor","Monto Ultimo Pago": "$ 110","Estado": "Activo","Fecha Ultimo Pago": " 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "25/03/2025 15:01","Clabe Interbancaria": "0021804341999569810","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1383.33 a favor","user name":"Daniel Humberto 🐁","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Monto Ultimo Pago":"💲 110","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 25/03/2025 15:01","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","URL":"🌐 https://sistema.siip.mx/crm/client/2","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1383.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"25/03/2025 15:01\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1383.33 a favor","user name":"Daniel Humberto 🐁","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Monto Ultimo Pago":"💲 110","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 25/03/2025 15:01","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","URL":"🌐 https://sistema.siip.mx/crm/client/2","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1383.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"25/03/2025 15:01\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-25 21:01:39.296829] [notice] Logging level set to:debug -[2025-03-25 21:01:39.467761] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-25 21:01:39.467839] [debug] Valor de JSON: {"uuid":"b7914fba-2b4e-493f-a80d-18ce9277cbd4","changeType":"draft_approved","entity":"invoice","entityId":"1711","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1711,"clientId":2,"number":"001662","createdDate":"2025-03-25T15:01:35-0600","dueDate":"2025-04-08T15:01:35-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-25T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1714,"type":"service","label":"Basico 300 25\/03\/2025 \u2013 30\/04\/2025","price":300,"quantity":1.2333333333333334,"total":370,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":152,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":370,"discount":null,"discountLabel":"Descuento","taxes":[],"total":370,"amountPaid":370,"totalUntaxed":370,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":690,"invoiceId":1711,"paymentId":598,"creditNoteId":null,"refundId":null,"amount":43.33},{"id":691,"invoiceId":1711,"paymentId":599,"creditNoteId":null,"refundId":null,"amount":155},{"id":692,"invoiceId":1711,"paymentId":600,"creditNoteId":null,"refundId":null,"amount":155},{"id":693,"invoiceId":1711,"paymentId":601,"creditNoteId":null,"refundId":null,"amount":16.67}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-25 21:01:39.467973] [debug] Aprobación de Factura - -[2025-03-25 21:01:39.468034] [debug] {"uuid":"b7914fba-2b4e-493f-a80d-18ce9277cbd4","changeType":"draft_approved","entity":"invoice","entityId":1711,"message":null,"clientId":2,"eventName":"invoice.draft_approved","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1383.33,"accountCredit":1383.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1711,"clientId":2,"number":"001662","createdDate":"2025-03-25T15:01:35-0600","dueDate":"2025-04-08T15:01:35-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-25T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1714,"type":"service","label":"Basico 300 25\/03\/2025 \u2013 30\/04\/2025","price":300,"quantity":1.2333333333333,"total":370,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":152,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":370,"discount":null,"discountLabel":"Descuento","taxes":[],"total":370,"amountPaid":370,"totalUntaxed":370,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":690,"invoiceId":1711,"paymentId":598,"creditNoteId":null,"refundId":null,"amount":43.33},{"id":691,"invoiceId":1711,"paymentId":599,"creditNoteId":null,"refundId":null,"amount":155},{"id":692,"invoiceId":1711,"paymentId":600,"creditNoteId":null,"refundId":null,"amount":155},{"id":693,"invoiceId":1711,"paymentId":601,"creditNoteId":null,"refundId":null,"amount":16.67}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-25 21:01:39.468085] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-25 21:01:39.468097] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"b7914fba-2b4e-493f-a80d-18ce9277cbd4","changeType":"draft_approved","entity":"invoice","entityId":1711,"message":null,"clientId":2,"eventName":"invoice.draft_approved","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1383.33,"accountCredit":1383.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1711,"clientId":2,"number":"001662","createdDate":"2025-03-25T15:01:35-0600","dueDate":"2025-04-08T15:01:35-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-25T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1714,"type":"service","label":"Basico 300 25\/03\/2025 \u2013 30\/04\/2025","price":300,"quantity":1.2333333333333,"total":370,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":152,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":370,"discount":null,"discountLabel":"Descuento","taxes":[],"total":370,"amountPaid":370,"totalUntaxed":370,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":690,"invoiceId":1711,"paymentId":598,"creditNoteId":null,"refundId":null,"amount":43.33},{"id":691,"invoiceId":1711,"paymentId":599,"creditNoteId":null,"refundId":null,"amount":155},{"id":692,"invoiceId":1711,"paymentId":600,"creditNoteId":null,"refundId":null,"amount":155},{"id":693,"invoiceId":1711,"paymentId":601,"creditNoteId":null,"refundId":null,"amount":16.67}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":611,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-19T08:11:25-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas pollerias","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb21383.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 110","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb21383.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 19\/03\/2025 08:11 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"25\/03\/2025 15:01\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 19\/03\/2025 08:11 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 25\/03\/2025 15:01","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas pollerias","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲1383.33 a favor","Monto Ultimo Pago": "$ 110","Estado": "Activo","Fecha Ultimo Pago": " 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "25/03/2025 15:01","Clabe Interbancaria": "0021804341999569810","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1383.33 a favor","user name":"Daniel Humberto 🐁","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Monto Ultimo Pago":"💲 110","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 25/03/2025 15:01","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","URL":"🌐 https://sistema.siip.mx/crm/client/2","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1383.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"25/03/2025 15:01\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1383.33 a favor","user name":"Daniel Humberto 🐁","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Monto Ultimo Pago":"💲 110","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 25/03/2025 15:01","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","URL":"🌐 https://sistema.siip.mx/crm/client/2","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1383.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 19/03/2025 08:11 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"25/03/2025 15:01\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-25 21:03:44.937664] [notice] Logging level set to:debug -[2025-03-25 21:03:44.996617] [error] Error for request http://localhost/crm/api/v1.0/invoices/1711. HTTP error (404): {"code":404,"message":"Not Found"} -[2025-03-25 23:15:17.095220] [notice] Logging level set to:debug -[2025-03-25 23:15:17.095381] [info] No UUID found in the webhook data -[2025-03-25 23:15:17.095412] [info] Evento de referencia de oxxo recibido - -[2025-03-25 23:15:17.095432] [info] Referencia persnoalizada, Valor del monto: 110 - -[2025-03-25 23:15:17.095451] [info] Creando referencia del cliente para OXXO: - -[2025-03-25 23:15:17.244092] [info] Stripe Customer ID obtenido: cus_PetN1dhr4rx0kX - -[2025-03-25 23:15:17.244142] [info] Monto proporcionado directamente: 110 - -[2025-03-25 23:15:17.244154] [info] Creando referencia en Stripe por 11000 para el cliente cus_PetN1dhr4rx0kX - -[2025-03-25 23:15:18.347920] [info] Referencia OXXO: 12345678901234657890123456789012 - -[2025-03-25 23:15:18.348177] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TMGk2Rk1jbThvdVFwb2hRZlZ6a2FUN2FMeXUyekZU0100l9759SnF - -[2025-03-25 23:15:18.353480] [error] Error al comunicarse con el servicio Puppeteer. -[2025-03-25 23:16:04.088185] [notice] Logging level set to:debug -[2025-03-25 23:16:04.088330] [info] No UUID found in the webhook data -[2025-03-25 23:16:04.088361] [info] Evento de referencia de oxxo recibido - -[2025-03-25 23:16:04.088378] [info] Referencia persnoalizada, Valor del monto: 110 - -[2025-03-25 23:16:04.088397] [info] Creando referencia del cliente para OXXO: - -[2025-03-25 23:16:04.221303] [info] Stripe Customer ID obtenido: cus_PetN1dhr4rx0kX - -[2025-03-25 23:16:04.221352] [info] Monto proporcionado directamente: 110 - -[2025-03-25 23:16:04.221364] [info] Creando referencia en Stripe por 11000 para el cliente cus_PetN1dhr4rx0kX - -[2025-03-25 23:16:05.319314] [info] Referencia OXXO: 12345678901234657890123456789012 - -[2025-03-25 23:16:05.319425] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TMGk3ZWpGNTBBc1pNNEVsdEZYbU9OS3hJQ2RiOTJU0100Tg5grGVy - -[2025-03-25 23:16:05.328766] [error] Error al comunicarse con el servicio Puppeteer. -[2025-03-25 23:18:23.993838] [notice] Logging level set to:debug -[2025-03-25 23:18:24.279803] [debug] valor el evento recibido por webhook: payment.add - -[2025-03-25 23:18:24.279859] [debug] Valor de JSON: {"uuid":"a77f047f-b592-4baa-86cc-f2410022d8a7","changeType":"insert","entity":"payment","entityId":"612","eventName":"payment.add","extraData":{"entity":{"id":612,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-25T17:18:23-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]},"entityBeforeEdit":null}} - -[2025-03-25 23:18:24.280106] [debug] Notification encodificado en JSON:{"uuid":"a77f047f-b592-4baa-86cc-f2410022d8a7","changeType":"insert","entity":"payment","entityId":612,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1863.33,"accountCredit":1863.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":612,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-25T17:18:23-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]}} - -[2025-03-25 23:18:24.280133] [debug] valor del payment data: {"id":612,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-25T17:18:23-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]} - -[2025-03-25 23:18:24.280198] [info] {"WhatsApp":["5214181878106"]} -[2025-03-25 23:18:24.280210] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-25 23:18:24.280220] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-25 23:18:24.280234] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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_pollerias.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_pollerias.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png - -No se pudo obtener la lista de archivos de la carpeta FTP - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png" - }, - "template_values": ["Daniel Humberto Soto Villegas pollerias", "$110", "$1863.33 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"c0e59326b814422989a4ab3b4dbe9883","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":"a77f047f-b592-4baa-86cc-f2410022d8a7","changeType":"insert","entity":"payment","entityId":612,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1863.33,"accountCredit":1863.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":612,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-25T17:18:23-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]}} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":612,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-25T17:18:23-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas pollerias","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb21863.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 110","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb21863.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 25\/03\/2025 17:18 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"25\/03\/2025 17:18\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 25\/03\/2025 17:18 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 25\/03\/2025 17:18","Clabe Interbancaria":null,"Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas pollerias","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲1863.33 a favor","Monto Ultimo Pago": "$ 110","Estado": "Activo","Fecha Ultimo Pago": " 25/03/2025 17:18 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "25/03/2025 17:18","Clabe Interbancaria": "","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1863.33 a favor","user name":"Daniel Humberto 🐁","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Monto Ultimo Pago":"💲 110","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 25/03/2025 17:18 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 25/03/2025 17:18","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","URL":"🌐 https://sistema.siip.mx/crm/client/2","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1863.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 25/03/2025 17:18 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"25/03/2025 17:18\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1863.33 a favor","user name":"Daniel Humberto 🐁","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Monto Ultimo Pago":"💲 110","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 25/03/2025 17:18 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 25/03/2025 17:18","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","URL":"🌐 https://sistema.siip.mx/crm/client/2","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1863.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 25/03/2025 17:18 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"25/03/2025 17:18\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-25 23:18:31.640543] [notice] Logging level set to:debug -[2025-03-25 23:18:31.749413] [debug] valor el evento recibido por webhook: payment.edit - -[2025-03-25 23:18:31.749466] [debug] Valor de JSON: {"uuid":"a0fa4cf0-17f5-4c1d-9877-ad36377dfb21","changeType":"edit","entity":"payment","entityId":"612","eventName":"payment.edit","extraData":{"entity":{"id":612,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-25T17:18:23-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":612,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-25T17:18:23-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]}}} - -[2025-03-25 23:18:36.417687] [notice] Logging level set to:debug -[2025-03-25 23:18:36.417846] [info] No UUID found in the webhook data -[2025-03-25 23:18:36.417891] [info] Evento de referencia de oxxo recibido - -[2025-03-25 23:18:36.417928] [info] Referencia persnoalizada, Valor del monto: 110 - -[2025-03-25 23:18:36.417956] [info] Creando referencia del cliente para OXXO: - -[2025-03-25 23:18:36.555900] [info] Stripe Customer ID obtenido: cus_PetN1dhr4rx0kX - -[2025-03-25 23:18:36.555952] [info] Monto proporcionado directamente: 110 - -[2025-03-25 23:18:36.555978] [info] Creando referencia en Stripe por 11000 para el cliente cus_PetN1dhr4rx0kX - -[2025-03-25 23:18:37.594686] [info] Referencia OXXO: 12345678901234657890123456789012 - -[2025-03-25 23:18:37.595176] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TMGlBYVE4eEpURFNhVFZ5TVZOeUl5ZFFFOXVrVDhJ01008PgRuHEG - -[2025-03-25 23:18:37.595344] [info] Referencia OXXO creada correctamente. - -[2025-03-25 23:18:37.599781] [info] Referencia personalizada, Valor de la respuesta: {"oxxo_reference":"12345678901234657890123456789012","url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TMGlBYVE4eEpURFNhVFZ5TVZOeUl5ZFFFOXVrVDhJ01008PgRuHEG","clientID":2,"clientFullName":"Daniel Humberto Soto Villegas pollerias","amount":110,"failDescription":"","error":""} - -[2025-03-25 23:18:37.600011] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TMGlBYVE4eEpURFNhVFZ5TVZOeUl5ZFFFOXVrVDhJ01008PgRuHEG","oxxo_reference": "12345678901234657890123456789012","error": "","failDescription": "","clientID": "2","clientFullName": "Daniel Humberto Soto Villegas pollerias","amount": "110"} -[2025-03-25 23:19:08.153923] [notice] Logging level set to:debug -[2025-03-25 23:19:08.286847] [debug] valor el evento recibido por webhook: payment.add - -[2025-03-25 23:19:08.287020] [debug] Valor de JSON: {"uuid":"a47b6818-3742-4b02-b89c-a1d041049e68","changeType":"insert","entity":"payment","entityId":"613","eventName":"payment.add","extraData":{"entity":{"id":613,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-25T17:19:07-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]},"entityBeforeEdit":null}} - -[2025-03-25 23:19:08.287303] [debug] Notification encodificado en JSON:{"uuid":"a47b6818-3742-4b02-b89c-a1d041049e68","changeType":"insert","entity":"payment","entityId":613,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1973.33,"accountCredit":1973.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":613,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-25T17:19:07-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]}} - -[2025-03-25 23:19:08.287384] [debug] valor del payment data: {"id":613,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-25T17:19:07-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]} - -[2025-03-25 23:19:08.287486] [info] {"WhatsApp":["5214181878106"]} -[2025-03-25 23:19:08.287527] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-25 23:19:08.287564] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-25 23:19:08.287606] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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_pollerias.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_pollerias.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png - -No se pudo obtener la lista de archivos de la carpeta FTP - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png" - }, - "template_values": ["Daniel Humberto Soto Villegas pollerias", "$110", "$1973.33 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"6fe38200182a4c8e9b4036c3ed02e716","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":"a47b6818-3742-4b02-b89c-a1d041049e68","changeType":"insert","entity":"payment","entityId":613,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1973.33,"accountCredit":1973.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":613,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-25T17:19:07-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]}} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":613,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-25T17:19:07-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas pollerias","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb21973.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 110","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb21973.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 25\/03\/2025 17:19 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"25\/03\/2025 17:19\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 25\/03\/2025 17:19 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 25\/03\/2025 17:19","Clabe Interbancaria":null,"Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas pollerias","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲1973.33 a favor","Monto Ultimo Pago": "$ 110","Estado": "Activo","Fecha Ultimo Pago": " 25/03/2025 17:19 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "25/03/2025 17:19","Clabe Interbancaria": "","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1973.33 a favor","user name":"Daniel Humberto 🐁","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Monto Ultimo Pago":"💲 110","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 25/03/2025 17:19 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 25/03/2025 17:19","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","URL":"🌐 https://sistema.siip.mx/crm/client/2","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1973.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 25/03/2025 17:19 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"25/03/2025 17:19\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1973.33 a favor","user name":"Daniel Humberto 🐁","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Monto Ultimo Pago":"💲 110","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 25/03/2025 17:19 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 25/03/2025 17:19","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","URL":"🌐 https://sistema.siip.mx/crm/client/2","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲1973.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 25/03/2025 17:19 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"25/03/2025 17:19\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-25 23:19:14.688644] [notice] Logging level set to:debug -[2025-03-25 23:19:14.808624] [debug] valor el evento recibido por webhook: payment.edit - -[2025-03-25 23:19:14.808789] [debug] Valor de JSON: {"uuid":"670d09e4-5180-494e-a7fb-82acf746fde6","changeType":"edit","entity":"payment","entityId":"613","eventName":"payment.edit","extraData":{"entity":{"id":613,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-25T17:19:07-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":613,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-25T17:19:07-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]}}} - -[2025-03-25 23:21:40.107182] [notice] Logging level set to:debug -[2025-03-25 23:21:40.229197] [debug] valor el evento recibido por webhook: payment.add - -[2025-03-25 23:21:40.229351] [debug] Valor de JSON: {"uuid":"3d0dc1dc-443d-4f7c-a047-a0c8256f1a47","changeType":"insert","entity":"payment","entityId":"614","eventName":"payment.add","extraData":{"entity":{"id":614,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-25T17:21:39-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]},"entityBeforeEdit":null}} - -[2025-03-25 23:21:40.229732] [debug] Notification encodificado en JSON:{"uuid":"3d0dc1dc-443d-4f7c-a047-a0c8256f1a47","changeType":"insert","entity":"payment","entityId":614,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":2083.33,"accountCredit":2083.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":614,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-25T17:21:39-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]}} - -[2025-03-25 23:21:40.229827] [debug] valor del payment data: {"id":614,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-25T17:21:39-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]} - -[2025-03-25 23:21:40.229931] [info] {"WhatsApp":["5214181878106"]} -[2025-03-25 23:21:40.229971] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-25 23:21:40.230009] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-25 23:21:40.230062] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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_pollerias.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_pollerias.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png - -No se pudo obtener la lista de archivos de la carpeta FTP - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png" - }, - "template_values": ["Daniel Humberto Soto Villegas pollerias", "$110", "$2083.33 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"fd7189aba8aa4604b3719e9da773e1b7","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":"3d0dc1dc-443d-4f7c-a047-a0c8256f1a47","changeType":"insert","entity":"payment","entityId":614,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":2083.33,"accountCredit":2083.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":614,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-25T17:21:39-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]}} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":614,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-25T17:21:39-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas pollerias","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb22083.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 110","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb22083.33 a favor\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 25\/03\/2025 17:21 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"25\/03\/2025 17:21\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 25\/03\/2025 17:21 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 25\/03\/2025 17:21","Clabe Interbancaria":null,"Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas pollerias","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲2083.33 a favor","Monto Ultimo Pago": "$ 110","Estado": "Activo","Fecha Ultimo Pago": " 25/03/2025 17:21 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "25/03/2025 17:21","Clabe Interbancaria": "","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -[2025-03-25 23:21:50.229655] [notice] Logging level set to:debug -[2025-03-25 23:21:50.362067] [debug] valor el evento recibido por webhook: payment.edit - -[2025-03-25 23:21:50.362226] [debug] Valor de JSON: {"uuid":"92dfc14c-b015-4d63-bda2-c0e65cfd4a4f","changeType":"edit","entity":"payment","entityId":"614","eventName":"payment.edit","extraData":{"entity":{"id":614,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-25T17:21:39-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":614,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-25T17:21:39-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]}}} - -[2025-03-26 20:39:19.356178] [notice] Logging level set to:debug -[2025-03-26 20:39:19.493421] [debug] valor el evento recibido por webhook: invoice.add - -[2025-03-26 20:39:19.493505] [debug] Valor de JSON: {"uuid":"39ba2587-7a64-4fe4-a341-91a6c6296c6a","changeType":"insert","entity":"invoice","entityId":"1712","eventName":"invoice.add","extraData":{"entity":{"id":1712,"clientId":2,"number":"001662","createdDate":"2025-03-26T14:38:28-0600","dueDate":"2025-04-09T14:38:28-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-26T00:00:00-0600","notes":"2.083,33","adminNotes":null,"items":[{"id":1715,"type":"other","label":"sds","price":2083.33,"quantity":1,"total":2083.33,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":2083.33,"discount":null,"discountLabel":"Descuento","taxes":[],"total":2083.33,"amountPaid":2083.33,"totalUntaxed":2083.33,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":694,"invoiceId":1712,"paymentId":598,"creditNoteId":null,"refundId":null,"amount":43.33},{"id":695,"invoiceId":1712,"paymentId":599,"creditNoteId":null,"refundId":null,"amount":155},{"id":696,"invoiceId":1712,"paymentId":600,"creditNoteId":null,"refundId":null,"amount":155},{"id":697,"invoiceId":1712,"paymentId":601,"creditNoteId":null,"refundId":null,"amount":160},{"id":698,"invoiceId":1712,"paymentId":602,"creditNoteId":null,"refundId":null,"amount":170},{"id":699,"invoiceId":1712,"paymentId":603,"creditNoteId":null,"refundId":null,"amount":170},{"id":700,"invoiceId":1712,"paymentId":604,"creditNoteId":null,"refundId":null,"amount":180},{"id":701,"invoiceId":1712,"paymentId":605,"creditNoteId":null,"refundId":null,"amount":100},{"id":702,"invoiceId":1712,"paymentId":606,"creditNoteId":null,"refundId":null,"amount":120},{"id":703,"invoiceId":1712,"paymentId":607,"creditNoteId":null,"refundId":null,"amount":170},{"id":704,"invoiceId":1712,"paymentId":609,"creditNoteId":null,"refundId":null,"amount":110},{"id":705,"invoiceId":1712,"paymentId":610,"creditNoteId":null,"refundId":null,"amount":110},{"id":706,"invoiceId":1712,"paymentId":611,"creditNoteId":null,"refundId":null,"amount":110},{"id":707,"invoiceId":1712,"paymentId":612,"creditNoteId":null,"refundId":null,"amount":110},{"id":708,"invoiceId":1712,"paymentId":613,"creditNoteId":null,"refundId":null,"amount":110},{"id":709,"invoiceId":1712,"paymentId":614,"creditNoteId":null,"refundId":null,"amount":110}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-26 20:39:19.493716] [debug] Adición de Factura - -[2025-03-26 20:39:19.493788] [debug] datos del notification para el invoice add:{"uuid":"39ba2587-7a64-4fe4-a341-91a6c6296c6a","changeType":"insert","entity":"invoice","entityId":1712,"message":null,"clientId":2,"eventName":"invoice.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1712,"clientId":2,"number":"001662","createdDate":"2025-03-26T14:38:28-0600","dueDate":"2025-04-09T14:38:28-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-26T00:00:00-0600","notes":"2.083,33","adminNotes":null,"items":[{"id":1715,"type":"other","label":"sds","price":2083.33,"quantity":1,"total":2083.33,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":2083.33,"discount":null,"discountLabel":"Descuento","taxes":[],"total":2083.33,"amountPaid":2083.33,"totalUntaxed":2083.33,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":694,"invoiceId":1712,"paymentId":598,"creditNoteId":null,"refundId":null,"amount":43.33},{"id":695,"invoiceId":1712,"paymentId":599,"creditNoteId":null,"refundId":null,"amount":155},{"id":696,"invoiceId":1712,"paymentId":600,"creditNoteId":null,"refundId":null,"amount":155},{"id":697,"invoiceId":1712,"paymentId":601,"creditNoteId":null,"refundId":null,"amount":160},{"id":698,"invoiceId":1712,"paymentId":602,"creditNoteId":null,"refundId":null,"amount":170},{"id":699,"invoiceId":1712,"paymentId":603,"creditNoteId":null,"refundId":null,"amount":170},{"id":700,"invoiceId":1712,"paymentId":604,"creditNoteId":null,"refundId":null,"amount":180},{"id":701,"invoiceId":1712,"paymentId":605,"creditNoteId":null,"refundId":null,"amount":100},{"id":702,"invoiceId":1712,"paymentId":606,"creditNoteId":null,"refundId":null,"amount":120},{"id":703,"invoiceId":1712,"paymentId":607,"creditNoteId":null,"refundId":null,"amount":170},{"id":704,"invoiceId":1712,"paymentId":609,"creditNoteId":null,"refundId":null,"amount":110},{"id":705,"invoiceId":1712,"paymentId":610,"creditNoteId":null,"refundId":null,"amount":110},{"id":706,"invoiceId":1712,"paymentId":611,"creditNoteId":null,"refundId":null,"amount":110},{"id":707,"invoiceId":1712,"paymentId":612,"creditNoteId":null,"refundId":null,"amount":110},{"id":708,"invoiceId":1712,"paymentId":613,"creditNoteId":null,"refundId":null,"amount":110},{"id":709,"invoiceId":1712,"paymentId":614,"creditNoteId":null,"refundId":null,"amount":110}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-26 20:39:19.493814] [debug] Account Balance: 0 - -[2025-03-26 20:39:19.493868] [debug] {"uuid":"39ba2587-7a64-4fe4-a341-91a6c6296c6a","changeType":"insert","entity":"invoice","entityId":1712,"message":null,"clientId":2,"eventName":"invoice.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1712,"clientId":2,"number":"001662","createdDate":"2025-03-26T14:38:28-0600","dueDate":"2025-04-09T14:38:28-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-26T00:00:00-0600","notes":"2.083,33","adminNotes":null,"items":[{"id":1715,"type":"other","label":"sds","price":2083.33,"quantity":1,"total":2083.33,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":2083.33,"discount":null,"discountLabel":"Descuento","taxes":[],"total":2083.33,"amountPaid":2083.33,"totalUntaxed":2083.33,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":694,"invoiceId":1712,"paymentId":598,"creditNoteId":null,"refundId":null,"amount":43.33},{"id":695,"invoiceId":1712,"paymentId":599,"creditNoteId":null,"refundId":null,"amount":155},{"id":696,"invoiceId":1712,"paymentId":600,"creditNoteId":null,"refundId":null,"amount":155},{"id":697,"invoiceId":1712,"paymentId":601,"creditNoteId":null,"refundId":null,"amount":160},{"id":698,"invoiceId":1712,"paymentId":602,"creditNoteId":null,"refundId":null,"amount":170},{"id":699,"invoiceId":1712,"paymentId":603,"creditNoteId":null,"refundId":null,"amount":170},{"id":700,"invoiceId":1712,"paymentId":604,"creditNoteId":null,"refundId":null,"amount":180},{"id":701,"invoiceId":1712,"paymentId":605,"creditNoteId":null,"refundId":null,"amount":100},{"id":702,"invoiceId":1712,"paymentId":606,"creditNoteId":null,"refundId":null,"amount":120},{"id":703,"invoiceId":1712,"paymentId":607,"creditNoteId":null,"refundId":null,"amount":170},{"id":704,"invoiceId":1712,"paymentId":609,"creditNoteId":null,"refundId":null,"amount":110},{"id":705,"invoiceId":1712,"paymentId":610,"creditNoteId":null,"refundId":null,"amount":110},{"id":706,"invoiceId":1712,"paymentId":611,"creditNoteId":null,"refundId":null,"amount":110},{"id":707,"invoiceId":1712,"paymentId":612,"creditNoteId":null,"refundId":null,"amount":110},{"id":708,"invoiceId":1712,"paymentId":613,"creditNoteId":null,"refundId":null,"amount":110},{"id":709,"invoiceId":1712,"paymentId":614,"creditNoteId":null,"refundId":null,"amount":110}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-26 20:39:19.493953] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-26 20:39:19.493968] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"39ba2587-7a64-4fe4-a341-91a6c6296c6a","changeType":"insert","entity":"invoice","entityId":1712,"message":null,"clientId":2,"eventName":"invoice.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1712,"clientId":2,"number":"001662","createdDate":"2025-03-26T14:38:28-0600","dueDate":"2025-04-09T14:38:28-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-26T00:00:00-0600","notes":"2.083,33","adminNotes":null,"items":[{"id":1715,"type":"other","label":"sds","price":2083.33,"quantity":1,"total":2083.33,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":2083.33,"discount":null,"discountLabel":"Descuento","taxes":[],"total":2083.33,"amountPaid":2083.33,"totalUntaxed":2083.33,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":694,"invoiceId":1712,"paymentId":598,"creditNoteId":null,"refundId":null,"amount":43.33},{"id":695,"invoiceId":1712,"paymentId":599,"creditNoteId":null,"refundId":null,"amount":155},{"id":696,"invoiceId":1712,"paymentId":600,"creditNoteId":null,"refundId":null,"amount":155},{"id":697,"invoiceId":1712,"paymentId":601,"creditNoteId":null,"refundId":null,"amount":160},{"id":698,"invoiceId":1712,"paymentId":602,"creditNoteId":null,"refundId":null,"amount":170},{"id":699,"invoiceId":1712,"paymentId":603,"creditNoteId":null,"refundId":null,"amount":170},{"id":700,"invoiceId":1712,"paymentId":604,"creditNoteId":null,"refundId":null,"amount":180},{"id":701,"invoiceId":1712,"paymentId":605,"creditNoteId":null,"refundId":null,"amount":100},{"id":702,"invoiceId":1712,"paymentId":606,"creditNoteId":null,"refundId":null,"amount":120},{"id":703,"invoiceId":1712,"paymentId":607,"creditNoteId":null,"refundId":null,"amount":170},{"id":704,"invoiceId":1712,"paymentId":609,"creditNoteId":null,"refundId":null,"amount":110},{"id":705,"invoiceId":1712,"paymentId":610,"creditNoteId":null,"refundId":null,"amount":110},{"id":706,"invoiceId":1712,"paymentId":611,"creditNoteId":null,"refundId":null,"amount":110},{"id":707,"invoiceId":1712,"paymentId":612,"creditNoteId":null,"refundId":null,"amount":110},{"id":708,"invoiceId":1712,"paymentId":613,"creditNoteId":null,"refundId":null,"amount":110},{"id":709,"invoiceId":1712,"paymentId":614,"creditNoteId":null,"refundId":null,"amount":110}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":614,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-25T17:21:39-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":709,"invoiceId":1712,"paymentId":614,"creditNoteId":null,"refundId":null,"amount":110}],"creditAmount":0,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas pollerias","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","Monto Ultimo Pago":"\ud83d\udcb2 110","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 25\/03\/2025 17:21 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"26\/03\/2025 14:39\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 25\/03\/2025 17:21 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 26\/03\/2025 14:39","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas pollerias","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲0 está al corriente","Monto Ultimo Pago": "$ 110","Estado": "Activo","Fecha Ultimo Pago": " 25/03/2025 17:21 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "26/03/2025 14:39","Clabe Interbancaria": "0021804341999569810","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Monto Ultimo Pago":"💲 110","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 25/03/2025 17:21 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 26/03/2025 14:39","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","URL":"🌐 https://sistema.siip.mx/crm/client/2","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 25/03/2025 17:21 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"26/03/2025 14:39\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Monto Ultimo Pago":"💲 110","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 25/03/2025 17:21 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 26/03/2025 14:39","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","URL":"🌐 https://sistema.siip.mx/crm/client/2","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 25/03/2025 17:21 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"26/03/2025 14:39\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-26 20:40:40.089957] [notice] Logging level set to:debug -[2025-03-26 20:40:40.226243] [debug] valor el evento recibido por webhook: invoice.add - -[2025-03-26 20:40:40.226315] [debug] Valor de JSON: {"uuid":"5d4cdfc0-eae4-48b3-a928-59545494c321","changeType":"insert","entity":"invoice","entityId":"1713","eventName":"invoice.add","extraData":{"entity":{"id":1713,"clientId":2,"number":"001663","createdDate":"2025-02-18T14:40:00-0600","dueDate":"2025-03-04T14:40:00-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-18T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1716,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":152,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-26 20:40:40.226517] [debug] Adición de Factura - -[2025-03-26 20:40:40.226572] [debug] datos del notification para el invoice add:{"uuid":"5d4cdfc0-eae4-48b3-a928-59545494c321","changeType":"insert","entity":"invoice","entityId":1713,"message":null,"clientId":2,"eventName":"invoice.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1713,"clientId":2,"number":"001663","createdDate":"2025-02-18T14:40:00-0600","dueDate":"2025-03-04T14:40:00-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-18T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1716,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":152,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-26 20:40:40.226603] [debug] Account Balance: -300 - -[2025-03-26 20:40:40.226645] [debug] {"uuid":"5d4cdfc0-eae4-48b3-a928-59545494c321","changeType":"insert","entity":"invoice","entityId":1713,"message":null,"clientId":2,"eventName":"invoice.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1713,"clientId":2,"number":"001663","createdDate":"2025-02-18T14:40:00-0600","dueDate":"2025-03-04T14:40:00-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-18T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1716,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":152,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-26 20:40:40.226720] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-26 20:40:40.226733] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"5d4cdfc0-eae4-48b3-a928-59545494c321","changeType":"insert","entity":"invoice","entityId":1713,"message":null,"clientId":2,"eventName":"invoice.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1713,"clientId":2,"number":"001663","createdDate":"2025-02-18T14:40:00-0600","dueDate":"2025-03-04T14:40:00-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-18T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1716,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":152,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":614,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-25T17:21:39-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":709,"invoiceId":1712,"paymentId":614,"creditNoteId":null,"refundId":null,"amount":110}],"creditAmount":0,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas pollerias","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2300 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 110","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2300 pendientes\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 25\/03\/2025 17:21 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"26\/03\/2025 14:40\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 25\/03\/2025 17:21 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 26\/03\/2025 14:40","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas pollerias","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲300 pendientes","Monto Ultimo Pago": "$ 110","Estado": "Activo","Fecha Ultimo Pago": " 25/03/2025 17:21 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "26/03/2025 14:40","Clabe Interbancaria": "0021804341999569810","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -[2025-03-26 20:40:58.869669] [notice] Logging level set to:debug -[2025-03-26 20:40:59.208810] [debug] valor el evento recibido por webhook: service.suspend - -[2025-03-26 20:40:59.209042] [debug] Valor de JSON: {"uuid":"c5618d69-2dfb-40d9-acba-98810c7143a9","changeType":"suspend","entity":"service","entityId":"152","eventName":"service.suspend","extraData":{"entity":{"id":152,"prepaid":false,"clientId":2,"status":3,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":154,"startDate":"2025-03-26T14:40:58-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":152,"prepaid":false,"clientId":2,"status":1,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":154,"startDate":"2025-03-26T14:40:58-0600","endDate":null}],"surcharges":[]}}} - -[2025-03-26 20:40:59.209321] [debug] Se suspendió el servicio a un cliente - -[2025-03-26 20:40:59.209440] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-26 20:40:59.209485] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-26 20:40:59.209570] [info] {"uuid":"c5618d69-2dfb-40d9-acba-98810c7143a9","changeType":"suspend","entity":"service","entityId":152,"message":null,"clientId":2,"eventName":"service.suspend","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":152,"prepaid":false,"clientId":2,"status":3,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":154,"startDate":"2025-03-26T00:00:00-0600","endDate":null}],"surcharges":[],"stopReason":"Payments overdue"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 26\/03\/2025 14:41"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟠 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲300 pendientes","user name":"Daniel Humberto 🐁","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Monto Ultimo Pago":"💲 110","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 25/03/2025 17:21 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 26/03/2025 14:41","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","URL":"🌐 https://sistema.siip.mx/crm/client/2","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲300 pendientes\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 25/03/2025 17:21 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"26/03/2025 14:40\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-26 20:41:01.047863] [notice] Logging level set to:debug -[2025-03-26 20:41:01.317259] [debug] valor el evento recibido por webhook: service.edit - -[2025-03-26 20:41:01.317454] [debug] Valor de JSON: {"uuid":"0d835cbf-64f8-4f29-9d59-43eb33d72ac5","changeType":"edit","entity":"service","entityId":"152","eventName":"service.edit","extraData":{"entity":{"id":152,"prepaid":false,"clientId":2,"status":3,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":154,"startDate":"2025-03-26T14:40:58-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":152,"prepaid":false,"clientId":2,"status":1,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":154,"startDate":"2025-03-26T14:40:58-0600","endDate":null}],"surcharges":[]}}} - -[2025-03-26 20:41:01.320683] [debug] Se editó el servicio a un cliente - -[2025-03-26 20:41:01.320832] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-26 20:41:01.320878] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-03-26 20:41:01.320967] [info] {"uuid":"0d835cbf-64f8-4f29-9d59-43eb33d72ac5","changeType":"edit","entity":"service","entityId":152,"message":null,"clientId":2,"eventName":"service.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":152,"prepaid":false,"clientId":2,"status":3,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":154,"startDate":"2025-03-26T00:00:00-0600","endDate":null}],"surcharges":[],"stopReason":"Payments overdue"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 26\/03\/2025 14:41"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-22T19:27:21Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟠 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲300 pendientes","user name":"Daniel Humberto 🐁","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Monto Ultimo Pago":"💲 110","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 25/03/2025 17:21 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 26/03/2025 14:41","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","URL":"🌐 https://sistema.siip.mx/crm/client/2","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲300 pendientes\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 25/03/2025 17:21 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"26/03/2025 14:40\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-26 21:25:02.984910] [notice] Logging level set to:debug -[2025-03-26 21:25:03.156478] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-03-26 21:25:03.156687] [debug] Valor de JSON: {"uuid":"ecbe07b5-bb7f-4a5b-9531-ff871e6c99f2","changeType":"overdue","entity":"invoice","entityId":"1713","eventName":"invoice.overdue","extraData":{"entity":{"id":1713,"clientId":2,"number":"001663","createdDate":"2025-02-18T14:40:00-0600","dueDate":"2025-03-04T14:40:00-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-18T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1716,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":152,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-26 21:25:03.156940] [debug] Factura vencida - -[2025-03-26 21:25:03.157155] [debug] datos del notification para el invoice overdue:{"uuid":"ecbe07b5-bb7f-4a5b-9531-ff871e6c99f2","changeType":"overdue","entity":"invoice","entityId":1713,"message":null,"clientId":2,"eventName":"invoice.overdue","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1713,"clientId":2,"number":"001663","createdDate":"2025-02-18T14:40:00-0600","dueDate":"2025-03-04T14:40:00-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-18T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1716,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":152,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-26 21:25:03.157234] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-03-26 21:25:03.157396] [debug] Numero de cel obtenido - -[2025-03-26 21:25:03.157444] [warning] No se encontró un teléfono celular válido para el cliente: 2 -[2025-03-27 16:00:04.313848] [notice] Logging level set to:debug -[2025-03-27 16:00:04.544374] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-27 16:00:04.544449] [debug] Valor de JSON: {"uuid":"bc52d054-0a3e-4824-ade4-660e1eb3a887","changeType":"insert","entity":"invoice","entityId":"1714","eventName":"invoice.add_draft","extraData":{"entity":{"id":1714,"clientId":1,"number":"001664","createdDate":"2025-03-27T10:00:01-0600","dueDate":"2025-04-10T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-26T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1717,"type":"service","label":"plan300 27\/02\/2025 \u2013 26\/03\/2025","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":300,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":710,"invoiceId":1714,"paymentId":577,"creditNoteId":null,"refundId":null,"amount":286.67},{"id":711,"invoiceId":1714,"paymentId":582,"creditNoteId":null,"refundId":null,"amount":13.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":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-27 16:00:04.544688] [debug] Adición de borrador de Factura - -[2025-03-27 16:00:04.544756] [debug] {"uuid":"bc52d054-0a3e-4824-ade4-660e1eb3a887","changeType":"insert","entity":"invoice","entityId":1714,"message":null,"clientId":1,"eventName":"invoice.add_draft","clientData":{"id":1,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true}],"accountBalance":776.67,"accountCredit":776.67,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1714,"clientId":1,"number":"001664","createdDate":"2025-03-27T10:00:01-0600","dueDate":"2025-04-10T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1717,"type":"service","label":"plan300 27\/02\/2025 \u2013 26\/03\/2025","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":300,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":710,"invoiceId":1714,"paymentId":577,"creditNoteId":null,"refundId":null,"amount":286.67},{"id":711,"invoiceId":1714,"paymentId":582,"creditNoteId":null,"refundId":null,"amount":13.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":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-27 16:00:04.544837] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-27 16:00:04.544852] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"bc52d054-0a3e-4824-ade4-660e1eb3a887","changeType":"insert","entity":"invoice","entityId":1714,"message":null,"clientId":1,"eventName":"invoice.add_draft","clientData":{"id":1,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true}],"accountBalance":776.67,"accountCredit":776.67,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1714,"clientId":1,"number":"001664","createdDate":"2025-03-27T10:00:01-0600","dueDate":"2025-04-10T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1717,"type":"service","label":"plan300 27\/02\/2025 \u2013 26\/03\/2025","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":300,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":710,"invoiceId":1714,"paymentId":577,"creditNoteId":null,"refundId":null,"amount":286.67},{"id":711,"invoiceId":1714,"paymentId":582,"creditNoteId":null,"refundId":null,"amount":13.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":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":608,"clientId":1,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T23:51:02-0600","amount":190,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":190,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Don Miguel Ángel Guerrero González - -UUID: 0e53e926ce424db5b9284a75915d24fe - -JSON con los datos a actualizar: {"name":"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","custom_fields":{"Cliente":1,"Domicilio":"\ud83d\udccd Calle Morelos 34, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/1","Saldo Actual":"\ud83d\udcb2776.67 a favor","Monto Ultimo Pago":"\ud83d\udcb2 190","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\"Nombre\": \"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/1\",\"Saldo Actual\": \"\ud83d\udcb2776.67 a favor\",\"Monto Ultimo Pago\": \"$ 190\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 07\/03\/2025 23:51 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"27\/03\/2025 10:00\",\"Clabe Interbancaria\": \"002180697144444854\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/03\/2025 23:51 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 27\/03\/2025 10:00","Clabe Interbancaria":"002180697144444854","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "1","Domicilio": ""Nombre": "Don Miguel Ángel Guerrero González","URL": "https://sistema.siip.mx/crm/client/1","Saldo Actual": "💲776.67 a favor","Monto Ultimo Pago": "$ 190","Estado": "Activo","Fecha Ultimo Pago": " 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "27/03/2025 10:00","Clabe Interbancaria": "002180697144444854","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"0e53e926ce424db5b9284a75915d24fe","name":"Don Miguel Ángel Guerrero González","phoneNumber":"5214181148554","avatarUrl":null,"createdAt":"2024-01-26T17:29:28Z","closedAt":"2025-03-18T17:21:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https://dash.callbell.eu/chat/f017e454a6b94ab297509274216c6795","tags":["SIIP"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clientes Relacionados":"oxxo","Antena/Sectorial":"1","Nombre":"👤 Don Miguel Ángel Guerrero González","Clabe Interbancaria":"002180697144444854","Acciones":"1","Domicilio":"📍 Calle Morelos 34, Dolores Hidalgo, 37800","Estado":"🟢 Activo ","Saldo Actual":"💲776.67 a favor","URL":"🌐 https://sistema.siip.mx/crm/client/1","Cliente":"1","user name":"Angel","Fecha Ultima Actualizacion":"📆🔄️ 27/03/2025 10:00","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\"Nombre\": \"Don Miguel Ángel Guerrero González\",\"URL\": \"https://sistema.siip.mx/crm/client/1\",\"Saldo Actual\": \"💲776.67 a favor\",\"Monto Ultimo Pago\": \"$ 190\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"27/03/2025 10:00\",\"Clabe Interbancaria\": \"002180697144444854\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Monto Ultimo Pago":"💲 190","Fecha Ultimo Pago":"📆💸 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"0e53e926ce424db5b9284a75915d24fe","name":"Don Miguel Ángel Guerrero González","phoneNumber":"5214181148554","avatarUrl":null,"createdAt":"2024-01-26T17:29:28Z","closedAt":"2025-03-18T17:21:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https://dash.callbell.eu/chat/f017e454a6b94ab297509274216c6795","tags":["SIIP"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clientes Relacionados":"oxxo","Antena/Sectorial":"1","Nombre":"👤 Don Miguel Ángel Guerrero González","Clabe Interbancaria":"002180697144444854","Acciones":"1","Domicilio":"📍 Calle Morelos 34, Dolores Hidalgo, 37800","Estado":"🟢 Activo ","Saldo Actual":"💲776.67 a favor","URL":"🌐 https://sistema.siip.mx/crm/client/1","Cliente":"1","user name":"Angel","Fecha Ultima Actualizacion":"📆🔄️ 27/03/2025 10:00","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\"Nombre\": \"Don Miguel Ángel Guerrero González\",\"URL\": \"https://sistema.siip.mx/crm/client/1\",\"Saldo Actual\": \"💲776.67 a favor\",\"Monto Ultimo Pago\": \"$ 190\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"27/03/2025 10:00\",\"Clabe Interbancaria\": \"002180697144444854\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Monto Ultimo Pago":"💲 190","Fecha Ultimo Pago":"📆💸 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-27 16:00:07.540797] [notice] Logging level set to:debug -[2025-03-27 16:00:07.692327] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-27 16:00:07.692482] [debug] Valor de JSON: {"uuid":"54c9bb82-5f17-4199-8efb-047f2cd45723","changeType":"draft_approved","entity":"invoice","entityId":"1714","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1714,"clientId":1,"number":"001664","createdDate":"2025-03-27T10:00:01-0600","dueDate":"2025-04-10T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-26T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1717,"type":"service","label":"plan300 27\/02\/2025 \u2013 26\/03\/2025","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":300,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":710,"invoiceId":1714,"paymentId":577,"creditNoteId":null,"refundId":null,"amount":286.67},{"id":711,"invoiceId":1714,"paymentId":582,"creditNoteId":null,"refundId":null,"amount":13.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":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-27 16:00:07.692642] [debug] Aprobación de Factura - -[2025-03-27 16:00:07.692728] [debug] {"uuid":"54c9bb82-5f17-4199-8efb-047f2cd45723","changeType":"draft_approved","entity":"invoice","entityId":1714,"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":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true}],"accountBalance":776.67,"accountCredit":776.67,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1714,"clientId":1,"number":"001664","createdDate":"2025-03-27T10:00:01-0600","dueDate":"2025-04-10T10:00:01-0600","emailSentDate":"2025-03-27T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1717,"type":"service","label":"plan300 27\/02\/2025 \u2013 26\/03\/2025","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":300,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":710,"invoiceId":1714,"paymentId":577,"creditNoteId":null,"refundId":null,"amount":286.67},{"id":711,"invoiceId":1714,"paymentId":582,"creditNoteId":null,"refundId":null,"amount":13.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":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-27 16:00:07.692806] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-27 16:00:07.692848] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"54c9bb82-5f17-4199-8efb-047f2cd45723","changeType":"draft_approved","entity":"invoice","entityId":1714,"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":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true}],"accountBalance":776.67,"accountCredit":776.67,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1714,"clientId":1,"number":"001664","createdDate":"2025-03-27T10:00:01-0600","dueDate":"2025-04-10T10:00:01-0600","emailSentDate":"2025-03-27T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1717,"type":"service","label":"plan300 27\/02\/2025 \u2013 26\/03\/2025","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":300,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":710,"invoiceId":1714,"paymentId":577,"creditNoteId":null,"refundId":null,"amount":286.67},{"id":711,"invoiceId":1714,"paymentId":582,"creditNoteId":null,"refundId":null,"amount":13.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":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":608,"clientId":1,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T23:51:02-0600","amount":190,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":190,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Don Miguel Ángel Guerrero González - -UUID: 0e53e926ce424db5b9284a75915d24fe - -JSON con los datos a actualizar: {"name":"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","custom_fields":{"Cliente":1,"Domicilio":"\ud83d\udccd Calle Morelos 34, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/1","Saldo Actual":"\ud83d\udcb2776.67 a favor","Monto Ultimo Pago":"\ud83d\udcb2 190","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\"Nombre\": \"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/1\",\"Saldo Actual\": \"\ud83d\udcb2776.67 a favor\",\"Monto Ultimo Pago\": \"$ 190\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 07\/03\/2025 23:51 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"27\/03\/2025 10:00\",\"Clabe Interbancaria\": \"002180697144444854\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/03\/2025 23:51 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 27\/03\/2025 10:00","Clabe Interbancaria":"002180697144444854","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "1","Domicilio": ""Nombre": "Don Miguel Ángel Guerrero González","URL": "https://sistema.siip.mx/crm/client/1","Saldo Actual": "💲776.67 a favor","Monto Ultimo Pago": "$ 190","Estado": "Activo","Fecha Ultimo Pago": " 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "27/03/2025 10:00","Clabe Interbancaria": "002180697144444854","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"0e53e926ce424db5b9284a75915d24fe","name":"Don Miguel Ángel Guerrero González","phoneNumber":"5214181148554","avatarUrl":null,"createdAt":"2024-01-26T17:29:28Z","closedAt":"2025-03-18T17:21:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https://dash.callbell.eu/chat/f017e454a6b94ab297509274216c6795","tags":["SIIP"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clientes Relacionados":"oxxo","Antena/Sectorial":"1","Nombre":"👤 Don Miguel Ángel Guerrero González","Clabe Interbancaria":"002180697144444854","Acciones":"1","Domicilio":"📍 Calle Morelos 34, Dolores Hidalgo, 37800","Estado":"🟢 Activo ","Saldo Actual":"💲776.67 a favor","URL":"🌐 https://sistema.siip.mx/crm/client/1","Cliente":"1","user name":"Angel","Fecha Ultima Actualizacion":"📆🔄️ 27/03/2025 10:00","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\"Nombre\": \"Don Miguel Ángel Guerrero González\",\"URL\": \"https://sistema.siip.mx/crm/client/1\",\"Saldo Actual\": \"💲776.67 a favor\",\"Monto Ultimo Pago\": \"$ 190\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"27/03/2025 10:00\",\"Clabe Interbancaria\": \"002180697144444854\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Monto Ultimo Pago":"💲 190","Fecha Ultimo Pago":"📆💸 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"0e53e926ce424db5b9284a75915d24fe","name":"Don Miguel Ángel Guerrero González","phoneNumber":"5214181148554","avatarUrl":null,"createdAt":"2024-01-26T17:29:28Z","closedAt":"2025-03-18T17:21:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https://dash.callbell.eu/chat/f017e454a6b94ab297509274216c6795","tags":["SIIP"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clientes Relacionados":"oxxo","Antena/Sectorial":"1","Nombre":"👤 Don Miguel Ángel Guerrero González","Clabe Interbancaria":"002180697144444854","Acciones":"1","Domicilio":"📍 Calle Morelos 34, Dolores Hidalgo, 37800","Estado":"🟢 Activo ","Saldo Actual":"💲776.67 a favor","URL":"🌐 https://sistema.siip.mx/crm/client/1","Cliente":"1","user name":"Angel","Fecha Ultima Actualizacion":"📆🔄️ 27/03/2025 10:00","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\"Nombre\": \"Don Miguel Ángel Guerrero González\",\"URL\": \"https://sistema.siip.mx/crm/client/1\",\"Saldo Actual\": \"💲776.67 a favor\",\"Monto Ultimo Pago\": \"$ 190\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"27/03/2025 10:00\",\"Clabe Interbancaria\": \"002180697144444854\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Monto Ultimo Pago":"💲 190","Fecha Ultimo Pago":"📆💸 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-27 16:00:10.506299] [notice] Logging level set to:debug -[2025-03-27 16:00:10.651371] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-27 16:00:10.651520] [debug] Valor de JSON: {"uuid":"f7da0c54-0ff3-494d-810e-03d9f50fbbe5","changeType":"insert","entity":"invoice","entityId":"1715","eventName":"invoice.add_draft","extraData":{"entity":{"id":1715,"clientId":3,"number":"001665","createdDate":"2025-03-27T10:00:01-0600","dueDate":"2025-04-10T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-26T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1718,"type":"service","label":"plan300 27\/02\/2025 \u2013 26\/03\/2025","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},"entityBeforeEdit":null}} - -[2025-03-27 16:00:10.651674] [debug] Adición de borrador de Factura - -[2025-03-27 16:00:10.651757] [debug] {"uuid":"f7da0c54-0ff3-494d-810e-03d9f50fbbe5","changeType":"insert","entity":"invoice","entityId":1715,"message":null,"clientId":3,"eventName":"invoice.add_draft","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}],"accountBalance":-1200,"accountCredit":0,"accountOutstanding":1200,"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":1715,"clientId":3,"number":"001665","createdDate":"2025-03-27T10:00:01-0600","dueDate":"2025-04-10T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1718,"type":"service","label":"plan300 27\/02\/2025 \u2013 26\/03\/2025","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},"paymentData":null} - -[2025-03-27 16:00:10.768311] [notice] Logging level set to:debug -[2025-03-27 16:00:10.903913] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-27 16:00:10.904100] [debug] Valor de JSON: {"uuid":"1370dffe-1375-478e-b3fc-9f2dd3cea940","changeType":"draft_approved","entity":"invoice","entityId":"1715","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1715,"clientId":3,"number":"001665","createdDate":"2025-03-27T10:00:01-0600","dueDate":"2025-04-10T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-26T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1718,"type":"service","label":"plan300 27\/02\/2025 \u2013 26\/03\/2025","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},"entityBeforeEdit":null}} - -[2025-03-27 16:00:10.904239] [debug] Aprobación de Factura - -[2025-03-27 16:00:10.904324] [debug] {"uuid":"1370dffe-1375-478e-b3fc-9f2dd3cea940","changeType":"draft_approved","entity":"invoice","entityId":1715,"message":null,"clientId":3,"eventName":"invoice.draft_approved","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}],"accountBalance":-1200,"accountCredit":0,"accountOutstanding":1200,"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":1715,"clientId":3,"number":"001665","createdDate":"2025-03-27T10:00:01-0600","dueDate":"2025-04-10T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1718,"type":"service","label":"plan300 27\/02\/2025 \u2013 26\/03\/2025","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},"paymentData":null} - -[2025-03-27 16:00:11.022284] [notice] Logging level set to:debug -[2025-03-27 16:00:11.160701] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-27 16:00:11.160885] [debug] Valor de JSON: {"uuid":"4f1a4bd2-3081-4136-9379-27bb0b738652","changeType":"insert","entity":"invoice","entityId":"1716","eventName":"invoice.add_draft","extraData":{"entity":{"id":1716,"clientId":4,"number":"001666","createdDate":"2025-03-27T10:00:01-0600","dueDate":"2025-04-10T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-26T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1719,"type":"service","label":"plan300 27\/02\/2025 \u2013 26\/03\/2025","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},"entityBeforeEdit":null}} - -[2025-03-27 16:00:11.161034] [debug] Adición de borrador de Factura - -[2025-03-27 16:00:11.161117] [debug] {"uuid":"4f1a4bd2-3081-4136-9379-27bb0b738652","changeType":"insert","entity":"invoice","entityId":1716,"message":null,"clientId":4,"eventName":"invoice.add_draft","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":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1716,"clientId":4,"number":"001666","createdDate":"2025-03-27T10:00:01-0600","dueDate":"2025-04-10T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1719,"type":"service","label":"plan300 27\/02\/2025 \u2013 26\/03\/2025","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},"paymentData":null} - -[2025-03-27 16:00:11.161184] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-27 16:00:11.161225] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"4f1a4bd2-3081-4136-9379-27bb0b738652","changeType":"insert","entity":"invoice","entityId":1716,"message":null,"clientId":4,"eventName":"invoice.add_draft","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":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1716,"clientId":4,"number":"001666","createdDate":"2025-03-27T10:00:01-0600","dueDate":"2025-04-10T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1719,"type":"service","label":"plan300 27\/02\/2025 \u2013 26\/03\/2025","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},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Griselda Avalos - -UUID: 6620b434a8594fc489e18e90363d59bd - -JSON con los datos a actualizar: {"name":"Griselda Avalos","custom_fields":{"Cliente":4,"Domicilio":"\ud83d\udccd Yucat\u00e1n 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Griselda Avalos","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/4","Saldo Actual":"\ud83d\udcb24500 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"4\",\"Domicilio\": \"\"Nombre\": \"Griselda Avalos\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/4\",\"Saldo Actual\": \"\ud83d\udcb24500 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 27\/03\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"27\/03\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 27\/03\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 27\/03\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "4","Domicilio": ""Nombre": "Griselda Avalos","URL": "https://sistema.siip.mx/crm/client/4","Saldo Actual": "💲4500 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 27/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "27/03/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -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","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","Estado":"🔴 Suspendido","Monto Ultimo Pago":"💲 ","Nombre":"👤 Griselda Avalos","Cliente":"4","URL":"🌐 https://sistema.siip.mx/crm/client/4","Resumen":"{\"Cliente\": \"4\",\"Domicilio\": \"\"Nombre\": \"Griselda Avalos\",\"URL\": \"https://sistema.siip.mx/crm/client/4\",\"Saldo Actual\": \"💲4500 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 27/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"27/03/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Saldo Actual":"💲4500 pendientes","Fecha Ultimo Pago":"📆💸 27/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 27/03/2025 10:00"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"6620b434a8594fc489e18e90363d59bd","name":"Griselda Avalos","phoneNumber":"5214181156999","avatarUrl":null,"createdAt":"2025-01-28T20:37:36Z","closedAt":"2025-01-28T22:38:41Z","source":"whatsapp","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","Estado":"🔴 Suspendido","Monto Ultimo Pago":"💲 ","Nombre":"👤 Griselda Avalos","Cliente":"4","URL":"🌐 https://sistema.siip.mx/crm/client/4","Resumen":"{\"Cliente\": \"4\",\"Domicilio\": \"\"Nombre\": \"Griselda Avalos\",\"URL\": \"https://sistema.siip.mx/crm/client/4\",\"Saldo Actual\": \"💲4500 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 27/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"27/03/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Saldo Actual":"💲4500 pendientes","Fecha Ultimo Pago":"📆💸 27/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 27/03/2025 10:00"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-27 16:00:14.116627] [notice] Logging level set to:debug -[2025-03-27 16:00:14.288592] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-27 16:00:14.288768] [debug] Valor de JSON: {"uuid":"f7a5b7e9-4218-432a-93dc-9b281f1fef34","changeType":"draft_approved","entity":"invoice","entityId":"1716","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1716,"clientId":4,"number":"001666","createdDate":"2025-03-27T10:00:01-0600","dueDate":"2025-04-10T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-26T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1719,"type":"service","label":"plan300 27\/02\/2025 \u2013 26\/03\/2025","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},"entityBeforeEdit":null}} - -[2025-03-27 16:00:14.289012] [debug] Aprobación de Factura - -[2025-03-27 16:00:14.289100] [debug] {"uuid":"f7a5b7e9-4218-432a-93dc-9b281f1fef34","changeType":"draft_approved","entity":"invoice","entityId":1716,"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":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1716,"clientId":4,"number":"001666","createdDate":"2025-03-27T10:00:01-0600","dueDate":"2025-04-10T10:00:01-0600","emailSentDate":"2025-03-27T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1719,"type":"service","label":"plan300 27\/02\/2025 \u2013 26\/03\/2025","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},"paymentData":null} - -[2025-03-27 16:00:14.289187] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-27 16:00:14.289232] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"f7a5b7e9-4218-432a-93dc-9b281f1fef34","changeType":"draft_approved","entity":"invoice","entityId":1716,"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":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1716,"clientId":4,"number":"001666","createdDate":"2025-03-27T10:00:01-0600","dueDate":"2025-04-10T10:00:01-0600","emailSentDate":"2025-03-27T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1719,"type":"service","label":"plan300 27\/02\/2025 \u2013 26\/03\/2025","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},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Griselda Avalos - -UUID: 6620b434a8594fc489e18e90363d59bd - -JSON con los datos a actualizar: {"name":"Griselda Avalos","custom_fields":{"Cliente":4,"Domicilio":"\ud83d\udccd Yucat\u00e1n 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Griselda Avalos","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/4","Saldo Actual":"\ud83d\udcb24500 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"4\",\"Domicilio\": \"\"Nombre\": \"Griselda Avalos\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/4\",\"Saldo Actual\": \"\ud83d\udcb24500 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 27\/03\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"27\/03\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 27\/03\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 27\/03\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "4","Domicilio": ""Nombre": "Griselda Avalos","URL": "https://sistema.siip.mx/crm/client/4","Saldo Actual": "💲4500 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 27/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "27/03/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -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","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","Estado":"🔴 Suspendido","Monto Ultimo Pago":"💲 ","Nombre":"👤 Griselda Avalos","Cliente":"4","URL":"🌐 https://sistema.siip.mx/crm/client/4","Resumen":"{\"Cliente\": \"4\",\"Domicilio\": \"\"Nombre\": \"Griselda Avalos\",\"URL\": \"https://sistema.siip.mx/crm/client/4\",\"Saldo Actual\": \"💲4500 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 27/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"27/03/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Saldo Actual":"💲4500 pendientes","Fecha Ultimo Pago":"📆💸 27/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 27/03/2025 10:00"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"6620b434a8594fc489e18e90363d59bd","name":"Griselda Avalos","phoneNumber":"5214181156999","avatarUrl":null,"createdAt":"2025-01-28T20:37:36Z","closedAt":"2025-01-28T22:38:41Z","source":"whatsapp","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","Estado":"🔴 Suspendido","Monto Ultimo Pago":"💲 ","Nombre":"👤 Griselda Avalos","Cliente":"4","URL":"🌐 https://sistema.siip.mx/crm/client/4","Resumen":"{\"Cliente\": \"4\",\"Domicilio\": \"\"Nombre\": \"Griselda Avalos\",\"URL\": \"https://sistema.siip.mx/crm/client/4\",\"Saldo Actual\": \"💲4500 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 27/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"27/03/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Saldo Actual":"💲4500 pendientes","Fecha Ultimo Pago":"📆💸 27/03/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 27/03/2025 10:00"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-31 16:00:04.934266] [notice] Logging level set to:debug -[2025-03-31 16:00:05.165879] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:00:05.165951] [debug] Valor de JSON: {"uuid":"95d984bf-68b6-483e-89ed-2e58a2efb3a7","changeType":"insert","entity":"invoice","entityId":"1717","eventName":"invoice.add_draft","extraData":{"entity":{"id":1717,"clientId":81,"number":"001667","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1720,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":80,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FERNANDO","clientLastName":"ALCAZAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:05.166647] [debug] Adición de borrador de Factura - -[2025-03-31 16:00:05.166723] [debug] {"uuid":"95d984bf-68b6-483e-89ed-2e58a2efb3a7","changeType":"insert","entity":"invoice","entityId":1717,"message":null,"clientId":81,"eventName":"invoice.add_draft","clientData":{"id":81,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"FERNANDO","lastName":"ALCAZAR","username":"falcazar81","contacts":[{"id":82,"clientId":81,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-10500,"accountCredit":0,"accountOutstanding":10500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d81b60","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1717,"clientId":81,"number":"001667","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1720,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":80,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FERNANDO","clientLastName":"ALCAZAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:05.334604] [notice] Logging level set to:debug -[2025-03-31 16:00:05.481179] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:00:05.481240] [debug] Valor de JSON: {"uuid":"94714319-727b-4429-a652-7c1d7da427e0","changeType":"draft_approved","entity":"invoice","entityId":"1717","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1717,"clientId":81,"number":"001667","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1720,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":80,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FERNANDO","clientLastName":"ALCAZAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:05.481343] [debug] Aprobación de Factura - -[2025-03-31 16:00:05.481391] [debug] {"uuid":"94714319-727b-4429-a652-7c1d7da427e0","changeType":"draft_approved","entity":"invoice","entityId":1717,"message":null,"clientId":81,"eventName":"invoice.draft_approved","clientData":{"id":81,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"FERNANDO","lastName":"ALCAZAR","username":"falcazar81","contacts":[{"id":82,"clientId":81,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-10500,"accountCredit":0,"accountOutstanding":10500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d81b60","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1717,"clientId":81,"number":"001667","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1720,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":80,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FERNANDO","clientLastName":"ALCAZAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:06.409121] [notice] Logging level set to:debug -[2025-03-31 16:00:06.552114] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:00:06.552177] [debug] Valor de JSON: {"uuid":"c3674c71-5c03-4570-b0f7-e9f8980f5e96","changeType":"insert","entity":"invoice","entityId":"1718","eventName":"invoice.add_draft","extraData":{"entity":{"id":1718,"clientId":41,"number":"001668","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1721,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":40,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"CUELLAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:06.552278] [debug] Adición de borrador de Factura - -[2025-03-31 16:00:06.552325] [debug] {"uuid":"c3674c71-5c03-4570-b0f7-e9f8980f5e96","changeType":"insert","entity":"invoice","entityId":1718,"message":null,"clientId":41,"eventName":"invoice.add_draft","clientData":{"id":41,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN SEBASTIAN","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN SEBASTIAN, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JUDITH","lastName":"CUELLAR","username":"jcuellar41","contacts":[{"id":42,"clientId":41,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4210,"accountCredit":0,"accountOutstanding":4210,"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":1718,"clientId":41,"number":"001668","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1721,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":40,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"CUELLAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:06.664032] [notice] Logging level set to:debug -[2025-03-31 16:00:06.810300] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:00:06.810359] [debug] Valor de JSON: {"uuid":"f7c168bf-206d-4da2-8c89-6e57103031d4","changeType":"draft_approved","entity":"invoice","entityId":"1718","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1718,"clientId":41,"number":"001668","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1721,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":40,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"CUELLAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:06.810452] [debug] Aprobación de Factura - -[2025-03-31 16:00:06.810499] [debug] {"uuid":"f7c168bf-206d-4da2-8c89-6e57103031d4","changeType":"draft_approved","entity":"invoice","entityId":1718,"message":null,"clientId":41,"eventName":"invoice.draft_approved","clientData":{"id":41,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN SEBASTIAN","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN SEBASTIAN, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JUDITH","lastName":"CUELLAR","username":"jcuellar41","contacts":[{"id":42,"clientId":41,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4210,"accountCredit":0,"accountOutstanding":4210,"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":1718,"clientId":41,"number":"001668","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1721,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":40,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"CUELLAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:07.761032] [notice] Logging level set to:debug -[2025-03-31 16:00:07.918034] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:00:07.918096] [debug] Valor de JSON: {"uuid":"bb6c640d-80d5-437b-9e70-4d987b0f9c02","changeType":"insert","entity":"invoice","entityId":"1719","eventName":"invoice.add_draft","extraData":{"entity":{"id":1719,"clientId":7,"number":"001669","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1722,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":7,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JESUS","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:07.918220] [debug] Adición de borrador de Factura - -[2025-03-31 16:00:07.918267] [debug] {"uuid":"bb6c640d-80d5-437b-9e70-4d987b0f9c02","changeType":"insert","entity":"invoice","entityId":1719,"message":null,"clientId":7,"eventName":"invoice.add_draft","clientData":{"id":7,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"ADJUNTAS DEL RIO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"ADJUNTAS DEL RIO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JESUS","lastName":"GONZALEZ","username":"jgonzalez07","contacts":[{"id":8,"clientId":7,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1719,"clientId":7,"number":"001669","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1722,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":7,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JESUS","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:08.034681] [notice] Logging level set to:debug -[2025-03-31 16:00:08.170454] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:00:08.170516] [debug] Valor de JSON: {"uuid":"ff1c19d6-9911-476e-bbf7-0386ae4cbce8","changeType":"draft_approved","entity":"invoice","entityId":"1719","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1719,"clientId":7,"number":"001669","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1722,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":7,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JESUS","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:08.170615] [debug] Aprobación de Factura - -[2025-03-31 16:00:08.170664] [debug] {"uuid":"ff1c19d6-9911-476e-bbf7-0386ae4cbce8","changeType":"draft_approved","entity":"invoice","entityId":1719,"message":null,"clientId":7,"eventName":"invoice.draft_approved","clientData":{"id":7,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"ADJUNTAS DEL RIO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"ADJUNTAS DEL RIO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JESUS","lastName":"GONZALEZ","username":"jgonzalez07","contacts":[{"id":8,"clientId":7,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1719,"clientId":7,"number":"001669","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1722,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":7,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JESUS","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:09.123558] [notice] Logging level set to:debug -[2025-03-31 16:00:09.272548] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:00:09.272624] [debug] Valor de JSON: {"uuid":"94c92c8d-099c-456d-ae43-09706d7fae03","changeType":"insert","entity":"invoice","entityId":"1720","eventName":"invoice.add_draft","extraData":{"entity":{"id":1720,"clientId":95,"number":"001670","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1723,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":94,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SOFIA","clientLastName":"VALENCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:09.272727] [debug] Adición de borrador de Factura - -[2025-03-31 16:00:09.272774] [debug] {"uuid":"94c92c8d-099c-456d-ae43-09706d7fae03","changeType":"insert","entity":"invoice","entityId":1720,"message":null,"clientId":95,"eventName":"invoice.add_draft","clientData":{"id":95,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SOFIA","lastName":"VALENCIA","username":"svalencia95","contacts":[{"id":96,"clientId":95,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7500,"accountCredit":0,"accountOutstanding":7500,"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":1720,"clientId":95,"number":"001670","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1723,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":94,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SOFIA","clientLastName":"VALENCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:09.382646] [notice] Logging level set to:debug -[2025-03-31 16:00:09.517729] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:00:09.517903] [debug] Valor de JSON: {"uuid":"9f231a16-4574-43a3-81b0-9f23b0a81c41","changeType":"draft_approved","entity":"invoice","entityId":"1720","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1720,"clientId":95,"number":"001670","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1723,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":94,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SOFIA","clientLastName":"VALENCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:09.518043] [debug] Aprobación de Factura - -[2025-03-31 16:00:09.518121] [debug] {"uuid":"9f231a16-4574-43a3-81b0-9f23b0a81c41","changeType":"draft_approved","entity":"invoice","entityId":1720,"message":null,"clientId":95,"eventName":"invoice.draft_approved","clientData":{"id":95,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SOFIA","lastName":"VALENCIA","username":"svalencia95","contacts":[{"id":96,"clientId":95,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7500,"accountCredit":0,"accountOutstanding":7500,"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":1720,"clientId":95,"number":"001670","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1723,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":94,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SOFIA","clientLastName":"VALENCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:10.461572] [notice] Logging level set to:debug -[2025-03-31 16:00:10.604562] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:00:10.604701] [debug] Valor de JSON: {"uuid":"6663cabc-5b5e-4bc8-a791-0e0d247da2f7","changeType":"insert","entity":"invoice","entityId":"1721","eventName":"invoice.add_draft","extraData":{"entity":{"id":1721,"clientId":63,"number":"001671","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1724,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":62,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONELA","clientLastName":"ROBLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:10.604836] [debug] Adición de borrador de Factura - -[2025-03-31 16:00:10.604912] [debug] {"uuid":"6663cabc-5b5e-4bc8-a791-0e0d247da2f7","changeType":"insert","entity":"invoice","entityId":1721,"message":null,"clientId":63,"eventName":"invoice.add_draft","clientData":{"id":63,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANTONELA","lastName":"ROBLES","username":"arobles63","contacts":[{"id":64,"clientId":63,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1721,"clientId":63,"number":"001671","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1724,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":62,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONELA","clientLastName":"ROBLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:10.719063] [notice] Logging level set to:debug -[2025-03-31 16:00:10.931710] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:00:10.931889] [debug] Valor de JSON: {"uuid":"8e8c465e-4c62-4449-a346-d154db503090","changeType":"draft_approved","entity":"invoice","entityId":"1721","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1721,"clientId":63,"number":"001671","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1724,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":62,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONELA","clientLastName":"ROBLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:10.932037] [debug] Aprobación de Factura - -[2025-03-31 16:00:10.932112] [debug] {"uuid":"8e8c465e-4c62-4449-a346-d154db503090","changeType":"draft_approved","entity":"invoice","entityId":1721,"message":null,"clientId":63,"eventName":"invoice.draft_approved","clientData":{"id":63,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANTONELA","lastName":"ROBLES","username":"arobles63","contacts":[{"id":64,"clientId":63,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1721,"clientId":63,"number":"001671","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1724,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":62,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONELA","clientLastName":"ROBLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:11.782074] [notice] Logging level set to:debug -[2025-03-31 16:00:11.930639] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:00:11.930816] [debug] Valor de JSON: {"uuid":"154f6e1a-358a-4a55-afe0-3bc5e17287df","changeType":"insert","entity":"invoice","entityId":"1722","eventName":"invoice.add_draft","extraData":{"entity":{"id":1722,"clientId":61,"number":"001672","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1725,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":60,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LUIS","clientLastName":"AGULAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:11.930968] [debug] Adición de borrador de Factura - -[2025-03-31 16:00:11.931049] [debug] {"uuid":"154f6e1a-358a-4a55-afe0-3bc5e17287df","changeType":"insert","entity":"invoice","entityId":1722,"message":null,"clientId":61,"eventName":"invoice.add_draft","clientData":{"id":61,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS AGUILAR","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS AGUILAR, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"LUIS","lastName":"AGULAR","username":"lagular61","contacts":[{"id":62,"clientId":61,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1722,"clientId":61,"number":"001672","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1725,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":60,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LUIS","clientLastName":"AGULAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:12.038928] [notice] Logging level set to:debug -[2025-03-31 16:00:12.181262] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:00:12.181411] [debug] Valor de JSON: {"uuid":"d2364d64-9f26-4f6e-b55b-0df84ffb8fa2","changeType":"draft_approved","entity":"invoice","entityId":"1722","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1722,"clientId":61,"number":"001672","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1725,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":60,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LUIS","clientLastName":"AGULAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:12.181550] [debug] Aprobación de Factura - -[2025-03-31 16:00:12.181629] [debug] {"uuid":"d2364d64-9f26-4f6e-b55b-0df84ffb8fa2","changeType":"draft_approved","entity":"invoice","entityId":1722,"message":null,"clientId":61,"eventName":"invoice.draft_approved","clientData":{"id":61,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS AGUILAR","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS AGUILAR, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"LUIS","lastName":"AGULAR","username":"lagular61","contacts":[{"id":62,"clientId":61,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1722,"clientId":61,"number":"001672","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1725,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":60,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LUIS","clientLastName":"AGULAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:13.126810] [notice] Logging level set to:debug -[2025-03-31 16:00:13.268503] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:00:13.268568] [debug] Valor de JSON: {"uuid":"641f68e1-fa44-4a54-b46d-ae776670fa3f","changeType":"insert","entity":"invoice","entityId":"1723","eventName":"invoice.add_draft","extraData":{"entity":{"id":1723,"clientId":6,"number":"001673","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1726,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":6,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEJANDRO","clientLastName":"MOCTEZUMA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:13.268677] [debug] Adición de borrador de Factura - -[2025-03-31 16:00:13.268723] [debug] {"uuid":"641f68e1-fa44-4a54-b46d-ae776670fa3f","changeType":"insert","entity":"invoice","entityId":1723,"message":null,"clientId":6,"eventName":"invoice.add_draft","clientData":{"id":6,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"ALEJANDRO","lastName":"MOCTEZUMA","username":"amoctezuma06","contacts":[{"id":7,"clientId":6,"email":null,"phone":"5214181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-4180,"accountCredit":0,"accountOutstanding":4180,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574,"addressGpsLon":-100.934617,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1723,"clientId":6,"number":"001673","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1726,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":6,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEJANDRO","clientLastName":"MOCTEZUMA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:13.268774] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-31 16:00:13.268894] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"641f68e1-fa44-4a54-b46d-ae776670fa3f","changeType":"insert","entity":"invoice","entityId":1723,"message":null,"clientId":6,"eventName":"invoice.add_draft","clientData":{"id":6,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"ALEJANDRO","lastName":"MOCTEZUMA","username":"amoctezuma06","contacts":[{"id":7,"clientId":6,"email":null,"phone":"5214181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-4180,"accountCredit":0,"accountOutstanding":4180,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574,"addressGpsLon":-100.934617,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1723,"clientId":6,"number":"001673","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1726,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":6,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEJANDRO","clientLastName":"MOCTEZUMA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":27,"clientId":6,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2024-02-01T12:57:53-0600","amount":2000,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":30,"invoiceId":7,"paymentId":27,"creditNoteId":null,"refundId":null,"amount":1700},{"id":31,"invoiceId":5,"paymentId":27,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1000,"attributes":[]}] - -Nombre del cliente que se va a actualizar: ALEJANDRO MOCTEZUMA - -UUID: 71a76e57f89441ff978a5ece070f21d7 - -JSON con los datos a actualizar: {"name":"ALEJANDRO MOCTEZUMA","custom_fields":{"Cliente":6,"Domicilio":"\ud83d\udccd DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 ALEJANDRO MOCTEZUMA","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/6","Saldo Actual":"\ud83d\udcb24180 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 2000","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"6\",\"Domicilio\": \"\"Nombre\": \"ALEJANDRO MOCTEZUMA\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/6\",\"Saldo Actual\": \"\ud83d\udcb24180 pendientes\",\"Monto Ultimo Pago\": \"$ 2000\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 01\/02\/2024 12:57 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"31\/03\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 01\/02\/2024 12:57 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 31\/03\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "6","Domicilio": ""Nombre": "ALEJANDRO MOCTEZUMA","URL": "https://sistema.siip.mx/crm/client/6","Saldo Actual": "💲4180 pendientes","Monto Ultimo Pago": "$ 2000","Estado": "Suspendido","Fecha Ultimo Pago": " 01/02/2024 12:57 con Efectivo 💵","Fecha Ultima Actualizacion": "31/03/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"71a76e57f89441ff978a5ece070f21d7","name":"ALEJANDRO MOCTEZUMA","phoneNumber":"5214181811375","avatarUrl":null,"createdAt":"2021-06-25T15:57:32Z","closedAt":"2024-03-08T18:53:35Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/71a76e57f89441ff978a5ece070f21d7","conversationHref":"https://dash.callbell.eu/chat/6c83978a945141db820592787b7184d5","tags":[],"assignedUser":null,"customFields":{"Antena/Sectorial":"6","Nombre":"👤 ALEJANDRO MOCTEZUMA","Domicilio":"📍 DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800","Fecha Ultimo Pago":"📆💸 01/02/2024 12:57 con Efectivo 💵","Monto Ultimo Pago":"💲 2000","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 31/03/2025 10:00","Cliente":"6","Saldo Actual":"💲4180 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/6","Resumen":"{\"Cliente\": \"6\",\"Domicilio\": \"\"Nombre\": \"ALEJANDRO MOCTEZUMA\",\"URL\": \"https://sistema.siip.mx/crm/client/6\",\"Saldo Actual\": \"💲4180 pendientes\",\"Monto Ultimo Pago\": \"$ 2000\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 01/02/2024 12:57 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"31/03/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"71a76e57f89441ff978a5ece070f21d7","name":"ALEJANDRO MOCTEZUMA","phoneNumber":"5214181811375","avatarUrl":null,"createdAt":"2021-06-25T15:57:32Z","closedAt":"2024-03-08T18:53:35Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/71a76e57f89441ff978a5ece070f21d7","conversationHref":"https://dash.callbell.eu/chat/6c83978a945141db820592787b7184d5","tags":[],"assignedUser":null,"customFields":{"Antena/Sectorial":"6","Nombre":"👤 ALEJANDRO MOCTEZUMA","Domicilio":"📍 DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800","Fecha Ultimo Pago":"📆💸 01/02/2024 12:57 con Efectivo 💵","Monto Ultimo Pago":"💲 2000","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 31/03/2025 10:00","Cliente":"6","Saldo Actual":"💲4180 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/6","Resumen":"{\"Cliente\": \"6\",\"Domicilio\": \"\"Nombre\": \"ALEJANDRO MOCTEZUMA\",\"URL\": \"https://sistema.siip.mx/crm/client/6\",\"Saldo Actual\": \"💲4180 pendientes\",\"Monto Ultimo Pago\": \"$ 2000\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 01/02/2024 12:57 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"31/03/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-31 16:00:16.086297] [notice] Logging level set to:debug -[2025-03-31 16:00:16.268649] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:00:16.268822] [debug] Valor de JSON: {"uuid":"e1ae3c70-ca5f-4d8b-b280-14f90205fec2","changeType":"draft_approved","entity":"invoice","entityId":"1723","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1723,"clientId":6,"number":"001673","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1726,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":6,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEJANDRO","clientLastName":"MOCTEZUMA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:16.268980] [debug] Aprobación de Factura - -[2025-03-31 16:00:16.269058] [debug] {"uuid":"e1ae3c70-ca5f-4d8b-b280-14f90205fec2","changeType":"draft_approved","entity":"invoice","entityId":1723,"message":null,"clientId":6,"eventName":"invoice.draft_approved","clientData":{"id":6,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"ALEJANDRO","lastName":"MOCTEZUMA","username":"amoctezuma06","contacts":[{"id":7,"clientId":6,"email":null,"phone":"5214181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-4180,"accountCredit":0,"accountOutstanding":4180,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574,"addressGpsLon":-100.934617,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1723,"clientId":6,"number":"001673","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1726,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":6,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEJANDRO","clientLastName":"MOCTEZUMA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:16.269131] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-31 16:00:16.269171] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"e1ae3c70-ca5f-4d8b-b280-14f90205fec2","changeType":"draft_approved","entity":"invoice","entityId":1723,"message":null,"clientId":6,"eventName":"invoice.draft_approved","clientData":{"id":6,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"ALEJANDRO","lastName":"MOCTEZUMA","username":"amoctezuma06","contacts":[{"id":7,"clientId":6,"email":null,"phone":"5214181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-4180,"accountCredit":0,"accountOutstanding":4180,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574,"addressGpsLon":-100.934617,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1723,"clientId":6,"number":"001673","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1726,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":6,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEJANDRO","clientLastName":"MOCTEZUMA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":27,"clientId":6,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2024-02-01T12:57:53-0600","amount":2000,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":30,"invoiceId":7,"paymentId":27,"creditNoteId":null,"refundId":null,"amount":1700},{"id":31,"invoiceId":5,"paymentId":27,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1000,"attributes":[]}] - -Nombre del cliente que se va a actualizar: ALEJANDRO MOCTEZUMA - -UUID: 71a76e57f89441ff978a5ece070f21d7 - -JSON con los datos a actualizar: {"name":"ALEJANDRO MOCTEZUMA","custom_fields":{"Cliente":6,"Domicilio":"\ud83d\udccd DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 ALEJANDRO MOCTEZUMA","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/6","Saldo Actual":"\ud83d\udcb24180 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 2000","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"6\",\"Domicilio\": \"\"Nombre\": \"ALEJANDRO MOCTEZUMA\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/6\",\"Saldo Actual\": \"\ud83d\udcb24180 pendientes\",\"Monto Ultimo Pago\": \"$ 2000\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 01\/02\/2024 12:57 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"31\/03\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 01\/02\/2024 12:57 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 31\/03\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "6","Domicilio": ""Nombre": "ALEJANDRO MOCTEZUMA","URL": "https://sistema.siip.mx/crm/client/6","Saldo Actual": "💲4180 pendientes","Monto Ultimo Pago": "$ 2000","Estado": "Suspendido","Fecha Ultimo Pago": " 01/02/2024 12:57 con Efectivo 💵","Fecha Ultima Actualizacion": "31/03/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"71a76e57f89441ff978a5ece070f21d7","name":"ALEJANDRO MOCTEZUMA","phoneNumber":"5214181811375","avatarUrl":null,"createdAt":"2021-06-25T15:57:32Z","closedAt":"2024-03-08T18:53:35Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/71a76e57f89441ff978a5ece070f21d7","conversationHref":"https://dash.callbell.eu/chat/6c83978a945141db820592787b7184d5","tags":[],"assignedUser":null,"customFields":{"Antena/Sectorial":"6","Nombre":"👤 ALEJANDRO MOCTEZUMA","Domicilio":"📍 DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800","Fecha Ultimo Pago":"📆💸 01/02/2024 12:57 con Efectivo 💵","Monto Ultimo Pago":"💲 2000","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 31/03/2025 10:00","Cliente":"6","Saldo Actual":"💲4180 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/6","Resumen":"{\"Cliente\": \"6\",\"Domicilio\": \"\"Nombre\": \"ALEJANDRO MOCTEZUMA\",\"URL\": \"https://sistema.siip.mx/crm/client/6\",\"Saldo Actual\": \"💲4180 pendientes\",\"Monto Ultimo Pago\": \"$ 2000\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 01/02/2024 12:57 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"31/03/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"71a76e57f89441ff978a5ece070f21d7","name":"ALEJANDRO MOCTEZUMA","phoneNumber":"5214181811375","avatarUrl":null,"createdAt":"2021-06-25T15:57:32Z","closedAt":"2024-03-08T18:53:35Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/71a76e57f89441ff978a5ece070f21d7","conversationHref":"https://dash.callbell.eu/chat/6c83978a945141db820592787b7184d5","tags":[],"assignedUser":null,"customFields":{"Antena/Sectorial":"6","Nombre":"👤 ALEJANDRO MOCTEZUMA","Domicilio":"📍 DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800","Fecha Ultimo Pago":"📆💸 01/02/2024 12:57 con Efectivo 💵","Monto Ultimo Pago":"💲 2000","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 31/03/2025 10:00","Cliente":"6","Saldo Actual":"💲4180 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/6","Resumen":"{\"Cliente\": \"6\",\"Domicilio\": \"\"Nombre\": \"ALEJANDRO MOCTEZUMA\",\"URL\": \"https://sistema.siip.mx/crm/client/6\",\"Saldo Actual\": \"💲4180 pendientes\",\"Monto Ultimo Pago\": \"$ 2000\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 01/02/2024 12:57 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"31/03/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-31 16:00:18.889039] [notice] Logging level set to:debug -[2025-03-31 16:00:19.025439] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:00:19.025619] [debug] Valor de JSON: {"uuid":"7c883813-2d29-4c79-8af7-c586b6a601fb","changeType":"insert","entity":"invoice","entityId":"1724","eventName":"invoice.add_draft","extraData":{"entity":{"id":1724,"clientId":33,"number":"001674","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1727,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":32,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURELIA","clientLastName":"BARAJAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA CECILIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:19.025773] [debug] Adición de borrador de Factura - -[2025-03-31 16:00:19.025851] [debug] {"uuid":"7c883813-2d29-4c79-8af7-c586b6a601fb","changeType":"insert","entity":"invoice","entityId":1724,"message":null,"clientId":33,"eventName":"invoice.add_draft","clientData":{"id":33,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA CECILIA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA CECILIA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"AURELIA","lastName":"BARAJAS","username":"abarajas33","contacts":[{"id":34,"clientId":33,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4750,"accountCredit":0,"accountOutstanding":4750,"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":1724,"clientId":33,"number":"001674","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1727,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":32,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURELIA","clientLastName":"BARAJAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA CECILIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:19.142241] [notice] Logging level set to:debug -[2025-03-31 16:00:19.296607] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:00:19.296782] [debug] Valor de JSON: {"uuid":"89b7ae0c-e744-4d7a-a567-810a4ca518ee","changeType":"draft_approved","entity":"invoice","entityId":"1724","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1724,"clientId":33,"number":"001674","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1727,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":32,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURELIA","clientLastName":"BARAJAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA CECILIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:19.296941] [debug] Aprobación de Factura - -[2025-03-31 16:00:19.297023] [debug] {"uuid":"89b7ae0c-e744-4d7a-a567-810a4ca518ee","changeType":"draft_approved","entity":"invoice","entityId":1724,"message":null,"clientId":33,"eventName":"invoice.draft_approved","clientData":{"id":33,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA CECILIA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA CECILIA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"AURELIA","lastName":"BARAJAS","username":"abarajas33","contacts":[{"id":34,"clientId":33,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4750,"accountCredit":0,"accountOutstanding":4750,"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":1724,"clientId":33,"number":"001674","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1727,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":32,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURELIA","clientLastName":"BARAJAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA CECILIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:19.407706] [notice] Logging level set to:debug -[2025-03-31 16:00:19.545279] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:00:19.545422] [debug] Valor de JSON: {"uuid":"0c7a6f90-6a44-4453-b781-a3fde50b1cf3","changeType":"insert","entity":"invoice","entityId":"1725","eventName":"invoice.add_draft","extraData":{"entity":{"id":1725,"clientId":62,"number":"001675","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1728,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":61,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"BERNAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:19.545547] [debug] Adición de borrador de Factura - -[2025-03-31 16:00:19.545624] [debug] {"uuid":"0c7a6f90-6a44-4453-b781-a3fde50b1cf3","changeType":"insert","entity":"invoice","entityId":1725,"message":null,"clientId":62,"eventName":"invoice.add_draft","clientData":{"id":62,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TRANCAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TRANCAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DANIEL","lastName":"BERNAL","username":"dbernal62","contacts":[{"id":63,"clientId":62,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1725,"clientId":62,"number":"001675","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1728,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":61,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"BERNAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:19.661309] [notice] Logging level set to:debug -[2025-03-31 16:00:19.791270] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:00:19.792303] [debug] Valor de JSON: {"uuid":"b37aabcd-d7af-41fc-b980-0f3853177a3f","changeType":"draft_approved","entity":"invoice","entityId":"1725","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1725,"clientId":62,"number":"001675","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1728,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":61,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"BERNAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:19.792509] [debug] Aprobación de Factura - -[2025-03-31 16:00:19.792594] [debug] {"uuid":"b37aabcd-d7af-41fc-b980-0f3853177a3f","changeType":"draft_approved","entity":"invoice","entityId":1725,"message":null,"clientId":62,"eventName":"invoice.draft_approved","clientData":{"id":62,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TRANCAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TRANCAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DANIEL","lastName":"BERNAL","username":"dbernal62","contacts":[{"id":63,"clientId":62,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1725,"clientId":62,"number":"001675","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1728,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":61,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"BERNAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:19.951450] [notice] Logging level set to:debug -[2025-03-31 16:00:20.080470] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:00:20.080678] [debug] Valor de JSON: {"uuid":"0201cc68-745d-4b01-ab54-985602f973b7","changeType":"insert","entity":"invoice","entityId":"1726","eventName":"invoice.add_draft","extraData":{"entity":{"id":1726,"clientId":18,"number":"001676","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1729,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":17,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"INGRID","clientLastName":"CORONADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:20.080818] [debug] Adición de borrador de Factura - -[2025-03-31 16:00:20.080894] [debug] {"uuid":"0201cc68-745d-4b01-ab54-985602f973b7","changeType":"insert","entity":"invoice","entityId":1726,"message":null,"clientId":18,"eventName":"invoice.add_draft","clientData":{"id":18,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"INGRID","lastName":"CORONADO","username":"icoronado18","contacts":[{"id":19,"clientId":18,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-10500,"accountCredit":0,"accountOutstanding":10500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#039be5","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1726,"clientId":18,"number":"001676","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1729,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":17,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"INGRID","clientLastName":"CORONADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:20.194183] [notice] Logging level set to:debug -[2025-03-31 16:00:20.328463] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:00:20.328528] [debug] Valor de JSON: {"uuid":"f367d8ab-4c03-4b18-9d24-00a46217378e","changeType":"draft_approved","entity":"invoice","entityId":"1726","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1726,"clientId":18,"number":"001676","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1729,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":17,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"INGRID","clientLastName":"CORONADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:20.328624] [debug] Aprobación de Factura - -[2025-03-31 16:00:20.328670] [debug] {"uuid":"f367d8ab-4c03-4b18-9d24-00a46217378e","changeType":"draft_approved","entity":"invoice","entityId":1726,"message":null,"clientId":18,"eventName":"invoice.draft_approved","clientData":{"id":18,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"INGRID","lastName":"CORONADO","username":"icoronado18","contacts":[{"id":19,"clientId":18,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-10500,"accountCredit":0,"accountOutstanding":10500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#039be5","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1726,"clientId":18,"number":"001676","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1729,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":17,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"INGRID","clientLastName":"CORONADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:21.270277] [notice] Logging level set to:debug -[2025-03-31 16:00:21.409104] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:00:21.409178] [debug] Valor de JSON: {"uuid":"65688619-aad0-46aa-88cc-da84aafcf5f9","changeType":"insert","entity":"invoice","entityId":"1727","eventName":"invoice.add_draft","extraData":{"entity":{"id":1727,"clientId":83,"number":"001677","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1730,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":82,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"SOLIS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL VERGEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:21.409296] [debug] Adición de borrador de Factura - -[2025-03-31 16:00:21.409353] [debug] {"uuid":"65688619-aad0-46aa-88cc-da84aafcf5f9","changeType":"insert","entity":"invoice","entityId":1727,"message":null,"clientId":83,"eventName":"invoice.add_draft","clientData":{"id":83,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL VERGEL","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL VERGEL, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDUARDO","lastName":"SOLIS","username":"esolis83","contacts":[{"id":84,"clientId":83,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-9200,"accountCredit":0,"accountOutstanding":9200,"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":1727,"clientId":83,"number":"001677","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1730,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":82,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"SOLIS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL VERGEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:21.522675] [notice] Logging level set to:debug -[2025-03-31 16:00:21.652750] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:00:21.652894] [debug] Valor de JSON: {"uuid":"35a740e3-62e5-4f97-bb90-f6f3e56f3a33","changeType":"draft_approved","entity":"invoice","entityId":"1727","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1727,"clientId":83,"number":"001677","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1730,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":82,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"SOLIS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL VERGEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:21.653017] [debug] Aprobación de Factura - -[2025-03-31 16:00:21.654481] [debug] {"uuid":"35a740e3-62e5-4f97-bb90-f6f3e56f3a33","changeType":"draft_approved","entity":"invoice","entityId":1727,"message":null,"clientId":83,"eventName":"invoice.draft_approved","clientData":{"id":83,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL VERGEL","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL VERGEL, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDUARDO","lastName":"SOLIS","username":"esolis83","contacts":[{"id":84,"clientId":83,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-9200,"accountCredit":0,"accountOutstanding":9200,"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":1727,"clientId":83,"number":"001677","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1730,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":82,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"SOLIS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL VERGEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:22.568627] [notice] Logging level set to:debug -[2025-03-31 16:00:22.707828] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:00:22.708029] [debug] Valor de JSON: {"uuid":"8d90ef29-0846-446e-9216-06f10478da88","changeType":"insert","entity":"invoice","entityId":"1728","eventName":"invoice.add_draft","extraData":{"entity":{"id":1728,"clientId":57,"number":"001678","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1731,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":56,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SANDRO","clientLastName":"MARQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:22.708188] [debug] Adición de borrador de Factura - -[2025-03-31 16:00:22.708268] [debug] {"uuid":"8d90ef29-0846-446e-9216-06f10478da88","changeType":"insert","entity":"invoice","entityId":1728,"message":null,"clientId":57,"eventName":"invoice.add_draft","clientData":{"id":57,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SANDRO","lastName":"MARQUEZ","username":"smarquez57","contacts":[{"id":58,"clientId":57,"email":null,"phone":"181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1728,"clientId":57,"number":"001678","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1731,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":56,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SANDRO","clientLastName":"MARQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:22.818171] [notice] Logging level set to:debug -[2025-03-31 16:00:22.971158] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:00:22.971306] [debug] Valor de JSON: {"uuid":"758871bf-669b-4722-86d9-981ca447adae","changeType":"draft_approved","entity":"invoice","entityId":"1728","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1728,"clientId":57,"number":"001678","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1731,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":56,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SANDRO","clientLastName":"MARQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:22.971498] [debug] Aprobación de Factura - -[2025-03-31 16:00:22.971604] [debug] {"uuid":"758871bf-669b-4722-86d9-981ca447adae","changeType":"draft_approved","entity":"invoice","entityId":1728,"message":null,"clientId":57,"eventName":"invoice.draft_approved","clientData":{"id":57,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SANDRO","lastName":"MARQUEZ","username":"smarquez57","contacts":[{"id":58,"clientId":57,"email":null,"phone":"181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1728,"clientId":57,"number":"001678","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1731,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":56,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SANDRO","clientLastName":"MARQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:23.887552] [notice] Logging level set to:debug -[2025-03-31 16:00:24.019433] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:00:24.019680] [debug] Valor de JSON: {"uuid":"cbc82aed-c2f9-4cc8-8250-3bd4aa72cf38","changeType":"insert","entity":"invoice","entityId":"1729","eventName":"invoice.add_draft","extraData":{"entity":{"id":1729,"clientId":28,"number":"001679","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1732,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":27,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSVALDO","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN GABRIEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:24.019923] [debug] Adición de borrador de Factura - -[2025-03-31 16:00:24.020055] [debug] {"uuid":"cbc82aed-c2f9-4cc8-8250-3bd4aa72cf38","changeType":"insert","entity":"invoice","entityId":1729,"message":null,"clientId":28,"eventName":"invoice.add_draft","clientData":{"id":28,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN GABRIEL","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN GABRIEL, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OSVALDO","lastName":"GONZALEZ","username":"ogonzalez28","contacts":[{"id":29,"clientId":28,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7483.33,"accountCredit":0,"accountOutstanding":7483.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#03a9f4","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1729,"clientId":28,"number":"001679","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1732,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":27,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSVALDO","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN GABRIEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:24.131851] [notice] Logging level set to:debug -[2025-03-31 16:00:24.341281] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:00:24.341470] [debug] Valor de JSON: {"uuid":"93a6be80-3ce0-4fe2-b76e-7265eccb79a7","changeType":"draft_approved","entity":"invoice","entityId":"1729","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1729,"clientId":28,"number":"001679","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1732,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":27,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSVALDO","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN GABRIEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:24.341595] [debug] Aprobación de Factura - -[2025-03-31 16:00:24.341669] [debug] {"uuid":"93a6be80-3ce0-4fe2-b76e-7265eccb79a7","changeType":"draft_approved","entity":"invoice","entityId":1729,"message":null,"clientId":28,"eventName":"invoice.draft_approved","clientData":{"id":28,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN GABRIEL","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN GABRIEL, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OSVALDO","lastName":"GONZALEZ","username":"ogonzalez28","contacts":[{"id":29,"clientId":28,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7483.33,"accountCredit":0,"accountOutstanding":7483.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#03a9f4","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1729,"clientId":28,"number":"001679","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1732,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":27,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSVALDO","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN GABRIEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:25.290009] [notice] Logging level set to:debug -[2025-03-31 16:00:25.461911] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:00:25.462106] [debug] Valor de JSON: {"uuid":"cdf42d5c-a0b8-4acb-8c98-fead4d4f1f32","changeType":"insert","entity":"invoice","entityId":"1730","eventName":"invoice.add_draft","extraData":{"entity":{"id":1730,"clientId":59,"number":"001680","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1733,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":58,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAMSES","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:25.462287] [debug] Adición de borrador de Factura - -[2025-03-31 16:00:25.462373] [debug] {"uuid":"cdf42d5c-a0b8-4acb-8c98-fead4d4f1f32","changeType":"insert","entity":"invoice","entityId":1730,"message":null,"clientId":59,"eventName":"invoice.add_draft","clientData":{"id":59,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"GUSANO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"GUSANO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"RAMSES","lastName":"HERRERA","username":"rherrera59","contacts":[{"id":60,"clientId":59,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1730,"clientId":59,"number":"001680","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1733,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":58,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAMSES","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:25.579364] [notice] Logging level set to:debug -[2025-03-31 16:00:25.720458] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:00:25.720640] [debug] Valor de JSON: {"uuid":"277e7a1f-964b-4beb-9d30-8f39c9aad818","changeType":"draft_approved","entity":"invoice","entityId":"1730","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1730,"clientId":59,"number":"001680","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1733,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":58,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAMSES","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:25.721092] [debug] Aprobación de Factura - -[2025-03-31 16:00:25.721193] [debug] {"uuid":"277e7a1f-964b-4beb-9d30-8f39c9aad818","changeType":"draft_approved","entity":"invoice","entityId":1730,"message":null,"clientId":59,"eventName":"invoice.draft_approved","clientData":{"id":59,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"GUSANO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"GUSANO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"RAMSES","lastName":"HERRERA","username":"rherrera59","contacts":[{"id":60,"clientId":59,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1730,"clientId":59,"number":"001680","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1733,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":58,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAMSES","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:26.639439] [notice] Logging level set to:debug -[2025-03-31 16:00:26.776884] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:00:26.777060] [debug] Valor de JSON: {"uuid":"7ff8470b-3d6c-463c-8844-97de9212a241","changeType":"insert","entity":"invoice","entityId":"1731","eventName":"invoice.add_draft","extraData":{"entity":{"id":1731,"clientId":85,"number":"001681","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1734,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":84,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GISELLE","clientLastName":"ARREDONDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GARABATILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:26.777193] [debug] Adición de borrador de Factura - -[2025-03-31 16:00:26.777271] [debug] {"uuid":"7ff8470b-3d6c-463c-8844-97de9212a241","changeType":"insert","entity":"invoice","entityId":1731,"message":null,"clientId":85,"eventName":"invoice.add_draft","clientData":{"id":85,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"GARABATILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"GARABATILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"GISELLE","lastName":"ARREDONDO","username":"garredondo85","contacts":[{"id":86,"clientId":85,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7700,"accountCredit":0,"accountOutstanding":7700,"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":1731,"clientId":85,"number":"001681","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1734,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":84,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GISELLE","clientLastName":"ARREDONDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GARABATILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:26.888958] [notice] Logging level set to:debug -[2025-03-31 16:00:27.016629] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:00:27.016793] [debug] Valor de JSON: {"uuid":"83a1cea4-8630-4282-9107-9e562ba5493f","changeType":"draft_approved","entity":"invoice","entityId":"1731","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1731,"clientId":85,"number":"001681","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1734,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":84,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GISELLE","clientLastName":"ARREDONDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GARABATILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:27.016927] [debug] Aprobación de Factura - -[2025-03-31 16:00:27.017002] [debug] {"uuid":"83a1cea4-8630-4282-9107-9e562ba5493f","changeType":"draft_approved","entity":"invoice","entityId":1731,"message":null,"clientId":85,"eventName":"invoice.draft_approved","clientData":{"id":85,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"GARABATILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"GARABATILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"GISELLE","lastName":"ARREDONDO","username":"garredondo85","contacts":[{"id":86,"clientId":85,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7700,"accountCredit":0,"accountOutstanding":7700,"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":1731,"clientId":85,"number":"001681","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1734,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":84,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GISELLE","clientLastName":"ARREDONDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GARABATILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:28.010395] [notice] Logging level set to:debug -[2025-03-31 16:00:28.162314] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:00:28.162374] [debug] Valor de JSON: {"uuid":"f63f715f-75a7-4355-a241-5a949950d881","changeType":"insert","entity":"invoice","entityId":"1732","eventName":"invoice.add_draft","extraData":{"entity":{"id":1732,"clientId":49,"number":"001682","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1735,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":48,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"ARGOTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:28.162477] [debug] Adición de borrador de Factura - -[2025-03-31 16:00:28.162522] [debug] {"uuid":"f63f715f-75a7-4355-a241-5a949950d881","changeType":"insert","entity":"invoice","entityId":1732,"message":null,"clientId":49,"eventName":"invoice.add_draft","clientData":{"id":49,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"HUMBERTO","lastName":"ARGOTE","username":"hargote49","contacts":[{"id":50,"clientId":49,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":106,"clientId":49,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1TKNidnkizX4","clientZoneVisible":true},{"id":107,"clientId":49,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"5239864893662909","clientZoneVisible":true}],"accountBalance":-4210,"accountCredit":0,"accountOutstanding":4210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.0502031,"addressGpsLon":-101.0096832,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1732,"clientId":49,"number":"001682","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1735,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":48,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"ARGOTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:28.273685] [notice] Logging level set to:debug -[2025-03-31 16:00:28.402107] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:00:28.402287] [debug] Valor de JSON: {"uuid":"1a606a5f-938c-49c2-8614-37e4059497c4","changeType":"draft_approved","entity":"invoice","entityId":"1732","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1732,"clientId":49,"number":"001682","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1735,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":48,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"ARGOTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:28.402427] [debug] Aprobación de Factura - -[2025-03-31 16:00:28.402509] [debug] {"uuid":"1a606a5f-938c-49c2-8614-37e4059497c4","changeType":"draft_approved","entity":"invoice","entityId":1732,"message":null,"clientId":49,"eventName":"invoice.draft_approved","clientData":{"id":49,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"HUMBERTO","lastName":"ARGOTE","username":"hargote49","contacts":[{"id":50,"clientId":49,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":106,"clientId":49,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1TKNidnkizX4","clientZoneVisible":true},{"id":107,"clientId":49,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"5239864893662909","clientZoneVisible":true}],"accountBalance":-4210,"accountCredit":0,"accountOutstanding":4210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.0502031,"addressGpsLon":-101.0096832,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1732,"clientId":49,"number":"001682","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1735,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":48,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"ARGOTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:29.301930] [notice] Logging level set to:debug -[2025-03-31 16:00:29.438623] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:00:29.438790] [debug] Valor de JSON: {"uuid":"31d2d5ea-5db5-4694-9c2d-d912e6746a4d","changeType":"insert","entity":"invoice","entityId":"1733","eventName":"invoice.add_draft","extraData":{"entity":{"id":1733,"clientId":77,"number":"001683","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1736,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":76,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARGARITO","clientLastName":"ESTRADA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:29.438976] [debug] Adición de borrador de Factura - -[2025-03-31 16:00:29.439074] [debug] {"uuid":"31d2d5ea-5db5-4694-9c2d-d912e6746a4d","changeType":"insert","entity":"invoice","entityId":1733,"message":null,"clientId":77,"eventName":"invoice.add_draft","clientData":{"id":77,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA VENTILLA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA VENTILLA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARGARITO","lastName":"ESTRADA","username":"mestrada77","contacts":[{"id":78,"clientId":77,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#039be5","addressGpsLat":21.1145736,"addressGpsLon":-100.933729,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1733,"clientId":77,"number":"001683","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1736,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":76,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARGARITO","clientLastName":"ESTRADA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:29.552587] [notice] Logging level set to:debug -[2025-03-31 16:00:29.687608] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:00:29.687871] [debug] Valor de JSON: {"uuid":"3f405dbb-e3d7-4b48-8832-3013678a2440","changeType":"draft_approved","entity":"invoice","entityId":"1733","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1733,"clientId":77,"number":"001683","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1736,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":76,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARGARITO","clientLastName":"ESTRADA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:29.688026] [debug] Aprobación de Factura - -[2025-03-31 16:00:29.688107] [debug] {"uuid":"3f405dbb-e3d7-4b48-8832-3013678a2440","changeType":"draft_approved","entity":"invoice","entityId":1733,"message":null,"clientId":77,"eventName":"invoice.draft_approved","clientData":{"id":77,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA VENTILLA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA VENTILLA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARGARITO","lastName":"ESTRADA","username":"mestrada77","contacts":[{"id":78,"clientId":77,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#039be5","addressGpsLat":21.1145736,"addressGpsLon":-100.933729,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1733,"clientId":77,"number":"001683","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1736,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":76,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARGARITO","clientLastName":"ESTRADA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:30.638214] [notice] Logging level set to:debug -[2025-03-31 16:00:30.774539] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:00:30.774607] [debug] Valor de JSON: {"uuid":"362935a0-ca02-435a-b27e-165827d39afd","changeType":"insert","entity":"invoice","entityId":"1734","eventName":"invoice.add_draft","extraData":{"entity":{"id":1734,"clientId":87,"number":"001684","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1737,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":86,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:30.774718] [debug] Adición de borrador de Factura - -[2025-03-31 16:00:30.774772] [debug] {"uuid":"362935a0-ca02-435a-b27e-165827d39afd","changeType":"insert","entity":"invoice","entityId":1734,"message":null,"clientId":87,"eventName":"invoice.add_draft","clientData":{"id":87,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ANTON","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ANTON, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"TERESA","lastName":"REYES","username":"treyes87","contacts":[{"id":88,"clientId":87,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1565c0","addressGpsLat":21.1473165,"addressGpsLon":-100.9333759,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1734,"clientId":87,"number":"001684","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1737,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":86,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:30.889483] [notice] Logging level set to:debug -[2025-03-31 16:00:31.034439] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:00:31.034617] [debug] Valor de JSON: {"uuid":"d12bd772-6841-4396-9512-293b39353a8a","changeType":"draft_approved","entity":"invoice","entityId":"1734","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1734,"clientId":87,"number":"001684","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1737,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":86,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:31.034751] [debug] Aprobación de Factura - -[2025-03-31 16:00:31.034830] [debug] {"uuid":"d12bd772-6841-4396-9512-293b39353a8a","changeType":"draft_approved","entity":"invoice","entityId":1734,"message":null,"clientId":87,"eventName":"invoice.draft_approved","clientData":{"id":87,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ANTON","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ANTON, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"TERESA","lastName":"REYES","username":"treyes87","contacts":[{"id":88,"clientId":87,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1565c0","addressGpsLat":21.1473165,"addressGpsLon":-100.9333759,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1734,"clientId":87,"number":"001684","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1737,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":86,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:31.928025] [notice] Logging level set to:debug -[2025-03-31 16:00:32.083334] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:00:32.083405] [debug] Valor de JSON: {"uuid":"7c4b0bbc-c769-4c5b-b012-80127081557f","changeType":"insert","entity":"invoice","entityId":"1735","eventName":"invoice.add_draft","extraData":{"entity":{"id":1735,"clientId":21,"number":"001685","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1738,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":20,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NATALIA","clientLastName":"JUAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:32.083542] [debug] Adición de borrador de Factura - -[2025-03-31 16:00:32.083599] [debug] {"uuid":"7c4b0bbc-c769-4c5b-b012-80127081557f","changeType":"insert","entity":"invoice","entityId":1735,"message":null,"clientId":21,"eventName":"invoice.add_draft","clientData":{"id":21,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"MEZQUITAL","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"MEZQUITAL, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"NATALIA","lastName":"JUAREZ","username":"njuarez21","contacts":[{"id":22,"clientId":21,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"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":1735,"clientId":21,"number":"001685","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1738,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":20,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NATALIA","clientLastName":"JUAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:32.197876] [notice] Logging level set to:debug -[2025-03-31 16:00:32.360778] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:00:32.360838] [debug] Valor de JSON: {"uuid":"d881c10a-95c8-429d-a608-e1b71a6d3a45","changeType":"draft_approved","entity":"invoice","entityId":"1735","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1735,"clientId":21,"number":"001685","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1738,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":20,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NATALIA","clientLastName":"JUAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:32.360927] [debug] Aprobación de Factura - -[2025-03-31 16:00:32.360971] [debug] {"uuid":"d881c10a-95c8-429d-a608-e1b71a6d3a45","changeType":"draft_approved","entity":"invoice","entityId":1735,"message":null,"clientId":21,"eventName":"invoice.draft_approved","clientData":{"id":21,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"MEZQUITAL","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"MEZQUITAL, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"NATALIA","lastName":"JUAREZ","username":"njuarez21","contacts":[{"id":22,"clientId":21,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"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":1735,"clientId":21,"number":"001685","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1738,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":20,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NATALIA","clientLastName":"JUAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:33.258404] [notice] Logging level set to:debug -[2025-03-31 16:00:33.411695] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:00:33.411765] [debug] Valor de JSON: {"uuid":"4dde260e-120b-467d-b399-3d3a31668ae0","changeType":"insert","entity":"invoice","entityId":"1736","eventName":"invoice.add_draft","extraData":{"entity":{"id":1736,"clientId":26,"number":"001686","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1739,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":25,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SAMANTA","clientLastName":"FUENTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:33.411874] [debug] Adición de borrador de Factura - -[2025-03-31 16:00:33.411921] [debug] {"uuid":"4dde260e-120b-467d-b399-3d3a31668ae0","changeType":"insert","entity":"invoice","entityId":1736,"message":null,"clientId":26,"eventName":"invoice.add_draft","clientData":{"id":26,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"GUSANO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"GUSANO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SAMANTA","lastName":"FUENTES","username":"sfuentes26","contacts":[{"id":27,"clientId":26,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5080,"accountCredit":0,"accountOutstanding":5080,"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":1736,"clientId":26,"number":"001686","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1739,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":25,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SAMANTA","clientLastName":"FUENTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:33.521321] [notice] Logging level set to:debug -[2025-03-31 16:00:33.684014] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:00:33.684176] [debug] Valor de JSON: {"uuid":"2798aa07-e62f-4c23-86ed-763fb483ad4e","changeType":"draft_approved","entity":"invoice","entityId":"1736","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1736,"clientId":26,"number":"001686","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1739,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":25,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SAMANTA","clientLastName":"FUENTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:33.684305] [debug] Aprobación de Factura - -[2025-03-31 16:00:33.684385] [debug] {"uuid":"2798aa07-e62f-4c23-86ed-763fb483ad4e","changeType":"draft_approved","entity":"invoice","entityId":1736,"message":null,"clientId":26,"eventName":"invoice.draft_approved","clientData":{"id":26,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"GUSANO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"GUSANO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SAMANTA","lastName":"FUENTES","username":"sfuentes26","contacts":[{"id":27,"clientId":26,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5080,"accountCredit":0,"accountOutstanding":5080,"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":1736,"clientId":26,"number":"001686","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1739,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":25,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SAMANTA","clientLastName":"FUENTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:34.684451] [notice] Logging level set to:debug -[2025-03-31 16:00:34.826739] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:00:34.826803] [debug] Valor de JSON: {"uuid":"2b6da958-8a8e-48d8-b9ff-f367a50e88ea","changeType":"insert","entity":"invoice","entityId":"1737","eventName":"invoice.add_draft","extraData":{"entity":{"id":1737,"clientId":51,"number":"001687","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1740,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":50,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"MORENO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PADRE HIDALGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:34.826934] [debug] Adición de borrador de Factura - -[2025-03-31 16:00:34.826986] [debug] {"uuid":"2b6da958-8a8e-48d8-b9ff-f367a50e88ea","changeType":"insert","entity":"invoice","entityId":1737,"message":null,"clientId":51,"eventName":"invoice.add_draft","clientData":{"id":51,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"PADRE HIDALGO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"PADRE HIDALGO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DANIEL","lastName":"MORENO","username":"dmoreno51","contacts":[{"id":52,"clientId":51,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7750,"accountCredit":0,"accountOutstanding":7750,"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":1737,"clientId":51,"number":"001687","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1740,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":50,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"MORENO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PADRE HIDALGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:34.939078] [notice] Logging level set to:debug -[2025-03-31 16:00:35.087789] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:00:35.087932] [debug] Valor de JSON: {"uuid":"ec4fe1eb-6eb2-4225-a317-a06837fa7f9d","changeType":"draft_approved","entity":"invoice","entityId":"1737","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1737,"clientId":51,"number":"001687","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1740,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":50,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"MORENO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PADRE HIDALGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:35.088063] [debug] Aprobación de Factura - -[2025-03-31 16:00:35.088140] [debug] {"uuid":"ec4fe1eb-6eb2-4225-a317-a06837fa7f9d","changeType":"draft_approved","entity":"invoice","entityId":1737,"message":null,"clientId":51,"eventName":"invoice.draft_approved","clientData":{"id":51,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"PADRE HIDALGO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"PADRE HIDALGO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DANIEL","lastName":"MORENO","username":"dmoreno51","contacts":[{"id":52,"clientId":51,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7750,"accountCredit":0,"accountOutstanding":7750,"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":1737,"clientId":51,"number":"001687","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1740,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":50,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"MORENO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PADRE HIDALGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:35.988360] [notice] Logging level set to:debug -[2025-03-31 16:00:36.124803] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:00:36.125145] [debug] Valor de JSON: {"uuid":"f7dd32f3-070d-44eb-bb46-32e580d8edf1","changeType":"insert","entity":"invoice","entityId":"1738","eventName":"invoice.add_draft","extraData":{"entity":{"id":1738,"clientId":67,"number":"001688","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1741,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":66,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TOMAS","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:36.125322] [debug] Adición de borrador de Factura - -[2025-03-31 16:00:36.125412] [debug] {"uuid":"f7dd32f3-070d-44eb-bb46-32e580d8edf1","changeType":"insert","entity":"invoice","entityId":1738,"message":null,"clientId":67,"eventName":"invoice.add_draft","clientData":{"id":67,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"TOMAS","lastName":"SUASTE","username":"tsuaste67","contacts":[{"id":68,"clientId":67,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1738,"clientId":67,"number":"001688","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1741,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":66,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TOMAS","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:36.239484] [notice] Logging level set to:debug -[2025-03-31 16:00:36.384399] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:00:36.384579] [debug] Valor de JSON: {"uuid":"020c5cbd-c102-4201-b359-8bc8974135a7","changeType":"draft_approved","entity":"invoice","entityId":"1738","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1738,"clientId":67,"number":"001688","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1741,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":66,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TOMAS","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:36.384721] [debug] Aprobación de Factura - -[2025-03-31 16:00:36.384799] [debug] {"uuid":"020c5cbd-c102-4201-b359-8bc8974135a7","changeType":"draft_approved","entity":"invoice","entityId":1738,"message":null,"clientId":67,"eventName":"invoice.draft_approved","clientData":{"id":67,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"TOMAS","lastName":"SUASTE","username":"tsuaste67","contacts":[{"id":68,"clientId":67,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1738,"clientId":67,"number":"001688","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1741,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":66,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TOMAS","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:37.303467] [notice] Logging level set to:debug -[2025-03-31 16:00:37.441752] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:00:37.441827] [debug] Valor de JSON: {"uuid":"a55a0999-2f26-41a5-a4b9-a262952fd767","changeType":"insert","entity":"invoice","entityId":"1739","eventName":"invoice.add_draft","extraData":{"entity":{"id":1739,"clientId":60,"number":"001689","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1742,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":59,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MANUEL","clientLastName":"CORENEO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:37.441955] [debug] Adición de borrador de Factura - -[2025-03-31 16:00:37.442009] [debug] {"uuid":"a55a0999-2f26-41a5-a4b9-a262952fd767","changeType":"insert","entity":"invoice","entityId":1739,"message":null,"clientId":60,"eventName":"invoice.add_draft","clientData":{"id":60,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TECOLOTE","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TECOLOTE, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MANUEL","lastName":"CORENEO","username":"mcoreneo60","contacts":[{"id":61,"clientId":60,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1739,"clientId":60,"number":"001689","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1742,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":59,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MANUEL","clientLastName":"CORENEO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:37.561935] [notice] Logging level set to:debug -[2025-03-31 16:00:37.722686] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:00:37.722913] [debug] Valor de JSON: {"uuid":"55ece5e1-92a4-4db6-ba85-e4e31af6e413","changeType":"draft_approved","entity":"invoice","entityId":"1739","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1739,"clientId":60,"number":"001689","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1742,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":59,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MANUEL","clientLastName":"CORENEO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:37.723047] [debug] Aprobación de Factura - -[2025-03-31 16:00:37.723125] [debug] {"uuid":"55ece5e1-92a4-4db6-ba85-e4e31af6e413","changeType":"draft_approved","entity":"invoice","entityId":1739,"message":null,"clientId":60,"eventName":"invoice.draft_approved","clientData":{"id":60,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TECOLOTE","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TECOLOTE, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MANUEL","lastName":"CORENEO","username":"mcoreneo60","contacts":[{"id":61,"clientId":60,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1739,"clientId":60,"number":"001689","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1742,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":59,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MANUEL","clientLastName":"CORENEO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:38.658354] [notice] Logging level set to:debug -[2025-03-31 16:00:38.794596] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:00:38.794738] [debug] Valor de JSON: {"uuid":"d1daad25-dfc8-4764-864e-caae70acd1bd","changeType":"insert","entity":"invoice","entityId":"1740","eventName":"invoice.add_draft","extraData":{"entity":{"id":1740,"clientId":88,"number":"001690","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1743,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":87,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CECILIA","clientLastName":"GRANDE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIFORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:38.794873] [debug] Adición de borrador de Factura - -[2025-03-31 16:00:38.794986] [debug] {"uuid":"d1daad25-dfc8-4764-864e-caae70acd1bd","changeType":"insert","entity":"invoice","entityId":1740,"message":null,"clientId":88,"eventName":"invoice.add_draft","clientData":{"id":88,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA CALIFORNIA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA CALIFORNIA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"CECILIA","lastName":"GRANDE","username":"cgrande88","contacts":[{"id":89,"clientId":88,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-10300,"accountCredit":0,"accountOutstanding":10300,"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":1740,"clientId":88,"number":"001690","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1743,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":87,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CECILIA","clientLastName":"GRANDE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIFORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:38.911010] [notice] Logging level set to:debug -[2025-03-31 16:00:39.052150] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:00:39.052299] [debug] Valor de JSON: {"uuid":"7e74148f-665e-451e-a84b-207a25a8379c","changeType":"draft_approved","entity":"invoice","entityId":"1740","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1740,"clientId":88,"number":"001690","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1743,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":87,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CECILIA","clientLastName":"GRANDE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIFORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:39.052436] [debug] Aprobación de Factura - -[2025-03-31 16:00:39.052511] [debug] {"uuid":"7e74148f-665e-451e-a84b-207a25a8379c","changeType":"draft_approved","entity":"invoice","entityId":1740,"message":null,"clientId":88,"eventName":"invoice.draft_approved","clientData":{"id":88,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA CALIFORNIA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA CALIFORNIA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"CECILIA","lastName":"GRANDE","username":"cgrande88","contacts":[{"id":89,"clientId":88,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-10300,"accountCredit":0,"accountOutstanding":10300,"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":1740,"clientId":88,"number":"001690","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1743,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":87,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CECILIA","clientLastName":"GRANDE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIFORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:40.002528] [notice] Logging level set to:debug -[2025-03-31 16:00:40.171886] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:00:40.172032] [debug] Valor de JSON: {"uuid":"0953271c-2398-4ef4-87d6-0ea55e5983dd","changeType":"insert","entity":"invoice","entityId":"1741","eventName":"invoice.add_draft","extraData":{"entity":{"id":1741,"clientId":69,"number":"001691","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1744,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":68,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CIRILA","clientLastName":"AVILES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:40.172185] [debug] Adición de borrador de Factura - -[2025-03-31 16:00:40.172270] [debug] {"uuid":"0953271c-2398-4ef4-87d6-0ea55e5983dd","changeType":"insert","entity":"invoice","entityId":1741,"message":null,"clientId":69,"eventName":"invoice.add_draft","clientData":{"id":69,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"CIRILA","lastName":"AVILES","username":"caviles69","contacts":[{"id":70,"clientId":69,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#8bc34a","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1741,"clientId":69,"number":"001691","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1744,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":68,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CIRILA","clientLastName":"AVILES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:40.284287] [notice] Logging level set to:debug -[2025-03-31 16:00:40.425719] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:00:40.425906] [debug] Valor de JSON: {"uuid":"6e9cbf90-6b10-4b63-a0d0-648f5fb58bec","changeType":"draft_approved","entity":"invoice","entityId":"1741","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1741,"clientId":69,"number":"001691","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1744,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":68,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CIRILA","clientLastName":"AVILES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:40.426129] [debug] Aprobación de Factura - -[2025-03-31 16:00:40.426218] [debug] {"uuid":"6e9cbf90-6b10-4b63-a0d0-648f5fb58bec","changeType":"draft_approved","entity":"invoice","entityId":1741,"message":null,"clientId":69,"eventName":"invoice.draft_approved","clientData":{"id":69,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"CIRILA","lastName":"AVILES","username":"caviles69","contacts":[{"id":70,"clientId":69,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#8bc34a","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1741,"clientId":69,"number":"001691","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1744,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":68,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CIRILA","clientLastName":"AVILES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:41.440366] [notice] Logging level set to:debug -[2025-03-31 16:00:41.566932] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:00:41.567120] [debug] Valor de JSON: {"uuid":"201cb3f7-855d-49c7-8b6e-0c5eba7a724b","changeType":"insert","entity":"invoice","entityId":"1742","eventName":"invoice.add_draft","extraData":{"entity":{"id":1742,"clientId":71,"number":"001692","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1745,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":70,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:41.567286] [debug] Adición de borrador de Factura - -[2025-03-31 16:00:41.567377] [debug] {"uuid":"201cb3f7-855d-49c7-8b6e-0c5eba7a724b","changeType":"insert","entity":"invoice","entityId":1742,"message":null,"clientId":71,"eventName":"invoice.add_draft","clientData":{"id":71,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MNARIA","lastName":"ALVAREZ","username":"malvarez71","contacts":[{"id":72,"clientId":71,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4caf50","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1742,"clientId":71,"number":"001692","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1745,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":70,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:41.716623] [notice] Logging level set to:debug -[2025-03-31 16:00:41.852118] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:00:41.852190] [debug] Valor de JSON: {"uuid":"bdf9ecfc-bdc2-42b5-a685-2150e9d30895","changeType":"draft_approved","entity":"invoice","entityId":"1742","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1742,"clientId":71,"number":"001692","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1745,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":70,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:41.852283] [debug] Aprobación de Factura - -[2025-03-31 16:00:41.852329] [debug] {"uuid":"bdf9ecfc-bdc2-42b5-a685-2150e9d30895","changeType":"draft_approved","entity":"invoice","entityId":1742,"message":null,"clientId":71,"eventName":"invoice.draft_approved","clientData":{"id":71,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MNARIA","lastName":"ALVAREZ","username":"malvarez71","contacts":[{"id":72,"clientId":71,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4caf50","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1742,"clientId":71,"number":"001692","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1745,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":70,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:42.775850] [notice] Logging level set to:debug -[2025-03-31 16:00:42.926359] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:00:42.926429] [debug] Valor de JSON: {"uuid":"19a1c34f-7b31-496e-9446-27c3b903f8e9","changeType":"insert","entity":"invoice","entityId":"1743","eventName":"invoice.add_draft","extraData":{"entity":{"id":1743,"clientId":50,"number":"001693","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1746,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":49,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GLORIA","clientLastName":"DELGADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:42.926529] [debug] Adición de borrador de Factura - -[2025-03-31 16:00:42.926582] [debug] {"uuid":"19a1c34f-7b31-496e-9446-27c3b903f8e9","changeType":"insert","entity":"invoice","entityId":1743,"message":null,"clientId":50,"eventName":"invoice.add_draft","clientData":{"id":50,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL BOBO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"GLORIA","lastName":"DELGADO","username":"gdelgado50","contacts":[{"id":51,"clientId":50,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":108,"clientId":50,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN2hegnjiQhR7M","clientZoneVisible":true},{"id":109,"clientId":50,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"1847644339402745","clientZoneVisible":true}],"accountBalance":-4210,"accountCredit":0,"accountOutstanding":4210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1743,"clientId":50,"number":"001693","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1746,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":49,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GLORIA","clientLastName":"DELGADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:43.037549] [notice] Logging level set to:debug -[2025-03-31 16:00:43.207026] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:00:43.207205] [debug] Valor de JSON: {"uuid":"13776526-3f4f-4ba9-9a2e-7e917ee540b7","changeType":"draft_approved","entity":"invoice","entityId":"1743","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1743,"clientId":50,"number":"001693","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1746,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":49,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GLORIA","clientLastName":"DELGADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:43.207365] [debug] Aprobación de Factura - -[2025-03-31 16:00:43.207448] [debug] {"uuid":"13776526-3f4f-4ba9-9a2e-7e917ee540b7","changeType":"draft_approved","entity":"invoice","entityId":1743,"message":null,"clientId":50,"eventName":"invoice.draft_approved","clientData":{"id":50,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL BOBO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"GLORIA","lastName":"DELGADO","username":"gdelgado50","contacts":[{"id":51,"clientId":50,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":108,"clientId":50,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN2hegnjiQhR7M","clientZoneVisible":true},{"id":109,"clientId":50,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"1847644339402745","clientZoneVisible":true}],"accountBalance":-4210,"accountCredit":0,"accountOutstanding":4210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1743,"clientId":50,"number":"001693","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1746,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":49,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GLORIA","clientLastName":"DELGADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:44.102080] [notice] Logging level set to:debug -[2025-03-31 16:00:44.239769] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:00:44.239927] [debug] Valor de JSON: {"uuid":"4576577d-d158-4573-a191-26bc90037b57","changeType":"insert","entity":"invoice","entityId":"1744","eventName":"invoice.add_draft","extraData":{"entity":{"id":1744,"clientId":45,"number":"001694","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1747,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":44,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"GRANADOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:44.240051] [debug] Adición de borrador de Factura - -[2025-03-31 16:00:44.240128] [debug] {"uuid":"4576577d-d158-4573-a191-26bc90037b57","changeType":"insert","entity":"invoice","entityId":1744,"message":null,"clientId":45,"eventName":"invoice.add_draft","clientData":{"id":45,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALBERTO","lastName":"GRANADOS","username":"agranados45","contacts":[{"id":46,"clientId":45,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":98,"clientId":45,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1E1ePcRAA689","clientZoneVisible":true},{"id":99,"clientId":45,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"9271357829475893","clientZoneVisible":true}],"accountBalance":-4210,"accountCredit":0,"accountOutstanding":4210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ff9800","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1744,"clientId":45,"number":"001694","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1747,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":44,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"GRANADOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:44.352993] [notice] Logging level set to:debug -[2025-03-31 16:00:44.492295] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:00:44.492434] [debug] Valor de JSON: {"uuid":"424b1abe-fa51-46b8-9a0e-1e6b479df882","changeType":"draft_approved","entity":"invoice","entityId":"1744","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1744,"clientId":45,"number":"001694","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1747,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":44,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"GRANADOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:44.492569] [debug] Aprobación de Factura - -[2025-03-31 16:00:44.492652] [debug] {"uuid":"424b1abe-fa51-46b8-9a0e-1e6b479df882","changeType":"draft_approved","entity":"invoice","entityId":1744,"message":null,"clientId":45,"eventName":"invoice.draft_approved","clientData":{"id":45,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALBERTO","lastName":"GRANADOS","username":"agranados45","contacts":[{"id":46,"clientId":45,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":98,"clientId":45,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1E1ePcRAA689","clientZoneVisible":true},{"id":99,"clientId":45,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"9271357829475893","clientZoneVisible":true}],"accountBalance":-4210,"accountCredit":0,"accountOutstanding":4210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ff9800","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1744,"clientId":45,"number":"001694","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1747,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":44,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"GRANADOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:45.426712] [notice] Logging level set to:debug -[2025-03-31 16:00:45.564857] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:00:45.565010] [debug] Valor de JSON: {"uuid":"e13fbc32-cef3-4888-9118-9658a12e48cd","changeType":"insert","entity":"invoice","entityId":"1745","eventName":"invoice.add_draft","extraData":{"entity":{"id":1745,"clientId":97,"number":"001695","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1748,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":96,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"YOLANDA","clientLastName":"CANO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AVILES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:45.565135] [debug] Adición de borrador de Factura - -[2025-03-31 16:00:45.565296] [debug] {"uuid":"e13fbc32-cef3-4888-9118-9658a12e48cd","changeType":"insert","entity":"invoice","entityId":1745,"message":null,"clientId":97,"eventName":"invoice.add_draft","clientData":{"id":97,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS AVILES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS AVILES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"YOLANDA","lastName":"CANO","username":"ycano97","contacts":[{"id":98,"clientId":97,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7500,"accountCredit":0,"accountOutstanding":7500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.151597,"addressGpsLon":-100.9367183,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1745,"clientId":97,"number":"001695","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1748,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":96,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"YOLANDA","clientLastName":"CANO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AVILES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:45.677248] [notice] Logging level set to:debug -[2025-03-31 16:00:45.823080] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:00:45.823262] [debug] Valor de JSON: {"uuid":"02bff451-40f3-4eb4-9c4c-9821f9a9ce1e","changeType":"draft_approved","entity":"invoice","entityId":"1745","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1745,"clientId":97,"number":"001695","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1748,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":96,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"YOLANDA","clientLastName":"CANO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AVILES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:45.823406] [debug] Aprobación de Factura - -[2025-03-31 16:00:45.823487] [debug] {"uuid":"02bff451-40f3-4eb4-9c4c-9821f9a9ce1e","changeType":"draft_approved","entity":"invoice","entityId":1745,"message":null,"clientId":97,"eventName":"invoice.draft_approved","clientData":{"id":97,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS AVILES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS AVILES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"YOLANDA","lastName":"CANO","username":"ycano97","contacts":[{"id":98,"clientId":97,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7500,"accountCredit":0,"accountOutstanding":7500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.151597,"addressGpsLon":-100.9367183,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1745,"clientId":97,"number":"001695","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1748,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":96,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"YOLANDA","clientLastName":"CANO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AVILES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:46.772824] [notice] Logging level set to:debug -[2025-03-31 16:00:46.917911] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:00:46.917978] [debug] Valor de JSON: {"uuid":"6b250bba-f986-434b-a8d6-7566c42b10ab","changeType":"insert","entity":"invoice","entityId":"1746","eventName":"invoice.add_draft","extraData":{"entity":{"id":1746,"clientId":37,"number":"001696","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1749,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":36,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA SOLEDAD","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:46.918098] [debug] Adición de borrador de Factura - -[2025-03-31 16:00:46.918152] [debug] {"uuid":"6b250bba-f986-434b-a8d6-7566c42b10ab","changeType":"insert","entity":"invoice","entityId":1746,"message":null,"clientId":37,"eventName":"invoice.add_draft","clientData":{"id":37,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA SOLEDAD","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA SOLEDAD, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANGEL","lastName":"ARVIZU","username":"aarvizu37","contacts":[{"id":38,"clientId":37,"email":null,"phone":"4181818706","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4210,"accountCredit":0,"accountOutstanding":4210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1746,"clientId":37,"number":"001696","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1749,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":36,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA SOLEDAD","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:47.030435] [notice] Logging level set to:debug -[2025-03-31 16:00:47.164895] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:00:47.165066] [debug] Valor de JSON: {"uuid":"b897b25e-3c63-47f2-972a-6ba149aa65ba","changeType":"draft_approved","entity":"invoice","entityId":"1746","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1746,"clientId":37,"number":"001696","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1749,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":36,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA SOLEDAD","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:47.165210] [debug] Aprobación de Factura - -[2025-03-31 16:00:47.165297] [debug] {"uuid":"b897b25e-3c63-47f2-972a-6ba149aa65ba","changeType":"draft_approved","entity":"invoice","entityId":1746,"message":null,"clientId":37,"eventName":"invoice.draft_approved","clientData":{"id":37,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA SOLEDAD","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA SOLEDAD, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANGEL","lastName":"ARVIZU","username":"aarvizu37","contacts":[{"id":38,"clientId":37,"email":null,"phone":"4181818706","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4210,"accountCredit":0,"accountOutstanding":4210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1746,"clientId":37,"number":"001696","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1749,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":36,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA SOLEDAD","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:48.130799] [notice] Logging level set to:debug -[2025-03-31 16:00:48.261307] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:00:48.261467] [debug] Valor de JSON: {"uuid":"a1d1de07-bdfd-4f82-8cad-146bf78366f5","changeType":"insert","entity":"invoice","entityId":"1747","eventName":"invoice.add_draft","extraData":{"entity":{"id":1747,"clientId":99,"number":"001697","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1750,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":98,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BELINDA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:48.261593] [debug] Adición de borrador de Factura - -[2025-03-31 16:00:48.261672] [debug] {"uuid":"a1d1de07-bdfd-4f82-8cad-146bf78366f5","changeType":"insert","entity":"invoice","entityId":1747,"message":null,"clientId":99,"eventName":"invoice.add_draft","clientData":{"id":99,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"MONTELONGO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"MONTELONGO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"BELINDA","lastName":"REYES","username":"breyes99","contacts":[{"id":100,"clientId":99,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5700,"accountCredit":0,"accountOutstanding":5700,"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":1747,"clientId":99,"number":"001697","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1750,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":98,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BELINDA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:48.374630] [notice] Logging level set to:debug -[2025-03-31 16:00:48.540791] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:00:48.540967] [debug] Valor de JSON: {"uuid":"3067a065-97c5-48e2-b640-e4c134a1d449","changeType":"draft_approved","entity":"invoice","entityId":"1747","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1747,"clientId":99,"number":"001697","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1750,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":98,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BELINDA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:48.541090] [debug] Aprobación de Factura - -[2025-03-31 16:00:48.541167] [debug] {"uuid":"3067a065-97c5-48e2-b640-e4c134a1d449","changeType":"draft_approved","entity":"invoice","entityId":1747,"message":null,"clientId":99,"eventName":"invoice.draft_approved","clientData":{"id":99,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"MONTELONGO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"MONTELONGO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"BELINDA","lastName":"REYES","username":"breyes99","contacts":[{"id":100,"clientId":99,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5700,"accountCredit":0,"accountOutstanding":5700,"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":1747,"clientId":99,"number":"001697","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1750,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":98,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BELINDA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:49.474610] [notice] Logging level set to:debug -[2025-03-31 16:00:49.622540] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:00:49.622705] [debug] Valor de JSON: {"uuid":"d98a79e7-2669-4606-be0e-b8df655c4c74","changeType":"insert","entity":"invoice","entityId":"1748","eventName":"invoice.add_draft","extraData":{"entity":{"id":1748,"clientId":44,"number":"001698","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1751,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":43,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JAVIER","clientLastName":"BRIONES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ESTANCIA DE ZAMARRIPA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:49.622853] [debug] Adición de borrador de Factura - -[2025-03-31 16:00:49.622939] [debug] {"uuid":"d98a79e7-2669-4606-be0e-b8df655c4c74","changeType":"insert","entity":"invoice","entityId":1748,"message":null,"clientId":44,"eventName":"invoice.add_draft","clientData":{"id":44,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"ESTANCIA DE ZAMARRIPA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"ESTANCIA DE ZAMARRIPA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JAVIER","lastName":"BRIONES","username":"jbriones44","contacts":[{"id":45,"clientId":44,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4210,"accountCredit":0,"accountOutstanding":4210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#c0ca33","addressGpsLat":21.2370877,"addressGpsLon":-101.116799,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1748,"clientId":44,"number":"001698","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1751,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":43,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JAVIER","clientLastName":"BRIONES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ESTANCIA DE ZAMARRIPA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:49.735888] [notice] Logging level set to:debug -[2025-03-31 16:00:49.866509] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:00:49.866677] [debug] Valor de JSON: {"uuid":"3a5890ee-2cc7-419b-b76d-51307a04db0c","changeType":"draft_approved","entity":"invoice","entityId":"1748","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1748,"clientId":44,"number":"001698","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1751,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":43,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JAVIER","clientLastName":"BRIONES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ESTANCIA DE ZAMARRIPA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:49.866833] [debug] Aprobación de Factura - -[2025-03-31 16:00:49.866961] [debug] {"uuid":"3a5890ee-2cc7-419b-b76d-51307a04db0c","changeType":"draft_approved","entity":"invoice","entityId":1748,"message":null,"clientId":44,"eventName":"invoice.draft_approved","clientData":{"id":44,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"ESTANCIA DE ZAMARRIPA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"ESTANCIA DE ZAMARRIPA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JAVIER","lastName":"BRIONES","username":"jbriones44","contacts":[{"id":45,"clientId":44,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4210,"accountCredit":0,"accountOutstanding":4210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#c0ca33","addressGpsLat":21.2370877,"addressGpsLon":-101.116799,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1748,"clientId":44,"number":"001698","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1751,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":43,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JAVIER","clientLastName":"BRIONES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ESTANCIA DE ZAMARRIPA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:50.769391] [notice] Logging level set to:debug -[2025-03-31 16:00:50.907726] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:00:50.907936] [debug] Valor de JSON: {"uuid":"7e4bcbe5-bf86-4a25-9262-6fe5ed5070c2","changeType":"insert","entity":"invoice","entityId":"1749","eventName":"invoice.add_draft","extraData":{"entity":{"id":1749,"clientId":12,"number":"001699","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1752,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":12,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MIRIAM","clientLastName":"ZURITA RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:50.908092] [debug] Adición de borrador de Factura - -[2025-03-31 16:00:50.908178] [debug] {"uuid":"7e4bcbe5-bf86-4a25-9262-6fe5ed5070c2","changeType":"insert","entity":"invoice","entityId":1749,"message":null,"clientId":12,"eventName":"invoice.add_draft","clientData":{"id":12,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"DOLORES HIDALGO","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MIRIAM","lastName":"ZURITA RAMIREZ","username":"mzurita12","contacts":[{"id":13,"clientId":12,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-8933.33,"accountCredit":0,"accountOutstanding":8933.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":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1749,"clientId":12,"number":"001699","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1752,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":12,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MIRIAM","clientLastName":"ZURITA RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:50.908243] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-31 16:00:50.908282] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"7e4bcbe5-bf86-4a25-9262-6fe5ed5070c2","changeType":"insert","entity":"invoice","entityId":1749,"message":null,"clientId":12,"eventName":"invoice.add_draft","clientData":{"id":12,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"DOLORES HIDALGO","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MIRIAM","lastName":"ZURITA RAMIREZ","username":"mzurita12","contacts":[{"id":13,"clientId":12,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-8933.33,"accountCredit":0,"accountOutstanding":8933.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":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1749,"clientId":12,"number":"001699","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1752,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":12,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MIRIAM","clientLastName":"ZURITA RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":11,"clientId":12,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2024-01-29T11:46:50-0600","amount":3500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":13,"invoiceId":20,"paymentId":11,"creditNoteId":null,"refundId":null,"amount":3500}],"creditAmount":0,"userId":1000,"attributes":[]}] - -Nombre del cliente que se va a actualizar: MIRIAM ZURITA RAMIREZ - -UUID: 7ec1948ad8af4bcd8eff0d7c2a995d09 - -JSON con los datos a actualizar: {"name":"MIRIAM ZURITA RAMIREZ","custom_fields":{"Cliente":12,"Domicilio":"\ud83d\udccd DOLORES HIDALGO","Nombre":"\ud83d\udc64 MIRIAM ZURITA RAMIREZ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/12","Saldo Actual":"\ud83d\udcb28933.33 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 3500","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"12\",\"Domicilio\": \"\"Nombre\": \"MIRIAM ZURITA RAMIREZ\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/12\",\"Saldo Actual\": \"\ud83d\udcb28933.33 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 29\/01\/2024 11:46 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"31\/03\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 29\/01\/2024 11:46 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 31\/03\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "12","Domicilio": ""Nombre": "MIRIAM ZURITA RAMIREZ","URL": "https://sistema.siip.mx/crm/client/12","Saldo Actual": "💲8933.33 pendientes","Monto Ultimo Pago": "$ 3500","Estado": "Activo","Fecha Ultimo Pago": " 29/01/2024 11:46 con Efectivo 💵","Fecha Ultima Actualizacion": "31/03/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"7ec1948ad8af4bcd8eff0d7c2a995d09","name":"MIRIAM ZURITA RAMIREZ","phoneNumber":"5214181577623","avatarUrl":null,"createdAt":"2023-12-22T16:52:57Z","closedAt":"2025-01-07T23:12:30Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7ec1948ad8af4bcd8eff0d7c2a995d09","conversationHref":"https://dash.callbell.eu/chat/d06f5a96768c4945b7a659a6930e5fa0","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"124180650725363841","Saldo Actual":"💲8933.33 pendientes","user name":"Míriam Moctezuma","Domicilio":"📍 DOLORES HIDALGO","Antena/Sectorial":"Rocket Prism 5AC 172.16.12.12/24","Site":"GPE1","Cliente":"12","Fecha Ultima Actualizacion":"📆🔄️ 31/03/2025 10:00","Nombre":"👤 MIRIAM ZURITA RAMIREZ","URL":"🌐 https://sistema.siip.mx/crm/client/12","Estado":"🟢 Activo ","Resumen":"{\"Cliente\": \"12\",\"Domicilio\": \"\"Nombre\": \"MIRIAM ZURITA RAMIREZ\",\"URL\": \"https://sistema.siip.mx/crm/client/12\",\"Saldo Actual\": \"💲8933.33 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 29/01/2024 11:46 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"31/03/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Monto Ultimo Pago":"💲 3500","Fecha Ultimo Pago":"📆💸 29/01/2024 11:46 con Efectivo 💵"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"7ec1948ad8af4bcd8eff0d7c2a995d09","name":"MIRIAM ZURITA RAMIREZ","phoneNumber":"5214181577623","avatarUrl":null,"createdAt":"2023-12-22T16:52:57Z","closedAt":"2025-01-07T23:12:30Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7ec1948ad8af4bcd8eff0d7c2a995d09","conversationHref":"https://dash.callbell.eu/chat/d06f5a96768c4945b7a659a6930e5fa0","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"124180650725363841","Saldo Actual":"💲8933.33 pendientes","user name":"Míriam Moctezuma","Domicilio":"📍 DOLORES HIDALGO","Antena/Sectorial":"Rocket Prism 5AC 172.16.12.12/24","Site":"GPE1","Cliente":"12","Fecha Ultima Actualizacion":"📆🔄️ 31/03/2025 10:00","Nombre":"👤 MIRIAM ZURITA RAMIREZ","URL":"🌐 https://sistema.siip.mx/crm/client/12","Estado":"🟢 Activo ","Resumen":"{\"Cliente\": \"12\",\"Domicilio\": \"\"Nombre\": \"MIRIAM ZURITA RAMIREZ\",\"URL\": \"https://sistema.siip.mx/crm/client/12\",\"Saldo Actual\": \"💲8933.33 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 29/01/2024 11:46 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"31/03/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Monto Ultimo Pago":"💲 3500","Fecha Ultimo Pago":"📆💸 29/01/2024 11:46 con Efectivo 💵"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-31 16:00:53.104666] [notice] Logging level set to:debug -[2025-03-31 16:00:53.250936] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:00:53.251085] [debug] Valor de JSON: {"uuid":"c5c81854-adb0-4879-a5e9-a746d9da37c0","changeType":"draft_approved","entity":"invoice","entityId":"1749","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1749,"clientId":12,"number":"001699","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1752,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":12,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MIRIAM","clientLastName":"ZURITA RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:53.251224] [debug] Aprobación de Factura - -[2025-03-31 16:00:53.251394] [debug] {"uuid":"c5c81854-adb0-4879-a5e9-a746d9da37c0","changeType":"draft_approved","entity":"invoice","entityId":1749,"message":null,"clientId":12,"eventName":"invoice.draft_approved","clientData":{"id":12,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"DOLORES HIDALGO","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MIRIAM","lastName":"ZURITA RAMIREZ","username":"mzurita12","contacts":[{"id":13,"clientId":12,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-8933.33,"accountCredit":0,"accountOutstanding":8933.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":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1749,"clientId":12,"number":"001699","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1752,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":12,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MIRIAM","clientLastName":"ZURITA RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:53.251475] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-31 16:00:53.251516] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"c5c81854-adb0-4879-a5e9-a746d9da37c0","changeType":"draft_approved","entity":"invoice","entityId":1749,"message":null,"clientId":12,"eventName":"invoice.draft_approved","clientData":{"id":12,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"DOLORES HIDALGO","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MIRIAM","lastName":"ZURITA RAMIREZ","username":"mzurita12","contacts":[{"id":13,"clientId":12,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-8933.33,"accountCredit":0,"accountOutstanding":8933.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":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1749,"clientId":12,"number":"001699","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1752,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":12,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MIRIAM","clientLastName":"ZURITA RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":11,"clientId":12,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2024-01-29T11:46:50-0600","amount":3500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":13,"invoiceId":20,"paymentId":11,"creditNoteId":null,"refundId":null,"amount":3500}],"creditAmount":0,"userId":1000,"attributes":[]}] - -Nombre del cliente que se va a actualizar: MIRIAM ZURITA RAMIREZ - -UUID: 7ec1948ad8af4bcd8eff0d7c2a995d09 - -JSON con los datos a actualizar: {"name":"MIRIAM ZURITA RAMIREZ","custom_fields":{"Cliente":12,"Domicilio":"\ud83d\udccd DOLORES HIDALGO","Nombre":"\ud83d\udc64 MIRIAM ZURITA RAMIREZ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/12","Saldo Actual":"\ud83d\udcb28933.33 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 3500","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"12\",\"Domicilio\": \"\"Nombre\": \"MIRIAM ZURITA RAMIREZ\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/12\",\"Saldo Actual\": \"\ud83d\udcb28933.33 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 29\/01\/2024 11:46 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"31\/03\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 29\/01\/2024 11:46 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 31\/03\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "12","Domicilio": ""Nombre": "MIRIAM ZURITA RAMIREZ","URL": "https://sistema.siip.mx/crm/client/12","Saldo Actual": "💲8933.33 pendientes","Monto Ultimo Pago": "$ 3500","Estado": "Activo","Fecha Ultimo Pago": " 29/01/2024 11:46 con Efectivo 💵","Fecha Ultima Actualizacion": "31/03/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"7ec1948ad8af4bcd8eff0d7c2a995d09","name":"MIRIAM ZURITA RAMIREZ","phoneNumber":"5214181577623","avatarUrl":null,"createdAt":"2023-12-22T16:52:57Z","closedAt":"2025-01-07T23:12:30Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7ec1948ad8af4bcd8eff0d7c2a995d09","conversationHref":"https://dash.callbell.eu/chat/d06f5a96768c4945b7a659a6930e5fa0","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"124180650725363841","Saldo Actual":"💲8933.33 pendientes","user name":"Míriam Moctezuma","Domicilio":"📍 DOLORES HIDALGO","Antena/Sectorial":"Rocket Prism 5AC 172.16.12.12/24","Site":"GPE1","Cliente":"12","Fecha Ultima Actualizacion":"📆🔄️ 31/03/2025 10:00","Nombre":"👤 MIRIAM ZURITA RAMIREZ","URL":"🌐 https://sistema.siip.mx/crm/client/12","Estado":"🟢 Activo ","Resumen":"{\"Cliente\": \"12\",\"Domicilio\": \"\"Nombre\": \"MIRIAM ZURITA RAMIREZ\",\"URL\": \"https://sistema.siip.mx/crm/client/12\",\"Saldo Actual\": \"💲8933.33 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 29/01/2024 11:46 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"31/03/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Monto Ultimo Pago":"💲 3500","Fecha Ultimo Pago":"📆💸 29/01/2024 11:46 con Efectivo 💵"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"7ec1948ad8af4bcd8eff0d7c2a995d09","name":"MIRIAM ZURITA RAMIREZ","phoneNumber":"5214181577623","avatarUrl":null,"createdAt":"2023-12-22T16:52:57Z","closedAt":"2025-01-07T23:12:30Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7ec1948ad8af4bcd8eff0d7c2a995d09","conversationHref":"https://dash.callbell.eu/chat/d06f5a96768c4945b7a659a6930e5fa0","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"124180650725363841","Saldo Actual":"💲8933.33 pendientes","user name":"Míriam Moctezuma","Domicilio":"📍 DOLORES HIDALGO","Antena/Sectorial":"Rocket Prism 5AC 172.16.12.12/24","Site":"GPE1","Cliente":"12","Fecha Ultima Actualizacion":"📆🔄️ 31/03/2025 10:00","Nombre":"👤 MIRIAM ZURITA RAMIREZ","URL":"🌐 https://sistema.siip.mx/crm/client/12","Estado":"🟢 Activo ","Resumen":"{\"Cliente\": \"12\",\"Domicilio\": \"\"Nombre\": \"MIRIAM ZURITA RAMIREZ\",\"URL\": \"https://sistema.siip.mx/crm/client/12\",\"Saldo Actual\": \"💲8933.33 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 29/01/2024 11:46 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"31/03/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Monto Ultimo Pago":"💲 3500","Fecha Ultimo Pago":"📆💸 29/01/2024 11:46 con Efectivo 💵"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-31 16:00:55.477786] [notice] Logging level set to:debug -[2025-03-31 16:00:55.617666] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:00:55.617841] [debug] Valor de JSON: {"uuid":"000b02eb-6215-4d23-9c3e-19c0707e25d3","changeType":"insert","entity":"invoice","entityId":"1750","eventName":"invoice.add_draft","extraData":{"entity":{"id":1750,"clientId":70,"number":"001700","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1753,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":69,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"TRUJILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:55.617985] [debug] Adición de borrador de Factura - -[2025-03-31 16:00:55.618063] [debug] {"uuid":"000b02eb-6215-4d23-9c3e-19c0707e25d3","changeType":"insert","entity":"invoice","entityId":1750,"message":null,"clientId":70,"eventName":"invoice.add_draft","clientData":{"id":70,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALBERTO","lastName":"TRUJILLO","username":"atrujillo70","contacts":[{"id":71,"clientId":70,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-9800,"accountCredit":0,"accountOutstanding":9800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef6c00","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1750,"clientId":70,"number":"001700","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1753,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":69,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"TRUJILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:55.728534] [notice] Logging level set to:debug -[2025-03-31 16:00:55.868621] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:00:55.868789] [debug] Valor de JSON: {"uuid":"7001ef19-3bc5-49dd-9cf5-a6a40cd6cdf9","changeType":"draft_approved","entity":"invoice","entityId":"1750","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1750,"clientId":70,"number":"001700","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1753,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":69,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"TRUJILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:55.868920] [debug] Aprobación de Factura - -[2025-03-31 16:00:55.868998] [debug] {"uuid":"7001ef19-3bc5-49dd-9cf5-a6a40cd6cdf9","changeType":"draft_approved","entity":"invoice","entityId":1750,"message":null,"clientId":70,"eventName":"invoice.draft_approved","clientData":{"id":70,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALBERTO","lastName":"TRUJILLO","username":"atrujillo70","contacts":[{"id":71,"clientId":70,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-9800,"accountCredit":0,"accountOutstanding":9800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef6c00","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1750,"clientId":70,"number":"001700","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1753,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":69,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"TRUJILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:55.979516] [notice] Logging level set to:debug -[2025-03-31 16:00:56.129646] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:00:56.129816] [debug] Valor de JSON: {"uuid":"1648251e-5943-4e4c-9036-310daf0739a6","changeType":"insert","entity":"invoice","entityId":"1751","eventName":"invoice.add_draft","extraData":{"entity":{"id":1751,"clientId":76,"number":"001701","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1754,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":75,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"RANGEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:56.129951] [debug] Adición de borrador de Factura - -[2025-03-31 16:00:56.130028] [debug] {"uuid":"1648251e-5943-4e4c-9036-310daf0739a6","changeType":"insert","entity":"invoice","entityId":1751,"message":null,"clientId":76,"eventName":"invoice.add_draft","clientData":{"id":76,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TRANCAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TRANCAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDGAR","lastName":"RANGEL","username":"erangel76","contacts":[{"id":77,"clientId":76,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1751,"clientId":76,"number":"001701","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1754,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":75,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"RANGEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:56.243606] [notice] Logging level set to:debug -[2025-03-31 16:00:56.387262] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:00:56.387403] [debug] Valor de JSON: {"uuid":"2f27acdd-6da5-4567-9ce9-e6808da35983","changeType":"draft_approved","entity":"invoice","entityId":"1751","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1751,"clientId":76,"number":"001701","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1754,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":75,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"RANGEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:56.387543] [debug] Aprobación de Factura - -[2025-03-31 16:00:56.387623] [debug] {"uuid":"2f27acdd-6da5-4567-9ce9-e6808da35983","changeType":"draft_approved","entity":"invoice","entityId":1751,"message":null,"clientId":76,"eventName":"invoice.draft_approved","clientData":{"id":76,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TRANCAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TRANCAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDGAR","lastName":"RANGEL","username":"erangel76","contacts":[{"id":77,"clientId":76,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1751,"clientId":76,"number":"001701","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1754,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":75,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"RANGEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:56.581783] [notice] Logging level set to:debug -[2025-03-31 16:00:56.716573] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:00:56.716758] [debug] Valor de JSON: {"uuid":"6b6a9940-aaaa-4ee2-80ac-4bbddc68b167","changeType":"insert","entity":"invoice","entityId":"1752","eventName":"invoice.add_draft","extraData":{"entity":{"id":1752,"clientId":84,"number":"001702","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1755,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":83,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ROLANDO","clientLastName":"CALVILLLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:56.716922] [debug] Adición de borrador de Factura - -[2025-03-31 16:00:56.717001] [debug] {"uuid":"6b6a9940-aaaa-4ee2-80ac-4bbddc68b167","changeType":"insert","entity":"invoice","entityId":1752,"message":null,"clientId":84,"eventName":"invoice.add_draft","clientData":{"id":84,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ROLANDO","lastName":"CALVILLLO","username":"rcalvilllo84","contacts":[{"id":85,"clientId":84,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2196f3","addressGpsLat":21.2516667,"addressGpsLon":-101.0924998,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1752,"clientId":84,"number":"001702","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1755,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":83,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ROLANDO","clientLastName":"CALVILLLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:56.831875] [notice] Logging level set to:debug -[2025-03-31 16:00:56.970824] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:00:56.970985] [debug] Valor de JSON: {"uuid":"f8214cd1-a203-4222-aaae-c8d00b4fa61f","changeType":"draft_approved","entity":"invoice","entityId":"1752","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1752,"clientId":84,"number":"001702","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1755,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":83,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ROLANDO","clientLastName":"CALVILLLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:56.971111] [debug] Aprobación de Factura - -[2025-03-31 16:00:56.971187] [debug] {"uuid":"f8214cd1-a203-4222-aaae-c8d00b4fa61f","changeType":"draft_approved","entity":"invoice","entityId":1752,"message":null,"clientId":84,"eventName":"invoice.draft_approved","clientData":{"id":84,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ROLANDO","lastName":"CALVILLLO","username":"rcalvilllo84","contacts":[{"id":85,"clientId":84,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2196f3","addressGpsLat":21.2516667,"addressGpsLon":-101.0924998,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1752,"clientId":84,"number":"001702","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1755,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":83,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ROLANDO","clientLastName":"CALVILLLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:57.929821] [notice] Logging level set to:debug -[2025-03-31 16:00:58.092653] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:00:58.092811] [debug] Valor de JSON: {"uuid":"7a310c01-f887-4fbc-bbfd-e96a75e154f8","changeType":"insert","entity":"invoice","entityId":"1753","eventName":"invoice.add_draft","extraData":{"entity":{"id":1753,"clientId":14,"number":"001703","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1756,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":14,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDRO","clientLastName":"ARIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:00:58.092948] [debug] Adición de borrador de Factura - -[2025-03-31 16:00:58.093034] [debug] {"uuid":"7a310c01-f887-4fbc-bbfd-e96a75e154f8","changeType":"insert","entity":"invoice","entityId":1753,"message":null,"clientId":14,"eventName":"invoice.add_draft","clientData":{"id":14,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LINDAVISTA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LINDAVISTA, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALEXANDRO","lastName":"ARIAS","username":"aarias14","contacts":[{"id":15,"clientId":14,"email":null,"phone":"+1 682-260-4759","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-3000,"accountCredit":0,"accountOutstanding":3000,"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":1753,"clientId":14,"number":"001703","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1756,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":14,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDRO","clientLastName":"ARIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:00:58.093110] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-31 16:00:58.093153] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"7a310c01-f887-4fbc-bbfd-e96a75e154f8","changeType":"insert","entity":"invoice","entityId":1753,"message":null,"clientId":14,"eventName":"invoice.add_draft","clientData":{"id":14,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LINDAVISTA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LINDAVISTA, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALEXANDRO","lastName":"ARIAS","username":"aarias14","contacts":[{"id":15,"clientId":14,"email":null,"phone":"+1 682-260-4759","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-3000,"accountCredit":0,"accountOutstanding":3000,"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":1753,"clientId":14,"number":"001703","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1756,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":14,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDRO","clientLastName":"ARIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":15,"clientId":14,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2024-01-29T12:00:41-0600","amount":1800,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":17,"invoiceId":23,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300},{"id":19,"invoiceId":67,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300},{"id":36,"invoiceId":126,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300},{"id":122,"invoiceId":318,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300},{"id":125,"invoiceId":382,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300},{"id":312,"invoiceId":582,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1000,"attributes":[]}] - -Nombre del cliente que se va a actualizar: ALEXANDRO ARIAS - -UUID: be760b254a694e8b94b002789d68d388 - -JSON con los datos a actualizar: {"name":"ALEXANDRO ARIAS","custom_fields":{"Cliente":14,"Domicilio":"\ud83d\udccd LINDAVISTA, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 ALEXANDRO ARIAS","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/14","Saldo Actual":"\ud83d\udcb23000 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 1800","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"14\",\"Domicilio\": \"\"Nombre\": \"ALEXANDRO ARIAS\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/14\",\"Saldo Actual\": \"\ud83d\udcb23000 pendientes\",\"Monto Ultimo Pago\": \"$ 1800\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29\/01\/2024 12:00 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"31\/03\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 29\/01\/2024 12:00 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 31\/03\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "14","Domicilio": ""Nombre": "ALEXANDRO ARIAS","URL": "https://sistema.siip.mx/crm/client/14","Saldo Actual": "💲3000 pendientes","Monto Ultimo Pago": "$ 1800","Estado": "Suspendido","Fecha Ultimo Pago": " 29/01/2024 12:00 con Efectivo 💵","Fecha Ultima Actualizacion": "31/03/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"be760b254a694e8b94b002789d68d388","name":"ALEXANDRO ARIAS","phoneNumber":"+1 682-260-4759","avatarUrl":null,"createdAt":"2024-01-29T18:03:03Z","closedAt":"2024-01-29T18:32:46Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/be760b254a694e8b94b002789d68d388","conversationHref":"https://dash.callbell.eu/chat/b95896c60a7e4541b9d378d9d9ef938b","tags":[],"assignedUser":null,"customFields":{"Antena/Sectorial":"14","Nombre":"👤 ALEXANDRO ARIAS","Cliente":"14","Domicilio":"📍 LINDAVISTA, Dolores Hidalgo, 37800","Fecha Ultimo Pago":"📆💸 29/01/2024 12:00 con Efectivo 💵","Monto Ultimo Pago":"💲 1800","Saldo Actual":"💲3000 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/14","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 31/03/2025 10:00","Resumen":"{\"Cliente\": \"14\",\"Domicilio\": \"\"Nombre\": \"ALEXANDRO ARIAS\",\"URL\": \"https://sistema.siip.mx/crm/client/14\",\"Saldo Actual\": \"💲3000 pendientes\",\"Monto Ultimo Pago\": \"$ 1800\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29/01/2024 12:00 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"31/03/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"be760b254a694e8b94b002789d68d388","name":"ALEXANDRO ARIAS","phoneNumber":"+1 682-260-4759","avatarUrl":null,"createdAt":"2024-01-29T18:03:03Z","closedAt":"2024-01-29T18:32:46Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/be760b254a694e8b94b002789d68d388","conversationHref":"https://dash.callbell.eu/chat/b95896c60a7e4541b9d378d9d9ef938b","tags":[],"assignedUser":null,"customFields":{"Antena/Sectorial":"14","Nombre":"👤 ALEXANDRO ARIAS","Cliente":"14","Domicilio":"📍 LINDAVISTA, Dolores Hidalgo, 37800","Fecha Ultimo Pago":"📆💸 29/01/2024 12:00 con Efectivo 💵","Monto Ultimo Pago":"💲 1800","Saldo Actual":"💲3000 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/14","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 31/03/2025 10:00","Resumen":"{\"Cliente\": \"14\",\"Domicilio\": \"\"Nombre\": \"ALEXANDRO ARIAS\",\"URL\": \"https://sistema.siip.mx/crm/client/14\",\"Saldo Actual\": \"💲3000 pendientes\",\"Monto Ultimo Pago\": \"$ 1800\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29/01/2024 12:00 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"31/03/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-31 16:01:00.075278] [notice] Logging level set to:debug -[2025-03-31 16:01:00.218455] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:00.218640] [debug] Valor de JSON: {"uuid":"2074cb8a-f406-4cbc-a29d-a2edfa399787","changeType":"draft_approved","entity":"invoice","entityId":"1753","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1753,"clientId":14,"number":"001703","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1756,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":14,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDRO","clientLastName":"ARIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:00.218780] [debug] Aprobación de Factura - -[2025-03-31 16:01:00.218854] [debug] {"uuid":"2074cb8a-f406-4cbc-a29d-a2edfa399787","changeType":"draft_approved","entity":"invoice","entityId":1753,"message":null,"clientId":14,"eventName":"invoice.draft_approved","clientData":{"id":14,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LINDAVISTA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LINDAVISTA, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALEXANDRO","lastName":"ARIAS","username":"aarias14","contacts":[{"id":15,"clientId":14,"email":null,"phone":"+1 682-260-4759","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-3000,"accountCredit":0,"accountOutstanding":3000,"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":1753,"clientId":14,"number":"001703","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1756,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":14,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDRO","clientLastName":"ARIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:00.218955] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-31 16:01:00.218993] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"2074cb8a-f406-4cbc-a29d-a2edfa399787","changeType":"draft_approved","entity":"invoice","entityId":1753,"message":null,"clientId":14,"eventName":"invoice.draft_approved","clientData":{"id":14,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LINDAVISTA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LINDAVISTA, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALEXANDRO","lastName":"ARIAS","username":"aarias14","contacts":[{"id":15,"clientId":14,"email":null,"phone":"+1 682-260-4759","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-3000,"accountCredit":0,"accountOutstanding":3000,"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":1753,"clientId":14,"number":"001703","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1756,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":14,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDRO","clientLastName":"ARIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":15,"clientId":14,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2024-01-29T12:00:41-0600","amount":1800,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":17,"invoiceId":23,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300},{"id":19,"invoiceId":67,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300},{"id":36,"invoiceId":126,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300},{"id":122,"invoiceId":318,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300},{"id":125,"invoiceId":382,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300},{"id":312,"invoiceId":582,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1000,"attributes":[]}] - -Nombre del cliente que se va a actualizar: ALEXANDRO ARIAS - -UUID: be760b254a694e8b94b002789d68d388 - -JSON con los datos a actualizar: {"name":"ALEXANDRO ARIAS","custom_fields":{"Cliente":14,"Domicilio":"\ud83d\udccd LINDAVISTA, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 ALEXANDRO ARIAS","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/14","Saldo Actual":"\ud83d\udcb23000 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 1800","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"14\",\"Domicilio\": \"\"Nombre\": \"ALEXANDRO ARIAS\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/14\",\"Saldo Actual\": \"\ud83d\udcb23000 pendientes\",\"Monto Ultimo Pago\": \"$ 1800\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29\/01\/2024 12:00 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"31\/03\/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 29\/01\/2024 12:00 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 31\/03\/2025 10:01","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "14","Domicilio": ""Nombre": "ALEXANDRO ARIAS","URL": "https://sistema.siip.mx/crm/client/14","Saldo Actual": "💲3000 pendientes","Monto Ultimo Pago": "$ 1800","Estado": "Suspendido","Fecha Ultimo Pago": " 29/01/2024 12:00 con Efectivo 💵","Fecha Ultima Actualizacion": "31/03/2025 10:01","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"be760b254a694e8b94b002789d68d388","name":"ALEXANDRO ARIAS","phoneNumber":"+1 682-260-4759","avatarUrl":null,"createdAt":"2024-01-29T18:03:03Z","closedAt":"2024-01-29T18:32:46Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/be760b254a694e8b94b002789d68d388","conversationHref":"https://dash.callbell.eu/chat/b95896c60a7e4541b9d378d9d9ef938b","tags":[],"assignedUser":null,"customFields":{"Antena/Sectorial":"14","Nombre":"👤 ALEXANDRO ARIAS","Cliente":"14","Domicilio":"📍 LINDAVISTA, Dolores Hidalgo, 37800","Fecha Ultimo Pago":"📆💸 29/01/2024 12:00 con Efectivo 💵","Monto Ultimo Pago":"💲 1800","Saldo Actual":"💲3000 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/14","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 31/03/2025 10:01","Resumen":"{\"Cliente\": \"14\",\"Domicilio\": \"\"Nombre\": \"ALEXANDRO ARIAS\",\"URL\": \"https://sistema.siip.mx/crm/client/14\",\"Saldo Actual\": \"💲3000 pendientes\",\"Monto Ultimo Pago\": \"$ 1800\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29/01/2024 12:00 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"31/03/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"be760b254a694e8b94b002789d68d388","name":"ALEXANDRO ARIAS","phoneNumber":"+1 682-260-4759","avatarUrl":null,"createdAt":"2024-01-29T18:03:03Z","closedAt":"2024-01-29T18:32:46Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/be760b254a694e8b94b002789d68d388","conversationHref":"https://dash.callbell.eu/chat/b95896c60a7e4541b9d378d9d9ef938b","tags":[],"assignedUser":null,"customFields":{"Antena/Sectorial":"14","Nombre":"👤 ALEXANDRO ARIAS","Cliente":"14","Domicilio":"📍 LINDAVISTA, Dolores Hidalgo, 37800","Fecha Ultimo Pago":"📆💸 29/01/2024 12:00 con Efectivo 💵","Monto Ultimo Pago":"💲 1800","Saldo Actual":"💲3000 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/14","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 31/03/2025 10:01","Resumen":"{\"Cliente\": \"14\",\"Domicilio\": \"\"Nombre\": \"ALEXANDRO ARIAS\",\"URL\": \"https://sistema.siip.mx/crm/client/14\",\"Saldo Actual\": \"💲3000 pendientes\",\"Monto Ultimo Pago\": \"$ 1800\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29/01/2024 12:00 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"31/03/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-31 16:01:02.376728] [notice] Logging level set to:debug -[2025-03-31 16:01:02.510004] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:02.510178] [debug] Valor de JSON: {"uuid":"14e4caa8-16a3-4a97-a234-71ef362bdd2d","changeType":"insert","entity":"invoice","entityId":"1754","eventName":"invoice.add_draft","extraData":{"entity":{"id":1754,"clientId":98,"number":"001704","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1757,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":97,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JULIO","clientLastName":"OLACHIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:02.510325] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:02.510406] [debug] {"uuid":"14e4caa8-16a3-4a97-a234-71ef362bdd2d","changeType":"insert","entity":"invoice","entityId":1754,"message":null,"clientId":98,"eventName":"invoice.add_draft","clientData":{"id":98,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS AGUILAR","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS AGUILAR, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JULIO","lastName":"OLACHIA","username":"jolachia98","contacts":[{"id":99,"clientId":98,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1754,"clientId":98,"number":"001704","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1757,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":97,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JULIO","clientLastName":"OLACHIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:02.620887] [notice] Logging level set to:debug -[2025-03-31 16:01:02.754556] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:02.754724] [debug] Valor de JSON: {"uuid":"c2b5d975-541a-4510-87ea-559015b6c21d","changeType":"draft_approved","entity":"invoice","entityId":"1754","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1754,"clientId":98,"number":"001704","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1757,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":97,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JULIO","clientLastName":"OLACHIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:02.754851] [debug] Aprobación de Factura - -[2025-03-31 16:01:02.754941] [debug] {"uuid":"c2b5d975-541a-4510-87ea-559015b6c21d","changeType":"draft_approved","entity":"invoice","entityId":1754,"message":null,"clientId":98,"eventName":"invoice.draft_approved","clientData":{"id":98,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS AGUILAR","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS AGUILAR, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JULIO","lastName":"OLACHIA","username":"jolachia98","contacts":[{"id":99,"clientId":98,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1754,"clientId":98,"number":"001704","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1757,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":97,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JULIO","clientLastName":"OLACHIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:02.867408] [notice] Logging level set to:debug -[2025-03-31 16:01:03.011606] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:03.011814] [debug] Valor de JSON: {"uuid":"66f18f40-aaba-48a2-a920-30d6acf11f1e","changeType":"insert","entity":"invoice","entityId":"1755","eventName":"invoice.add_draft","extraData":{"entity":{"id":1755,"clientId":36,"number":"001705","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1758,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":35,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURORA","clientLastName":"FLORES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:03.011970] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:03.012053] [debug] {"uuid":"66f18f40-aaba-48a2-a920-30d6acf11f1e","changeType":"insert","entity":"invoice","entityId":1755,"message":null,"clientId":36,"eventName":"invoice.add_draft","clientData":{"id":36,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LAS FLORES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LAS FLORES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"AURORA","lastName":"FLORES","username":"aflores36","contacts":[{"id":37,"clientId":36,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5990,"accountCredit":0,"accountOutstanding":5990,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00695c","addressGpsLat":21.1511969,"addressGpsLon":-100.9132525,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1755,"clientId":36,"number":"001705","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1758,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":35,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURORA","clientLastName":"FLORES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:03.121232] [notice] Logging level set to:debug -[2025-03-31 16:01:03.274808] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:03.274868] [debug] Valor de JSON: {"uuid":"6206e3c3-a2b0-4ce8-b015-47dbfc21d414","changeType":"draft_approved","entity":"invoice","entityId":"1755","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1755,"clientId":36,"number":"001705","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1758,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":35,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURORA","clientLastName":"FLORES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:03.274997] [debug] Aprobación de Factura - -[2025-03-31 16:01:03.275044] [debug] {"uuid":"6206e3c3-a2b0-4ce8-b015-47dbfc21d414","changeType":"draft_approved","entity":"invoice","entityId":1755,"message":null,"clientId":36,"eventName":"invoice.draft_approved","clientData":{"id":36,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LAS FLORES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LAS FLORES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"AURORA","lastName":"FLORES","username":"aflores36","contacts":[{"id":37,"clientId":36,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5990,"accountCredit":0,"accountOutstanding":5990,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00695c","addressGpsLat":21.1511969,"addressGpsLon":-100.9132525,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1755,"clientId":36,"number":"001705","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1758,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":35,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURORA","clientLastName":"FLORES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:03.593179] [notice] Logging level set to:debug -[2025-03-31 16:01:03.733562] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:03.733711] [debug] Valor de JSON: {"uuid":"c4b8798f-f695-4181-844a-a298352a0372","changeType":"insert","entity":"invoice","entityId":"1756","eventName":"invoice.add_draft","extraData":{"entity":{"id":1756,"clientId":22,"number":"001706","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1759,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":21,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEBAN","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PUERTA DE SAN FRANCISCO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:03.733834] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:03.733920] [debug] {"uuid":"c4b8798f-f695-4181-844a-a298352a0372","changeType":"insert","entity":"invoice","entityId":1756,"message":null,"clientId":22,"eventName":"invoice.add_draft","clientData":{"id":22,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA PUERTA DE SAN FRANCISCO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA PUERTA DE SAN FRANCISCO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ESTEBAN","lastName":"GARCIA","username":"egarcia22","contacts":[{"id":23,"clientId":22,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4830,"accountCredit":0,"accountOutstanding":4830,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#7cb342","addressGpsLat":21.2091666,"addressGpsLon":-100.76,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1756,"clientId":22,"number":"001706","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1759,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":21,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEBAN","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PUERTA DE SAN FRANCISCO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:03.849615] [notice] Logging level set to:debug -[2025-03-31 16:01:03.991724] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:03.991894] [debug] Valor de JSON: {"uuid":"3e479b01-89f6-475c-bc67-5a950332a063","changeType":"draft_approved","entity":"invoice","entityId":"1756","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1756,"clientId":22,"number":"001706","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1759,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":21,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEBAN","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PUERTA DE SAN FRANCISCO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:03.992034] [debug] Aprobación de Factura - -[2025-03-31 16:01:03.992113] [debug] {"uuid":"3e479b01-89f6-475c-bc67-5a950332a063","changeType":"draft_approved","entity":"invoice","entityId":1756,"message":null,"clientId":22,"eventName":"invoice.draft_approved","clientData":{"id":22,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA PUERTA DE SAN FRANCISCO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA PUERTA DE SAN FRANCISCO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ESTEBAN","lastName":"GARCIA","username":"egarcia22","contacts":[{"id":23,"clientId":22,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4830,"accountCredit":0,"accountOutstanding":4830,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#7cb342","addressGpsLat":21.2091666,"addressGpsLon":-100.76,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1756,"clientId":22,"number":"001706","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1759,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":21,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEBAN","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PUERTA DE SAN FRANCISCO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:04.897491] [notice] Logging level set to:debug -[2025-03-31 16:01:05.036550] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:05.036623] [debug] Valor de JSON: {"uuid":"ebb5c314-a391-4891-a724-da20d705aa9e","changeType":"insert","entity":"invoice","entityId":"1757","eventName":"invoice.add_draft","extraData":{"entity":{"id":1757,"clientId":38,"number":"001707","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1760,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":37,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGELICA","clientLastName":"ROMAN","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:05.036730] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:05.036788] [debug] {"uuid":"ebb5c314-a391-4891-a724-da20d705aa9e","changeType":"insert","entity":"invoice","entityId":1757,"message":null,"clientId":38,"eventName":"invoice.add_draft","clientData":{"id":38,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TECOLOTE","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TECOLOTE, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANGELICA","lastName":"ROMAN","username":"aroman38","contacts":[{"id":39,"clientId":38,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4210,"accountCredit":0,"accountOutstanding":4210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.22987,"addressGpsLon":-101.0648115,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1757,"clientId":38,"number":"001707","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1760,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":37,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGELICA","clientLastName":"ROMAN","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:05.146416] [notice] Logging level set to:debug -[2025-03-31 16:01:05.290854] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:05.291024] [debug] Valor de JSON: {"uuid":"6a71c9c8-a109-4e28-a11f-356f966a8567","changeType":"draft_approved","entity":"invoice","entityId":"1757","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1757,"clientId":38,"number":"001707","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1760,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":37,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGELICA","clientLastName":"ROMAN","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:05.291166] [debug] Aprobación de Factura - -[2025-03-31 16:01:05.291337] [debug] {"uuid":"6a71c9c8-a109-4e28-a11f-356f966a8567","changeType":"draft_approved","entity":"invoice","entityId":1757,"message":null,"clientId":38,"eventName":"invoice.draft_approved","clientData":{"id":38,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TECOLOTE","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TECOLOTE, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANGELICA","lastName":"ROMAN","username":"aroman38","contacts":[{"id":39,"clientId":38,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4210,"accountCredit":0,"accountOutstanding":4210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.22987,"addressGpsLon":-101.0648115,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1757,"clientId":38,"number":"001707","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1760,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":37,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGELICA","clientLastName":"ROMAN","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:06.198281] [notice] Logging level set to:debug -[2025-03-31 16:01:06.349472] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:06.349673] [debug] Valor de JSON: {"uuid":"e052a484-956a-4e8b-b56d-1803a81f8cac","changeType":"insert","entity":"invoice","entityId":"1758","eventName":"invoice.add_draft","extraData":{"entity":{"id":1758,"clientId":30,"number":"001708","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1761,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":29,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUANA","clientLastName":"MONTES DE OCA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:06.349845] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:06.349934] [debug] {"uuid":"e052a484-956a-4e8b-b56d-1803a81f8cac","changeType":"insert","entity":"invoice","entityId":1758,"message":null,"clientId":30,"eventName":"invoice.add_draft","clientData":{"id":30,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"FRACCIONAMIENTO GUANAJUATO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JUANA","lastName":"MONTES DE OCA","username":"jmontes30","contacts":[{"id":31,"clientId":30,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-11200,"accountCredit":0,"accountOutstanding":11200,"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":1758,"clientId":30,"number":"001708","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1761,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":29,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUANA","clientLastName":"MONTES DE OCA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:06.458473] [notice] Logging level set to:debug -[2025-03-31 16:01:06.599426] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:06.599601] [debug] Valor de JSON: {"uuid":"9d722cf3-2789-4f21-8c98-a6be85c625b7","changeType":"draft_approved","entity":"invoice","entityId":"1758","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1758,"clientId":30,"number":"001708","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1761,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":29,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUANA","clientLastName":"MONTES DE OCA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:06.599749] [debug] Aprobación de Factura - -[2025-03-31 16:01:06.599828] [debug] {"uuid":"9d722cf3-2789-4f21-8c98-a6be85c625b7","changeType":"draft_approved","entity":"invoice","entityId":1758,"message":null,"clientId":30,"eventName":"invoice.draft_approved","clientData":{"id":30,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"FRACCIONAMIENTO GUANAJUATO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JUANA","lastName":"MONTES DE OCA","username":"jmontes30","contacts":[{"id":31,"clientId":30,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-11200,"accountCredit":0,"accountOutstanding":11200,"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":1758,"clientId":30,"number":"001708","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1761,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":29,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUANA","clientLastName":"MONTES DE OCA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:07.482561] [notice] Logging level set to:debug -[2025-03-31 16:01:07.642720] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:07.642865] [debug] Valor de JSON: {"uuid":"d9df776c-6f29-4304-9819-e04d42c89238","changeType":"insert","entity":"invoice","entityId":"1759","eventName":"invoice.add_draft","extraData":{"entity":{"id":1759,"clientId":90,"number":"001709","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1762,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":89,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PEDRO","clientLastName":"HORNEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:07.643012] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:07.643090] [debug] {"uuid":"d9df776c-6f29-4304-9819-e04d42c89238","changeType":"insert","entity":"invoice","entityId":1759,"message":null,"clientId":90,"eventName":"invoice.add_draft","clientData":{"id":90,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"ADJUNTAS DEL RIO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"ADJUNTAS DEL RIO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"PEDRO","lastName":"HORNEDO","username":"phornedo90","contacts":[{"id":91,"clientId":90,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1759,"clientId":90,"number":"001709","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1762,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":89,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PEDRO","clientLastName":"HORNEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:07.753854] [notice] Logging level set to:debug -[2025-03-31 16:01:07.929444] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:07.929625] [debug] Valor de JSON: {"uuid":"d39ba0ca-bb98-44f3-a9d7-d3a159dd9e40","changeType":"draft_approved","entity":"invoice","entityId":"1759","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1759,"clientId":90,"number":"001709","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1762,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":89,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PEDRO","clientLastName":"HORNEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:07.929816] [debug] Aprobación de Factura - -[2025-03-31 16:01:07.929922] [debug] {"uuid":"d39ba0ca-bb98-44f3-a9d7-d3a159dd9e40","changeType":"draft_approved","entity":"invoice","entityId":1759,"message":null,"clientId":90,"eventName":"invoice.draft_approved","clientData":{"id":90,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"ADJUNTAS DEL RIO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"ADJUNTAS DEL RIO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"PEDRO","lastName":"HORNEDO","username":"phornedo90","contacts":[{"id":91,"clientId":90,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1759,"clientId":90,"number":"001709","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1762,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":89,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PEDRO","clientLastName":"HORNEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:08.899041] [notice] Logging level set to:debug -[2025-03-31 16:01:09.036746] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:09.036919] [debug] Valor de JSON: {"uuid":"ade349d0-0515-43d9-a59c-3c63f932f650","changeType":"insert","entity":"invoice","entityId":"1760","eventName":"invoice.add_draft","extraData":{"entity":{"id":1760,"clientId":15,"number":"001710","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1763,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":15,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"VILLEGAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:09.037060] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:09.037141] [debug] {"uuid":"ade349d0-0515-43d9-a59c-3c63f932f650","changeType":"insert","entity":"invoice","entityId":1760,"message":null,"clientId":15,"eventName":"invoice.add_draft","clientData":{"id":15,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDUARDO","lastName":"VILLEGAZ","username":"evillegaz15","contacts":[{"id":16,"clientId":15,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-11200,"accountCredit":0,"accountOutstanding":11200,"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":1760,"clientId":15,"number":"001710","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1763,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":15,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"VILLEGAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:09.037204] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-31 16:01:09.037242] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"ade349d0-0515-43d9-a59c-3c63f932f650","changeType":"insert","entity":"invoice","entityId":1760,"message":null,"clientId":15,"eventName":"invoice.add_draft","clientData":{"id":15,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDUARDO","lastName":"VILLEGAZ","username":"evillegaz15","contacts":[{"id":16,"clientId":15,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-11200,"accountCredit":0,"accountOutstanding":11200,"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":1760,"clientId":15,"number":"001710","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1763,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":15,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"VILLEGAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":16,"clientId":15,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2024-01-29T16:50:24-0600","amount":3500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":18,"invoiceId":25,"paymentId":16,"creditNoteId":null,"refundId":null,"amount":3500}],"creditAmount":0,"userId":1000,"attributes":[]}] - -Nombre del cliente que se va a actualizar: EDUARDO VILLEGAZ - -UUID: 92dd9fb15b8f4ff6860f8a32ea9bd7e4 - -JSON con los datos a actualizar: {"name":"EDUARDO VILLEGAZ","custom_fields":{"Cliente":15,"Domicilio":"\ud83d\udccd SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Nombre":"\ud83d\udc64 EDUARDO VILLEGAZ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/15","Saldo Actual":"\ud83d\udcb211200 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 3500","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"15\",\"Domicilio\": \"\"Nombre\": \"EDUARDO VILLEGAZ\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/15\",\"Saldo Actual\": \"\ud83d\udcb211200 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29\/01\/2024 16:50 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"31\/03\/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 29\/01\/2024 16:50 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 31\/03\/2025 10:01","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "15","Domicilio": ""Nombre": "EDUARDO VILLEGAZ","URL": "https://sistema.siip.mx/crm/client/15","Saldo Actual": "💲11200 pendientes","Monto Ultimo Pago": "$ 3500","Estado": "Suspendido","Fecha Ultimo Pago": " 29/01/2024 16:50 con Efectivo 💵","Fecha Ultima Actualizacion": "31/03/2025 10:01","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"EDUARDO VILLEGAZ","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2024-07-11T22:49:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 29/01/2024 16:50 con Efectivo 💵","Fecha Ultima Actualizacion":"📆🔄️ 31/03/2025 10:01","Nombre":"👤 EDUARDO VILLEGAZ","URL":"🌐 https://sistema.siip.mx/crm/client/15","Antena/Sectorial":"Sec3-Sb 172.16.55.13/24","Site":"SBARB","Cliente":"15","Domicilio":"📍 SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Monto Ultimo Pago":"💲 3500","Resumen":"{\"Cliente\": \"15\",\"Domicilio\": \"\"Nombre\": \"EDUARDO VILLEGAZ\",\"URL\": \"https://sistema.siip.mx/crm/client/15\",\"Saldo Actual\": \"💲11200 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29/01/2024 16:50 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"31/03/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Saldo Actual":"💲11200 pendientes"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"EDUARDO VILLEGAZ","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2024-07-11T22:49:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 29/01/2024 16:50 con Efectivo 💵","Fecha Ultima Actualizacion":"📆🔄️ 31/03/2025 10:01","Nombre":"👤 EDUARDO VILLEGAZ","URL":"🌐 https://sistema.siip.mx/crm/client/15","Antena/Sectorial":"Sec3-Sb 172.16.55.13/24","Site":"SBARB","Cliente":"15","Domicilio":"📍 SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Monto Ultimo Pago":"💲 3500","Resumen":"{\"Cliente\": \"15\",\"Domicilio\": \"\"Nombre\": \"EDUARDO VILLEGAZ\",\"URL\": \"https://sistema.siip.mx/crm/client/15\",\"Saldo Actual\": \"💲11200 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29/01/2024 16:50 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"31/03/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Saldo Actual":"💲11200 pendientes"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-31 16:01:10.672709] [notice] Logging level set to:debug -[2025-03-31 16:01:10.821101] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:10.821166] [debug] Valor de JSON: {"uuid":"aca24ff8-3e6c-4139-9dd7-c5581f54e120","changeType":"draft_approved","entity":"invoice","entityId":"1760","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1760,"clientId":15,"number":"001710","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1763,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":15,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"VILLEGAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:10.821295] [debug] Aprobación de Factura - -[2025-03-31 16:01:10.821346] [debug] {"uuid":"aca24ff8-3e6c-4139-9dd7-c5581f54e120","changeType":"draft_approved","entity":"invoice","entityId":1760,"message":null,"clientId":15,"eventName":"invoice.draft_approved","clientData":{"id":15,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDUARDO","lastName":"VILLEGAZ","username":"evillegaz15","contacts":[{"id":16,"clientId":15,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-11200,"accountCredit":0,"accountOutstanding":11200,"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":1760,"clientId":15,"number":"001710","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1763,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":15,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"VILLEGAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:10.821386] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-31 16:01:10.821400] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"aca24ff8-3e6c-4139-9dd7-c5581f54e120","changeType":"draft_approved","entity":"invoice","entityId":1760,"message":null,"clientId":15,"eventName":"invoice.draft_approved","clientData":{"id":15,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDUARDO","lastName":"VILLEGAZ","username":"evillegaz15","contacts":[{"id":16,"clientId":15,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-11200,"accountCredit":0,"accountOutstanding":11200,"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":1760,"clientId":15,"number":"001710","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1763,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":15,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"VILLEGAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":16,"clientId":15,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2024-01-29T16:50:24-0600","amount":3500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":18,"invoiceId":25,"paymentId":16,"creditNoteId":null,"refundId":null,"amount":3500}],"creditAmount":0,"userId":1000,"attributes":[]}] - -Nombre del cliente que se va a actualizar: EDUARDO VILLEGAZ - -UUID: 92dd9fb15b8f4ff6860f8a32ea9bd7e4 - -JSON con los datos a actualizar: {"name":"EDUARDO VILLEGAZ","custom_fields":{"Cliente":15,"Domicilio":"\ud83d\udccd SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Nombre":"\ud83d\udc64 EDUARDO VILLEGAZ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/15","Saldo Actual":"\ud83d\udcb211200 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 3500","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"15\",\"Domicilio\": \"\"Nombre\": \"EDUARDO VILLEGAZ\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/15\",\"Saldo Actual\": \"\ud83d\udcb211200 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29\/01\/2024 16:50 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"31\/03\/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 29\/01\/2024 16:50 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 31\/03\/2025 10:01","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "15","Domicilio": ""Nombre": "EDUARDO VILLEGAZ","URL": "https://sistema.siip.mx/crm/client/15","Saldo Actual": "💲11200 pendientes","Monto Ultimo Pago": "$ 3500","Estado": "Suspendido","Fecha Ultimo Pago": " 29/01/2024 16:50 con Efectivo 💵","Fecha Ultima Actualizacion": "31/03/2025 10:01","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"EDUARDO VILLEGAZ","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2024-07-11T22:49:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 29/01/2024 16:50 con Efectivo 💵","Fecha Ultima Actualizacion":"📆🔄️ 31/03/2025 10:01","Nombre":"👤 EDUARDO VILLEGAZ","URL":"🌐 https://sistema.siip.mx/crm/client/15","Antena/Sectorial":"Sec3-Sb 172.16.55.13/24","Site":"SBARB","Cliente":"15","Domicilio":"📍 SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Monto Ultimo Pago":"💲 3500","Resumen":"{\"Cliente\": \"15\",\"Domicilio\": \"\"Nombre\": \"EDUARDO VILLEGAZ\",\"URL\": \"https://sistema.siip.mx/crm/client/15\",\"Saldo Actual\": \"💲11200 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29/01/2024 16:50 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"31/03/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Saldo Actual":"💲11200 pendientes"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"EDUARDO VILLEGAZ","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2024-07-11T22:49:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 29/01/2024 16:50 con Efectivo 💵","Fecha Ultima Actualizacion":"📆🔄️ 31/03/2025 10:01","Nombre":"👤 EDUARDO VILLEGAZ","URL":"🌐 https://sistema.siip.mx/crm/client/15","Antena/Sectorial":"Sec3-Sb 172.16.55.13/24","Site":"SBARB","Cliente":"15","Domicilio":"📍 SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Monto Ultimo Pago":"💲 3500","Resumen":"{\"Cliente\": \"15\",\"Domicilio\": \"\"Nombre\": \"EDUARDO VILLEGAZ\",\"URL\": \"https://sistema.siip.mx/crm/client/15\",\"Saldo Actual\": \"💲11200 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29/01/2024 16:50 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"31/03/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Saldo Actual":"💲11200 pendientes"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-31 16:01:12.721589] [notice] Logging level set to:debug -[2025-03-31 16:01:12.861799] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:12.861948] [debug] Valor de JSON: {"uuid":"1bc0a9a0-d1b6-4fc0-bf75-7ed0af2f2a94","changeType":"insert","entity":"invoice","entityId":"1761","eventName":"invoice.add_draft","extraData":{"entity":{"id":1761,"clientId":8,"number":"001711","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1764,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":8,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALFREDO","clientLastName":"GUTIERREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:12.862071] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:12.862150] [debug] {"uuid":"1bc0a9a0-d1b6-4fc0-bf75-7ed0af2f2a94","changeType":"insert","entity":"invoice","entityId":1761,"message":null,"clientId":8,"eventName":"invoice.add_draft","clientData":{"id":8,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL BOBO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALFREDO","lastName":"GUTIERREZ","username":"agutierrez08","contacts":[{"id":9,"clientId":8,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7530,"accountCredit":0,"accountOutstanding":7530,"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":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1761,"clientId":8,"number":"001711","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1764,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":8,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALFREDO","clientLastName":"GUTIERREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:12.975920] [notice] Logging level set to:debug -[2025-03-31 16:01:13.147439] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:13.147584] [debug] Valor de JSON: {"uuid":"e61da2eb-f3e1-4fcc-becb-7d10c69f2f14","changeType":"draft_approved","entity":"invoice","entityId":"1761","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1761,"clientId":8,"number":"001711","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1764,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":8,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALFREDO","clientLastName":"GUTIERREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:13.147717] [debug] Aprobación de Factura - -[2025-03-31 16:01:13.147794] [debug] {"uuid":"e61da2eb-f3e1-4fcc-becb-7d10c69f2f14","changeType":"draft_approved","entity":"invoice","entityId":1761,"message":null,"clientId":8,"eventName":"invoice.draft_approved","clientData":{"id":8,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL BOBO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALFREDO","lastName":"GUTIERREZ","username":"agutierrez08","contacts":[{"id":9,"clientId":8,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7530,"accountCredit":0,"accountOutstanding":7530,"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":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1761,"clientId":8,"number":"001711","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1764,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":8,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALFREDO","clientLastName":"GUTIERREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:13.258666] [notice] Logging level set to:debug -[2025-03-31 16:01:13.388725] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:13.388915] [debug] Valor de JSON: {"uuid":"ad6ec1f8-aae2-4131-be09-4f26043505ae","changeType":"insert","entity":"invoice","entityId":"1762","eventName":"invoice.add_draft","extraData":{"entity":{"id":1762,"clientId":74,"number":"001712","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1765,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":73,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARCELO","clientLastName":"PALACIOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:13.389065] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:13.390242] [debug] {"uuid":"ad6ec1f8-aae2-4131-be09-4f26043505ae","changeType":"insert","entity":"invoice","entityId":1762,"message":null,"clientId":74,"eventName":"invoice.add_draft","clientData":{"id":74,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARCELO","lastName":"PALACIOS","username":"mpalacios74","contacts":[{"id":75,"clientId":74,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2e7d32","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1762,"clientId":74,"number":"001712","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1765,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":73,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARCELO","clientLastName":"PALACIOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:13.506268] [notice] Logging level set to:debug -[2025-03-31 16:01:13.735923] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:13.736102] [debug] Valor de JSON: {"uuid":"f7ce016f-ce65-4f29-b680-65005867e1bd","changeType":"draft_approved","entity":"invoice","entityId":"1762","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1762,"clientId":74,"number":"001712","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1765,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":73,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARCELO","clientLastName":"PALACIOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:13.736231] [debug] Aprobación de Factura - -[2025-03-31 16:01:13.736309] [debug] {"uuid":"f7ce016f-ce65-4f29-b680-65005867e1bd","changeType":"draft_approved","entity":"invoice","entityId":1762,"message":null,"clientId":74,"eventName":"invoice.draft_approved","clientData":{"id":74,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARCELO","lastName":"PALACIOS","username":"mpalacios74","contacts":[{"id":75,"clientId":74,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2e7d32","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1762,"clientId":74,"number":"001712","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1765,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":73,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARCELO","clientLastName":"PALACIOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:13.994807] [notice] Logging level set to:debug -[2025-03-31 16:01:14.128804] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:14.128995] [debug] Valor de JSON: {"uuid":"cee1536b-60ce-48a9-993b-5913e2f5fa2a","changeType":"insert","entity":"invoice","entityId":"1763","eventName":"invoice.add_draft","extraData":{"entity":{"id":1763,"clientId":46,"number":"001713","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1766,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":45,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISMAEL","clientLastName":"PUGA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:14.129148] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:14.129290] [debug] {"uuid":"cee1536b-60ce-48a9-993b-5913e2f5fa2a","changeType":"insert","entity":"invoice","entityId":1763,"message":null,"clientId":46,"eventName":"invoice.add_draft","clientData":{"id":46,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL ROSILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL ROSILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ISMAEL","lastName":"PUGA","username":"ipuga46","contacts":[{"id":47,"clientId":46,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":100,"clientId":46,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtMzv6GBcULCcTh","clientZoneVisible":true},{"id":101,"clientId":46,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"6881305189499928","clientZoneVisible":true}],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1763,"clientId":46,"number":"001713","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1766,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":45,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISMAEL","clientLastName":"PUGA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:14.255709] [notice] Logging level set to:debug -[2025-03-31 16:01:14.494744] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:14.495471] [debug] Valor de JSON: {"uuid":"ee96ff8c-3752-47d4-9a41-359321687278","changeType":"draft_approved","entity":"invoice","entityId":"1763","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1763,"clientId":46,"number":"001713","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1766,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":45,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISMAEL","clientLastName":"PUGA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:14.495640] [debug] Aprobación de Factura - -[2025-03-31 16:01:14.495723] [debug] {"uuid":"ee96ff8c-3752-47d4-9a41-359321687278","changeType":"draft_approved","entity":"invoice","entityId":1763,"message":null,"clientId":46,"eventName":"invoice.draft_approved","clientData":{"id":46,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL ROSILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL ROSILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ISMAEL","lastName":"PUGA","username":"ipuga46","contacts":[{"id":47,"clientId":46,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":100,"clientId":46,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtMzv6GBcULCcTh","clientZoneVisible":true},{"id":101,"clientId":46,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"6881305189499928","clientZoneVisible":true}],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1763,"clientId":46,"number":"001713","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1766,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":45,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISMAEL","clientLastName":"PUGA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:15.299391] [notice] Logging level set to:debug -[2025-03-31 16:01:15.442476] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:15.442652] [debug] Valor de JSON: {"uuid":"80208f70-73a8-46ec-a761-d0893e24f1b9","changeType":"insert","entity":"invoice","entityId":"1764","eventName":"invoice.add_draft","extraData":{"entity":{"id":1764,"clientId":66,"number":"001714","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1767,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":65,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LAURA","clientLastName":"CRUCES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:15.442800] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:15.442907] [debug] {"uuid":"80208f70-73a8-46ec-a761-d0893e24f1b9","changeType":"insert","entity":"invoice","entityId":1764,"message":null,"clientId":66,"eventName":"invoice.add_draft","clientData":{"id":66,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"LAURA","lastName":"CRUCES","username":"lcruces66","contacts":[{"id":67,"clientId":66,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1764,"clientId":66,"number":"001714","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1767,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":65,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LAURA","clientLastName":"CRUCES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:15.559362] [notice] Logging level set to:debug -[2025-03-31 16:01:15.751916] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:15.752094] [debug] Valor de JSON: {"uuid":"85efaf97-bf31-48f2-ae8f-9189b0752283","changeType":"draft_approved","entity":"invoice","entityId":"1764","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1764,"clientId":66,"number":"001714","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1767,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":65,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LAURA","clientLastName":"CRUCES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:15.752226] [debug] Aprobación de Factura - -[2025-03-31 16:01:15.752301] [debug] {"uuid":"85efaf97-bf31-48f2-ae8f-9189b0752283","changeType":"draft_approved","entity":"invoice","entityId":1764,"message":null,"clientId":66,"eventName":"invoice.draft_approved","clientData":{"id":66,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"LAURA","lastName":"CRUCES","username":"lcruces66","contacts":[{"id":67,"clientId":66,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1764,"clientId":66,"number":"001714","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1767,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":65,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LAURA","clientLastName":"CRUCES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:16.729711] [notice] Logging level set to:debug -[2025-03-31 16:01:16.867832] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:16.868067] [debug] Valor de JSON: {"uuid":"3062254e-a0c9-458a-921c-555d6cceb656","changeType":"insert","entity":"invoice","entityId":"1765","eventName":"invoice.add_draft","extraData":{"entity":{"id":1765,"clientId":100,"number":"001715","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1768,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":99,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RENE","clientLastName":"BUSTOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:16.868240] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:16.868320] [debug] {"uuid":"3062254e-a0c9-458a-921c-555d6cceb656","changeType":"insert","entity":"invoice","entityId":1765,"message":null,"clientId":100,"eventName":"invoice.add_draft","clientData":{"id":100,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"RENE","lastName":"BUSTOS","username":"rbustos00","contacts":[{"id":101,"clientId":100,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#0277bd","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1765,"clientId":100,"number":"001715","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1768,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":99,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RENE","clientLastName":"BUSTOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:16.985572] [notice] Logging level set to:debug -[2025-03-31 16:01:17.286663] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:17.286840] [debug] Valor de JSON: {"uuid":"1ca1b1b1-f6a7-4575-ab71-e4cba5fa94a0","changeType":"draft_approved","entity":"invoice","entityId":"1765","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1765,"clientId":100,"number":"001715","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1768,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":99,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RENE","clientLastName":"BUSTOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:17.286990] [debug] Aprobación de Factura - -[2025-03-31 16:01:17.287071] [debug] {"uuid":"1ca1b1b1-f6a7-4575-ab71-e4cba5fa94a0","changeType":"draft_approved","entity":"invoice","entityId":1765,"message":null,"clientId":100,"eventName":"invoice.draft_approved","clientData":{"id":100,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"RENE","lastName":"BUSTOS","username":"rbustos00","contacts":[{"id":101,"clientId":100,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#0277bd","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1765,"clientId":100,"number":"001715","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1768,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":99,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RENE","clientLastName":"BUSTOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:18.506855] [notice] Logging level set to:debug -[2025-03-31 16:01:18.647998] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:18.648179] [debug] Valor de JSON: {"uuid":"d2dafbf3-eb65-4905-8723-db5573c4e79d","changeType":"insert","entity":"invoice","entityId":"1766","eventName":"invoice.add_draft","extraData":{"entity":{"id":1766,"clientId":19,"number":"001716","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1769,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":18,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARIA","clientLastName":"RODRIGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:18.648312] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:18.648390] [debug] {"uuid":"d2dafbf3-eb65-4905-8723-db5573c4e79d","changeType":"insert","entity":"invoice","entityId":1766,"message":null,"clientId":19,"eventName":"invoice.add_draft","clientData":{"id":19,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARIA","lastName":"RODRIGUEZ","username":"mrodriguez19","contacts":[{"id":20,"clientId":19,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-8933.33,"accountCredit":0,"accountOutstanding":8933.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":1766,"clientId":19,"number":"001716","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1769,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":18,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARIA","clientLastName":"RODRIGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:18.765582] [notice] Logging level set to:debug -[2025-03-31 16:01:18.907308] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:18.907444] [debug] Valor de JSON: {"uuid":"aae7844b-ef62-44e8-bddb-bff2e5dd4d91","changeType":"draft_approved","entity":"invoice","entityId":"1766","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1766,"clientId":19,"number":"001716","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1769,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":18,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARIA","clientLastName":"RODRIGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:18.907576] [debug] Aprobación de Factura - -[2025-03-31 16:01:18.907653] [debug] {"uuid":"aae7844b-ef62-44e8-bddb-bff2e5dd4d91","changeType":"draft_approved","entity":"invoice","entityId":1766,"message":null,"clientId":19,"eventName":"invoice.draft_approved","clientData":{"id":19,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARIA","lastName":"RODRIGUEZ","username":"mrodriguez19","contacts":[{"id":20,"clientId":19,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-8933.33,"accountCredit":0,"accountOutstanding":8933.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":1766,"clientId":19,"number":"001716","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1769,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":18,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARIA","clientLastName":"RODRIGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:19.892610] [notice] Logging level set to:debug -[2025-03-31 16:01:20.018810] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:20.019009] [debug] Valor de JSON: {"uuid":"d10f2a0e-5705-484b-be73-0de1c9792e53","changeType":"insert","entity":"invoice","entityId":"1767","eventName":"invoice.add_draft","extraData":{"entity":{"id":1767,"clientId":64,"number":"001717","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1770,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":63,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"LANDEROS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:20.019175] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:20.019253] [debug] {"uuid":"d10f2a0e-5705-484b-be73-0de1c9792e53","changeType":"insert","entity":"invoice","entityId":1767,"message":null,"clientId":64,"eventName":"invoice.add_draft","clientData":{"id":64,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OMAR","lastName":"LANDEROS","username":"olanderos64","contacts":[{"id":65,"clientId":64,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1767,"clientId":64,"number":"001717","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1770,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":63,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"LANDEROS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:20.171451] [notice] Logging level set to:debug -[2025-03-31 16:01:20.301872] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:20.302051] [debug] Valor de JSON: {"uuid":"523ee770-f970-457e-a2f4-0919515f1b8e","changeType":"draft_approved","entity":"invoice","entityId":"1767","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1767,"clientId":64,"number":"001717","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1770,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":63,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"LANDEROS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:20.302198] [debug] Aprobación de Factura - -[2025-03-31 16:01:20.302278] [debug] {"uuid":"523ee770-f970-457e-a2f4-0919515f1b8e","changeType":"draft_approved","entity":"invoice","entityId":1767,"message":null,"clientId":64,"eventName":"invoice.draft_approved","clientData":{"id":64,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OMAR","lastName":"LANDEROS","username":"olanderos64","contacts":[{"id":65,"clientId":64,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1767,"clientId":64,"number":"001717","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1770,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":63,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"LANDEROS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:21.206538] [notice] Logging level set to:debug -[2025-03-31 16:01:21.351946] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:21.352030] [debug] Valor de JSON: {"uuid":"6613656f-b2fb-445b-846b-ebef3f1c5173","changeType":"insert","entity":"invoice","entityId":"1768","eventName":"invoice.add_draft","extraData":{"entity":{"id":1768,"clientId":32,"number":"001718","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1771,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":31,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EMILIO","clientLastName":"PEREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON DE LAS MINAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:21.352161] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:21.352245] [debug] {"uuid":"6613656f-b2fb-445b-846b-ebef3f1c5173","changeType":"insert","entity":"invoice","entityId":1768,"message":null,"clientId":32,"eventName":"invoice.add_draft","clientData":{"id":32,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ANTON DE LAS MINAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ANTON DE LAS MINAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EMILIO","lastName":"PEREZ","username":"eperez32","contacts":[{"id":33,"clientId":32,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5440,"accountCredit":0,"accountOutstanding":5440,"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":1768,"clientId":32,"number":"001718","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1771,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":31,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EMILIO","clientLastName":"PEREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON DE LAS MINAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:21.464165] [notice] Logging level set to:debug -[2025-03-31 16:01:21.600234] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:21.600298] [debug] Valor de JSON: {"uuid":"f76982ba-e904-4c8f-b279-d9923ef8ed3c","changeType":"draft_approved","entity":"invoice","entityId":"1768","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1768,"clientId":32,"number":"001718","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1771,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":31,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EMILIO","clientLastName":"PEREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON DE LAS MINAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:21.600390] [debug] Aprobación de Factura - -[2025-03-31 16:01:21.600447] [debug] {"uuid":"f76982ba-e904-4c8f-b279-d9923ef8ed3c","changeType":"draft_approved","entity":"invoice","entityId":1768,"message":null,"clientId":32,"eventName":"invoice.draft_approved","clientData":{"id":32,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ANTON DE LAS MINAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ANTON DE LAS MINAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EMILIO","lastName":"PEREZ","username":"eperez32","contacts":[{"id":33,"clientId":32,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5440,"accountCredit":0,"accountOutstanding":5440,"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":1768,"clientId":32,"number":"001718","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1771,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":31,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EMILIO","clientLastName":"PEREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON DE LAS MINAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:22.513647] [notice] Logging level set to:debug -[2025-03-31 16:01:22.654726] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:22.654792] [debug] Valor de JSON: {"uuid":"71c69cfd-4fb7-4b0a-aa30-6897b8de8198","changeType":"insert","entity":"invoice","entityId":"1769","eventName":"invoice.add_draft","extraData":{"entity":{"id":1769,"clientId":91,"number":"001719","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1772,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":90,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CAROLINA","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:22.654977] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:22.655031] [debug] {"uuid":"71c69cfd-4fb7-4b0a-aa30-6897b8de8198","changeType":"insert","entity":"invoice","entityId":1769,"message":null,"clientId":91,"eventName":"invoice.add_draft","clientData":{"id":91,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA CALIORNIA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA CALIORNIA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"CAROLINA","lastName":"PE\u00d1A","username":"cpe\u00d1a91","contacts":[{"id":92,"clientId":91,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7400,"accountCredit":0,"accountOutstanding":7400,"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":1769,"clientId":91,"number":"001719","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1772,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":90,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CAROLINA","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:22.762940] [notice] Logging level set to:debug -[2025-03-31 16:01:22.913752] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:22.914021] [debug] Valor de JSON: {"uuid":"c57df5cc-08d8-4cbc-88c1-a6c2babe9d50","changeType":"draft_approved","entity":"invoice","entityId":"1769","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1769,"clientId":91,"number":"001719","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1772,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":90,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CAROLINA","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:22.914165] [debug] Aprobación de Factura - -[2025-03-31 16:01:22.914243] [debug] {"uuid":"c57df5cc-08d8-4cbc-88c1-a6c2babe9d50","changeType":"draft_approved","entity":"invoice","entityId":1769,"message":null,"clientId":91,"eventName":"invoice.draft_approved","clientData":{"id":91,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA CALIORNIA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA CALIORNIA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"CAROLINA","lastName":"PE\u00d1A","username":"cpe\u00d1a91","contacts":[{"id":92,"clientId":91,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7400,"accountCredit":0,"accountOutstanding":7400,"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":1769,"clientId":91,"number":"001719","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1772,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":90,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CAROLINA","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:23.825834] [notice] Logging level set to:debug -[2025-03-31 16:01:23.955087] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:23.955157] [debug] Valor de JSON: {"uuid":"93c43179-3638-44c3-a5d8-be6c9a49eed4","changeType":"insert","entity":"invoice","entityId":"1770","eventName":"invoice.add_draft","extraData":{"entity":{"id":1770,"clientId":89,"number":"001720","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1773,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":88,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RIO LAJA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:23.955271] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:23.955328] [debug] {"uuid":"93c43179-3638-44c3-a5d8-be6c9a49eed4","changeType":"insert","entity":"invoice","entityId":1770,"message":null,"clientId":89,"eventName":"invoice.add_draft","clientData":{"id":89,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"RIO LAJA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"RIO LAJA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"TERESA","lastName":"SANCHEZ","username":"tsanchez89","contacts":[{"id":90,"clientId":89,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1770,"clientId":89,"number":"001720","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1773,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":88,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RIO LAJA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:24.072549] [notice] Logging level set to:debug -[2025-03-31 16:01:24.220684] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:24.220828] [debug] Valor de JSON: {"uuid":"253da437-add4-448c-99ea-d7e428ca859d","changeType":"draft_approved","entity":"invoice","entityId":"1770","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1770,"clientId":89,"number":"001720","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1773,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":88,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RIO LAJA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:24.220947] [debug] Aprobación de Factura - -[2025-03-31 16:01:24.221051] [debug] {"uuid":"253da437-add4-448c-99ea-d7e428ca859d","changeType":"draft_approved","entity":"invoice","entityId":1770,"message":null,"clientId":89,"eventName":"invoice.draft_approved","clientData":{"id":89,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"RIO LAJA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"RIO LAJA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"TERESA","lastName":"SANCHEZ","username":"tsanchez89","contacts":[{"id":90,"clientId":89,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1770,"clientId":89,"number":"001720","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1773,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":88,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RIO LAJA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:25.140007] [notice] Logging level set to:debug -[2025-03-31 16:01:25.281002] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:25.281188] [debug] Valor de JSON: {"uuid":"b0aa0f01-ff99-4e43-a4ce-e79530e21a46","changeType":"insert","entity":"invoice","entityId":"1771","eventName":"invoice.add_draft","extraData":{"entity":{"id":1771,"clientId":47,"number":"001721","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1774,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":46,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ASRAEL","clientLastName":"PONCE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:25.281349] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:25.281430] [debug] {"uuid":"b0aa0f01-ff99-4e43-a4ce-e79530e21a46","changeType":"insert","entity":"invoice","entityId":1771,"message":null,"clientId":47,"eventName":"invoice.add_draft","clientData":{"id":47,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ASRAEL","lastName":"PONCE","username":"aponce47","contacts":[{"id":48,"clientId":47,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":102,"clientId":47,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1ERR1n4E6GPk","clientZoneVisible":true},{"id":103,"clientId":47,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"8205258963078605","clientZoneVisible":true}],"accountBalance":-4180,"accountCredit":0,"accountOutstanding":4180,"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":1771,"clientId":47,"number":"001721","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1774,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":46,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ASRAEL","clientLastName":"PONCE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:25.395641] [notice] Logging level set to:debug -[2025-03-31 16:01:25.531160] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:25.531338] [debug] Valor de JSON: {"uuid":"7ee7bff6-a9a8-4889-a82f-31fb0345274c","changeType":"draft_approved","entity":"invoice","entityId":"1771","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1771,"clientId":47,"number":"001721","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1774,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":46,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ASRAEL","clientLastName":"PONCE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:25.531472] [debug] Aprobación de Factura - -[2025-03-31 16:01:25.531553] [debug] {"uuid":"7ee7bff6-a9a8-4889-a82f-31fb0345274c","changeType":"draft_approved","entity":"invoice","entityId":1771,"message":null,"clientId":47,"eventName":"invoice.draft_approved","clientData":{"id":47,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ASRAEL","lastName":"PONCE","username":"aponce47","contacts":[{"id":48,"clientId":47,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":102,"clientId":47,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1ERR1n4E6GPk","clientZoneVisible":true},{"id":103,"clientId":47,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"8205258963078605","clientZoneVisible":true}],"accountBalance":-4180,"accountCredit":0,"accountOutstanding":4180,"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":1771,"clientId":47,"number":"001721","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1774,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":46,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ASRAEL","clientLastName":"PONCE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:26.514005] [notice] Logging level set to:debug -[2025-03-31 16:01:26.656382] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:26.656449] [debug] Valor de JSON: {"uuid":"b6fcd848-7097-4dcd-b7a1-806638ed5ecb","changeType":"insert","entity":"invoice","entityId":"1772","eventName":"invoice.add_draft","extraData":{"entity":{"id":1772,"clientId":56,"number":"001722","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1775,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":55,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NOE","clientLastName":"SANDOVAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:26.656557] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:26.656610] [debug] {"uuid":"b6fcd848-7097-4dcd-b7a1-806638ed5ecb","changeType":"insert","entity":"invoice","entityId":1772,"message":null,"clientId":56,"eventName":"invoice.add_draft","clientData":{"id":56,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTIAGUILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":null,"fullAddress":"SANTIAGUILLO, Dolores Hidalgo Cuna de la Independencia Nacional","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"NOE","lastName":"SANDOVAL","username":"nsandoval56","contacts":[{"id":57,"clientId":56,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#039be5","addressGpsLat":21.0165209,"addressGpsLon":-100.9831731,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1772,"clientId":56,"number":"001722","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1775,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":55,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NOE","clientLastName":"SANDOVAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:26.769576] [notice] Logging level set to:debug -[2025-03-31 16:01:26.904246] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:26.904412] [debug] Valor de JSON: {"uuid":"9aa2e1e4-8596-4376-b606-333ffb0beabe","changeType":"draft_approved","entity":"invoice","entityId":"1772","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1772,"clientId":56,"number":"001722","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1775,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":55,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NOE","clientLastName":"SANDOVAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:26.904552] [debug] Aprobación de Factura - -[2025-03-31 16:01:26.904628] [debug] {"uuid":"9aa2e1e4-8596-4376-b606-333ffb0beabe","changeType":"draft_approved","entity":"invoice","entityId":1772,"message":null,"clientId":56,"eventName":"invoice.draft_approved","clientData":{"id":56,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTIAGUILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":null,"fullAddress":"SANTIAGUILLO, Dolores Hidalgo Cuna de la Independencia Nacional","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"NOE","lastName":"SANDOVAL","username":"nsandoval56","contacts":[{"id":57,"clientId":56,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#039be5","addressGpsLat":21.0165209,"addressGpsLon":-100.9831731,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1772,"clientId":56,"number":"001722","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1775,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":55,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NOE","clientLastName":"SANDOVAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:27.826206] [notice] Logging level set to:debug -[2025-03-31 16:01:27.971236] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:27.971395] [debug] Valor de JSON: {"uuid":"92c27a2e-cfe4-48e8-99c5-c364ee475a6b","changeType":"insert","entity":"invoice","entityId":"1773","eventName":"invoice.add_draft","extraData":{"entity":{"id":1773,"clientId":86,"number":"001723","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1776,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":85,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PALMITAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:27.971530] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:27.971610] [debug] {"uuid":"92c27a2e-cfe4-48e8-99c5-c364ee475a6b","changeType":"insert","entity":"invoice","entityId":1773,"message":null,"clientId":86,"eventName":"invoice.add_draft","clientData":{"id":86,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"PALMITAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"PALMITAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"HUMBERTO","lastName":"CASTILLO","username":"hcastillo86","contacts":[{"id":87,"clientId":86,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-6800,"accountCredit":0,"accountOutstanding":6800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#c62828","addressGpsLat":21.2394677,"addressGpsLon":-100.9803471,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1773,"clientId":86,"number":"001723","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1776,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":85,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PALMITAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:28.090807] [notice] Logging level set to:debug -[2025-03-31 16:01:28.240711] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:28.240849] [debug] Valor de JSON: {"uuid":"f0689c87-72e6-4792-910f-c724c6a3f9c0","changeType":"draft_approved","entity":"invoice","entityId":"1773","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1773,"clientId":86,"number":"001723","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1776,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":85,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PALMITAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:28.240994] [debug] Aprobación de Factura - -[2025-03-31 16:01:28.241070] [debug] {"uuid":"f0689c87-72e6-4792-910f-c724c6a3f9c0","changeType":"draft_approved","entity":"invoice","entityId":1773,"message":null,"clientId":86,"eventName":"invoice.draft_approved","clientData":{"id":86,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"PALMITAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"PALMITAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"HUMBERTO","lastName":"CASTILLO","username":"hcastillo86","contacts":[{"id":87,"clientId":86,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-6800,"accountCredit":0,"accountOutstanding":6800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#c62828","addressGpsLat":21.2394677,"addressGpsLon":-100.9803471,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1773,"clientId":86,"number":"001723","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1776,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":85,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PALMITAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:29.164493] [notice] Logging level set to:debug -[2025-03-31 16:01:29.291727] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:29.291903] [debug] Valor de JSON: {"uuid":"dc69bd8d-714e-4a2e-aaed-3dcef298dbe2","changeType":"insert","entity":"invoice","entityId":"1774","eventName":"invoice.add_draft","extraData":{"entity":{"id":1774,"clientId":53,"number":"001724","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1777,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":52,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONIO","clientLastName":"CHAVEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:29.292042] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:29.292125] [debug] {"uuid":"dc69bd8d-714e-4a2e-aaed-3dcef298dbe2","changeType":"insert","entity":"invoice","entityId":1774,"message":null,"clientId":53,"eventName":"invoice.add_draft","clientData":{"id":53,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA VENTA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA VENTA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANTONIO","lastName":"CHAVEZ","username":"achavez53","contacts":[{"id":54,"clientId":53,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1197222,"addressGpsLon":-100.7872222,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1774,"clientId":53,"number":"001724","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1777,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":52,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONIO","clientLastName":"CHAVEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:29.403114] [notice] Logging level set to:debug -[2025-03-31 16:01:29.538844] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:29.538937] [debug] Valor de JSON: {"uuid":"0412a898-47ae-48af-ba6f-0643d6a5f8b2","changeType":"draft_approved","entity":"invoice","entityId":"1774","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1774,"clientId":53,"number":"001724","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1777,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":52,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONIO","clientLastName":"CHAVEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:29.539040] [debug] Aprobación de Factura - -[2025-03-31 16:01:29.539086] [debug] {"uuid":"0412a898-47ae-48af-ba6f-0643d6a5f8b2","changeType":"draft_approved","entity":"invoice","entityId":1774,"message":null,"clientId":53,"eventName":"invoice.draft_approved","clientData":{"id":53,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA VENTA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA VENTA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANTONIO","lastName":"CHAVEZ","username":"achavez53","contacts":[{"id":54,"clientId":53,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1197222,"addressGpsLon":-100.7872222,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1774,"clientId":53,"number":"001724","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1777,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":52,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONIO","clientLastName":"CHAVEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:30.462512] [notice] Logging level set to:debug -[2025-03-31 16:01:30.612983] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:30.613064] [debug] Valor de JSON: {"uuid":"be083113-beb8-4f86-a628-3398261fe9fb","changeType":"insert","entity":"invoice","entityId":"1775","eventName":"invoice.add_draft","extraData":{"entity":{"id":1775,"clientId":54,"number":"001725","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1778,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":53,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORETO","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"COLORADO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:30.613163] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:30.613213] [debug] {"uuid":"be083113-beb8-4f86-a628-3398261fe9fb","changeType":"insert","entity":"invoice","entityId":1775,"message":null,"clientId":54,"eventName":"invoice.add_draft","clientData":{"id":54,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"COLORADO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"COLORADO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"LORETO","lastName":"HERRERA","username":"lherrera54","contacts":[{"id":55,"clientId":54,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1775,"clientId":54,"number":"001725","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1778,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":53,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORETO","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"COLORADO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:30.724716] [notice] Logging level set to:debug -[2025-03-31 16:01:30.863415] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:30.863574] [debug] Valor de JSON: {"uuid":"b4520e4e-bc22-4bef-9f72-2262103f57d2","changeType":"draft_approved","entity":"invoice","entityId":"1775","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1775,"clientId":54,"number":"001725","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1778,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":53,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORETO","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"COLORADO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:30.863699] [debug] Aprobación de Factura - -[2025-03-31 16:01:30.863781] [debug] {"uuid":"b4520e4e-bc22-4bef-9f72-2262103f57d2","changeType":"draft_approved","entity":"invoice","entityId":1775,"message":null,"clientId":54,"eventName":"invoice.draft_approved","clientData":{"id":54,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"COLORADO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"COLORADO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"LORETO","lastName":"HERRERA","username":"lherrera54","contacts":[{"id":55,"clientId":54,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1775,"clientId":54,"number":"001725","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1778,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":53,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORETO","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"COLORADO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:31.768922] [notice] Logging level set to:debug -[2025-03-31 16:01:31.905169] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:31.905307] [debug] Valor de JSON: {"uuid":"4e4ae3fe-2927-4392-bd34-82e4556f0ef2","changeType":"insert","entity":"invoice","entityId":"1776","eventName":"invoice.add_draft","extraData":{"entity":{"id":1776,"clientId":55,"number":"001726","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1779,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":54,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JOSE","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:31.905448] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:31.905524] [debug] {"uuid":"4e4ae3fe-2927-4392-bd34-82e4556f0ef2","changeType":"insert","entity":"invoice","entityId":1776,"message":null,"clientId":55,"eventName":"invoice.add_draft","clientData":{"id":55,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL MEZQUITAL","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL MEZQUITAL, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JOSE","lastName":"SANCHEZ","username":"jsanchez55","contacts":[{"id":56,"clientId":55,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#8e24aa","addressGpsLat":21.1081412,"addressGpsLon":-100.9422033,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1776,"clientId":55,"number":"001726","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1779,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":54,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JOSE","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:32.017122] [notice] Logging level set to:debug -[2025-03-31 16:01:32.168503] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:32.168643] [debug] Valor de JSON: {"uuid":"e987d437-6cee-433d-b537-25bcd148c39e","changeType":"draft_approved","entity":"invoice","entityId":"1776","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1776,"clientId":55,"number":"001726","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1779,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":54,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JOSE","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:32.168762] [debug] Aprobación de Factura - -[2025-03-31 16:01:32.168837] [debug] {"uuid":"e987d437-6cee-433d-b537-25bcd148c39e","changeType":"draft_approved","entity":"invoice","entityId":1776,"message":null,"clientId":55,"eventName":"invoice.draft_approved","clientData":{"id":55,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL MEZQUITAL","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL MEZQUITAL, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JOSE","lastName":"SANCHEZ","username":"jsanchez55","contacts":[{"id":56,"clientId":55,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#8e24aa","addressGpsLat":21.1081412,"addressGpsLon":-100.9422033,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1776,"clientId":55,"number":"001726","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1779,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":54,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JOSE","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:35.734972] [notice] Logging level set to:debug -[2025-03-31 16:01:35.878029] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:35.878091] [debug] Valor de JSON: {"uuid":"b6b47729-c551-4879-9c86-be18fa017918","changeType":"insert","entity":"invoice","entityId":"1777","eventName":"invoice.add_draft","extraData":{"entity":{"id":1777,"clientId":79,"number":"001727","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1780,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":78,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"ESPONIZA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:35.878215] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:35.878262] [debug] {"uuid":"b6b47729-c551-4879-9c86-be18fa017918","changeType":"insert","entity":"invoice","entityId":1777,"message":null,"clientId":79,"eventName":"invoice.add_draft","clientData":{"id":79,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LAS YERBAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LAS YERBAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SEBASTIAN","lastName":"ESPONIZA","username":"sesponiza79","contacts":[{"id":80,"clientId":79,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7000,"accountCredit":0,"accountOutstanding":7000,"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":1777,"clientId":79,"number":"001727","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1780,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":78,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"ESPONIZA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:35.986144] [notice] Logging level set to:debug -[2025-03-31 16:01:36.140908] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:36.141048] [debug] Valor de JSON: {"uuid":"313fbb4c-6ff1-4a36-9437-9f308d2b7746","changeType":"draft_approved","entity":"invoice","entityId":"1777","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1777,"clientId":79,"number":"001727","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1780,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":78,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"ESPONIZA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:36.141170] [debug] Aprobación de Factura - -[2025-03-31 16:01:36.141247] [debug] {"uuid":"313fbb4c-6ff1-4a36-9437-9f308d2b7746","changeType":"draft_approved","entity":"invoice","entityId":1777,"message":null,"clientId":79,"eventName":"invoice.draft_approved","clientData":{"id":79,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LAS YERBAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LAS YERBAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SEBASTIAN","lastName":"ESPONIZA","username":"sesponiza79","contacts":[{"id":80,"clientId":79,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7000,"accountCredit":0,"accountOutstanding":7000,"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":1777,"clientId":79,"number":"001727","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1780,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":78,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"ESPONIZA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:37.079932] [notice] Logging level set to:debug -[2025-03-31 16:01:37.224109] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:37.224179] [debug] Valor de JSON: {"uuid":"50dff1c3-7e13-4dea-ab51-47429ad4deb7","changeType":"insert","entity":"invoice","entityId":"1778","eventName":"invoice.add_draft","extraData":{"entity":{"id":1778,"clientId":80,"number":"001728","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1781,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":79,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AXEL","clientLastName":"FERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:37.224289] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:37.224340] [debug] {"uuid":"50dff1c3-7e13-4dea-ab51-47429ad4deb7","changeType":"insert","entity":"invoice","entityId":1778,"message":null,"clientId":80,"eventName":"invoice.add_draft","clientData":{"id":80,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN SEBASTIAN","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN SEBASTIAN, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"AXEL","lastName":"FERNANDEZ","username":"afernandez80","contacts":[{"id":81,"clientId":80,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1778,"clientId":80,"number":"001728","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1781,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":79,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AXEL","clientLastName":"FERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:37.339426] [notice] Logging level set to:debug -[2025-03-31 16:01:37.480429] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:37.480572] [debug] Valor de JSON: {"uuid":"186fc387-e0a8-4ce7-b3b6-a8bfd6cbe953","changeType":"draft_approved","entity":"invoice","entityId":"1778","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1778,"clientId":80,"number":"001728","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1781,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":79,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AXEL","clientLastName":"FERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:37.480705] [debug] Aprobación de Factura - -[2025-03-31 16:01:37.480781] [debug] {"uuid":"186fc387-e0a8-4ce7-b3b6-a8bfd6cbe953","changeType":"draft_approved","entity":"invoice","entityId":1778,"message":null,"clientId":80,"eventName":"invoice.draft_approved","clientData":{"id":80,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN SEBASTIAN","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN SEBASTIAN, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"AXEL","lastName":"FERNANDEZ","username":"afernandez80","contacts":[{"id":81,"clientId":80,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1778,"clientId":80,"number":"001728","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1781,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":79,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AXEL","clientLastName":"FERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:38.513536] [notice] Logging level set to:debug -[2025-03-31 16:01:38.669102] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:38.669167] [debug] Valor de JSON: {"uuid":"2088ec1e-5e32-4773-a51c-3baf5bd987e5","changeType":"insert","entity":"invoice","entityId":"1779","eventName":"invoice.add_draft","extraData":{"entity":{"id":1779,"clientId":39,"number":"001729","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1782,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":38,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FRANCISCO","clientLastName":"BALDERAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PIEDRA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:38.669280] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:38.669327] [debug] {"uuid":"2088ec1e-5e32-4773-a51c-3baf5bd987e5","changeType":"insert","entity":"invoice","entityId":1779,"message":null,"clientId":39,"eventName":"invoice.add_draft","clientData":{"id":39,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA PIEDRA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA PIEDRA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"FRANCISCO","lastName":"BALDERAS","username":"fbalderas39","contacts":[{"id":40,"clientId":39,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4510,"accountCredit":0,"accountOutstanding":4510,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#546e7a","addressGpsLat":21.2708978,"addressGpsLon":-100.7973281,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1779,"clientId":39,"number":"001729","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1782,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":38,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FRANCISCO","clientLastName":"BALDERAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PIEDRA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:38.784930] [notice] Logging level set to:debug -[2025-03-31 16:01:38.922424] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:38.922590] [debug] Valor de JSON: {"uuid":"efab5e9c-37dd-47de-bdd6-7df2b28dcf85","changeType":"draft_approved","entity":"invoice","entityId":"1779","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1779,"clientId":39,"number":"001729","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1782,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":38,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FRANCISCO","clientLastName":"BALDERAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PIEDRA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:38.922733] [debug] Aprobación de Factura - -[2025-03-31 16:01:38.922811] [debug] {"uuid":"efab5e9c-37dd-47de-bdd6-7df2b28dcf85","changeType":"draft_approved","entity":"invoice","entityId":1779,"message":null,"clientId":39,"eventName":"invoice.draft_approved","clientData":{"id":39,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA PIEDRA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA PIEDRA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"FRANCISCO","lastName":"BALDERAS","username":"fbalderas39","contacts":[{"id":40,"clientId":39,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4510,"accountCredit":0,"accountOutstanding":4510,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#546e7a","addressGpsLat":21.2708978,"addressGpsLon":-100.7973281,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1779,"clientId":39,"number":"001729","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1782,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":38,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FRANCISCO","clientLastName":"BALDERAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PIEDRA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:39.920308] [notice] Logging level set to:debug -[2025-03-31 16:01:40.077545] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:40.077728] [debug] Valor de JSON: {"uuid":"d1914220-556c-4fcb-aa42-cbadcffce88d","changeType":"insert","entity":"invoice","entityId":"1780","eventName":"invoice.add_draft","extraData":{"entity":{"id":1780,"clientId":73,"number":"001730","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1783,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":72,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ERICK","clientLastName":"VAZQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:40.077857] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:40.078960] [debug] {"uuid":"d1914220-556c-4fcb-aa42-cbadcffce88d","changeType":"insert","entity":"invoice","entityId":1780,"message":null,"clientId":73,"eventName":"invoice.add_draft","clientData":{"id":73,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ERICK","lastName":"VAZQUEZ","username":"evazquez73","contacts":[{"id":74,"clientId":73,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1780,"clientId":73,"number":"001730","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1783,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":72,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ERICK","clientLastName":"VAZQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:40.203003] [notice] Logging level set to:debug -[2025-03-31 16:01:40.367497] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:40.367675] [debug] Valor de JSON: {"uuid":"1ea2e121-a827-4525-abb4-a72e68e69674","changeType":"draft_approved","entity":"invoice","entityId":"1780","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1780,"clientId":73,"number":"001730","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1783,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":72,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ERICK","clientLastName":"VAZQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:40.367820] [debug] Aprobación de Factura - -[2025-03-31 16:01:40.367901] [debug] {"uuid":"1ea2e121-a827-4525-abb4-a72e68e69674","changeType":"draft_approved","entity":"invoice","entityId":1780,"message":null,"clientId":73,"eventName":"invoice.draft_approved","clientData":{"id":73,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ERICK","lastName":"VAZQUEZ","username":"evazquez73","contacts":[{"id":74,"clientId":73,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1780,"clientId":73,"number":"001730","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1783,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":72,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ERICK","clientLastName":"VAZQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:41.298391] [notice] Logging level set to:debug -[2025-03-31 16:01:41.453986] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:41.454050] [debug] Valor de JSON: {"uuid":"2a0bd734-ef6b-4df9-bf4d-f544496592ad","changeType":"insert","entity":"invoice","entityId":"1781","eventName":"invoice.add_draft","extraData":{"entity":{"id":1781,"clientId":9,"number":"001731","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1784,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":9,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JHOVANY","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GALLINERO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:41.454158] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:41.454205] [debug] {"uuid":"2a0bd734-ef6b-4df9-bf4d-f544496592ad","changeType":"insert","entity":"invoice","entityId":1781,"message":null,"clientId":9,"eventName":"invoice.add_draft","clientData":{"id":9,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"GALLINERO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"GALLINERO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JHOVANY","lastName":"LOPEZ","username":"jlopez09","contacts":[{"id":10,"clientId":9,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1781,"clientId":9,"number":"001731","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1784,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":9,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JHOVANY","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GALLINERO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:41.571794] [notice] Logging level set to:debug -[2025-03-31 16:01:41.709836] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:41.710014] [debug] Valor de JSON: {"uuid":"a801ccd0-0b17-46fb-8d91-7bb179cfb8d5","changeType":"draft_approved","entity":"invoice","entityId":"1781","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1781,"clientId":9,"number":"001731","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1784,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":9,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JHOVANY","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GALLINERO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:41.710144] [debug] Aprobación de Factura - -[2025-03-31 16:01:41.710222] [debug] {"uuid":"a801ccd0-0b17-46fb-8d91-7bb179cfb8d5","changeType":"draft_approved","entity":"invoice","entityId":1781,"message":null,"clientId":9,"eventName":"invoice.draft_approved","clientData":{"id":9,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"GALLINERO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"GALLINERO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JHOVANY","lastName":"LOPEZ","username":"jlopez09","contacts":[{"id":10,"clientId":9,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1781,"clientId":9,"number":"001731","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1784,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":9,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JHOVANY","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GALLINERO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:42.652019] [notice] Logging level set to:debug -[2025-03-31 16:01:42.797746] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:42.797936] [debug] Valor de JSON: {"uuid":"ad82e349-f2bf-446d-b449-8de10905b861","changeType":"insert","entity":"invoice","entityId":"1782","eventName":"invoice.add_draft","extraData":{"entity":{"id":1782,"clientId":17,"number":"001732","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1785,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":16,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUAN","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CIENEGUILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:42.798089] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:42.798194] [debug] {"uuid":"ad82e349-f2bf-446d-b449-8de10905b861","changeType":"insert","entity":"invoice","entityId":1782,"message":null,"clientId":17,"eventName":"invoice.add_draft","clientData":{"id":17,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"CIENEGUILLA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"CIENEGUILLA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JUAN","lastName":"LOPEZ","username":"jlopez17","contacts":[{"id":18,"clientId":17,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5090,"accountCredit":0,"accountOutstanding":5090,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.0749852,"addressGpsLon":-100.937613,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1782,"clientId":17,"number":"001732","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1785,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":16,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUAN","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CIENEGUILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:42.913157] [notice] Logging level set to:debug -[2025-03-31 16:01:43.057629] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:43.057821] [debug] Valor de JSON: {"uuid":"61c24f72-20cb-4bb3-99ab-32c51b9db873","changeType":"draft_approved","entity":"invoice","entityId":"1782","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1782,"clientId":17,"number":"001732","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1785,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":16,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUAN","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CIENEGUILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:43.058053] [debug] Aprobación de Factura - -[2025-03-31 16:01:43.058142] [debug] {"uuid":"61c24f72-20cb-4bb3-99ab-32c51b9db873","changeType":"draft_approved","entity":"invoice","entityId":1782,"message":null,"clientId":17,"eventName":"invoice.draft_approved","clientData":{"id":17,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"CIENEGUILLA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"CIENEGUILLA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JUAN","lastName":"LOPEZ","username":"jlopez17","contacts":[{"id":18,"clientId":17,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5090,"accountCredit":0,"accountOutstanding":5090,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.0749852,"addressGpsLon":-100.937613,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1782,"clientId":17,"number":"001732","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1785,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":16,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUAN","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CIENEGUILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:43.985800] [notice] Logging level set to:debug -[2025-03-31 16:01:44.139081] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:44.139146] [debug] Valor de JSON: {"uuid":"21246d9c-ead1-4a34-9c0f-d931b71c9987","changeType":"insert","entity":"invoice","entityId":"1783","eventName":"invoice.add_draft","extraData":{"entity":{"id":1783,"clientId":75,"number":"001733","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1786,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":74,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAUL","clientLastName":"AYALA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:44.139250] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:44.139298] [debug] {"uuid":"21246d9c-ead1-4a34-9c0f-d931b71c9987","changeType":"insert","entity":"invoice","entityId":1783,"message":null,"clientId":75,"eventName":"invoice.add_draft","clientData":{"id":75,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"RAUL","lastName":"AYALA","username":"rayala75","contacts":[{"id":76,"clientId":75,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.2516667,"addressGpsLon":-101.0924998,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1783,"clientId":75,"number":"001733","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1786,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":74,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAUL","clientLastName":"AYALA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:44.252098] [notice] Logging level set to:debug -[2025-03-31 16:01:44.392486] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:44.392677] [debug] Valor de JSON: {"uuid":"ccd45bbd-34d1-4c6e-9e0e-64b9a16dfb1e","changeType":"draft_approved","entity":"invoice","entityId":"1783","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1783,"clientId":75,"number":"001733","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1786,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":74,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAUL","clientLastName":"AYALA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:44.392836] [debug] Aprobación de Factura - -[2025-03-31 16:01:44.392915] [debug] {"uuid":"ccd45bbd-34d1-4c6e-9e0e-64b9a16dfb1e","changeType":"draft_approved","entity":"invoice","entityId":1783,"message":null,"clientId":75,"eventName":"invoice.draft_approved","clientData":{"id":75,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"RAUL","lastName":"AYALA","username":"rayala75","contacts":[{"id":76,"clientId":75,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.2516667,"addressGpsLon":-101.0924998,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1783,"clientId":75,"number":"001733","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1786,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":74,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAUL","clientLastName":"AYALA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:45.396485] [notice] Logging level set to:debug -[2025-03-31 16:01:45.542022] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:45.542174] [debug] Valor de JSON: {"uuid":"47e4e9ae-c4dc-4f2b-9b7f-ea0f34a8a726","changeType":"insert","entity":"invoice","entityId":"1784","eventName":"invoice.add_draft","extraData":{"entity":{"id":1784,"clientId":10,"number":"001734","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1787,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":10,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CARLOS","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:45.542308] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:45.542397] [debug] {"uuid":"47e4e9ae-c4dc-4f2b-9b7f-ea0f34a8a726","changeType":"insert","entity":"invoice","entityId":1784,"message":null,"clientId":10,"eventName":"invoice.add_draft","clientData":{"id":10,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"CARLOS","lastName":"MESA","username":"cmesa10","contacts":[{"id":11,"clientId":10,"email":null,"phone":"4425476911","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1001,"name":"WhatsApptmp"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"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":1784,"clientId":10,"number":"001734","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1787,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":10,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CARLOS","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:45.655728] [notice] Logging level set to:debug -[2025-03-31 16:01:45.805802] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:45.805943] [debug] Valor de JSON: {"uuid":"ce06e142-187a-4cdd-b8d9-4731f9a014c1","changeType":"draft_approved","entity":"invoice","entityId":"1784","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1784,"clientId":10,"number":"001734","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1787,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":10,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CARLOS","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:45.806077] [debug] Aprobación de Factura - -[2025-03-31 16:01:45.806154] [debug] {"uuid":"ce06e142-187a-4cdd-b8d9-4731f9a014c1","changeType":"draft_approved","entity":"invoice","entityId":1784,"message":null,"clientId":10,"eventName":"invoice.draft_approved","clientData":{"id":10,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"CARLOS","lastName":"MESA","username":"cmesa10","contacts":[{"id":11,"clientId":10,"email":null,"phone":"4425476911","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1001,"name":"WhatsApptmp"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"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":1784,"clientId":10,"number":"001734","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1787,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":10,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CARLOS","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:46.717917] [notice] Logging level set to:debug -[2025-03-31 16:01:46.850851] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:46.851003] [debug] Valor de JSON: {"uuid":"1b0bede0-e421-4fd1-9fd7-fd759413d0f4","changeType":"insert","entity":"invoice","entityId":"1785","eventName":"invoice.add_draft","extraData":{"entity":{"id":1785,"clientId":5,"number":"001735","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1788,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":5,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MUCIO","clientLastName":"ROBLEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CORREGIDORA #61, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:46.851121] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:46.851197] [debug] {"uuid":"1b0bede0-e421-4fd1-9fd7-fd759413d0f4","changeType":"insert","entity":"invoice","entityId":1785,"message":null,"clientId":5,"eventName":"invoice.add_draft","clientData":{"id":5,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"CORREGIDORA #61, ZONA CENTRO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"CORREGIDORA #61, ZONA CENTRO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MUCIO","lastName":"ROBLEDO","username":"mrobledo05","contacts":[{"id":6,"clientId":5,"email":null,"phone":"5214181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-11533.33,"accountCredit":0,"accountOutstanding":11533.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.158357169062,"addressGpsLon":-100.93191261001,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1785,"clientId":5,"number":"001735","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1788,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":5,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MUCIO","clientLastName":"ROBLEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CORREGIDORA #61, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:46.851265] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-31 16:01:46.851303] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"1b0bede0-e421-4fd1-9fd7-fd759413d0f4","changeType":"insert","entity":"invoice","entityId":1785,"message":null,"clientId":5,"eventName":"invoice.add_draft","clientData":{"id":5,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"CORREGIDORA #61, ZONA CENTRO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"CORREGIDORA #61, ZONA CENTRO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MUCIO","lastName":"ROBLEDO","username":"mrobledo05","contacts":[{"id":6,"clientId":5,"email":null,"phone":"5214181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-11533.33,"accountCredit":0,"accountOutstanding":11533.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.158357169062,"addressGpsLon":-100.93191261001,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1785,"clientId":5,"number":"001735","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1788,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":5,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MUCIO","clientLastName":"ROBLEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CORREGIDORA #61, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: MUCIO ROBLEDO - -UUID: 92dd9fb15b8f4ff6860f8a32ea9bd7e4 - -JSON con los datos a actualizar: {"name":"MUCIO ROBLEDO","custom_fields":{"Cliente":5,"Domicilio":"\ud83d\udccd CORREGIDORA #61, ZONA CENTRO, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 MUCIO ROBLEDO","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/5","Saldo Actual":"\ud83d\udcb211533.33 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"5\",\"Domicilio\": \"\"Nombre\": \"MUCIO ROBLEDO\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/5\",\"Saldo Actual\": \"\ud83d\udcb211533.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 31\/03\/2025 16:01 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"31\/03\/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 31\/03\/2025 16:01 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 31\/03\/2025 10:01","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "5","Domicilio": ""Nombre": "MUCIO ROBLEDO","URL": "https://sistema.siip.mx/crm/client/5","Saldo Actual": "💲11533.33 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 31/03/2025 16:01 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "31/03/2025 10:01","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"MUCIO ROBLEDO","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2024-07-11T22:49:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 31/03/2025 16:01 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 31/03/2025 10:01","Nombre":"👤 MUCIO ROBLEDO","URL":"🌐 https://sistema.siip.mx/crm/client/5","Antena/Sectorial":"Sec3-Sb 172.16.55.13/24","Site":"SBARB","Cliente":"5","Domicilio":"📍 CORREGIDORA #61, ZONA CENTRO, Dolores Hidalgo, 37800","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"5\",\"Domicilio\": \"\"Nombre\": \"MUCIO ROBLEDO\",\"URL\": \"https://sistema.siip.mx/crm/client/5\",\"Saldo Actual\": \"💲11533.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 31/03/2025 16:01 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"31/03/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Saldo Actual":"💲11533.33 pendientes"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"MUCIO ROBLEDO","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2024-07-11T22:49:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 31/03/2025 16:01 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 31/03/2025 10:01","Nombre":"👤 MUCIO ROBLEDO","URL":"🌐 https://sistema.siip.mx/crm/client/5","Antena/Sectorial":"Sec3-Sb 172.16.55.13/24","Site":"SBARB","Cliente":"5","Domicilio":"📍 CORREGIDORA #61, ZONA CENTRO, Dolores Hidalgo, 37800","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"5\",\"Domicilio\": \"\"Nombre\": \"MUCIO ROBLEDO\",\"URL\": \"https://sistema.siip.mx/crm/client/5\",\"Saldo Actual\": \"💲11533.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 31/03/2025 16:01 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"31/03/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Saldo Actual":"💲11533.33 pendientes"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-31 16:01:48.930805] [notice] Logging level set to:debug -[2025-03-31 16:01:49.099062] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:49.099220] [debug] Valor de JSON: {"uuid":"adfa02d5-eb5c-4732-8183-46f14bbfa26b","changeType":"draft_approved","entity":"invoice","entityId":"1785","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1785,"clientId":5,"number":"001735","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1788,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":5,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MUCIO","clientLastName":"ROBLEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CORREGIDORA #61, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:49.102047] [debug] Aprobación de Factura - -[2025-03-31 16:01:49.102195] [debug] {"uuid":"adfa02d5-eb5c-4732-8183-46f14bbfa26b","changeType":"draft_approved","entity":"invoice","entityId":1785,"message":null,"clientId":5,"eventName":"invoice.draft_approved","clientData":{"id":5,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"CORREGIDORA #61, ZONA CENTRO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"CORREGIDORA #61, ZONA CENTRO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MUCIO","lastName":"ROBLEDO","username":"mrobledo05","contacts":[{"id":6,"clientId":5,"email":null,"phone":"5214181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-11533.33,"accountCredit":0,"accountOutstanding":11533.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.158357169062,"addressGpsLon":-100.93191261001,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1785,"clientId":5,"number":"001735","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1788,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":5,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MUCIO","clientLastName":"ROBLEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CORREGIDORA #61, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:49.102279] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-31 16:01:49.102320] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"adfa02d5-eb5c-4732-8183-46f14bbfa26b","changeType":"draft_approved","entity":"invoice","entityId":1785,"message":null,"clientId":5,"eventName":"invoice.draft_approved","clientData":{"id":5,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"CORREGIDORA #61, ZONA CENTRO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"CORREGIDORA #61, ZONA CENTRO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MUCIO","lastName":"ROBLEDO","username":"mrobledo05","contacts":[{"id":6,"clientId":5,"email":null,"phone":"5214181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-11533.33,"accountCredit":0,"accountOutstanding":11533.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.158357169062,"addressGpsLon":-100.93191261001,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1785,"clientId":5,"number":"001735","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1788,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":5,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MUCIO","clientLastName":"ROBLEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CORREGIDORA #61, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: MUCIO ROBLEDO - -UUID: 92dd9fb15b8f4ff6860f8a32ea9bd7e4 - -JSON con los datos a actualizar: {"name":"MUCIO ROBLEDO","custom_fields":{"Cliente":5,"Domicilio":"\ud83d\udccd CORREGIDORA #61, ZONA CENTRO, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 MUCIO ROBLEDO","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/5","Saldo Actual":"\ud83d\udcb211533.33 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"5\",\"Domicilio\": \"\"Nombre\": \"MUCIO ROBLEDO\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/5\",\"Saldo Actual\": \"\ud83d\udcb211533.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 31\/03\/2025 16:01 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"31\/03\/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 31\/03\/2025 16:01 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 31\/03\/2025 10:01","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "5","Domicilio": ""Nombre": "MUCIO ROBLEDO","URL": "https://sistema.siip.mx/crm/client/5","Saldo Actual": "💲11533.33 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 31/03/2025 16:01 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "31/03/2025 10:01","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"MUCIO ROBLEDO","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2024-07-11T22:49:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 31/03/2025 16:01 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 31/03/2025 10:01","Nombre":"👤 MUCIO ROBLEDO","URL":"🌐 https://sistema.siip.mx/crm/client/5","Antena/Sectorial":"Sec3-Sb 172.16.55.13/24","Site":"SBARB","Cliente":"5","Domicilio":"📍 CORREGIDORA #61, ZONA CENTRO, Dolores Hidalgo, 37800","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"5\",\"Domicilio\": \"\"Nombre\": \"MUCIO ROBLEDO\",\"URL\": \"https://sistema.siip.mx/crm/client/5\",\"Saldo Actual\": \"💲11533.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 31/03/2025 16:01 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"31/03/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Saldo Actual":"💲11533.33 pendientes"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"MUCIO ROBLEDO","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2024-07-11T22:49:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 31/03/2025 16:01 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 31/03/2025 10:01","Nombre":"👤 MUCIO ROBLEDO","URL":"🌐 https://sistema.siip.mx/crm/client/5","Antena/Sectorial":"Sec3-Sb 172.16.55.13/24","Site":"SBARB","Cliente":"5","Domicilio":"📍 CORREGIDORA #61, ZONA CENTRO, Dolores Hidalgo, 37800","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"5\",\"Domicilio\": \"\"Nombre\": \"MUCIO ROBLEDO\",\"URL\": \"https://sistema.siip.mx/crm/client/5\",\"Saldo Actual\": \"💲11533.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 31/03/2025 16:01 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"31/03/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Saldo Actual":"💲11533.33 pendientes"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-31 16:01:51.025573] [notice] Logging level set to:debug -[2025-03-31 16:01:51.168524] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:51.168615] [debug] Valor de JSON: {"uuid":"d06a44f6-5936-438b-85c0-79cffcf9b365","changeType":"insert","entity":"invoice","entityId":"1786","eventName":"invoice.add_draft","extraData":{"entity":{"id":1786,"clientId":20,"number":"001736","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1789,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":19,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEFANIA","clientLastName":"BUENROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN PABLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:51.168725] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:51.168771] [debug] {"uuid":"d06a44f6-5936-438b-85c0-79cffcf9b365","changeType":"insert","entity":"invoice","entityId":1786,"message":null,"clientId":20,"eventName":"invoice.add_draft","clientData":{"id":20,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN PABLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN PABLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ESTEFANIA","lastName":"BUENROSTRO","username":"ebuenrostro20","contacts":[{"id":21,"clientId":20,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4180,"accountCredit":0,"accountOutstanding":4180,"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":1786,"clientId":20,"number":"001736","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1789,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":19,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEFANIA","clientLastName":"BUENROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN PABLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:51.284385] [notice] Logging level set to:debug -[2025-03-31 16:01:51.424072] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:51.424217] [debug] Valor de JSON: {"uuid":"ec742d2b-c62d-4c3e-8ba2-5bcb927e1bef","changeType":"draft_approved","entity":"invoice","entityId":"1786","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1786,"clientId":20,"number":"001736","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1789,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":19,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEFANIA","clientLastName":"BUENROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN PABLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:51.425116] [debug] Aprobación de Factura - -[2025-03-31 16:01:51.425247] [debug] {"uuid":"ec742d2b-c62d-4c3e-8ba2-5bcb927e1bef","changeType":"draft_approved","entity":"invoice","entityId":1786,"message":null,"clientId":20,"eventName":"invoice.draft_approved","clientData":{"id":20,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN PABLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN PABLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ESTEFANIA","lastName":"BUENROSTRO","username":"ebuenrostro20","contacts":[{"id":21,"clientId":20,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4180,"accountCredit":0,"accountOutstanding":4180,"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":1786,"clientId":20,"number":"001736","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1789,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":19,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEFANIA","clientLastName":"BUENROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN PABLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:51.536638] [notice] Logging level set to:debug -[2025-03-31 16:01:51.670413] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:51.670469] [debug] Valor de JSON: {"uuid":"42e2f8f3-ee2c-44f0-96ba-de4acea47223","changeType":"insert","entity":"invoice","entityId":"1787","eventName":"invoice.add_draft","extraData":{"entity":{"id":1787,"clientId":23,"number":"001737","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1790,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":22,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSCAR","clientLastName":"GUERRERO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TABASCO #45, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:51.670561] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:51.670604] [debug] {"uuid":"42e2f8f3-ee2c-44f0-96ba-de4acea47223","changeType":"insert","entity":"invoice","entityId":1787,"message":null,"clientId":23,"eventName":"invoice.add_draft","clientData":{"id":23,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TABASCO #45, ZONA CENTRO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TABASCO #45, ZONA CENTRO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OSCAR","lastName":"GUERRERO","username":"oguerrero23","contacts":[{"id":24,"clientId":23,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#283593","addressGpsLat":21.1550814,"addressGpsLon":-100.9341575,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1787,"clientId":23,"number":"001737","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1790,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":22,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSCAR","clientLastName":"GUERRERO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TABASCO #45, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:51.785804] [notice] Logging level set to:debug -[2025-03-31 16:01:51.925736] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:51.925931] [debug] Valor de JSON: {"uuid":"fbc586f3-750b-4e49-92b7-ddb0eb0f2ddc","changeType":"draft_approved","entity":"invoice","entityId":"1787","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1787,"clientId":23,"number":"001737","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1790,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":22,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSCAR","clientLastName":"GUERRERO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TABASCO #45, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:51.926081] [debug] Aprobación de Factura - -[2025-03-31 16:01:51.926162] [debug] {"uuid":"fbc586f3-750b-4e49-92b7-ddb0eb0f2ddc","changeType":"draft_approved","entity":"invoice","entityId":1787,"message":null,"clientId":23,"eventName":"invoice.draft_approved","clientData":{"id":23,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TABASCO #45, ZONA CENTRO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TABASCO #45, ZONA CENTRO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OSCAR","lastName":"GUERRERO","username":"oguerrero23","contacts":[{"id":24,"clientId":23,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#283593","addressGpsLat":21.1550814,"addressGpsLon":-100.9341575,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1787,"clientId":23,"number":"001737","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1790,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":22,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSCAR","clientLastName":"GUERRERO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TABASCO #45, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:52.192234] [notice] Logging level set to:debug -[2025-03-31 16:01:52.320936] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:52.321108] [debug] Valor de JSON: {"uuid":"548a7da1-3e73-4fe9-92c4-8bdf5fb2287d","changeType":"insert","entity":"invoice","entityId":"1788","eventName":"invoice.add_draft","extraData":{"entity":{"id":1788,"clientId":43,"number":"001738","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1791,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":42,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"VICTORIO","clientLastName":"DIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:52.321252] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:52.321335] [debug] {"uuid":"548a7da1-3e73-4fe9-92c4-8bdf5fb2287d","changeType":"insert","entity":"invoice","entityId":1788,"message":null,"clientId":43,"eventName":"invoice.add_draft","clientData":{"id":43,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LAS FLORES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LAS FLORES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"VICTORIO","lastName":"DIAS","username":"vdias43","contacts":[{"id":44,"clientId":43,"email":null,"phone":"4181818706","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-9823.33,"accountCredit":0,"accountOutstanding":9823.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":1788,"clientId":43,"number":"001738","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1791,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":42,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"VICTORIO","clientLastName":"DIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:52.435657] [notice] Logging level set to:debug -[2025-03-31 16:01:52.573153] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:52.573410] [debug] Valor de JSON: {"uuid":"7628ec88-2658-4563-a0ec-3ff8b2987bff","changeType":"draft_approved","entity":"invoice","entityId":"1788","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1788,"clientId":43,"number":"001738","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1791,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":42,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"VICTORIO","clientLastName":"DIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:52.573564] [debug] Aprobación de Factura - -[2025-03-31 16:01:52.573643] [debug] {"uuid":"7628ec88-2658-4563-a0ec-3ff8b2987bff","changeType":"draft_approved","entity":"invoice","entityId":1788,"message":null,"clientId":43,"eventName":"invoice.draft_approved","clientData":{"id":43,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LAS FLORES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LAS FLORES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"VICTORIO","lastName":"DIAS","username":"vdias43","contacts":[{"id":44,"clientId":43,"email":null,"phone":"4181818706","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-9823.33,"accountCredit":0,"accountOutstanding":9823.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":1788,"clientId":43,"number":"001738","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1791,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":42,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"VICTORIO","clientLastName":"DIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:53.487358] [notice] Logging level set to:debug -[2025-03-31 16:01:53.623250] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:53.623323] [debug] Valor de JSON: {"uuid":"9285be87-5ff6-4fa7-b8a8-ae581fd6795e","changeType":"insert","entity":"invoice","entityId":"1789","eventName":"invoice.add_draft","extraData":{"entity":{"id":1789,"clientId":34,"number":"001739","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1792,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":33,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NORMA","clientLastName":"ALMAGUER","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSALITO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:53.623420] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:53.623466] [debug] {"uuid":"9285be87-5ff6-4fa7-b8a8-ae581fd6795e","changeType":"insert","entity":"invoice","entityId":1789,"message":null,"clientId":34,"eventName":"invoice.add_draft","clientData":{"id":34,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL ROSALITO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL ROSALITO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"NORMA","lastName":"ALMAGUER","username":"nalmaguer34","contacts":[{"id":35,"clientId":34,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4810,"accountCredit":0,"accountOutstanding":4810,"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":1789,"clientId":34,"number":"001739","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1792,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":33,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NORMA","clientLastName":"ALMAGUER","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSALITO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:53.732207] [notice] Logging level set to:debug -[2025-03-31 16:01:53.871089] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:53.871264] [debug] Valor de JSON: {"uuid":"4be88672-9b40-4baf-978d-bb3f58e461e8","changeType":"draft_approved","entity":"invoice","entityId":"1789","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1789,"clientId":34,"number":"001739","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1792,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":33,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NORMA","clientLastName":"ALMAGUER","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSALITO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:53.871391] [debug] Aprobación de Factura - -[2025-03-31 16:01:53.871468] [debug] {"uuid":"4be88672-9b40-4baf-978d-bb3f58e461e8","changeType":"draft_approved","entity":"invoice","entityId":1789,"message":null,"clientId":34,"eventName":"invoice.draft_approved","clientData":{"id":34,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL ROSALITO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL ROSALITO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"NORMA","lastName":"ALMAGUER","username":"nalmaguer34","contacts":[{"id":35,"clientId":34,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4810,"accountCredit":0,"accountOutstanding":4810,"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":1789,"clientId":34,"number":"001739","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1792,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":33,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NORMA","clientLastName":"ALMAGUER","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSALITO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:54.790625] [notice] Logging level set to:debug -[2025-03-31 16:01:54.926749] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:54.926976] [debug] Valor de JSON: {"uuid":"35f7e518-5563-4c9b-acd7-e7923e375eb6","changeType":"insert","entity":"invoice","entityId":"1790","eventName":"invoice.add_draft","extraData":{"entity":{"id":1790,"clientId":42,"number":"001740","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1793,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":41,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORENA","clientLastName":"MARTINEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:54.927160] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:54.927253] [debug] {"uuid":"35f7e518-5563-4c9b-acd7-e7923e375eb6","changeType":"insert","entity":"invoice","entityId":1790,"message":null,"clientId":42,"eventName":"invoice.add_draft","clientData":{"id":42,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"LORENA","lastName":"MARTINEZ","username":"lmartinez42","contacts":[{"id":43,"clientId":42,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4510,"accountCredit":0,"accountOutstanding":4510,"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":1790,"clientId":42,"number":"001740","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1793,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":41,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORENA","clientLastName":"MARTINEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:55.043534] [notice] Logging level set to:debug -[2025-03-31 16:01:55.173942] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:55.174127] [debug] Valor de JSON: {"uuid":"2af80bbb-09b2-4652-8dcf-c70c293bcae6","changeType":"draft_approved","entity":"invoice","entityId":"1790","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1790,"clientId":42,"number":"001740","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1793,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":41,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORENA","clientLastName":"MARTINEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:55.174350] [debug] Aprobación de Factura - -[2025-03-31 16:01:55.174473] [debug] {"uuid":"2af80bbb-09b2-4652-8dcf-c70c293bcae6","changeType":"draft_approved","entity":"invoice","entityId":1790,"message":null,"clientId":42,"eventName":"invoice.draft_approved","clientData":{"id":42,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"LORENA","lastName":"MARTINEZ","username":"lmartinez42","contacts":[{"id":43,"clientId":42,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4510,"accountCredit":0,"accountOutstanding":4510,"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":1790,"clientId":42,"number":"001740","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1793,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":41,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORENA","clientLastName":"MARTINEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:56.074712] [notice] Logging level set to:debug -[2025-03-31 16:01:56.217734] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:56.217808] [debug] Valor de JSON: {"uuid":"854fb58d-3611-461a-9863-cdcbab9002aa","changeType":"insert","entity":"invoice","entityId":"1791","eventName":"invoice.add_draft","extraData":{"entity":{"id":1791,"clientId":29,"number":"001741","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1794,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":28,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTELA","clientLastName":"ORTIZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EJIDO DOLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:56.217926] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:56.217988] [debug] {"uuid":"854fb58d-3611-461a-9863-cdcbab9002aa","changeType":"insert","entity":"invoice","entityId":1791,"message":null,"clientId":29,"eventName":"invoice.add_draft","clientData":{"id":29,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EJIDO DOLORES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EJIDO DOLORES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ESTELA","lastName":"ORTIZ","username":"eortiz29","contacts":[{"id":30,"clientId":29,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7316.67,"accountCredit":0,"accountOutstanding":7316.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1791,"clientId":29,"number":"001741","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1794,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":28,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTELA","clientLastName":"ORTIZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EJIDO DOLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:56.331677] [notice] Logging level set to:debug -[2025-03-31 16:01:56.472404] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:56.472474] [debug] Valor de JSON: {"uuid":"3a04092b-07d8-44b2-9256-c3d409c50aab","changeType":"draft_approved","entity":"invoice","entityId":"1791","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1791,"clientId":29,"number":"001741","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1794,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":28,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTELA","clientLastName":"ORTIZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EJIDO DOLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:56.472567] [debug] Aprobación de Factura - -[2025-03-31 16:01:56.472613] [debug] {"uuid":"3a04092b-07d8-44b2-9256-c3d409c50aab","changeType":"draft_approved","entity":"invoice","entityId":1791,"message":null,"clientId":29,"eventName":"invoice.draft_approved","clientData":{"id":29,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EJIDO DOLORES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EJIDO DOLORES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ESTELA","lastName":"ORTIZ","username":"eortiz29","contacts":[{"id":30,"clientId":29,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7316.67,"accountCredit":0,"accountOutstanding":7316.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1791,"clientId":29,"number":"001741","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1794,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":28,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTELA","clientLastName":"ORTIZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EJIDO DOLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:57.479671] [notice] Logging level set to:debug -[2025-03-31 16:01:57.618702] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:57.618851] [debug] Valor de JSON: {"uuid":"71850af1-61bd-439b-966b-16ab7a05860f","changeType":"insert","entity":"invoice","entityId":"1792","eventName":"invoice.add_draft","extraData":{"entity":{"id":1792,"clientId":35,"number":"001742","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1795,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":34,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GABRIELA","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CANTERA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:57.619105] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:57.619190] [debug] {"uuid":"71850af1-61bd-439b-966b-16ab7a05860f","changeType":"insert","entity":"invoice","entityId":1792,"message":null,"clientId":35,"eventName":"invoice.add_draft","clientData":{"id":35,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA CANTERA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA CANTERA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"GABRIELA","lastName":"SUASTE","username":"gsuaste35","contacts":[{"id":36,"clientId":35,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1792,"clientId":35,"number":"001742","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1795,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":34,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GABRIELA","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CANTERA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:57.789196] [notice] Logging level set to:debug -[2025-03-31 16:01:57.960304] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:57.960449] [debug] Valor de JSON: {"uuid":"db61cdac-f046-41da-a923-fc51c514c42e","changeType":"draft_approved","entity":"invoice","entityId":"1792","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1792,"clientId":35,"number":"001742","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1795,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":34,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GABRIELA","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CANTERA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:57.960608] [debug] Aprobación de Factura - -[2025-03-31 16:01:57.960699] [debug] {"uuid":"db61cdac-f046-41da-a923-fc51c514c42e","changeType":"draft_approved","entity":"invoice","entityId":1792,"message":null,"clientId":35,"eventName":"invoice.draft_approved","clientData":{"id":35,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA CANTERA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA CANTERA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"GABRIELA","lastName":"SUASTE","username":"gsuaste35","contacts":[{"id":36,"clientId":35,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1792,"clientId":35,"number":"001742","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1795,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":34,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GABRIELA","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CANTERA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:58.711385] [notice] Logging level set to:debug -[2025-03-31 16:01:58.846417] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:01:58.846566] [debug] Valor de JSON: {"uuid":"45d356f0-8848-4c27-a09e-75e99a62c899","changeType":"insert","entity":"invoice","entityId":"1793","eventName":"invoice.add_draft","extraData":{"entity":{"id":1793,"clientId":11,"number":"001743","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1796,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":11,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"KARIME","clientLastName":"QUINTERO HERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:58.846693] [debug] Adición de borrador de Factura - -[2025-03-31 16:01:58.846774] [debug] {"uuid":"45d356f0-8848-4c27-a09e-75e99a62c899","changeType":"insert","entity":"invoice","entityId":1793,"message":null,"clientId":11,"eventName":"invoice.add_draft","clientData":{"id":11,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TRANCAS","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TRANCAS, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"KARIME","lastName":"QUINTERO HERNANDEZ","username":"kquintero11","contacts":[{"id":12,"clientId":11,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3300,"accountCredit":0,"accountOutstanding":3300,"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":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1793,"clientId":11,"number":"001743","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1796,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":11,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"KARIME","clientLastName":"QUINTERO HERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:01:58.955256] [notice] Logging level set to:debug -[2025-03-31 16:01:59.087826] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:01:59.087898] [debug] Valor de JSON: {"uuid":"69ea3a24-4246-4f6c-92ae-bacfda430933","changeType":"draft_approved","entity":"invoice","entityId":"1793","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1793,"clientId":11,"number":"001743","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1796,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":11,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"KARIME","clientLastName":"QUINTERO HERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:01:59.088005] [debug] Aprobación de Factura - -[2025-03-31 16:01:59.088051] [debug] {"uuid":"69ea3a24-4246-4f6c-92ae-bacfda430933","changeType":"draft_approved","entity":"invoice","entityId":1793,"message":null,"clientId":11,"eventName":"invoice.draft_approved","clientData":{"id":11,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TRANCAS","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TRANCAS, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"KARIME","lastName":"QUINTERO HERNANDEZ","username":"kquintero11","contacts":[{"id":12,"clientId":11,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3300,"accountCredit":0,"accountOutstanding":3300,"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":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1793,"clientId":11,"number":"001743","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1796,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":11,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"KARIME","clientLastName":"QUINTERO HERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:02:00.023231] [notice] Logging level set to:debug -[2025-03-31 16:02:00.174175] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:02:00.174242] [debug] Valor de JSON: {"uuid":"8c8e1115-9719-4c1b-927e-c7e7e66738f4","changeType":"insert","entity":"invoice","entityId":"1794","eventName":"invoice.add_draft","extraData":{"entity":{"id":1794,"clientId":72,"number":"001744","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1797,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":71,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BRANDOM","clientLastName":"EZQUIVEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:02:00.174356] [debug] Adición de borrador de Factura - -[2025-03-31 16:02:00.174402] [debug] {"uuid":"8c8e1115-9719-4c1b-927e-c7e7e66738f4","changeType":"insert","entity":"invoice","entityId":1794,"message":null,"clientId":72,"eventName":"invoice.add_draft","clientData":{"id":72,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"MONTELONGO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"MONTELONGO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"BRANDOM","lastName":"EZQUIVEL","username":"bezquivel72","contacts":[{"id":73,"clientId":72,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1794,"clientId":72,"number":"001744","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1797,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":71,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BRANDOM","clientLastName":"EZQUIVEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:02:00.286485] [notice] Logging level set to:debug -[2025-03-31 16:02:00.433517] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:02:00.433582] [debug] Valor de JSON: {"uuid":"d50f0869-83d1-4f5e-8b1f-bf051aef2b4a","changeType":"draft_approved","entity":"invoice","entityId":"1794","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1794,"clientId":72,"number":"001744","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1797,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":71,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BRANDOM","clientLastName":"EZQUIVEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:02:00.433685] [debug] Aprobación de Factura - -[2025-03-31 16:02:00.433732] [debug] {"uuid":"d50f0869-83d1-4f5e-8b1f-bf051aef2b4a","changeType":"draft_approved","entity":"invoice","entityId":1794,"message":null,"clientId":72,"eventName":"invoice.draft_approved","clientData":{"id":72,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"MONTELONGO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"MONTELONGO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"BRANDOM","lastName":"EZQUIVEL","username":"bezquivel72","contacts":[{"id":73,"clientId":72,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1794,"clientId":72,"number":"001744","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1797,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":71,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BRANDOM","clientLastName":"EZQUIVEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:02:01.882867] [notice] Logging level set to:debug -[2025-03-31 16:02:02.011466] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:02:02.011534] [debug] Valor de JSON: {"uuid":"7ed16d57-e187-420e-ba56-62881b3a5561","changeType":"insert","entity":"invoice","entityId":"1795","eventName":"invoice.add_draft","extraData":{"entity":{"id":1795,"clientId":52,"number":"001745","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1798,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":51,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RODRIGO","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL CARMEN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:02:02.011646] [debug] Adición de borrador de Factura - -[2025-03-31 16:02:02.011699] [debug] {"uuid":"7ed16d57-e187-420e-ba56-62881b3a5561","changeType":"insert","entity":"invoice","entityId":1795,"message":null,"clientId":52,"eventName":"invoice.add_draft","clientData":{"id":52,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL CARMEN","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":null,"fullAddress":"EL CARMEN, Dolores Hidalgo Cuna de la Independencia Nacional","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"RODRIGO","lastName":"PE\u00d1A","username":"rpe\u00d1a52","contacts":[{"id":53,"clientId":52,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1795,"clientId":52,"number":"001745","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1798,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":51,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RODRIGO","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL CARMEN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:02:02.129234] [notice] Logging level set to:debug -[2025-03-31 16:02:02.274090] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:02:02.274147] [debug] Valor de JSON: {"uuid":"35a1c1e9-287d-417d-93bc-8391e380cdae","changeType":"draft_approved","entity":"invoice","entityId":"1795","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1795,"clientId":52,"number":"001745","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1798,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":51,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RODRIGO","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL CARMEN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:02:02.274244] [debug] Aprobación de Factura - -[2025-03-31 16:02:02.274291] [debug] {"uuid":"35a1c1e9-287d-417d-93bc-8391e380cdae","changeType":"draft_approved","entity":"invoice","entityId":1795,"message":null,"clientId":52,"eventName":"invoice.draft_approved","clientData":{"id":52,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL CARMEN","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":null,"fullAddress":"EL CARMEN, Dolores Hidalgo Cuna de la Independencia Nacional","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"RODRIGO","lastName":"PE\u00d1A","username":"rpe\u00d1a52","contacts":[{"id":53,"clientId":52,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1795,"clientId":52,"number":"001745","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1798,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":51,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RODRIGO","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL CARMEN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:02:03.215509] [notice] Logging level set to:debug -[2025-03-31 16:02:03.359307] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:02:03.359368] [debug] Valor de JSON: {"uuid":"7dc599d5-5797-4785-82c1-4181e7279ce9","changeType":"insert","entity":"invoice","entityId":"1796","eventName":"invoice.add_draft","extraData":{"entity":{"id":1796,"clientId":27,"number":"001746","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1799,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":26,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXIS","clientLastName":"DIAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA RITA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:02:03.359497] [debug] Adición de borrador de Factura - -[2025-03-31 16:02:03.359545] [debug] {"uuid":"7dc599d5-5797-4785-82c1-4181e7279ce9","changeType":"insert","entity":"invoice","entityId":1796,"message":null,"clientId":27,"eventName":"invoice.add_draft","clientData":{"id":27,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA RITA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA RITA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALEXIS","lastName":"DIAZ","username":"adiaz27","contacts":[{"id":28,"clientId":27,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4210,"accountCredit":0,"accountOutstanding":4210,"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":1796,"clientId":27,"number":"001746","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1799,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":26,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXIS","clientLastName":"DIAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA RITA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:02:03.469738] [notice] Logging level set to:debug -[2025-03-31 16:02:03.615855] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:02:03.616027] [debug] Valor de JSON: {"uuid":"6a3c486b-9f7a-4fbf-9a59-506e2410dca8","changeType":"draft_approved","entity":"invoice","entityId":"1796","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1796,"clientId":27,"number":"001746","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1799,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":26,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXIS","clientLastName":"DIAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA RITA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:02:03.616159] [debug] Aprobación de Factura - -[2025-03-31 16:02:03.616364] [debug] {"uuid":"6a3c486b-9f7a-4fbf-9a59-506e2410dca8","changeType":"draft_approved","entity":"invoice","entityId":1796,"message":null,"clientId":27,"eventName":"invoice.draft_approved","clientData":{"id":27,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA RITA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA RITA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALEXIS","lastName":"DIAZ","username":"adiaz27","contacts":[{"id":28,"clientId":27,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4210,"accountCredit":0,"accountOutstanding":4210,"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":1796,"clientId":27,"number":"001746","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1799,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":26,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXIS","clientLastName":"DIAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA RITA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:02:04.553848] [notice] Logging level set to:debug -[2025-03-31 16:02:04.696422] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:02:04.696590] [debug] Valor de JSON: {"uuid":"f7e14ffc-97f2-4d61-985a-f606a7428438","changeType":"insert","entity":"invoice","entityId":"1797","eventName":"invoice.add_draft","extraData":{"entity":{"id":1797,"clientId":102,"number":"001747","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1800,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":101,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"XX","clientLastName":"XX","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:02:04.696727] [debug] Adición de borrador de Factura - -[2025-03-31 16:02:04.696804] [debug] {"uuid":"f7e14ffc-97f2-4d61-985a-f606a7428438","changeType":"insert","entity":"invoice","entityId":1797,"message":null,"clientId":102,"eventName":"invoice.add_draft","clientData":{"id":102,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"YERBAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"YERBAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"XX","lastName":"XX","username":"xxx02","contacts":[{"id":103,"clientId":102,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1797,"clientId":102,"number":"001747","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1800,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":101,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"XX","clientLastName":"XX","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:02:04.813770] [notice] Logging level set to:debug -[2025-03-31 16:02:04.958384] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:02:04.958565] [debug] Valor de JSON: {"uuid":"936e69cc-1ae9-41b9-ab93-089a104c7207","changeType":"draft_approved","entity":"invoice","entityId":"1797","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1797,"clientId":102,"number":"001747","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1800,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":101,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"XX","clientLastName":"XX","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:02:04.958694] [debug] Aprobación de Factura - -[2025-03-31 16:02:04.958772] [debug] {"uuid":"936e69cc-1ae9-41b9-ab93-089a104c7207","changeType":"draft_approved","entity":"invoice","entityId":1797,"message":null,"clientId":102,"eventName":"invoice.draft_approved","clientData":{"id":102,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"YERBAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"YERBAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"XX","lastName":"XX","username":"xxx02","contacts":[{"id":103,"clientId":102,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1797,"clientId":102,"number":"001747","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1800,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":101,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"XX","clientLastName":"XX","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:02:05.870172] [notice] Logging level set to:debug -[2025-03-31 16:02:06.000150] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:02:06.000335] [debug] Valor de JSON: {"uuid":"27daeff3-4554-4774-b44d-8794e5df5c1f","changeType":"insert","entity":"invoice","entityId":"1798","eventName":"invoice.add_draft","extraData":{"entity":{"id":1798,"clientId":101,"number":"001748","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1801,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":100,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OCTAVIO","clientLastName":"VIDAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ESTA\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:02:06.000473] [debug] Adición de borrador de Factura - -[2025-03-31 16:02:06.000559] [debug] {"uuid":"27daeff3-4554-4774-b44d-8794e5df5c1f","changeType":"insert","entity":"invoice","entityId":1798,"message":null,"clientId":101,"eventName":"invoice.add_draft","clientData":{"id":101,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL ESTA\u00d1O","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL ESTA\u00d1O, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OCTAVIO","lastName":"VIDAL","username":"ovidal01","contacts":[{"id":102,"clientId":101,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1798,"clientId":101,"number":"001748","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1801,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":100,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OCTAVIO","clientLastName":"VIDAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ESTA\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:02:06.117007] [notice] Logging level set to:debug -[2025-03-31 16:02:06.254098] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:02:06.254232] [debug] Valor de JSON: {"uuid":"d64e34c2-3464-4c92-95c5-9d3a234433c9","changeType":"draft_approved","entity":"invoice","entityId":"1798","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1798,"clientId":101,"number":"001748","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1801,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":100,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OCTAVIO","clientLastName":"VIDAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ESTA\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:02:06.254381] [debug] Aprobación de Factura - -[2025-03-31 16:02:06.254457] [debug] {"uuid":"d64e34c2-3464-4c92-95c5-9d3a234433c9","changeType":"draft_approved","entity":"invoice","entityId":1798,"message":null,"clientId":101,"eventName":"invoice.draft_approved","clientData":{"id":101,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL ESTA\u00d1O","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL ESTA\u00d1O, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OCTAVIO","lastName":"VIDAL","username":"ovidal01","contacts":[{"id":102,"clientId":101,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1798,"clientId":101,"number":"001748","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1801,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":100,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OCTAVIO","clientLastName":"VIDAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ESTA\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:02:07.151247] [notice] Logging level set to:debug -[2025-03-31 16:02:07.282109] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:02:07.282259] [debug] Valor de JSON: {"uuid":"c9be177e-4102-4d11-a8c1-7b88790d5ff7","changeType":"insert","entity":"invoice","entityId":"1799","eventName":"invoice.add_draft","extraData":{"entity":{"id":1799,"clientId":58,"number":"001749","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1802,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":57,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"DOMINGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MOLINO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:02:07.282386] [debug] Adición de borrador de Factura - -[2025-03-31 16:02:07.282469] [debug] {"uuid":"c9be177e-4102-4d11-a8c1-7b88790d5ff7","changeType":"insert","entity":"invoice","entityId":1799,"message":null,"clientId":58,"eventName":"invoice.add_draft","clientData":{"id":58,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL MOLINO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL MOLINO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDGAR","lastName":"DOMINGUEZ","username":"edominguez58","contacts":[{"id":59,"clientId":58,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1799,"clientId":58,"number":"001749","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1802,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":57,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"DOMINGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MOLINO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:02:07.396920] [notice] Logging level set to:debug -[2025-03-31 16:02:07.533329] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:02:07.533500] [debug] Valor de JSON: {"uuid":"14cd8992-4b3d-4c59-9fb9-9dacf5633a5c","changeType":"draft_approved","entity":"invoice","entityId":"1799","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1799,"clientId":58,"number":"001749","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1802,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":57,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"DOMINGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MOLINO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:02:07.533639] [debug] Aprobación de Factura - -[2025-03-31 16:02:07.533719] [debug] {"uuid":"14cd8992-4b3d-4c59-9fb9-9dacf5633a5c","changeType":"draft_approved","entity":"invoice","entityId":1799,"message":null,"clientId":58,"eventName":"invoice.draft_approved","clientData":{"id":58,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL MOLINO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL MOLINO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDGAR","lastName":"DOMINGUEZ","username":"edominguez58","contacts":[{"id":59,"clientId":58,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1799,"clientId":58,"number":"001749","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1802,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":57,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"DOMINGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MOLINO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:02:08.466793] [notice] Logging level set to:debug -[2025-03-31 16:02:08.613348] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:02:08.613425] [debug] Valor de JSON: {"uuid":"45b5b251-6861-4628-a977-03fe7feccbe0","changeType":"insert","entity":"invoice","entityId":"1800","eventName":"invoice.add_draft","extraData":{"entity":{"id":1800,"clientId":48,"number":"001750","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1803,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":47,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISELA","clientLastName":"AZPEITIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:02:08.613535] [debug] Adición de borrador de Factura - -[2025-03-31 16:02:08.613656] [debug] {"uuid":"45b5b251-6861-4628-a977-03fe7feccbe0","changeType":"insert","entity":"invoice","entityId":1800,"message":null,"clientId":48,"eventName":"invoice.add_draft","clientData":{"id":48,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTIAGUILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTIAGUILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ISELA","lastName":"AZPEITIA","username":"iazpeitia48","contacts":[{"id":49,"clientId":48,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":104,"clientId":48,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1VUj6JXVCcUu","clientZoneVisible":true},{"id":105,"clientId":48,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"4896043950637164","clientZoneVisible":true}],"accountBalance":-7200,"accountCredit":0,"accountOutstanding":7200,"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":1800,"clientId":48,"number":"001750","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1803,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":47,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISELA","clientLastName":"AZPEITIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:02:08.726064] [notice] Logging level set to:debug -[2025-03-31 16:02:08.859144] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:02:08.859210] [debug] Valor de JSON: {"uuid":"b70aa39b-6871-4cb3-b1f1-d1d7c9e944b1","changeType":"draft_approved","entity":"invoice","entityId":"1800","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1800,"clientId":48,"number":"001750","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1803,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":47,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISELA","clientLastName":"AZPEITIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:02:08.859318] [debug] Aprobación de Factura - -[2025-03-31 16:02:08.859364] [debug] {"uuid":"b70aa39b-6871-4cb3-b1f1-d1d7c9e944b1","changeType":"draft_approved","entity":"invoice","entityId":1800,"message":null,"clientId":48,"eventName":"invoice.draft_approved","clientData":{"id":48,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTIAGUILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTIAGUILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ISELA","lastName":"AZPEITIA","username":"iazpeitia48","contacts":[{"id":49,"clientId":48,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":104,"clientId":48,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1VUj6JXVCcUu","clientZoneVisible":true},{"id":105,"clientId":48,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"4896043950637164","clientZoneVisible":true}],"accountBalance":-7200,"accountCredit":0,"accountOutstanding":7200,"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":1800,"clientId":48,"number":"001750","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1803,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":47,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISELA","clientLastName":"AZPEITIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:02:09.785718] [notice] Logging level set to:debug -[2025-03-31 16:02:09.928833] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:02:09.929013] [debug] Valor de JSON: {"uuid":"6dff0240-644f-4ad4-b02d-6cc9677fefc2","changeType":"insert","entity":"invoice","entityId":"1801","eventName":"invoice.add_draft","extraData":{"entity":{"id":1801,"clientId":96,"number":"001751","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1804,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":95,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PAMELA","clientLastName":"RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:02:09.929168] [debug] Adición de borrador de Factura - -[2025-03-31 16:02:09.929246] [debug] {"uuid":"6dff0240-644f-4ad4-b02d-6cc9677fefc2","changeType":"insert","entity":"invoice","entityId":1801,"message":null,"clientId":96,"eventName":"invoice.add_draft","clientData":{"id":96,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"PAMELA","lastName":"RAMIREZ","username":"pramirez96","contacts":[{"id":97,"clientId":96,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-600,"accountCredit":0,"accountOutstanding":600,"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":1801,"clientId":96,"number":"001751","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1804,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":95,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PAMELA","clientLastName":"RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:02:10.039740] [notice] Logging level set to:debug -[2025-03-31 16:02:10.182234] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:02:10.182295] [debug] Valor de JSON: {"uuid":"027fa0e8-bcbc-4a6a-8857-681c76cdeed7","changeType":"draft_approved","entity":"invoice","entityId":"1801","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1801,"clientId":96,"number":"001751","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1804,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":95,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PAMELA","clientLastName":"RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:02:10.182410] [debug] Aprobación de Factura - -[2025-03-31 16:02:10.182459] [debug] {"uuid":"027fa0e8-bcbc-4a6a-8857-681c76cdeed7","changeType":"draft_approved","entity":"invoice","entityId":1801,"message":null,"clientId":96,"eventName":"invoice.draft_approved","clientData":{"id":96,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"PAMELA","lastName":"RAMIREZ","username":"pramirez96","contacts":[{"id":97,"clientId":96,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-600,"accountCredit":0,"accountOutstanding":600,"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":1801,"clientId":96,"number":"001751","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1804,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":95,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PAMELA","clientLastName":"RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:02:11.117780] [notice] Logging level set to:debug -[2025-03-31 16:02:11.256046] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:02:11.256114] [debug] Valor de JSON: {"uuid":"c82c0d7f-9c60-495d-8f4f-71b7a5be9b2d","changeType":"insert","entity":"invoice","entityId":"1802","eventName":"invoice.add_draft","extraData":{"entity":{"id":1802,"clientId":94,"number":"001752","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1805,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":93,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARTIN","clientLastName":"TREJO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:02:11.256220] [debug] Adición de borrador de Factura - -[2025-03-31 16:02:11.256268] [debug] {"uuid":"c82c0d7f-9c60-495d-8f4f-71b7a5be9b2d","changeType":"insert","entity":"invoice","entityId":1802,"message":null,"clientId":94,"eventName":"invoice.add_draft","clientData":{"id":94,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARTIN","lastName":"TREJO","username":"mtrejo94","contacts":[{"id":95,"clientId":94,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1802,"clientId":94,"number":"001752","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1805,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":93,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARTIN","clientLastName":"TREJO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:02:11.256299] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-31 16:02:11.256313] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"c82c0d7f-9c60-495d-8f4f-71b7a5be9b2d","changeType":"insert","entity":"invoice","entityId":1802,"message":null,"clientId":94,"eventName":"invoice.add_draft","clientData":{"id":94,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARTIN","lastName":"TREJO","username":"mtrejo94","contacts":[{"id":95,"clientId":94,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1802,"clientId":94,"number":"001752","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1805,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":93,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARTIN","clientLastName":"TREJO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":17,"clientId":94,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2024-01-31T15:59:03-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":22,"invoiceId":87,"paymentId":17,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":1000,"attributes":[]}] - -Nombre del cliente que se va a actualizar: MARTIN TREJO - -UUID: 92dd9fb15b8f4ff6860f8a32ea9bd7e4 - -JSON con los datos a actualizar: {"name":"MARTIN TREJO","custom_fields":{"Cliente":94,"Domicilio":"\ud83d\udccd Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Nombre":"\ud83d\udc64 MARTIN TREJO","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/94","Saldo Actual":"\ud83d\udcb24500 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 200","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"94\",\"Domicilio\": \"\"Nombre\": \"MARTIN TREJO\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/94\",\"Saldo Actual\": \"\ud83d\udcb24500 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 31\/01\/2024 15:59 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"31\/03\/2025 10:02\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 31\/01\/2024 15:59 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 31\/03\/2025 10:02","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "94","Domicilio": ""Nombre": "MARTIN TREJO","URL": "https://sistema.siip.mx/crm/client/94","Saldo Actual": "💲4500 pendientes","Monto Ultimo Pago": "$ 200","Estado": "Suspendido","Fecha Ultimo Pago": " 31/01/2024 15:59 con Efectivo 💵","Fecha Ultima Actualizacion": "31/03/2025 10:02","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"MARTIN TREJO","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2024-07-11T22:49:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 31/01/2024 15:59 con Efectivo 💵","Fecha Ultima Actualizacion":"📆🔄️ 31/03/2025 10:02","Antena/Sectorial":"Sec3-Sb 172.16.55.13/24","Site":"SBARB","Cliente":"94","Domicilio":"📍 Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Monto Ultimo Pago":"💲 200","Resumen":"{\"Cliente\": \"94\",\"Domicilio\": \"\"Nombre\": \"MARTIN TREJO\",\"URL\": \"https://sistema.siip.mx/crm/client/94\",\"Saldo Actual\": \"💲4500 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 31/01/2024 15:59 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"31/03/2025 10:02\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Saldo Actual":"💲4500 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/94","Nombre":"👤 MARTIN TREJO"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"MARTIN TREJO","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2024-07-11T22:49:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 31/01/2024 15:59 con Efectivo 💵","Fecha Ultima Actualizacion":"📆🔄️ 31/03/2025 10:02","Antena/Sectorial":"Sec3-Sb 172.16.55.13/24","Site":"SBARB","Cliente":"94","Domicilio":"📍 Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Monto Ultimo Pago":"💲 200","Resumen":"{\"Cliente\": \"94\",\"Domicilio\": \"\"Nombre\": \"MARTIN TREJO\",\"URL\": \"https://sistema.siip.mx/crm/client/94\",\"Saldo Actual\": \"💲4500 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 31/01/2024 15:59 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"31/03/2025 10:02\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Saldo Actual":"💲4500 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/94","Nombre":"👤 MARTIN TREJO"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-31 16:02:13.798561] [notice] Logging level set to:debug -[2025-03-31 16:02:13.996309] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:02:13.998975] [debug] Valor de JSON: {"uuid":"0236e385-c047-4619-b762-f6d60e2bfddb","changeType":"draft_approved","entity":"invoice","entityId":"1802","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1802,"clientId":94,"number":"001752","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1805,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":93,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARTIN","clientLastName":"TREJO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:02:13.999197] [debug] Aprobación de Factura - -[2025-03-31 16:02:13.999279] [debug] {"uuid":"0236e385-c047-4619-b762-f6d60e2bfddb","changeType":"draft_approved","entity":"invoice","entityId":1802,"message":null,"clientId":94,"eventName":"invoice.draft_approved","clientData":{"id":94,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARTIN","lastName":"TREJO","username":"mtrejo94","contacts":[{"id":95,"clientId":94,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1802,"clientId":94,"number":"001752","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1805,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":93,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARTIN","clientLastName":"TREJO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:02:13.999350] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-03-31 16:02:13.999389] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"0236e385-c047-4619-b762-f6d60e2bfddb","changeType":"draft_approved","entity":"invoice","entityId":1802,"message":null,"clientId":94,"eventName":"invoice.draft_approved","clientData":{"id":94,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARTIN","lastName":"TREJO","username":"mtrejo94","contacts":[{"id":95,"clientId":94,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1802,"clientId":94,"number":"001752","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1805,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":93,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARTIN","clientLastName":"TREJO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":17,"clientId":94,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2024-01-31T15:59:03-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":22,"invoiceId":87,"paymentId":17,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":1000,"attributes":[]}] - -Nombre del cliente que se va a actualizar: MARTIN TREJO - -UUID: 92dd9fb15b8f4ff6860f8a32ea9bd7e4 - -JSON con los datos a actualizar: {"name":"MARTIN TREJO","custom_fields":{"Cliente":94,"Domicilio":"\ud83d\udccd Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Nombre":"\ud83d\udc64 MARTIN TREJO","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/94","Saldo Actual":"\ud83d\udcb24500 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 200","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"94\",\"Domicilio\": \"\"Nombre\": \"MARTIN TREJO\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/94\",\"Saldo Actual\": \"\ud83d\udcb24500 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 31\/01\/2024 15:59 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"31\/03\/2025 10:02\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 31\/01\/2024 15:59 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 31\/03\/2025 10:02","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "94","Domicilio": ""Nombre": "MARTIN TREJO","URL": "https://sistema.siip.mx/crm/client/94","Saldo Actual": "💲4500 pendientes","Monto Ultimo Pago": "$ 200","Estado": "Suspendido","Fecha Ultimo Pago": " 31/01/2024 15:59 con Efectivo 💵","Fecha Ultima Actualizacion": "31/03/2025 10:02","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"MARTIN TREJO","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2024-07-11T22:49:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 31/01/2024 15:59 con Efectivo 💵","Fecha Ultima Actualizacion":"📆🔄️ 31/03/2025 10:02","Antena/Sectorial":"Sec3-Sb 172.16.55.13/24","Site":"SBARB","Cliente":"94","Domicilio":"📍 Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Monto Ultimo Pago":"💲 200","Resumen":"{\"Cliente\": \"94\",\"Domicilio\": \"\"Nombre\": \"MARTIN TREJO\",\"URL\": \"https://sistema.siip.mx/crm/client/94\",\"Saldo Actual\": \"💲4500 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 31/01/2024 15:59 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"31/03/2025 10:02\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Saldo Actual":"💲4500 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/94","Nombre":"👤 MARTIN TREJO"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"MARTIN TREJO","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2024-07-11T22:49:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 31/01/2024 15:59 con Efectivo 💵","Fecha Ultima Actualizacion":"📆🔄️ 31/03/2025 10:02","Antena/Sectorial":"Sec3-Sb 172.16.55.13/24","Site":"SBARB","Cliente":"94","Domicilio":"📍 Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Monto Ultimo Pago":"💲 200","Resumen":"{\"Cliente\": \"94\",\"Domicilio\": \"\"Nombre\": \"MARTIN TREJO\",\"URL\": \"https://sistema.siip.mx/crm/client/94\",\"Saldo Actual\": \"💲4500 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 31/01/2024 15:59 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"31/03/2025 10:02\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Saldo Actual":"💲4500 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/94","Nombre":"👤 MARTIN TREJO"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-03-31 16:02:16.375437] [notice] Logging level set to:debug -[2025-03-31 16:02:16.553303] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:02:16.553366] [debug] Valor de JSON: {"uuid":"aeb79a4e-087e-41d3-9b6a-b0ab521d41aa","changeType":"insert","entity":"invoice","entityId":"1803","eventName":"invoice.add_draft","extraData":{"entity":{"id":1803,"clientId":78,"number":"001753","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1806,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":77,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDER","clientLastName":"ROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:02:16.553477] [debug] Adición de borrador de Factura - -[2025-03-31 16:02:16.553523] [debug] {"uuid":"aeb79a4e-087e-41d3-9b6a-b0ab521d41aa","changeType":"insert","entity":"invoice","entityId":1803,"message":null,"clientId":78,"eventName":"invoice.add_draft","clientData":{"id":78,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL BOBO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALEXANDER","lastName":"ROSTRO","username":"arostro78","contacts":[{"id":79,"clientId":78,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1803,"clientId":78,"number":"001753","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1806,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":77,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDER","clientLastName":"ROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:02:16.668262] [notice] Logging level set to:debug -[2025-03-31 16:02:16.802856] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:02:16.802968] [debug] Valor de JSON: {"uuid":"8e1b0708-1aff-449d-8423-9601cfa4c57e","changeType":"draft_approved","entity":"invoice","entityId":"1803","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1803,"clientId":78,"number":"001753","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1806,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":77,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDER","clientLastName":"ROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:02:16.803080] [debug] Aprobación de Factura - -[2025-03-31 16:02:16.803128] [debug] {"uuid":"8e1b0708-1aff-449d-8423-9601cfa4c57e","changeType":"draft_approved","entity":"invoice","entityId":1803,"message":null,"clientId":78,"eventName":"invoice.draft_approved","clientData":{"id":78,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL BOBO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALEXANDER","lastName":"ROSTRO","username":"arostro78","contacts":[{"id":79,"clientId":78,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1803,"clientId":78,"number":"001753","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1806,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":77,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDER","clientLastName":"ROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:02:16.914868] [notice] Logging level set to:debug -[2025-03-31 16:02:17.058403] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:02:17.058461] [debug] Valor de JSON: {"uuid":"4d1e5238-2f53-484c-9c49-0b594f2a4d2e","changeType":"insert","entity":"invoice","entityId":"1804","eventName":"invoice.add_draft","extraData":{"entity":{"id":1804,"clientId":82,"number":"001754","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1807,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":81,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AGUSTINA","clientLastName":"PERICLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:02:17.058552] [debug] Adición de borrador de Factura - -[2025-03-31 16:02:17.058597] [debug] {"uuid":"4d1e5238-2f53-484c-9c49-0b594f2a4d2e","changeType":"insert","entity":"invoice","entityId":1804,"message":null,"clientId":82,"eventName":"invoice.add_draft","clientData":{"id":82,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"AGUSTINA","lastName":"PERICLES","username":"apericles82","contacts":[{"id":83,"clientId":82,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1804,"clientId":82,"number":"001754","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1807,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":81,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AGUSTINA","clientLastName":"PERICLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:02:17.175236] [notice] Logging level set to:debug -[2025-03-31 16:02:17.313011] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:02:17.313071] [debug] Valor de JSON: {"uuid":"4f35a0d3-fef9-4426-b1be-abeb9e7c4515","changeType":"draft_approved","entity":"invoice","entityId":"1804","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1804,"clientId":82,"number":"001754","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1807,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":81,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AGUSTINA","clientLastName":"PERICLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:02:17.313160] [debug] Aprobación de Factura - -[2025-03-31 16:02:17.313208] [debug] {"uuid":"4f35a0d3-fef9-4426-b1be-abeb9e7c4515","changeType":"draft_approved","entity":"invoice","entityId":1804,"message":null,"clientId":82,"eventName":"invoice.draft_approved","clientData":{"id":82,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"AGUSTINA","lastName":"PERICLES","username":"apericles82","contacts":[{"id":83,"clientId":82,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1804,"clientId":82,"number":"001754","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1807,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":81,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AGUSTINA","clientLastName":"PERICLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:02:17.423152] [notice] Logging level set to:debug -[2025-03-31 16:02:17.566059] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:02:17.566236] [debug] Valor de JSON: {"uuid":"d3e5f2da-0082-4bec-a944-3102976dd8c1","changeType":"insert","entity":"invoice","entityId":"1805","eventName":"invoice.add_draft","extraData":{"entity":{"id":1805,"clientId":25,"number":"001755","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1808,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":24,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ARIEL","clientLastName":"CORTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL DURAZNO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:02:17.566394] [debug] Adición de borrador de Factura - -[2025-03-31 16:02:17.566472] [debug] {"uuid":"d3e5f2da-0082-4bec-a944-3102976dd8c1","changeType":"insert","entity":"invoice","entityId":1805,"message":null,"clientId":25,"eventName":"invoice.add_draft","clientData":{"id":25,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL DURAZNO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL DURAZNO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ARIEL","lastName":"CORTES","username":"acortes25","contacts":[{"id":26,"clientId":25,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-12600,"accountCredit":0,"accountOutstanding":12600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1805,"clientId":25,"number":"001755","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1808,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":24,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ARIEL","clientLastName":"CORTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL DURAZNO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:02:17.675170] [notice] Logging level set to:debug -[2025-03-31 16:02:17.815337] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:02:17.815509] [debug] Valor de JSON: {"uuid":"671d4fe1-91c9-4ee3-9da6-3e485e756cae","changeType":"draft_approved","entity":"invoice","entityId":"1805","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1805,"clientId":25,"number":"001755","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1808,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":24,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ARIEL","clientLastName":"CORTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL DURAZNO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:02:17.815637] [debug] Aprobación de Factura - -[2025-03-31 16:02:17.815711] [debug] {"uuid":"671d4fe1-91c9-4ee3-9da6-3e485e756cae","changeType":"draft_approved","entity":"invoice","entityId":1805,"message":null,"clientId":25,"eventName":"invoice.draft_approved","clientData":{"id":25,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL DURAZNO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL DURAZNO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ARIEL","lastName":"CORTES","username":"acortes25","contacts":[{"id":26,"clientId":25,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-12600,"accountCredit":0,"accountOutstanding":12600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1805,"clientId":25,"number":"001755","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1808,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":24,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ARIEL","clientLastName":"CORTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL DURAZNO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:02:21.323904] [notice] Logging level set to:debug -[2025-03-31 16:02:21.471205] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:02:21.471354] [debug] Valor de JSON: {"uuid":"a8cc462a-d181-41a0-86ee-1af151689f6c","changeType":"insert","entity":"invoice","entityId":"1806","eventName":"invoice.add_draft","extraData":{"entity":{"id":1806,"clientId":31,"number":"001756","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1809,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":30,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANA","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SIETE REALES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:02:21.471514] [debug] Adición de borrador de Factura - -[2025-03-31 16:02:21.471600] [debug] {"uuid":"a8cc462a-d181-41a0-86ee-1af151689f6c","changeType":"insert","entity":"invoice","entityId":1806,"message":null,"clientId":31,"eventName":"invoice.add_draft","clientData":{"id":31,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SIETE REALES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SIETE REALES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANA","lastName":"CASTILLO","username":"acastillo31","contacts":[{"id":32,"clientId":31,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4180,"accountCredit":0,"accountOutstanding":4180,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4caf50","addressGpsLat":21.2302531,"addressGpsLon":-100.7594666,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1806,"clientId":31,"number":"001756","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1809,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":30,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANA","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SIETE REALES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:02:21.583340] [notice] Logging level set to:debug -[2025-03-31 16:02:21.710766] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:02:21.710952] [debug] Valor de JSON: {"uuid":"429daf4b-f722-412e-829e-57c4c5c5df15","changeType":"draft_approved","entity":"invoice","entityId":"1806","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1806,"clientId":31,"number":"001756","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1809,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":30,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANA","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SIETE REALES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:02:21.711078] [debug] Aprobación de Factura - -[2025-03-31 16:02:21.711174] [debug] {"uuid":"429daf4b-f722-412e-829e-57c4c5c5df15","changeType":"draft_approved","entity":"invoice","entityId":1806,"message":null,"clientId":31,"eventName":"invoice.draft_approved","clientData":{"id":31,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SIETE REALES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SIETE REALES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANA","lastName":"CASTILLO","username":"acastillo31","contacts":[{"id":32,"clientId":31,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4180,"accountCredit":0,"accountOutstanding":4180,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4caf50","addressGpsLat":21.2302531,"addressGpsLon":-100.7594666,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1806,"clientId":31,"number":"001756","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1809,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":30,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANA","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SIETE REALES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:02:22.595994] [notice] Logging level set to:debug -[2025-03-31 16:02:22.725502] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:02:22.725677] [debug] Valor de JSON: {"uuid":"cd7f3edc-333e-4e5a-8bd8-48d9e6dab048","changeType":"insert","entity":"invoice","entityId":"1807","eventName":"invoice.add_draft","extraData":{"entity":{"id":1807,"clientId":65,"number":"001757","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1810,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":64,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS MONCADA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:02:22.725816] [debug] Adición de borrador de Factura - -[2025-03-31 16:02:22.725894] [debug] {"uuid":"cd7f3edc-333e-4e5a-8bd8-48d9e6dab048","changeType":"insert","entity":"invoice","entityId":1807,"message":null,"clientId":65,"eventName":"invoice.add_draft","clientData":{"id":65,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS MONCADA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS MONCADA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SEBASTIAN","lastName":"MESA","username":"smesa65","contacts":[{"id":66,"clientId":65,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1807,"clientId":65,"number":"001757","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1810,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":64,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS MONCADA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:02:22.839301] [notice] Logging level set to:debug -[2025-03-31 16:02:22.983239] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:02:22.983421] [debug] Valor de JSON: {"uuid":"aa4c6d05-4876-4446-a5c5-619105b4312b","changeType":"draft_approved","entity":"invoice","entityId":"1807","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1807,"clientId":65,"number":"001757","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1810,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":64,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS MONCADA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:02:22.983658] [debug] Aprobación de Factura - -[2025-03-31 16:02:22.983738] [debug] {"uuid":"aa4c6d05-4876-4446-a5c5-619105b4312b","changeType":"draft_approved","entity":"invoice","entityId":1807,"message":null,"clientId":65,"eventName":"invoice.draft_approved","clientData":{"id":65,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS MONCADA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS MONCADA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SEBASTIAN","lastName":"MESA","username":"smesa65","contacts":[{"id":66,"clientId":65,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1807,"clientId":65,"number":"001757","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1810,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":64,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS MONCADA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:02:23.883959] [notice] Logging level set to:debug -[2025-03-31 16:02:24.012257] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:02:24.012438] [debug] Valor de JSON: {"uuid":"4e689e31-6860-4a33-98ec-6d289c6d08ad","changeType":"insert","entity":"invoice","entityId":"1808","eventName":"invoice.add_draft","extraData":{"entity":{"id":1808,"clientId":40,"number":"001758","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1811,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":39,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"PADRON","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RANCHO GUADALUPE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:02:24.015181] [debug] Adición de borrador de Factura - -[2025-03-31 16:02:24.015270] [debug] {"uuid":"4e689e31-6860-4a33-98ec-6d289c6d08ad","changeType":"insert","entity":"invoice","entityId":1808,"message":null,"clientId":40,"eventName":"invoice.add_draft","clientData":{"id":40,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"RANCHO GUADALUPE","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"RANCHO GUADALUPE, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OMAR","lastName":"PADRON","username":"opadron40","contacts":[{"id":41,"clientId":40,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4210,"accountCredit":0,"accountOutstanding":4210,"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":1808,"clientId":40,"number":"001758","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1811,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":39,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"PADRON","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RANCHO GUADALUPE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:02:24.128684] [notice] Logging level set to:debug -[2025-03-31 16:02:24.278588] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:02:24.278744] [debug] Valor de JSON: {"uuid":"3f784d9a-771b-4c2e-8ba9-9c6bf0cb9c53","changeType":"draft_approved","entity":"invoice","entityId":"1808","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1808,"clientId":40,"number":"001758","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1811,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":39,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"PADRON","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RANCHO GUADALUPE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:02:24.278923] [debug] Aprobación de Factura - -[2025-03-31 16:02:24.279002] [debug] {"uuid":"3f784d9a-771b-4c2e-8ba9-9c6bf0cb9c53","changeType":"draft_approved","entity":"invoice","entityId":1808,"message":null,"clientId":40,"eventName":"invoice.draft_approved","clientData":{"id":40,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"RANCHO GUADALUPE","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"RANCHO GUADALUPE, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OMAR","lastName":"PADRON","username":"opadron40","contacts":[{"id":41,"clientId":40,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4210,"accountCredit":0,"accountOutstanding":4210,"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":1808,"clientId":40,"number":"001758","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1811,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":39,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"PADRON","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RANCHO GUADALUPE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:02:25.212419] [notice] Logging level set to:debug -[2025-03-31 16:02:25.356101] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:02:25.356244] [debug] Valor de JSON: {"uuid":"8c8bd051-2d84-4dee-85ab-c5924310418c","changeType":"insert","entity":"invoice","entityId":"1809","eventName":"invoice.add_draft","extraData":{"entity":{"id":1809,"clientId":24,"number":"001759","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1812,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":23,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JACIEL","clientLastName":"CERVANTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTO NI\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:02:25.356365] [debug] Adición de borrador de Factura - -[2025-03-31 16:02:25.356442] [debug] {"uuid":"8c8bd051-2d84-4dee-85ab-c5924310418c","changeType":"insert","entity":"invoice","entityId":1809,"message":null,"clientId":24,"eventName":"invoice.add_draft","clientData":{"id":24,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTO NI\u00d1O","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTO NI\u00d1O, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JACIEL","lastName":"CERVANTES","username":"jcervantes24","contacts":[{"id":25,"clientId":24,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4480,"accountCredit":0,"accountOutstanding":4480,"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":1809,"clientId":24,"number":"001759","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1812,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":23,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JACIEL","clientLastName":"CERVANTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTO NI\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:02:25.467492] [notice] Logging level set to:debug -[2025-03-31 16:02:25.639786] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:02:25.639954] [debug] Valor de JSON: {"uuid":"82eca428-55eb-4853-8da5-554a8917c4bd","changeType":"draft_approved","entity":"invoice","entityId":"1809","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1809,"clientId":24,"number":"001759","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1812,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":23,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JACIEL","clientLastName":"CERVANTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTO NI\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:02:25.640095] [debug] Aprobación de Factura - -[2025-03-31 16:02:25.640173] [debug] {"uuid":"82eca428-55eb-4853-8da5-554a8917c4bd","changeType":"draft_approved","entity":"invoice","entityId":1809,"message":null,"clientId":24,"eventName":"invoice.draft_approved","clientData":{"id":24,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTO NI\u00d1O","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTO NI\u00d1O, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JACIEL","lastName":"CERVANTES","username":"jcervantes24","contacts":[{"id":25,"clientId":24,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4480,"accountCredit":0,"accountOutstanding":4480,"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":1809,"clientId":24,"number":"001759","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1812,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":23,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JACIEL","clientLastName":"CERVANTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTO NI\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:02:26.572519] [notice] Logging level set to:debug -[2025-03-31 16:02:26.723896] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-03-31 16:02:26.724107] [debug] Valor de JSON: {"uuid":"84424101-dbff-4d58-9bde-22ffbe5bd97d","changeType":"insert","entity":"invoice","entityId":"1810","eventName":"invoice.add_draft","extraData":{"entity":{"id":1810,"clientId":68,"number":"001760","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1813,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":67,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DOLORES","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:02:26.724281] [debug] Adición de borrador de Factura - -[2025-03-31 16:02:26.724361] [debug] {"uuid":"84424101-dbff-4d58-9bde-22ffbe5bd97d","changeType":"insert","entity":"invoice","entityId":1810,"message":null,"clientId":68,"eventName":"invoice.add_draft","clientData":{"id":68,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DOLORES","lastName":"GARCIA","username":"dgarcia68","contacts":[{"id":69,"clientId":68,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#9e9d24","addressGpsLat":21.2516667,"addressGpsLon":-101.0924998,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1810,"clientId":68,"number":"001760","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1813,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":67,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DOLORES","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-03-31 16:02:26.854145] [notice] Logging level set to:debug -[2025-03-31 16:02:26.996459] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-03-31 16:02:26.996608] [debug] Valor de JSON: {"uuid":"e821055a-9674-439c-81d6-bbb0635fb237","changeType":"draft_approved","entity":"invoice","entityId":"1810","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1810,"clientId":68,"number":"001760","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1813,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":67,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DOLORES","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-03-31 16:02:26.996731] [debug] Aprobación de Factura - -[2025-03-31 16:02:26.996912] [debug] {"uuid":"e821055a-9674-439c-81d6-bbb0635fb237","changeType":"draft_approved","entity":"invoice","entityId":1810,"message":null,"clientId":68,"eventName":"invoice.draft_approved","clientData":{"id":68,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DOLORES","lastName":"GARCIA","username":"dgarcia68","contacts":[{"id":69,"clientId":68,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#9e9d24","addressGpsLat":21.2516667,"addressGpsLon":-101.0924998,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1810,"clientId":68,"number":"001760","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1813,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":67,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DOLORES","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-01 16:00:03.692940] [notice] Logging level set to:debug -[2025-04-01 16:00:03.840245] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-01 16:00:03.840307] [debug] Valor de JSON: {"uuid":"b70ae0dc-4000-4a82-8010-33a25fc9dd6f","changeType":"insert","entity":"invoice","entityId":"1811","eventName":"invoice.add_draft","extraData":{"entity":{"id":1811,"clientId":132,"number":"001761","createdDate":"2025-04-01T10:00:01-0600","dueDate":"2025-04-15T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-31T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1814,"type":"service","label":"plan300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":115,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Marto","clientLastName":"Vago Payaso","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"20 Avenida Norte","clientStreet2":null,"clientCity":"Guanajuato","clientCountryId":173,"clientStateId":null,"clientZipCode":"37807","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-01 16:00:03.840519] [debug] Adición de borrador de Factura - -[2025-04-01 16:00:03.840590] [debug] {"uuid":"b70ae0dc-4000-4a82-8010-33a25fc9dd6f","changeType":"insert","entity":"invoice","entityId":1811,"message":null,"clientId":132,"eventName":"invoice.add_draft","clientData":{"id":132,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"20 Avenida Norte","street2":null,"city":"Guanajuato","countryId":173,"stateId":null,"zipCode":"37807","fullAddress":"Avenida Norte 20, Dolores, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Marto","lastName":"Vago Payaso","username":null,"contacts":[{"id":136,"clientId":132,"email":"vagopayaso@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-2700,"accountCredit":0,"accountOutstanding":2700,"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":1811,"clientId":132,"number":"001761","createdDate":"2025-04-01T10:00:01-0600","dueDate":"2025-04-15T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1814,"type":"service","label":"plan300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":115,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Marto","clientLastName":"Vago Payaso","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"20 Avenida Norte","clientStreet2":null,"clientCity":"Guanajuato","clientCountryId":173,"clientStateId":null,"clientZipCode":"37807","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-01 16:00:04.037254] [notice] Logging level set to:debug -[2025-04-01 16:00:04.196332] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-01 16:00:04.196393] [debug] Valor de JSON: {"uuid":"851ceb69-91f5-444c-8c19-571049e027f1","changeType":"draft_approved","entity":"invoice","entityId":"1811","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1811,"clientId":132,"number":"001761","createdDate":"2025-04-01T10:00:01-0600","dueDate":"2025-04-15T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-31T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1814,"type":"service","label":"plan300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":115,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Marto","clientLastName":"Vago Payaso","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"20 Avenida Norte","clientStreet2":null,"clientCity":"Guanajuato","clientCountryId":173,"clientStateId":null,"clientZipCode":"37807","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-01 16:00:04.196501] [debug] Aprobación de Factura - -[2025-04-01 16:00:04.196551] [debug] {"uuid":"851ceb69-91f5-444c-8c19-571049e027f1","changeType":"draft_approved","entity":"invoice","entityId":1811,"message":null,"clientId":132,"eventName":"invoice.draft_approved","clientData":{"id":132,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"20 Avenida Norte","street2":null,"city":"Guanajuato","countryId":173,"stateId":null,"zipCode":"37807","fullAddress":"Avenida Norte 20, Dolores, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Marto","lastName":"Vago Payaso","username":null,"contacts":[{"id":136,"clientId":132,"email":"vagopayaso@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-2700,"accountCredit":0,"accountOutstanding":2700,"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":1811,"clientId":132,"number":"001761","createdDate":"2025-04-01T10:00:01-0600","dueDate":"2025-04-15T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-30T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1814,"type":"service","label":"plan300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":115,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Marto","clientLastName":"Vago Payaso","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"20 Avenida Norte","clientStreet2":null,"clientCity":"Guanajuato","clientCountryId":173,"clientStateId":null,"clientZipCode":"37807","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-03 17:49:36.003191] [notice] Logging level set to:debug -[2025-04-03 17:49:36.159590] [debug] valor el evento recibido por webhook: service.edit - -[2025-04-03 17:49:36.159683] [debug] Valor de JSON: {"uuid":"ed00f5db-00e1-462b-8819-bfa89c24292f","changeType":"edit","entity":"service","entityId":"152","eventName":"service.edit","extraData":{"entity":{"id":152,"prepaid":false,"clientId":2,"status":3,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":"el may","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":154,"startDate":"2025-03-26T00:00:00-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":152,"prepaid":false,"clientId":2,"status":3,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":154,"startDate":"2025-03-26T00:00:00-0600","endDate":null}],"surcharges":[]}}} - -[2025-04-03 17:49:36.159898] [debug] Se editó el servicio a un cliente - -[2025-04-03 17:49:36.159970] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-03 17:49:36.159981] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-04-03 17:49:36.160037] [info] {"uuid":"ed00f5db-00e1-462b-8819-bfa89c24292f","changeType":"edit","entity":"service","entityId":152,"message":null,"clientId":2,"eventName":"service.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":152,"prepaid":false,"clientId":2,"status":3,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":"el may","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":154,"startDate":"2025-03-26T00:00:00-0600","endDate":null}],"surcharges":[],"stopReason":"Payments overdue"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 03\/04\/2025 11:49"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-03-28T17:23:32Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟠 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Cliente":"3201","Clabe Interbancaria":"124180650741646979","Monto Ultimo Pago":"💲 ","Domicilio":"📍 CALLE CHIAPAS #31, ZONA CENTRO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Fecha Ultimo Pago":"📆💸 28/03/2025 03:22 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 03/04/2025 11:49","Nombre":"👤 DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY","URL":"🌐 https://sistema.siip.mx/crm/client/3201","Resumen":"{\"Cliente\": \"3201\",\"Domicilio\": \"\"Nombre\": \"DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY\",\"URL\": \"https://sistema.siip.mx/crm/client/3201\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 28/03/2025 03:22 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"27/03/2025 21:22\",\"Clabe Interbancaria\": \"124180650741646979\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-04 6:25:03.062170] [notice] Logging level set to:debug -[2025-04-04 6:25:03.205528] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-04 6:25:03.205598] [debug] Valor de JSON: {"uuid":"5637aa23-3c97-42e7-be88-d30a6b9fe2de","changeType":"overdue","entity":"invoice","entityId":"1690","eventName":"invoice.overdue","extraData":{"entity":{"id":1690,"clientId":121,"number":"001641","createdDate":"2025-03-20T10:00:01-0600","dueDate":"2025-04-03T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-18T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1693,"type":"service","label":"INTERMEDIO 20\/02\/2025 \u2013 19\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":106,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"flor","clientLastName":"marquez gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"plutarco elias calles 8,lindavista","clientStreet2":"enfrente del parque","clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-04 6:25:03.205804] [debug] Factura vencida - -[2025-04-04 6:25:03.205857] [debug] datos del notification para el invoice overdue:{"uuid":"5637aa23-3c97-42e7-be88-d30a6b9fe2de","changeType":"overdue","entity":"invoice","entityId":1690,"message":null,"clientId":121,"eventName":"invoice.overdue","clientData":{"id":121,"userIdent":"-105.998","previousIsp":"angel","isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"plutarco elias calles 8,lindavista","street2":"enfrente del parque","city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"plutarco elias calles 8,lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":false,"invoiceMaturityDays":null,"stopServiceDue":false,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-05-20T00:00:00-0600","leadConvertedAt":"2024-05-20T13:45:39-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"flor","lastName":"marquez gonzalez","username":null,"contacts":[{"id":125,"clientId":121,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":120,"clientId":121,"customAttributeId":2,"name":"CelularNotificaciones","key":"celularnotificaciones","value":"172.16.117.243","clientZoneVisible":true},{"id":121,"clientId":121,"customAttributeId":4,"name":"Whatsapp","key":"whatsapp","value":"Siip.567","clientZoneVisible":true},{"id":122,"clientId":121,"customAttributeId":5,"name":"uuid","key":"uuid","value":"admin1343","clientZoneVisible":true},{"id":123,"clientId":121,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"22372x9000055","clientZoneVisible":true},{"id":124,"clientId":121,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"21.9758566","clientZoneVisible":true}],"accountBalance":-4816.67,"accountCredit":0,"accountOutstanding":4816.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.5,"addressGpsLon":-100,"isArchived":false,"generateProformaInvoices":false,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1690,"clientId":121,"number":"001641","createdDate":"2025-03-20T10:00:01-0600","dueDate":"2025-04-03T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-18T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1693,"type":"service","label":"INTERMEDIO 20\/02\/2025 \u2013 19\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":106,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"flor","clientLastName":"marquez gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"plutarco elias calles 8,lindavista","clientStreet2":"enfrente del parque","clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-04 6:25:03.205885] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -contac vacio -[2025-04-04 6:25:03.206046] [debug] Numero de cel obtenido - -[2025-04-04 6:25:03.206058] [warning] No se encontró un teléfono celular válido para el cliente: 121 -[2025-04-04 6:25:03.383538] [notice] Logging level set to:debug -[2025-04-04 6:25:03.523591] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-04 6:25:03.523752] [debug] Valor de JSON: {"uuid":"2e8dfef6-2359-4ee7-abcf-1277f021dd7f","changeType":"overdue","entity":"invoice","entityId":"1691","eventName":"invoice.overdue","extraData":{"entity":{"id":1691,"clientId":122,"number":"001642","createdDate":"2025-03-20T10:00:01-0600","dueDate":"2025-04-03T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-18T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1694,"type":"service","label":"plan300 20\/02\/2025 \u2013 19\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":107,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"MARQUEZ GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PLTARCO 8, LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-04 6:25:03.523900] [debug] Factura vencida - -[2025-04-04 6:25:03.523987] [debug] datos del notification para el invoice overdue:{"uuid":"2e8dfef6-2359-4ee7-abcf-1277f021dd7f","changeType":"overdue","entity":"invoice","entityId":1691,"message":null,"clientId":122,"eventName":"invoice.overdue","clientData":{"id":122,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"PLTARCO 8, LINDAVISTA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"PLTARCO 8, LINDAVISTA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-05-20T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JUDITH","lastName":"MARQUEZ GONZALEZ","username":null,"contacts":[{"id":126,"clientId":122,"email":null,"phone":"55667788","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":125,"clientId":122,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Q8uWOC8sjQem1K","clientZoneVisible":true},{"id":126,"clientId":122,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180296730137251","clientZoneVisible":true}],"accountBalance":-4890,"accountCredit":0,"accountOutstanding":4890,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.171581132292,"addressGpsLon":-100.9286433436,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1691,"clientId":122,"number":"001642","createdDate":"2025-03-20T10:00:01-0600","dueDate":"2025-04-03T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-18T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1694,"type":"service","label":"plan300 20\/02\/2025 \u2013 19\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":107,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"MARQUEZ GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PLTARCO 8, LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-04 6:25:03.524044] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-04 6:25:03.524144] [debug] Numero de cel obtenido - -[2025-04-04 6:25:03.524192] [warning] No se encontró un teléfono celular válido para el cliente: 122 -[2025-04-05 6:25:03.097430] [notice] Logging level set to:debug -[2025-04-05 6:25:03.313301] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-05 6:25:03.313477] [debug] Valor de JSON: {"uuid":"bfc30fac-b47e-4e05-bb6a-b4471d8ea874","changeType":"overdue","entity":"invoice","entityId":"1692","eventName":"invoice.overdue","extraData":{"entity":{"id":1692,"clientId":105,"number":"001643","createdDate":"2025-03-21T10:00:01-0600","dueDate":"2025-04-04T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1695,"type":"service","label":"plan300 21\/02\/2025 \u2013 20\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":111,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"jota","clientLastName":"serpiente","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":null,"clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-05 6:25:03.313719] [debug] Factura vencida - -[2025-04-05 6:25:03.313797] [debug] datos del notification para el invoice overdue:{"uuid":"bfc30fac-b47e-4e05-bb6a-b4471d8ea874","changeType":"overdue","entity":"invoice","entityId":1692,"message":null,"clientId":105,"eventName":"invoice.overdue","clientData":{"id":105,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":null,"countryId":173,"stateId":null,"zipCode":null,"fullAddress":null,"invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-02-17T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"jota","lastName":"serpiente","username":null,"contacts":[{"id":109,"clientId":105,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-2900,"accountCredit":0,"accountOutstanding":2900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4527a0","addressGpsLat":null,"addressGpsLon":null,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1692,"clientId":105,"number":"001643","createdDate":"2025-03-21T10:00:01-0600","dueDate":"2025-04-04T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1695,"type":"service","label":"plan300 21\/02\/2025 \u2013 20\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":111,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"jota","clientLastName":"serpiente","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":null,"clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-05 6:25:03.313859] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -contac vacio -[2025-04-05 6:25:03.314080] [debug] Numero de cel obtenido - -[2025-04-05 6:25:03.314124] [warning] No se encontró un teléfono celular válido para el cliente: 105 -[2025-04-05 6:25:03.469799] [notice] Logging level set to:debug -[2025-04-05 6:25:03.611238] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-05 6:25:03.611452] [debug] Valor de JSON: {"uuid":"d3a38100-a107-4c3a-8407-64ddc9cdec04","changeType":"overdue","entity":"invoice","entityId":"1693","eventName":"invoice.overdue","extraData":{"entity":{"id":1693,"clientId":133,"number":"001644","createdDate":"2025-03-21T10:00:01-0600","dueDate":"2025-04-04T10:00:01-0600","emailSentDate":"2025-04-05T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1696,"type":"service","label":"INTERMEDIO 21\/02\/2025 \u2013 20\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":114,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Los Amigos","clientLastName":"Invisibles","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-05 6:25:03.611613] [debug] Factura vencida - -[2025-04-05 6:25:03.611696] [debug] datos del notification para el invoice overdue:{"uuid":"d3a38100-a107-4c3a-8407-64ddc9cdec04","changeType":"overdue","entity":"invoice","entityId":1693,"message":null,"clientId":133,"eventName":"invoice.overdue","clientData":{"id":133,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 34, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Los Amigos","lastName":"Invisibles","username":null,"contacts":[{"id":137,"clientId":133,"email":"amigosinvisibles@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":135,"clientId":133,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJjZqeaZSSPwcT","clientZoneVisible":true},{"id":136,"clientId":133,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180822750421052","clientZoneVisible":true}],"accountBalance":-4333.33,"accountCredit":0,"accountOutstanding":4333.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1568888,"addressGpsLon":-100.9275759,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1693,"clientId":133,"number":"001644","createdDate":"2025-03-21T10:00:01-0600","dueDate":"2025-04-04T10:00:01-0600","emailSentDate":"2025-04-05T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1696,"type":"service","label":"INTERMEDIO 21\/02\/2025 \u2013 20\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":114,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Los Amigos","clientLastName":"Invisibles","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-05 6:25:03.611757] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-05 6:25:03.611850] [debug] Numero de cel obtenido - -[2025-04-05 6:25:03.611896] [warning] No se encontró un teléfono celular válido para el cliente: 133 -[2025-04-05 6:25:03.729214] [notice] Logging level set to:debug -[2025-04-05 6:25:03.872874] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-05 6:25:03.873048] [debug] Valor de JSON: {"uuid":"3fa03ed9-d732-4c37-a188-13b7875bd020","changeType":"overdue","entity":"invoice","entityId":"1694","eventName":"invoice.overdue","extraData":{"entity":{"id":1694,"clientId":134,"number":"001645","createdDate":"2025-03-21T10:00:01-0600","dueDate":"2025-04-04T10:00:01-0600","emailSentDate":"2025-04-05T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1697,"type":"service","label":"PREMIUM 21\/02\/2025 \u2013 20\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":113,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"La Mosca","clientLastName":"Tse Tse","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"25 Michoac\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-05 6:25:03.873204] [debug] Factura vencida - -[2025-04-05 6:25:03.873306] [debug] datos del notification para el invoice overdue:{"uuid":"3fa03ed9-d732-4c37-a188-13b7875bd020","changeType":"overdue","entity":"invoice","entityId":1694,"message":null,"clientId":134,"eventName":"invoice.overdue","clientData":{"id":134,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"25 Michoac\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"La Mosca","lastName":"Tse Tse","username":null,"contacts":[{"id":138,"clientId":134,"email":"lamoscatsetse@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":190,"clientId":134,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0Igo0UyD5CUtI","clientZoneVisible":true},{"id":191,"clientId":134,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180573205227652","clientZoneVisible":true}],"accountBalance":-6300,"accountCredit":0,"accountOutstanding":6300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1576726,"addressGpsLon":-100.9370354,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1694,"clientId":134,"number":"001645","createdDate":"2025-03-21T10:00:01-0600","dueDate":"2025-04-04T10:00:01-0600","emailSentDate":"2025-04-05T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1697,"type":"service","label":"PREMIUM 21\/02\/2025 \u2013 20\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":113,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"La Mosca","clientLastName":"Tse Tse","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"25 Michoac\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-05 6:25:03.873382] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-05 6:25:03.873473] [debug] Numero de cel obtenido - -[2025-04-05 6:25:03.873522] [warning] No se encontró un teléfono celular válido para el cliente: 134 -[2025-04-05 6:25:03.986484] [notice] Logging level set to:debug -[2025-04-05 6:25:04.123029] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-05 6:25:04.123195] [debug] Valor de JSON: {"uuid":"d1103ea1-3c2d-4116-8a90-f849546c842f","changeType":"overdue","entity":"invoice","entityId":"1695","eventName":"invoice.overdue","extraData":{"entity":{"id":1695,"clientId":136,"number":"001646","createdDate":"2025-03-21T10:00:01-0600","dueDate":"2025-04-04T10:00:01-0600","emailSentDate":"2025-04-05T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1698,"type":"service","label":"INTERMEDIO 21\/02\/2025 \u2013 20\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":112,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Mus","clientLastName":"Tafah","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"22 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-05 6:25:04.123348] [debug] Factura vencida - -[2025-04-05 6:25:04.123426] [debug] datos del notification para el invoice overdue:{"uuid":"d1103ea1-3c2d-4116-8a90-f849546c842f","changeType":"overdue","entity":"invoice","entityId":1695,"message":null,"clientId":136,"eventName":"invoice.overdue","clientData":{"id":136,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"22 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 22, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Mus","lastName":"Tafah","username":null,"contacts":[{"id":140,"clientId":136,"email":"elmus@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-4333.33,"accountCredit":0,"accountOutstanding":4333.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1571597,"addressGpsLon":-100.9367744,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1695,"clientId":136,"number":"001646","createdDate":"2025-03-21T10:00:01-0600","dueDate":"2025-04-04T10:00:01-0600","emailSentDate":"2025-04-05T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1698,"type":"service","label":"INTERMEDIO 21\/02\/2025 \u2013 20\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":112,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Mus","clientLastName":"Tafah","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"22 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-05 6:25:04.123480] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-05 6:25:04.123574] [debug] Numero de cel obtenido - -[2025-04-05 6:25:04.123620] [warning] No se encontró un teléfono celular válido para el cliente: 136 -[2025-04-06 6:25:02.782566] [notice] Logging level set to:debug -[2025-04-06 6:25:03.034769] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-06 6:25:03.034832] [debug] Valor de JSON: {"uuid":"1147b889-0ad0-4189-bb16-aa0ec7340545","changeType":"overdue","entity":"invoice","entityId":"1696","eventName":"invoice.overdue","extraData":{"entity":{"id":1696,"clientId":141,"number":"001647","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":"2025-04-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1699,"type":"service","label":"Basico 300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":135,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":30,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":270,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":674,"invoiceId":1696,"paymentId":337,"creditNoteId":null,"refundId":null,"amount":30}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Caim\u00e1n","clientLastName":"Dorado","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-06 6:25:03.035083] [debug] Factura vencida - -[2025-04-06 6:25:03.035131] [debug] datos del notification para el invoice overdue:{"uuid":"1147b889-0ad0-4189-bb16-aa0ec7340545","changeType":"overdue","entity":"invoice","entityId":1696,"message":null,"clientId":141,"eventName":"invoice.overdue","clientData":{"id":141,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Caim\u00e1n","lastName":"Dorado","username":null,"contacts":[{"id":145,"clientId":141,"email":"caimangolden@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-570,"accountCredit":0,"accountOutstanding":570,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#43a047","addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1696,"clientId":141,"number":"001647","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":"2025-04-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1699,"type":"service","label":"Basico 300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":135,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":30,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":270,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":674,"invoiceId":1696,"paymentId":337,"creditNoteId":null,"refundId":null,"amount":30}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Caim\u00e1n","clientLastName":"Dorado","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-06 6:25:03.035156] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-06 6:25:03.035276] [debug] Numero de cel obtenido - -[2025-04-06 6:25:03.035289] [warning] No se encontró un teléfono celular válido para el cliente: 141 -[2025-04-06 6:25:03.188556] [notice] Logging level set to:debug -[2025-04-06 6:25:03.348355] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-06 6:25:03.348417] [debug] Valor de JSON: {"uuid":"7588fd2d-3ac9-40f7-9b7d-2054c6887996","changeType":"overdue","entity":"invoice","entityId":"1699","eventName":"invoice.overdue","extraData":{"entity":{"id":1699,"clientId":157,"number":"001650","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1702,"type":"service","label":"plan300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":127,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU SIIP","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-06 6:25:03.348529] [debug] Factura vencida - -[2025-04-06 6:25:03.348571] [debug] datos del notification para el invoice overdue:{"uuid":"7588fd2d-3ac9-40f7-9b7d-2054c6887996","changeType":"overdue","entity":"invoice","entityId":1699,"message":null,"clientId":157,"eventName":"invoice.overdue","clientData":{"id":157,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-04T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANGEL","lastName":"ARVIZU SIIP","username":null,"contacts":[{"id":161,"clientId":157,"email":null,"phone":"5214181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":154,"clientId":157,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RWjBO6Lsy1TgAV","clientZoneVisible":true},{"id":155,"clientId":157,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180695267429334","clientZoneVisible":true}],"accountBalance":-880,"accountCredit":0,"accountOutstanding":880,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1699,"clientId":157,"number":"001650","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1702,"type":"service","label":"plan300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":127,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU SIIP","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-06 6:25:03.348587] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-06 6:25:03.348643] [debug] Numero de cel obtenido - -[2025-04-06 6:25:03.348654] [warning] No se encontró un teléfono celular válido para el cliente: 157 -[2025-04-06 6:25:03.467875] [notice] Logging level set to:debug -[2025-04-06 6:25:03.614130] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-06 6:25:03.614183] [debug] Valor de JSON: {"uuid":"bd170e72-a014-4ee1-b151-eabe9d0f0ddf","changeType":"overdue","entity":"invoice","entityId":"1697","eventName":"invoice.overdue","extraData":{"entity":{"id":1697,"clientId":148,"number":"001648","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":"2025-04-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1700,"type":"service","label":"plan300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-06 6:25:03.614289] [debug] Factura vencida - -[2025-04-06 6:25:03.614329] [debug] datos del notification para el invoice overdue:{"uuid":"bd170e72-a014-4ee1-b151-eabe9d0f0ddf","changeType":"overdue","entity":"invoice","entityId":1697,"message":null,"clientId":148,"eventName":"invoice.overdue","clientData":{"id":148,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"24 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-08-19T00:00:00-0600","leadConvertedAt":"2024-08-19T15:08:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El AR","lastName":"Real 3D","username":null,"contacts":[{"id":152,"clientId":148,"email":"elarquijuve@gmail.com","phone":"41818781806","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":147,"clientId":148,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Qh0pTQM9a96D8B","clientZoneVisible":true},{"id":148,"clientId":148,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180834778043086","clientZoneVisible":true},{"id":151,"clientId":148,"customAttributeId":8,"name":"conekta","key":"conekta","value":"aasdad","clientZoneVisible":true}],"accountBalance":-600,"accountCredit":0,"accountOutstanding":600,"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":1697,"clientId":148,"number":"001648","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":"2025-04-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1700,"type":"service","label":"plan300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-06 6:25:03.614353] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-06 6:25:03.614408] [debug] Numero de cel obtenido - -[2025-04-06 6:25:03.614418] [warning] No se encontró un teléfono celular válido para el cliente: 148 -[2025-04-06 6:25:03.732764] [notice] Logging level set to:debug -[2025-04-06 6:25:03.863626] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-06 6:25:03.863682] [debug] Valor de JSON: {"uuid":"957d7d0f-eb72-4fc3-84af-50b782d90254","changeType":"overdue","entity":"invoice","entityId":"1698","eventName":"invoice.overdue","extraData":{"entity":{"id":1698,"clientId":162,"number":"001649","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":"2025-04-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1701,"type":"service","label":"PREMIUM 01\/03\/2025 \u2013 31\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":128,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Edward","clientLastName":"Elric","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"76 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-06 6:25:03.863779] [debug] Factura vencida - -[2025-04-06 6:25:03.863826] [debug] datos del notification para el invoice overdue:{"uuid":"957d7d0f-eb72-4fc3-84af-50b782d90254","changeType":"overdue","entity":"invoice","entityId":1698,"message":null,"clientId":162,"eventName":"invoice.overdue","clientData":{"id":162,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":"2025-01-10T10:32:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Edward","lastName":"Elric","username":null,"contacts":[{"id":166,"clientId":162,"email":"eduardelric@gmail.com","phone":"5214181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":159,"clientId":162,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"434876867834423324","clientZoneVisible":true},{"id":160,"clientId":162,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RYsuykCEvupaGF","clientZoneVisible":true},{"id":161,"clientId":162,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180599808752427","clientZoneVisible":true}],"accountBalance":-916.67,"accountCredit":0,"accountOutstanding":916.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d84315","addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1698,"clientId":162,"number":"001649","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":"2025-04-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1701,"type":"service","label":"PREMIUM 01\/03\/2025 \u2013 31\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":128,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Edward","clientLastName":"Elric","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"76 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-06 6:25:03.863856] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-06 6:25:03.863913] [debug] Numero de cel obtenido - -[2025-04-06 6:25:03.863924] [warning] No se encontró un teléfono celular válido para el cliente: 162 -[2025-04-06 6:25:03.977154] [notice] Logging level set to:debug -[2025-04-06 6:25:04.115143] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-06 6:25:04.115200] [debug] Valor de JSON: {"uuid":"6375f3c1-26a8-42af-9a03-35d3bc21e87b","changeType":"overdue","entity":"invoice","entityId":"1700","eventName":"invoice.overdue","extraData":{"entity":{"id":1700,"clientId":129,"number":"001651","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":"2025-04-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1703,"type":"service","label":"INTERMEDIO 01\/03\/2025 \u2013 31\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":117,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Loco","clientLastName":"Valdez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-06 6:25:04.115305] [debug] Factura vencida - -[2025-04-06 6:25:04.115345] [debug] datos del notification para el invoice overdue:{"uuid":"6375f3c1-26a8-42af-9a03-35d3bc21e87b","changeType":"overdue","entity":"invoice","entityId":1700,"message":null,"clientId":129,"eventName":"invoice.overdue","clientData":{"id":129,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-17T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Loco","lastName":"Valdez","username":null,"contacts":[{"id":133,"clientId":129,"email":"pepepeltoro141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":133,"clientId":129,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJSCgri287Ic0V","clientZoneVisible":true},{"id":134,"clientId":129,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180966482840265","clientZoneVisible":true}],"accountBalance":-1750,"accountCredit":0,"accountOutstanding":1750,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00897b","addressGpsLat":21.1608752,"addressGpsLon":-100.935835,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1700,"clientId":129,"number":"001651","createdDate":"2025-03-22T10:00:01-0600","dueDate":"2025-04-05T10:00:01-0600","emailSentDate":"2025-04-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1703,"type":"service","label":"INTERMEDIO 01\/03\/2025 \u2013 31\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":117,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Loco","clientLastName":"Valdez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-06 6:25:04.115364] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-06 6:25:04.115417] [debug] Numero de cel obtenido - -[2025-04-06 6:25:04.115427] [warning] No se encontró un teléfono celular válido para el cliente: 129 -[2025-04-07 16:00:04.137593] [notice] Logging level set to:debug -[2025-04-07 16:00:04.410599] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-07 16:00:04.410784] [debug] Valor de JSON: {"uuid":"c2a61594-ffaa-479f-b200-87751d1ebca5","changeType":"insert","entity":"invoice","entityId":"1812","eventName":"invoice.add_draft","extraData":{"entity":{"id":1812,"clientId":110,"number":"001762","createdDate":"2025-04-07T10:00:01-0600","dueDate":"2025-04-21T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-06T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1815,"type":"service","label":"plan300 07\/03\/2025 \u2013 06\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":109,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Maria la del Barrio","clientLastName":"Soy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"67 Morelos","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37805","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-07 16:00:04.411036] [debug] Adición de borrador de Factura - -[2025-04-07 16:00:04.411134] [debug] {"uuid":"c2a61594-ffaa-479f-b200-87751d1ebca5","changeType":"insert","entity":"invoice","entityId":1812,"message":null,"clientId":110,"eventName":"invoice.add_draft","clientData":{"id":110,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"67 Morelos","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37805","fullAddress":"Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-23T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Maria la del Barrio","lastName":"Soy","username":null,"contacts":[{"id":114,"clientId":110,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-3000,"accountCredit":0,"accountOutstanding":3000,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef6c00","addressGpsLat":21.1464449,"addressGpsLon":-100.9141442,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1812,"clientId":110,"number":"001762","createdDate":"2025-04-07T10:00:01-0600","dueDate":"2025-04-21T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1815,"type":"service","label":"plan300 07\/03\/2025 \u2013 06\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":109,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Maria la del Barrio","clientLastName":"Soy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"67 Morelos","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37805","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-07 16:00:04.411251] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-07 16:00:04.411293] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"c2a61594-ffaa-479f-b200-87751d1ebca5","changeType":"insert","entity":"invoice","entityId":1812,"message":null,"clientId":110,"eventName":"invoice.add_draft","clientData":{"id":110,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"67 Morelos","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37805","fullAddress":"Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-23T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Maria la del Barrio","lastName":"Soy","username":null,"contacts":[{"id":114,"clientId":110,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-3000,"accountCredit":0,"accountOutstanding":3000,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef6c00","addressGpsLat":21.1464449,"addressGpsLon":-100.9141442,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1812,"clientId":110,"number":"001762","createdDate":"2025-04-07T10:00:01-0600","dueDate":"2025-04-21T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1815,"type":"service","label":"plan300 07\/03\/2025 \u2013 06\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":109,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Maria la del Barrio","clientLastName":"Soy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"67 Morelos","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37805","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Maria la del Barrio Soy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Maria la del Barrio Soy","custom_fields":{"Cliente":110,"Domicilio":"\ud83d\udccd Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Maria la del Barrio Soy","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/110","Saldo Actual":"\ud83d\udcb23000 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"110\",\"Domicilio\": \"\"Nombre\": \"Maria la del Barrio Soy\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/110\",\"Saldo Actual\": \"\ud83d\udcb23000 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"07\/04\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 07\/04\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "110","Domicilio": ""Nombre": "Maria la del Barrio Soy","URL": "https://sistema.siip.mx/crm/client/110","Saldo Actual": "💲3000 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 07/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "07/04/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Maria la del Barrio Soy","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-06T02:24:46Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🔴 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲3000 pendientes","Cliente":"110","Clabe Interbancaria":"124180650741646979","Monto Ultimo Pago":"💲 ","user name":"Daniel Humberto 🐁","Fecha Ultima Actualizacion":"📆🔄️ 07/04/2025 10:00","URL":"🌐 https://sistema.siip.mx/crm/client/110","Resumen":"{\"Cliente\": \"110\",\"Domicilio\": \"\"Nombre\": \"Maria la del Barrio Soy\",\"URL\": \"https://sistema.siip.mx/crm/client/110\",\"Saldo Actual\": \"💲3000 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"07/04/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Domicilio":"📍 Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 07/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Nombre":"👤 Maria la del Barrio Soy"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Maria la del Barrio Soy","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-06T02:24:46Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🔴 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲3000 pendientes","Cliente":"110","Clabe Interbancaria":"124180650741646979","Monto Ultimo Pago":"💲 ","user name":"Daniel Humberto 🐁","Fecha Ultima Actualizacion":"📆🔄️ 07/04/2025 10:00","URL":"🌐 https://sistema.siip.mx/crm/client/110","Resumen":"{\"Cliente\": \"110\",\"Domicilio\": \"\"Nombre\": \"Maria la del Barrio Soy\",\"URL\": \"https://sistema.siip.mx/crm/client/110\",\"Saldo Actual\": \"💲3000 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"07/04/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Domicilio":"📍 Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 07/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Nombre":"👤 Maria la del Barrio Soy"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-07 16:00:07.101098] [notice] Logging level set to:debug -[2025-04-07 16:00:07.256612] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-07 16:00:07.256871] [debug] Valor de JSON: {"uuid":"f23d5609-f05c-42c8-9a30-7410fd2b59b1","changeType":"draft_approved","entity":"invoice","entityId":"1812","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1812,"clientId":110,"number":"001762","createdDate":"2025-04-07T10:00:01-0600","dueDate":"2025-04-21T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-06T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1815,"type":"service","label":"plan300 07\/03\/2025 \u2013 06\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":109,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Maria la del Barrio","clientLastName":"Soy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"67 Morelos","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37805","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-07 16:00:07.257033] [debug] Aprobación de Factura - -[2025-04-07 16:00:07.257117] [debug] {"uuid":"f23d5609-f05c-42c8-9a30-7410fd2b59b1","changeType":"draft_approved","entity":"invoice","entityId":1812,"message":null,"clientId":110,"eventName":"invoice.draft_approved","clientData":{"id":110,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"67 Morelos","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37805","fullAddress":"Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-23T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Maria la del Barrio","lastName":"Soy","username":null,"contacts":[{"id":114,"clientId":110,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-3000,"accountCredit":0,"accountOutstanding":3000,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef6c00","addressGpsLat":21.1464449,"addressGpsLon":-100.9141442,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1812,"clientId":110,"number":"001762","createdDate":"2025-04-07T10:00:01-0600","dueDate":"2025-04-21T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1815,"type":"service","label":"plan300 07\/03\/2025 \u2013 06\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":109,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Maria la del Barrio","clientLastName":"Soy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"67 Morelos","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37805","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-07 16:00:07.257205] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-07 16:00:07.257246] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"f23d5609-f05c-42c8-9a30-7410fd2b59b1","changeType":"draft_approved","entity":"invoice","entityId":1812,"message":null,"clientId":110,"eventName":"invoice.draft_approved","clientData":{"id":110,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"67 Morelos","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37805","fullAddress":"Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-23T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Maria la del Barrio","lastName":"Soy","username":null,"contacts":[{"id":114,"clientId":110,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-3000,"accountCredit":0,"accountOutstanding":3000,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef6c00","addressGpsLat":21.1464449,"addressGpsLon":-100.9141442,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1812,"clientId":110,"number":"001762","createdDate":"2025-04-07T10:00:01-0600","dueDate":"2025-04-21T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1815,"type":"service","label":"plan300 07\/03\/2025 \u2013 06\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":109,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Maria la del Barrio","clientLastName":"Soy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"67 Morelos","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37805","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Maria la del Barrio Soy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Maria la del Barrio Soy","custom_fields":{"Cliente":110,"Domicilio":"\ud83d\udccd Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Maria la del Barrio Soy","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/110","Saldo Actual":"\ud83d\udcb23000 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"110\",\"Domicilio\": \"\"Nombre\": \"Maria la del Barrio Soy\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/110\",\"Saldo Actual\": \"\ud83d\udcb23000 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"07\/04\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 07\/04\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "110","Domicilio": ""Nombre": "Maria la del Barrio Soy","URL": "https://sistema.siip.mx/crm/client/110","Saldo Actual": "💲3000 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 07/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "07/04/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Maria la del Barrio Soy","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-06T02:24:46Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🔴 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲3000 pendientes","Cliente":"110","Clabe Interbancaria":"124180650741646979","Monto Ultimo Pago":"💲 ","user name":"Daniel Humberto 🐁","Fecha Ultima Actualizacion":"📆🔄️ 07/04/2025 10:00","URL":"🌐 https://sistema.siip.mx/crm/client/110","Resumen":"{\"Cliente\": \"110\",\"Domicilio\": \"\"Nombre\": \"Maria la del Barrio Soy\",\"URL\": \"https://sistema.siip.mx/crm/client/110\",\"Saldo Actual\": \"💲3000 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"07/04/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Domicilio":"📍 Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 07/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Nombre":"👤 Maria la del Barrio Soy"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Maria la del Barrio Soy","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-06T02:24:46Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🔴 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲3000 pendientes","Cliente":"110","Clabe Interbancaria":"124180650741646979","Monto Ultimo Pago":"💲 ","user name":"Daniel Humberto 🐁","Fecha Ultima Actualizacion":"📆🔄️ 07/04/2025 10:00","URL":"🌐 https://sistema.siip.mx/crm/client/110","Resumen":"{\"Cliente\": \"110\",\"Domicilio\": \"\"Nombre\": \"Maria la del Barrio Soy\",\"URL\": \"https://sistema.siip.mx/crm/client/110\",\"Saldo Actual\": \"💲3000 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"07/04/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Domicilio":"📍 Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 07/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Nombre":"👤 Maria la del Barrio Soy"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-07 16:00:10.130580] [notice] Logging level set to:debug -[2025-04-07 16:00:10.305387] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-07 16:00:10.305531] [debug] Valor de JSON: {"uuid":"64f47385-0a1a-4dff-9b64-89431226abed","changeType":"insert","entity":"invoice","entityId":"1813","eventName":"invoice.add_draft","extraData":{"entity":{"id":1813,"clientId":116,"number":"001763","createdDate":"2025-04-07T10:00:01-0600","dueDate":"2025-04-21T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-06T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1816,"type":"service","label":"PREMIUM 07\/03\/2025 \u2013 06\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":110,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jos\u00e9 Humberto","clientLastName":"Rodr\u00edguez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"28 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-07 16:00:10.305970] [debug] Adición de borrador de Factura - -[2025-04-07 16:00:10.306207] [debug] {"uuid":"64f47385-0a1a-4dff-9b64-89431226abed","changeType":"insert","entity":"invoice","entityId":1813,"message":null,"clientId":116,"eventName":"invoice.add_draft","clientData":{"id":116,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"28 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 28, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jos\u00e9 Humberto","lastName":"Rodr\u00edguez","username":null,"contacts":[{"id":120,"clientId":116,"email":"josehumberto@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-7000,"accountCredit":0,"accountOutstanding":7000,"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":1813,"clientId":116,"number":"001763","createdDate":"2025-04-07T10:00:01-0600","dueDate":"2025-04-21T10:00:01-0600","emailSentDate":"2025-04-07T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1816,"type":"service","label":"PREMIUM 07\/03\/2025 \u2013 06\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":110,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jos\u00e9 Humberto","clientLastName":"Rodr\u00edguez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"28 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-07 16:00:10.306454] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-07 16:00:10.306586] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"64f47385-0a1a-4dff-9b64-89431226abed","changeType":"insert","entity":"invoice","entityId":1813,"message":null,"clientId":116,"eventName":"invoice.add_draft","clientData":{"id":116,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"28 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 28, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jos\u00e9 Humberto","lastName":"Rodr\u00edguez","username":null,"contacts":[{"id":120,"clientId":116,"email":"josehumberto@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-7000,"accountCredit":0,"accountOutstanding":7000,"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":1813,"clientId":116,"number":"001763","createdDate":"2025-04-07T10:00:01-0600","dueDate":"2025-04-21T10:00:01-0600","emailSentDate":"2025-04-07T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1816,"type":"service","label":"PREMIUM 07\/03\/2025 \u2013 06\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":110,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jos\u00e9 Humberto","clientLastName":"Rodr\u00edguez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"28 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: José Humberto Rodríguez - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Jos\u00e9 Humberto Rodr\u00edguez","custom_fields":{"Cliente":116,"Domicilio":"\ud83d\udccd Chiapas 28, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Jos\u00e9 Humberto Rodr\u00edguez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/116","Saldo Actual":"\ud83d\udcb27000 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"116\",\"Domicilio\": \"\"Nombre\": \"Jos\u00e9 Humberto Rodr\u00edguez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/116\",\"Saldo Actual\": \"\ud83d\udcb27000 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"07\/04\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 07\/04\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "116","Domicilio": ""Nombre": "José Humberto Rodríguez","URL": "https://sistema.siip.mx/crm/client/116","Saldo Actual": "💲7000 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 07/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "07/04/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"José Humberto Rodríguez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-06T02:24:46Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🔴 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲7000 pendientes","Cliente":"116","Clabe Interbancaria":"124180650741646979","Monto Ultimo Pago":"💲 ","user name":"Daniel Humberto 🐁","Fecha Ultima Actualizacion":"📆🔄️ 07/04/2025 10:00","URL":"🌐 https://sistema.siip.mx/crm/client/116","Resumen":"{\"Cliente\": \"116\",\"Domicilio\": \"\"Nombre\": \"José Humberto Rodríguez\",\"URL\": \"https://sistema.siip.mx/crm/client/116\",\"Saldo Actual\": \"💲7000 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"07/04/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Domicilio":"📍 Chiapas 28, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 07/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Nombre":"👤 José Humberto Rodríguez"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"José Humberto Rodríguez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-06T02:24:46Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🔴 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲7000 pendientes","Cliente":"116","Clabe Interbancaria":"124180650741646979","Monto Ultimo Pago":"💲 ","user name":"Daniel Humberto 🐁","Fecha Ultima Actualizacion":"📆🔄️ 07/04/2025 10:00","URL":"🌐 https://sistema.siip.mx/crm/client/116","Resumen":"{\"Cliente\": \"116\",\"Domicilio\": \"\"Nombre\": \"José Humberto Rodríguez\",\"URL\": \"https://sistema.siip.mx/crm/client/116\",\"Saldo Actual\": \"💲7000 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"07/04/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Domicilio":"📍 Chiapas 28, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 07/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Nombre":"👤 José Humberto Rodríguez"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-07 16:00:13.628695] [notice] Logging level set to:debug -[2025-04-07 16:00:13.782876] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-07 16:00:13.783092] [debug] Valor de JSON: {"uuid":"df14dfd2-fcb3-449b-8875-0f2130dc9144","changeType":"draft_approved","entity":"invoice","entityId":"1813","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1813,"clientId":116,"number":"001763","createdDate":"2025-04-07T10:00:01-0600","dueDate":"2025-04-21T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-06T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1816,"type":"service","label":"PREMIUM 07\/03\/2025 \u2013 06\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":110,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jos\u00e9 Humberto","clientLastName":"Rodr\u00edguez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"28 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-07 16:00:13.783287] [debug] Aprobación de Factura - -[2025-04-07 16:00:13.783390] [debug] {"uuid":"df14dfd2-fcb3-449b-8875-0f2130dc9144","changeType":"draft_approved","entity":"invoice","entityId":1813,"message":null,"clientId":116,"eventName":"invoice.draft_approved","clientData":{"id":116,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"28 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 28, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jos\u00e9 Humberto","lastName":"Rodr\u00edguez","username":null,"contacts":[{"id":120,"clientId":116,"email":"josehumberto@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-7000,"accountCredit":0,"accountOutstanding":7000,"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":1813,"clientId":116,"number":"001763","createdDate":"2025-04-07T10:00:01-0600","dueDate":"2025-04-21T10:00:01-0600","emailSentDate":"2025-04-07T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1816,"type":"service","label":"PREMIUM 07\/03\/2025 \u2013 06\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":110,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jos\u00e9 Humberto","clientLastName":"Rodr\u00edguez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"28 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-07 16:00:13.783497] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-07 16:00:13.783550] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"df14dfd2-fcb3-449b-8875-0f2130dc9144","changeType":"draft_approved","entity":"invoice","entityId":1813,"message":null,"clientId":116,"eventName":"invoice.draft_approved","clientData":{"id":116,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"28 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 28, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jos\u00e9 Humberto","lastName":"Rodr\u00edguez","username":null,"contacts":[{"id":120,"clientId":116,"email":"josehumberto@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-7000,"accountCredit":0,"accountOutstanding":7000,"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":1813,"clientId":116,"number":"001763","createdDate":"2025-04-07T10:00:01-0600","dueDate":"2025-04-21T10:00:01-0600","emailSentDate":"2025-04-07T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1816,"type":"service","label":"PREMIUM 07\/03\/2025 \u2013 06\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":110,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jos\u00e9 Humberto","clientLastName":"Rodr\u00edguez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"28 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: José Humberto Rodríguez - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Jos\u00e9 Humberto Rodr\u00edguez","custom_fields":{"Cliente":116,"Domicilio":"\ud83d\udccd Chiapas 28, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Jos\u00e9 Humberto Rodr\u00edguez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/116","Saldo Actual":"\ud83d\udcb27000 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"116\",\"Domicilio\": \"\"Nombre\": \"Jos\u00e9 Humberto Rodr\u00edguez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/116\",\"Saldo Actual\": \"\ud83d\udcb27000 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"07\/04\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 07\/04\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "116","Domicilio": ""Nombre": "José Humberto Rodríguez","URL": "https://sistema.siip.mx/crm/client/116","Saldo Actual": "💲7000 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 07/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "07/04/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"José Humberto Rodríguez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-06T02:24:46Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🔴 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲7000 pendientes","Cliente":"116","Clabe Interbancaria":"124180650741646979","Monto Ultimo Pago":"💲 ","user name":"Daniel Humberto 🐁","Fecha Ultima Actualizacion":"📆🔄️ 07/04/2025 10:00","URL":"🌐 https://sistema.siip.mx/crm/client/116","Resumen":"{\"Cliente\": \"116\",\"Domicilio\": \"\"Nombre\": \"José Humberto Rodríguez\",\"URL\": \"https://sistema.siip.mx/crm/client/116\",\"Saldo Actual\": \"💲7000 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"07/04/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Domicilio":"📍 Chiapas 28, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 07/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Nombre":"👤 José Humberto Rodríguez"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"José Humberto Rodríguez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-06T02:24:46Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🔴 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲7000 pendientes","Cliente":"116","Clabe Interbancaria":"124180650741646979","Monto Ultimo Pago":"💲 ","user name":"Daniel Humberto 🐁","Fecha Ultima Actualizacion":"📆🔄️ 07/04/2025 10:00","URL":"🌐 https://sistema.siip.mx/crm/client/116","Resumen":"{\"Cliente\": \"116\",\"Domicilio\": \"\"Nombre\": \"José Humberto Rodríguez\",\"URL\": \"https://sistema.siip.mx/crm/client/116\",\"Saldo Actual\": \"💲7000 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"07/04/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Domicilio":"📍 Chiapas 28, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 07/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Nombre":"👤 José Humberto Rodríguez"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-07 18:47:39.115360] [notice] Logging level set to:debug -[2025-04-07 18:47:39.245039] [debug] valor el evento recibido por webhook: invoice.edit - -[2025-04-07 18:47:39.245240] [debug] Valor de JSON: {"uuid":"a1c0d08b-673d-4c32-8ba4-355632fdc2cc","changeType":"edit","entity":"invoice","entityId":"1812","eventName":"invoice.edit","extraData":{"entity":{"id":1812,"clientId":110,"number":"001762","createdDate":"2025-04-07T10:00:01-0600","dueDate":"2025-04-21T10:00:01-0600","emailSentDate":"2025-04-07T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1815,"type":"service","label":"plan300 07\/03\/2025 \u2013 06\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":109,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":300,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":712,"invoiceId":1812,"paymentId":615,"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":"Maria la del Barrio","clientLastName":"Soy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"67 Morelos","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37805","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":1812,"clientId":110,"number":"001762","createdDate":"2025-04-07T10:00:01-0600","dueDate":"2025-04-21T10:00:01-0600","emailSentDate":"2025-04-07T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1815,"type":"service","label":"plan300 07\/03\/2025 \u2013 06\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":109,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[{"id":712,"invoiceId":1812,"paymentId":615,"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":"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}}} - -[2025-04-07 18:47:39.245517] [debug] Edición de Factura - -[2025-04-07 18:47:39.245621] [debug] {"uuid":"a1c0d08b-673d-4c32-8ba4-355632fdc2cc","changeType":"edit","entity":"invoice","entityId":1812,"message":null,"clientId":110,"eventName":"invoice.edit","clientData":{"id":110,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"67 Morelos","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37805","fullAddress":"Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-23T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Maria la del Barrio","lastName":"Soy","username":null,"contacts":[{"id":114,"clientId":110,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-2700,"accountCredit":0,"accountOutstanding":2700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef6c00","addressGpsLat":21.1464449,"addressGpsLon":-100.9141442,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1812,"clientId":110,"number":"001762","createdDate":"2025-04-07T10:00:01-0600","dueDate":"2025-04-21T10:00:01-0600","emailSentDate":"2025-04-07T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1815,"type":"service","label":"plan300 07\/03\/2025 \u2013 06\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":109,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":300,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":712,"invoiceId":1812,"paymentId":615,"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":"Maria la del Barrio","clientLastName":"Soy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"67 Morelos","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37805","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-07 18:47:39.245729] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-07 18:47:39.245862] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"a1c0d08b-673d-4c32-8ba4-355632fdc2cc","changeType":"edit","entity":"invoice","entityId":1812,"message":null,"clientId":110,"eventName":"invoice.edit","clientData":{"id":110,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"67 Morelos","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37805","fullAddress":"Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-23T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Maria la del Barrio","lastName":"Soy","username":null,"contacts":[{"id":114,"clientId":110,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-2700,"accountCredit":0,"accountOutstanding":2700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef6c00","addressGpsLat":21.1464449,"addressGpsLon":-100.9141442,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1812,"clientId":110,"number":"001762","createdDate":"2025-04-07T10:00:01-0600","dueDate":"2025-04-21T10:00:01-0600","emailSentDate":"2025-04-07T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1815,"type":"service","label":"plan300 07\/03\/2025 \u2013 06\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":109,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":300,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":712,"invoiceId":1812,"paymentId":615,"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":"Maria la del Barrio","clientLastName":"Soy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"67 Morelos","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37805","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":615,"clientId":110,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-07T12:47:38-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-04-07T12:47:39-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":712,"invoiceId":1812,"paymentId":615,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Maria la del Barrio Soy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Maria la del Barrio Soy","custom_fields":{"Cliente":110,"Domicilio":"\ud83d\udccd Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Maria la del Barrio Soy","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/110","Saldo Actual":"\ud83d\udcb22700 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"110\",\"Domicilio\": \"\"Nombre\": \"Maria la del Barrio Soy\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/110\",\"Saldo Actual\": \"\ud83d\udcb22700 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07\/04\/2025 12:47 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"07\/04\/2025 12:47\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/04\/2025 12:47 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 07\/04\/2025 12:47","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "110","Domicilio": ""Nombre": "Maria la del Barrio Soy","URL": "https://sistema.siip.mx/crm/client/110","Saldo Actual": "💲2700 pendientes","Monto Ultimo Pago": "$ 300","Estado": "Suspendido","Fecha Ultimo Pago": " 07/04/2025 12:47 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "07/04/2025 12:47","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Maria la del Barrio Soy","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-06T02:24:46Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🔴 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲2700 pendientes","Cliente":"110","Clabe Interbancaria":"124180650741646979","Monto Ultimo Pago":"💲 300","user name":"Daniel Humberto 🐁","Fecha Ultima Actualizacion":"📆🔄️ 07/04/2025 12:47","URL":"🌐 https://sistema.siip.mx/crm/client/110","Resumen":"{\"Cliente\": \"110\",\"Domicilio\": \"\"Nombre\": \"Maria la del Barrio Soy\",\"URL\": \"https://sistema.siip.mx/crm/client/110\",\"Saldo Actual\": \"💲2700 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/04/2025 12:47 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"07/04/2025 12:47\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Domicilio":"📍 Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 07/04/2025 12:47 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Maria la del Barrio Soy"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Maria la del Barrio Soy","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-06T02:24:46Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🔴 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲2700 pendientes","Cliente":"110","Clabe Interbancaria":"124180650741646979","Monto Ultimo Pago":"💲 300","user name":"Daniel Humberto 🐁","Fecha Ultima Actualizacion":"📆🔄️ 07/04/2025 12:47","URL":"🌐 https://sistema.siip.mx/crm/client/110","Resumen":"{\"Cliente\": \"110\",\"Domicilio\": \"\"Nombre\": \"Maria la del Barrio Soy\",\"URL\": \"https://sistema.siip.mx/crm/client/110\",\"Saldo Actual\": \"💲2700 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/04/2025 12:47 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"07/04/2025 12:47\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Domicilio":"📍 Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 07/04/2025 12:47 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Maria la del Barrio Soy"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-07 18:47:42.079967] [notice] Logging level set to:debug -[2025-04-07 18:47:42.203022] [debug] valor el evento recibido por webhook: payment.add - -[2025-04-07 18:47:42.203155] [debug] Valor de JSON: {"uuid":"be5a2212-c7f2-4bd7-be0c-185ea3fc5efd","changeType":"insert","entity":"payment","entityId":"615","eventName":"payment.add","extraData":{"entity":{"id":615,"clientId":110,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-07T12:47:38-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":712,"invoiceId":1812,"paymentId":615,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":null}} - -[2025-04-07 18:47:42.203325] [debug] Notification encodificado en JSON:{"uuid":"be5a2212-c7f2-4bd7-be0c-185ea3fc5efd","changeType":"insert","entity":"payment","entityId":615,"message":null,"clientId":110,"eventName":"payment.add","clientData":{"id":110,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"67 Morelos","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37805","fullAddress":"Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-23T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Maria la del Barrio","lastName":"Soy","username":null,"contacts":[{"id":114,"clientId":110,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-2700,"accountCredit":0,"accountOutstanding":2700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef6c00","addressGpsLat":21.1464449,"addressGpsLon":-100.9141442,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":615,"clientId":110,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-07T12:47:38-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-04-07T12:47:39-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":712,"invoiceId":1812,"paymentId":615,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}} - -[2025-04-07 18:47:42.203388] [debug] valor del payment data: {"id":615,"clientId":110,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-07T12:47:38-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-04-07T12:47:39-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":712,"invoiceId":1812,"paymentId":615,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]} - -[2025-04-07 18:47:42.203458] [info] {"WhatsApp":["4181878106"]} -[2025-04-07 18:47:42.203495] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-07 18:47:42.203576] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-04-07 18:47:42.203623] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -Eviando comprobante de pago al cliente: 110 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_Maria_la_del_Barrio_Soy.pdf - -El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Maria_la_del_Barrio_Soy.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Maria_la_del_Barrio_Soy.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Maria_la_del_Barrio_Soy.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Maria_la_del_Barrio_Soy.png - -No se pudo obtener la lista de archivos de la carpeta FTP - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Maria_la_del_Barrio_Soy.png" - }, - "template_values": ["Maria la del Barrio Soy", "$300", "$2700 pendientes"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"a080d3dcf32f44eda768c4a2bbd2b143","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":"be5a2212-c7f2-4bd7-be0c-185ea3fc5efd","changeType":"insert","entity":"payment","entityId":615,"message":null,"clientId":110,"eventName":"payment.add","clientData":{"id":110,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"67 Morelos","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37805","fullAddress":"Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-23T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Maria la del Barrio","lastName":"Soy","username":null,"contacts":[{"id":114,"clientId":110,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-2700,"accountCredit":0,"accountOutstanding":2700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef6c00","addressGpsLat":21.1464449,"addressGpsLon":-100.9141442,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":615,"clientId":110,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-07T12:47:38-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-04-07T12:47:39-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":712,"invoiceId":1812,"paymentId":615,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":615,"clientId":110,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-07T12:47:38-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-04-07T12:47:39-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":712,"invoiceId":1812,"paymentId":615,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Maria la del Barrio Soy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Maria la del Barrio Soy","custom_fields":{"Cliente":110,"Domicilio":"\ud83d\udccd Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Maria la del Barrio Soy","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/110","Saldo Actual":"\ud83d\udcb22700 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"110\",\"Domicilio\": \"\"Nombre\": \"Maria la del Barrio Soy\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/110\",\"Saldo Actual\": \"\ud83d\udcb22700 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07\/04\/2025 12:47 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"07\/04\/2025 12:47\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/04\/2025 12:47 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 07\/04\/2025 12:47","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "110","Domicilio": ""Nombre": "Maria la del Barrio Soy","URL": "https://sistema.siip.mx/crm/client/110","Saldo Actual": "💲2700 pendientes","Monto Ultimo Pago": "$ 300","Estado": "Suspendido","Fecha Ultimo Pago": " 07/04/2025 12:47 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "07/04/2025 12:47","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Maria la del Barrio Soy","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-06T02:24:46Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🔴 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲2700 pendientes","Cliente":"110","Clabe Interbancaria":"124180650741646979","Monto Ultimo Pago":"💲 300","user name":"Daniel Humberto 🐁","Fecha Ultima Actualizacion":"📆🔄️ 07/04/2025 12:47","URL":"🌐 https://sistema.siip.mx/crm/client/110","Resumen":"{\"Cliente\": \"110\",\"Domicilio\": \"\"Nombre\": \"Maria la del Barrio Soy\",\"URL\": \"https://sistema.siip.mx/crm/client/110\",\"Saldo Actual\": \"💲2700 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/04/2025 12:47 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"07/04/2025 12:47\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Domicilio":"📍 Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 07/04/2025 12:47 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Maria la del Barrio Soy"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Maria la del Barrio Soy","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-06T02:24:46Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🔴 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲2700 pendientes","Cliente":"110","Clabe Interbancaria":"124180650741646979","Monto Ultimo Pago":"💲 300","user name":"Daniel Humberto 🐁","Fecha Ultima Actualizacion":"📆🔄️ 07/04/2025 12:47","URL":"🌐 https://sistema.siip.mx/crm/client/110","Resumen":"{\"Cliente\": \"110\",\"Domicilio\": \"\"Nombre\": \"Maria la del Barrio Soy\",\"URL\": \"https://sistema.siip.mx/crm/client/110\",\"Saldo Actual\": \"💲2700 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/04/2025 12:47 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"07/04/2025 12:47\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Domicilio":"📍 Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 07/04/2025 12:47 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Maria la del Barrio Soy"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-07 18:47:48.545566] [notice] Logging level set to:debug -[2025-04-07 18:47:48.661869] [debug] valor el evento recibido por webhook: payment.edit - -[2025-04-07 18:47:48.661921] [debug] Valor de JSON: {"uuid":"5e4b93fb-21e2-4fa8-b79a-f36d9e962d5b","changeType":"edit","entity":"payment","entityId":"615","eventName":"payment.edit","extraData":{"entity":{"id":615,"clientId":110,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-07T12:47:38-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-04-07T12:47:39-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":712,"invoiceId":1812,"paymentId":615,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":615,"clientId":110,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-07T12:47:38-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":712,"invoiceId":1812,"paymentId":615,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}}} - -[2025-04-08 6:25:02.881211] [notice] Logging level set to:debug -[2025-04-08 6:25:03.049942] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-08 6:25:03.050009] [debug] Valor de JSON: {"uuid":"42c63120-0ec2-4652-a5a9-86058b93ec1b","changeType":"overdue","entity":"invoice","entityId":"1703","eventName":"invoice.overdue","extraData":{"entity":{"id":1703,"clientId":126,"number":"001654","createdDate":"2025-03-24T10:00:01-0600","dueDate":"2025-04-07T10:00:01-0600","emailSentDate":"2025-04-08T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-22T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1706,"type":"service","label":"PREMIUM 24\/02\/2025 \u2013 23\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":108,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL INNU","clientLastName":"RATA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-08 6:25:03.050223] [debug] Factura vencida - -[2025-04-08 6:25:03.050271] [debug] datos del notification para el invoice overdue:{"uuid":"42c63120-0ec2-4652-a5a9-86058b93ec1b","changeType":"overdue","entity":"invoice","entityId":1703,"message":null,"clientId":126,"eventName":"invoice.overdue","clientData":{"id":126,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-05-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DANIEL INNU","lastName":"RATA","username":"dhsv.141089@gmail.com","contacts":[{"id":130,"clientId":126,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":127,"clientId":126,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QASKG6Z0Hree1h","clientZoneVisible":true},{"id":128,"clientId":126,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180704572078989","clientZoneVisible":true}],"accountBalance":-2800,"accountCredit":0,"accountOutstanding":2800,"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":1703,"clientId":126,"number":"001654","createdDate":"2025-03-24T10:00:01-0600","dueDate":"2025-04-07T10:00:01-0600","emailSentDate":"2025-04-08T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-22T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1706,"type":"service","label":"PREMIUM 24\/02\/2025 \u2013 23\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":108,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL INNU","clientLastName":"RATA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-08 6:25:03.050296] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-08 6:25:03.050404] [debug] Numero de cel obtenido - -[2025-04-08 6:25:03.050415] [warning] No se encontró un teléfono celular válido para el cliente: 126 -[2025-04-08 6:25:03.256804] [notice] Logging level set to:debug -[2025-04-08 6:25:03.398303] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-08 6:25:03.398364] [debug] Valor de JSON: {"uuid":"cf28ae8a-b74b-464e-b59d-731bfccf0e76","changeType":"overdue","entity":"invoice","entityId":"1704","eventName":"invoice.overdue","extraData":{"entity":{"id":1704,"clientId":114,"number":"001655","createdDate":"2025-03-24T10:33:07-0600","dueDate":"2025-04-07T10:33:07-0600","emailSentDate":"2025-04-08T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1707,"type":"service","label":"Basico 300 24\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":0.26666666666667,"total":80,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":149,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":80,"discount":null,"discountLabel":"Descuento","taxes":[],"total":80,"amountPaid":0,"totalUntaxed":80,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":80,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Juan Calavera","clientLastName":"Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Guanajuato","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-08 6:25:03.398452] [debug] Factura vencida - -[2025-04-08 6:25:03.398490] [debug] datos del notification para el invoice overdue:{"uuid":"cf28ae8a-b74b-464e-b59d-731bfccf0e76","changeType":"overdue","entity":"invoice","entityId":1704,"message":null,"clientId":114,"eventName":"invoice.overdue","clientData":{"id":114,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Guanajuato","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan Calavera","lastName":"Gonz\u00e1lez","username":null,"contacts":[{"id":118,"clientId":114,"email":"juancalavera@gmail.com","phone":"41856987412","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":188,"clientId":114,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0EQeXBl8NhBZi","clientZoneVisible":true},{"id":189,"clientId":114,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180969856650415","clientZoneVisible":true}],"accountBalance":-380,"accountCredit":0,"accountOutstanding":380,"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":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1704,"clientId":114,"number":"001655","createdDate":"2025-03-24T10:33:07-0600","dueDate":"2025-04-07T10:33:07-0600","emailSentDate":"2025-04-08T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1707,"type":"service","label":"Basico 300 24\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":0.26666666666667,"total":80,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":149,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":80,"discount":null,"discountLabel":"Descuento","taxes":[],"total":80,"amountPaid":0,"totalUntaxed":80,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":80,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Juan Calavera","clientLastName":"Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Guanajuato","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-08 6:25:03.398514] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-08 6:25:03.398569] [debug] Numero de cel obtenido - -[2025-04-08 6:25:03.398580] [warning] No se encontró un teléfono celular válido para el cliente: 114 -[2025-04-08 6:25:03.508116] [notice] Logging level set to:debug -[2025-04-08 6:25:03.650147] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-08 6:25:03.650202] [debug] Valor de JSON: {"uuid":"9ff947f2-245f-4481-9560-bdb2acc428b9","changeType":"overdue","entity":"invoice","entityId":"1705","eventName":"invoice.overdue","extraData":{"entity":{"id":1705,"clientId":114,"number":"001656","createdDate":"2025-03-24T10:33:07-0600","dueDate":"2025-04-07T10:33:07-0600","emailSentDate":"2025-04-08T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1708,"type":"service","label":"Basico 300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":149,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Juan Calavera","clientLastName":"Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Guanajuato","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-08 6:25:03.650307] [debug] Factura vencida - -[2025-04-08 6:25:03.650347] [debug] datos del notification para el invoice overdue:{"uuid":"9ff947f2-245f-4481-9560-bdb2acc428b9","changeType":"overdue","entity":"invoice","entityId":1705,"message":null,"clientId":114,"eventName":"invoice.overdue","clientData":{"id":114,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Guanajuato","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan Calavera","lastName":"Gonz\u00e1lez","username":null,"contacts":[{"id":118,"clientId":114,"email":"juancalavera@gmail.com","phone":"41856987412","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":188,"clientId":114,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0EQeXBl8NhBZi","clientZoneVisible":true},{"id":189,"clientId":114,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180969856650415","clientZoneVisible":true}],"accountBalance":-380,"accountCredit":0,"accountOutstanding":380,"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":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1705,"clientId":114,"number":"001656","createdDate":"2025-03-24T10:33:07-0600","dueDate":"2025-04-07T10:33:07-0600","emailSentDate":"2025-04-08T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-24T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1708,"type":"service","label":"Basico 300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":149,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Juan Calavera","clientLastName":"Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Guanajuato","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-08 6:25:03.650366] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-08 6:25:03.650418] [debug] Numero de cel obtenido - -[2025-04-08 6:25:03.650434] [warning] No se encontró un teléfono celular válido para el cliente: 114 -[2025-04-08 18:30:02.707979] [notice] Logging level set to:debug -[2025-04-08 18:30:02.913503] [debug] valor el evento recibido por webhook: service.suspend - -[2025-04-08 18:30:02.913686] [debug] Valor de JSON: {"uuid":"9d153b1b-a82a-485b-b56b-5de67c5c41e1","changeType":"suspend","entity":"service","entityId":"149","eventName":"service.suspend","extraData":{"entity":{"id":149,"prepaid":false,"clientId":114,"status":3,"name":"Basico 300","fullAddress":"Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Guanajuato","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-03-24T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"fc029e42-0a10-43c6-a432-08e9fe772f21","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":155,"startDate":"2025-04-08T12:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":149,"prepaid":false,"clientId":114,"status":1,"name":"Basico 300","fullAddress":"Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Guanajuato","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-03-24T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"fc029e42-0a10-43c6-a432-08e9fe772f21","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":155,"startDate":"2025-04-08T12:30:02-0600","endDate":null}],"surcharges":[]}}} - -[2025-04-08 18:30:02.913939] [debug] Se suspendió el servicio a un cliente - -[2025-04-08 18:30:02.914052] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-08 18:30:02.914097] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-04-08 18:30:02.914166] [info] {"uuid":"9d153b1b-a82a-485b-b56b-5de67c5c41e1","changeType":"suspend","entity":"service","entityId":149,"message":null,"clientId":114,"eventName":"service.suspend","clientData":{"id":114,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Guanajuato","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan Calavera","lastName":"Gonz\u00e1lez","username":null,"contacts":[{"id":118,"clientId":114,"email":"juancalavera@gmail.com","phone":"41856987412","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":188,"clientId":114,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0EQeXBl8NhBZi","clientZoneVisible":true},{"id":189,"clientId":114,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180969856650415","clientZoneVisible":true}],"accountBalance":-380,"accountCredit":0,"accountOutstanding":380,"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":{"id":149,"prepaid":false,"clientId":114,"status":3,"name":"Basico 300","fullAddress":"Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Guanajuato","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-03-24T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"fc029e42-0a10-43c6-a432-08e9fe772f21","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":155,"startDate":"2025-04-08T00:00:00-0600","endDate":null}],"surcharges":[],"stopReason":"Payments overdue"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Juan Calavera González - -UUID: - -JSON con los datos a actualizar: {"name":"Juan Calavera Gonz\u00e1lez","custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 08\/04\/2025 12:30"}} - -Response Patch CallBell: - -[2025-04-08 18:30:04.392714] [notice] Logging level set to:debug -[2025-04-08 18:30:04.573560] [debug] valor el evento recibido por webhook: service.edit - -[2025-04-08 18:30:04.573657] [debug] Valor de JSON: {"uuid":"f3612924-a6a1-4aca-9e64-65bd0946748a","changeType":"edit","entity":"service","entityId":"149","eventName":"service.edit","extraData":{"entity":{"id":149,"prepaid":false,"clientId":114,"status":3,"name":"Basico 300","fullAddress":"Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Guanajuato","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-03-24T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"fc029e42-0a10-43c6-a432-08e9fe772f21","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":155,"startDate":"2025-04-08T12:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":149,"prepaid":false,"clientId":114,"status":1,"name":"Basico 300","fullAddress":"Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Guanajuato","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-03-24T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"fc029e42-0a10-43c6-a432-08e9fe772f21","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":155,"startDate":"2025-04-08T12:30:02-0600","endDate":null}],"surcharges":[]}}} - -[2025-04-08 18:30:04.573792] [debug] Se editó el servicio a un cliente - -[2025-04-08 18:30:04.573843] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-08 18:30:04.573860] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-04-08 18:30:04.573916] [info] {"uuid":"f3612924-a6a1-4aca-9e64-65bd0946748a","changeType":"edit","entity":"service","entityId":149,"message":null,"clientId":114,"eventName":"service.edit","clientData":{"id":114,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Guanajuato","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan Calavera","lastName":"Gonz\u00e1lez","username":null,"contacts":[{"id":118,"clientId":114,"email":"juancalavera@gmail.com","phone":"41856987412","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":188,"clientId":114,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0EQeXBl8NhBZi","clientZoneVisible":true},{"id":189,"clientId":114,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180969856650415","clientZoneVisible":true}],"accountBalance":-380,"accountCredit":0,"accountOutstanding":380,"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":{"id":149,"prepaid":false,"clientId":114,"status":3,"name":"Basico 300","fullAddress":"Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Guanajuato","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-03-24T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"fc029e42-0a10-43c6-a432-08e9fe772f21","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":155,"startDate":"2025-04-08T00:00:00-0600","endDate":null}],"surcharges":[],"stopReason":"Payments overdue"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Juan Calavera González - -UUID: - -JSON con los datos a actualizar: {"name":"Juan Calavera Gonz\u00e1lez","custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 08\/04\/2025 12:30"}} - -Response Patch CallBell: - -[2025-04-09 6:25:02.996969] [notice] Logging level set to:debug -[2025-04-09 6:25:03.183578] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-09 6:25:03.183643] [debug] Valor de JSON: {"uuid":"78b30f66-8a44-40da-a51a-a6cbd4661e6c","changeType":"overdue","entity":"invoice","entityId":"1706","eventName":"invoice.overdue","extraData":{"entity":{"id":1706,"clientId":160,"number":"001657","createdDate":"2025-03-25T02:54:49-0600","dueDate":"2025-04-08T02:54:49-0600","emailSentDate":"2025-04-09T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-25T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1709,"type":"service","label":"Basico 300 25\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":0.23333333333333,"total":70,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":151,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":70,"discount":null,"discountLabel":"Descuento","taxes":[],"total":70,"amountPaid":0,"totalUntaxed":70,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":70,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jimy","clientLastName":"Turner","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Jalisco","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-09 6:25:03.183846] [debug] Factura vencida - -[2025-04-09 6:25:03.183891] [debug] datos del notification para el invoice overdue:{"uuid":"78b30f66-8a44-40da-a51a-a6cbd4661e6c","changeType":"overdue","entity":"invoice","entityId":1706,"message":null,"clientId":160,"eventName":"invoice.overdue","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1706,"clientId":160,"number":"001657","createdDate":"2025-03-25T02:54:49-0600","dueDate":"2025-04-08T02:54:49-0600","emailSentDate":"2025-04-09T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-25T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1709,"type":"service","label":"Basico 300 25\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":0.23333333333333,"total":70,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":151,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":70,"discount":null,"discountLabel":"Descuento","taxes":[],"total":70,"amountPaid":0,"totalUntaxed":70,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":70,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jimy","clientLastName":"Turner","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Jalisco","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-09 6:25:03.183909] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-09 6:25:03.184017] [debug] Numero de cel obtenido - -[2025-04-09 6:25:03.184029] [warning] No se encontró un teléfono celular válido para el cliente: 160 -[2025-04-09 6:25:03.336846] [notice] Logging level set to:debug -[2025-04-09 6:25:03.481282] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-09 6:25:03.481340] [debug] Valor de JSON: {"uuid":"533ed62a-a4c4-454c-9006-a9bd3975e459","changeType":"overdue","entity":"invoice","entityId":"1707","eventName":"invoice.overdue","extraData":{"entity":{"id":1707,"clientId":160,"number":"001658","createdDate":"2025-03-25T02:54:49-0600","dueDate":"2025-04-08T02:54:49-0600","emailSentDate":"2025-04-09T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-25T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1710,"type":"service","label":"Basico 300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":151,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jimy","clientLastName":"Turner","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Jalisco","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-09 6:25:03.481437] [debug] Factura vencida - -[2025-04-09 6:25:03.481475] [debug] datos del notification para el invoice overdue:{"uuid":"533ed62a-a4c4-454c-9006-a9bd3975e459","changeType":"overdue","entity":"invoice","entityId":1707,"message":null,"clientId":160,"eventName":"invoice.overdue","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-370,"accountCredit":0,"accountOutstanding":370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1707,"clientId":160,"number":"001658","createdDate":"2025-03-25T02:54:49-0600","dueDate":"2025-04-08T02:54:49-0600","emailSentDate":"2025-04-09T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-25T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1710,"type":"service","label":"Basico 300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":151,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jimy","clientLastName":"Turner","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Jalisco","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-09 6:25:03.481498] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-09 6:25:03.481553] [debug] Numero de cel obtenido - -[2025-04-09 6:25:03.481564] [warning] No se encontró un teléfono celular válido para el cliente: 160 -[2025-04-09 16:00:04.523874] [notice] Logging level set to:debug -[2025-04-09 16:00:04.750483] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-09 16:00:04.750540] [debug] Valor de JSON: {"uuid":"f79db895-67a3-4dbf-8049-b5e8fe8b42b0","changeType":"insert","entity":"invoice","entityId":"1814","eventName":"invoice.add_draft","extraData":{"entity":{"id":1814,"clientId":118,"number":"001764","createdDate":"2025-04-09T10:00:01-0600","dueDate":"2025-04-23T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-08T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1817,"type":"service","label":"plan300 09\/03\/2025 \u2013 08\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":105,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Toro Sentado","clientLastName":"Ram\u00edrez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"56 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-09 16:00:04.750758] [debug] Adición de borrador de Factura - -[2025-04-09 16:00:04.750814] [debug] {"uuid":"f79db895-67a3-4dbf-8049-b5e8fe8b42b0","changeType":"insert","entity":"invoice","entityId":1814,"message":null,"clientId":118,"eventName":"invoice.add_draft","clientData":{"id":118,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"56 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Toro Sentado","lastName":"Ram\u00edrez","username":null,"contacts":[{"id":122,"clientId":118,"email":"pepeeltoro141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":119,"clientId":118,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180173419260258","clientZoneVisible":true}],"accountBalance":-3300,"accountCredit":0,"accountOutstanding":3300,"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":1814,"clientId":118,"number":"001764","createdDate":"2025-04-09T10:00:01-0600","dueDate":"2025-04-23T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-07T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1817,"type":"service","label":"plan300 09\/03\/2025 \u2013 08\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":105,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Toro Sentado","clientLastName":"Ram\u00edrez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"56 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-09 16:00:04.750880] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-09 16:00:04.750907] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"f79db895-67a3-4dbf-8049-b5e8fe8b42b0","changeType":"insert","entity":"invoice","entityId":1814,"message":null,"clientId":118,"eventName":"invoice.add_draft","clientData":{"id":118,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"56 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Toro Sentado","lastName":"Ram\u00edrez","username":null,"contacts":[{"id":122,"clientId":118,"email":"pepeeltoro141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":119,"clientId":118,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180173419260258","clientZoneVisible":true}],"accountBalance":-3300,"accountCredit":0,"accountOutstanding":3300,"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":1814,"clientId":118,"number":"001764","createdDate":"2025-04-09T10:00:01-0600","dueDate":"2025-04-23T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-07T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1817,"type":"service","label":"plan300 09\/03\/2025 \u2013 08\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":105,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Toro Sentado","clientLastName":"Ram\u00edrez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"56 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Toro Sentado Ramírez - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Toro Sentado Ram\u00edrez","custom_fields":{"Cliente":118,"Domicilio":"\ud83d\udccd Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Toro Sentado Ram\u00edrez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/118","Saldo Actual":"\ud83d\udcb23300 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"118\",\"Domicilio\": \"\"Nombre\": \"Toro Sentado Ram\u00edrez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/118\",\"Saldo Actual\": \"\ud83d\udcb23300 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 09\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"09\/04\/2025 10:00\",\"Clabe Interbancaria\": \"002180173419260258\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 09\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 09\/04\/2025 10:00","Clabe Interbancaria":"002180173419260258","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "118","Domicilio": ""Nombre": "Toro Sentado Ramírez","URL": "https://sistema.siip.mx/crm/client/118","Saldo Actual": "💲3300 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 09/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "09/04/2025 10:00","Clabe Interbancaria": "002180173419260258","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Toro Sentado Ramírez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🔴 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲3300 pendientes","Cliente":"118","Clabe Interbancaria":"002180173419260258","Monto Ultimo Pago":"💲 ","Fecha Ultima Actualizacion":"📆🔄️ 09/04/2025 10:00","URL":"🌐 https://sistema.siip.mx/crm/client/118","Resumen":"{\"Cliente\": \"118\",\"Domicilio\": \"\"Nombre\": \"Toro Sentado Ramírez\",\"URL\": \"https://sistema.siip.mx/crm/client/118\",\"Saldo Actual\": \"💲3300 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 09/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"09/04/2025 10:00\",\"Clabe Interbancaria\": \"002180173419260258\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Domicilio":"📍 Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 09/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Nombre":"👤 Toro Sentado Ramírez","user name":"Daniel Humberto 🐁"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Toro Sentado Ramírez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🔴 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲3300 pendientes","Cliente":"118","Clabe Interbancaria":"002180173419260258","Monto Ultimo Pago":"💲 ","Fecha Ultima Actualizacion":"📆🔄️ 09/04/2025 10:00","URL":"🌐 https://sistema.siip.mx/crm/client/118","Resumen":"{\"Cliente\": \"118\",\"Domicilio\": \"\"Nombre\": \"Toro Sentado Ramírez\",\"URL\": \"https://sistema.siip.mx/crm/client/118\",\"Saldo Actual\": \"💲3300 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 09/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"09/04/2025 10:00\",\"Clabe Interbancaria\": \"002180173419260258\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Domicilio":"📍 Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 09/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Nombre":"👤 Toro Sentado Ramírez","user name":"Daniel Humberto 🐁"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-09 16:00:07.381463] [notice] Logging level set to:debug -[2025-04-09 16:00:07.550736] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-09 16:00:07.550791] [debug] Valor de JSON: {"uuid":"09248c72-bf5f-4e60-8ac6-30313acc9b3d","changeType":"draft_approved","entity":"invoice","entityId":"1814","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1814,"clientId":118,"number":"001764","createdDate":"2025-04-09T10:00:01-0600","dueDate":"2025-04-23T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-08T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1817,"type":"service","label":"plan300 09\/03\/2025 \u2013 08\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":105,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Toro Sentado","clientLastName":"Ram\u00edrez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"56 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-09 16:00:07.550935] [debug] Aprobación de Factura - -[2025-04-09 16:00:07.550983] [debug] {"uuid":"09248c72-bf5f-4e60-8ac6-30313acc9b3d","changeType":"draft_approved","entity":"invoice","entityId":1814,"message":null,"clientId":118,"eventName":"invoice.draft_approved","clientData":{"id":118,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"56 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Toro Sentado","lastName":"Ram\u00edrez","username":null,"contacts":[{"id":122,"clientId":118,"email":"pepeeltoro141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":119,"clientId":118,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180173419260258","clientZoneVisible":true}],"accountBalance":-3300,"accountCredit":0,"accountOutstanding":3300,"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":1814,"clientId":118,"number":"001764","createdDate":"2025-04-09T10:00:01-0600","dueDate":"2025-04-23T10:00:01-0600","emailSentDate":"2025-04-09T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-07T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1817,"type":"service","label":"plan300 09\/03\/2025 \u2013 08\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":105,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Toro Sentado","clientLastName":"Ram\u00edrez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"56 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-09 16:00:07.551035] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-09 16:00:07.551045] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"09248c72-bf5f-4e60-8ac6-30313acc9b3d","changeType":"draft_approved","entity":"invoice","entityId":1814,"message":null,"clientId":118,"eventName":"invoice.draft_approved","clientData":{"id":118,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"56 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Toro Sentado","lastName":"Ram\u00edrez","username":null,"contacts":[{"id":122,"clientId":118,"email":"pepeeltoro141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":119,"clientId":118,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180173419260258","clientZoneVisible":true}],"accountBalance":-3300,"accountCredit":0,"accountOutstanding":3300,"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":1814,"clientId":118,"number":"001764","createdDate":"2025-04-09T10:00:01-0600","dueDate":"2025-04-23T10:00:01-0600","emailSentDate":"2025-04-09T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-07T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1817,"type":"service","label":"plan300 09\/03\/2025 \u2013 08\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":105,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Toro Sentado","clientLastName":"Ram\u00edrez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"56 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Toro Sentado Ramírez - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Toro Sentado Ram\u00edrez","custom_fields":{"Cliente":118,"Domicilio":"\ud83d\udccd Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Toro Sentado Ram\u00edrez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/118","Saldo Actual":"\ud83d\udcb23300 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"118\",\"Domicilio\": \"\"Nombre\": \"Toro Sentado Ram\u00edrez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/118\",\"Saldo Actual\": \"\ud83d\udcb23300 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 09\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"09\/04\/2025 10:00\",\"Clabe Interbancaria\": \"002180173419260258\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 09\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 09\/04\/2025 10:00","Clabe Interbancaria":"002180173419260258","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "118","Domicilio": ""Nombre": "Toro Sentado Ramírez","URL": "https://sistema.siip.mx/crm/client/118","Saldo Actual": "💲3300 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 09/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "09/04/2025 10:00","Clabe Interbancaria": "002180173419260258","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Toro Sentado Ramírez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🔴 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲3300 pendientes","Cliente":"118","Clabe Interbancaria":"002180173419260258","Monto Ultimo Pago":"💲 ","Fecha Ultima Actualizacion":"📆🔄️ 09/04/2025 10:00","URL":"🌐 https://sistema.siip.mx/crm/client/118","Resumen":"{\"Cliente\": \"118\",\"Domicilio\": \"\"Nombre\": \"Toro Sentado Ramírez\",\"URL\": \"https://sistema.siip.mx/crm/client/118\",\"Saldo Actual\": \"💲3300 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 09/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"09/04/2025 10:00\",\"Clabe Interbancaria\": \"002180173419260258\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Domicilio":"📍 Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 09/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Nombre":"👤 Toro Sentado Ramírez","user name":"Daniel Humberto 🐁"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Toro Sentado Ramírez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🔴 Suspendido","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲3300 pendientes","Cliente":"118","Clabe Interbancaria":"002180173419260258","Monto Ultimo Pago":"💲 ","Fecha Ultima Actualizacion":"📆🔄️ 09/04/2025 10:00","URL":"🌐 https://sistema.siip.mx/crm/client/118","Resumen":"{\"Cliente\": \"118\",\"Domicilio\": \"\"Nombre\": \"Toro Sentado Ramírez\",\"URL\": \"https://sistema.siip.mx/crm/client/118\",\"Saldo Actual\": \"💲3300 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 09/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"09/04/2025 10:00\",\"Clabe Interbancaria\": \"002180173419260258\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Domicilio":"📍 Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 09/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Nombre":"👤 Toro Sentado Ramírez","user name":"Daniel Humberto 🐁"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-09 18:30:03.331562] [notice] Logging level set to:debug -[2025-04-09 18:30:03.609814] [debug] valor el evento recibido por webhook: service.suspend - -[2025-04-09 18:30:03.609890] [debug] Valor de JSON: {"uuid":"8a827658-13c9-4a2a-8979-0ca54769b35b","changeType":"suspend","entity":"service","entityId":"151","eventName":"service.suspend","extraData":{"entity":{"id":151,"prepaid":false,"clientId":160,"status":3,"name":"Basico 300","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-03-25T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"186ad538-28ae-4d60-8eea-493e69d48d71","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":156,"startDate":"2025-04-09T12:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":151,"prepaid":false,"clientId":160,"status":1,"name":"Basico 300","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-03-25T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"186ad538-28ae-4d60-8eea-493e69d48d71","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":156,"startDate":"2025-04-09T12:30:02-0600","endDate":null}],"surcharges":[]}}} - -[2025-04-09 18:30:03.610102] [debug] Se suspendió el servicio a un cliente - -[2025-04-09 18:30:03.770365] [notice] Logging level set to:debug -[2025-04-09 18:30:03.927234] [debug] valor el evento recibido por webhook: service.edit - -[2025-04-09 18:30:03.927303] [debug] Valor de JSON: {"uuid":"cb11b0d0-1e1c-4823-b7f6-22dfdcc0dc05","changeType":"edit","entity":"service","entityId":"151","eventName":"service.edit","extraData":{"entity":{"id":151,"prepaid":false,"clientId":160,"status":3,"name":"Basico 300","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-03-25T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"186ad538-28ae-4d60-8eea-493e69d48d71","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":156,"startDate":"2025-04-09T12:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":151,"prepaid":false,"clientId":160,"status":1,"name":"Basico 300","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-03-25T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"186ad538-28ae-4d60-8eea-493e69d48d71","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":156,"startDate":"2025-04-09T12:30:02-0600","endDate":null}],"surcharges":[]}}} - -[2025-04-09 18:30:03.927406] [debug] Se editó el servicio a un cliente - -[2025-04-10 20:21:41.813410] [notice] Logging level set to:debug -[2025-04-10 20:21:42.155632] [debug] valor el evento recibido por webhook: service.add - -[2025-04-10 20:21:42.155700] [debug] Valor de JSON: {"uuid":"444ba7c9-16a1-462d-99b4-3d204ed4f2be","changeType":"insert","entity":"service","entityId":"153","eventName":"service.add","extraData":{"entity":{"id":153,"prepaid":false,"clientId":112,"status":1,"name":"Basico 300","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-04-10T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-04-10T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"8c07e2eb-b218-48eb-9007-970d2fe16f1c","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":null}} - -[2025-04-10 20:21:46.077430] [notice] Logging level set to:debug -[2025-04-10 20:21:46.268345] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-10 20:21:46.268404] [debug] Valor de JSON: {"uuid":"62b2accb-41d5-4e0f-97eb-1233fcf5fd5c","changeType":"insert","entity":"invoice","entityId":"1815","eventName":"invoice.add_draft","extraData":{"entity":{"id":1815,"clientId":112,"number":"001765","createdDate":"2025-04-10T14:21:45-0600","dueDate":"2025-04-24T14:21:45-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-10T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1818,"type":"service","label":"Basico 300 10\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":0.7,"total":210,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":153,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":210,"discount":null,"discountLabel":"Descuento","taxes":[],"total":210,"amountPaid":0,"totalUntaxed":210,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":210,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Do\u00f1a petra","clientLastName":"Gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Tamaulipas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-10 20:21:46.268531] [debug] Adición de borrador de Factura - -[2025-04-10 20:21:46.268587] [debug] {"uuid":"62b2accb-41d5-4e0f-97eb-1233fcf5fd5c","changeType":"insert","entity":"invoice","entityId":1815,"message":null,"clientId":112,"eventName":"invoice.add_draft","clientData":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1815,"clientId":112,"number":"001765","createdDate":"2025-04-10T14:21:45-0600","dueDate":"2025-04-24T14:21:45-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-10T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1818,"type":"service","label":"Basico 300 10\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":0.7,"total":210,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":153,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":210,"discount":null,"discountLabel":"Descuento","taxes":[],"total":210,"amountPaid":0,"totalUntaxed":210,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":210,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Do\u00f1a petra","clientLastName":"Gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Tamaulipas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-10 20:21:46.268654] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-10 20:21:46.268666] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"62b2accb-41d5-4e0f-97eb-1233fcf5fd5c","changeType":"insert","entity":"invoice","entityId":1815,"message":null,"clientId":112,"eventName":"invoice.add_draft","clientData":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1815,"clientId":112,"number":"001765","createdDate":"2025-04-10T14:21:45-0600","dueDate":"2025-04-24T14:21:45-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-10T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1818,"type":"service","label":"Basico 300 10\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":0.7,"total":210,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":153,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":210,"discount":null,"discountLabel":"Descuento","taxes":[],"total":210,"amountPaid":0,"totalUntaxed":210,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":210,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Do\u00f1a petra","clientLastName":"Gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Tamaulipas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Doña petra Gonzalez - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Do\u00f1a petra Gonzalez","custom_fields":{"Cliente":112,"Domicilio":"\ud83d\udccd Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Do\u00f1a petra Gonzalez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/112","Saldo Actual":"\ud83d\udcb2210 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"112\",\"Domicilio\": \"\"Nombre\": \"Do\u00f1a petra Gonzalez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/112\",\"Saldo Actual\": \"\ud83d\udcb2210 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10\/04\/2025 20:21 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"10\/04\/2025 14:21\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 10\/04\/2025 20:21 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/04\/2025 14:21","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "112","Domicilio": ""Nombre": "Doña petra Gonzalez","URL": "https://sistema.siip.mx/crm/client/112","Saldo Actual": "💲210 pendientes","Monto Ultimo Pago": "$ ","Estado": "Activo","Fecha Ultimo Pago": " 10/04/2025 20:21 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "10/04/2025 14:21","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Doña petra Gonzalez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"112","Clabe Interbancaria":"002180173419260258","Monto Ultimo Pago":"💲 ","URL":"🌐 https://sistema.siip.mx/crm/client/112","Resumen":"{\"Cliente\": \"112\",\"Domicilio\": \"\"Nombre\": \"Doña petra Gonzalez\",\"URL\": \"https://sistema.siip.mx/crm/client/112\",\"Saldo Actual\": \"💲210 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10/04/2025 20:21 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"10/04/2025 14:21\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Domicilio":"📍 Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Saldo Actual":"💲210 pendientes","Fecha Ultimo Pago":"📆💸 10/04/2025 20:21 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 10/04/2025 14:21","Nombre":"👤 Doña petra Gonzalez","user name":"Daniel Humberto 🐁"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Doña petra Gonzalez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"112","Clabe Interbancaria":"002180173419260258","Monto Ultimo Pago":"💲 ","URL":"🌐 https://sistema.siip.mx/crm/client/112","Resumen":"{\"Cliente\": \"112\",\"Domicilio\": \"\"Nombre\": \"Doña petra Gonzalez\",\"URL\": \"https://sistema.siip.mx/crm/client/112\",\"Saldo Actual\": \"💲210 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10/04/2025 20:21 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"10/04/2025 14:21\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Domicilio":"📍 Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Saldo Actual":"💲210 pendientes","Fecha Ultimo Pago":"📆💸 10/04/2025 20:21 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 10/04/2025 14:21","Nombre":"👤 Doña petra Gonzalez","user name":"Daniel Humberto 🐁"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-10 20:21:48.716414] [notice] Logging level set to:debug -[2025-04-10 20:21:48.880897] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-10 20:21:48.880961] [debug] Valor de JSON: {"uuid":"98053c59-5a35-4b3e-b179-09d8bdccdc23","changeType":"draft_approved","entity":"invoice","entityId":"1815","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1815,"clientId":112,"number":"001765","createdDate":"2025-04-10T14:21:45-0600","dueDate":"2025-04-24T14:21:45-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-10T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1818,"type":"service","label":"Basico 300 10\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":0.7,"total":210,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":153,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":210,"discount":null,"discountLabel":"Descuento","taxes":[],"total":210,"amountPaid":0,"totalUntaxed":210,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":210,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Do\u00f1a petra","clientLastName":"Gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Tamaulipas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-10 20:21:48.881067] [debug] Aprobación de Factura - -[2025-04-10 20:21:48.881110] [debug] {"uuid":"98053c59-5a35-4b3e-b179-09d8bdccdc23","changeType":"draft_approved","entity":"invoice","entityId":1815,"message":null,"clientId":112,"eventName":"invoice.draft_approved","clientData":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1815,"clientId":112,"number":"001765","createdDate":"2025-04-10T14:21:45-0600","dueDate":"2025-04-24T14:21:45-0600","emailSentDate":"2025-04-10T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-10T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1818,"type":"service","label":"Basico 300 10\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":0.7,"total":210,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":153,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":210,"discount":null,"discountLabel":"Descuento","taxes":[],"total":210,"amountPaid":0,"totalUntaxed":210,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":210,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Do\u00f1a petra","clientLastName":"Gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Tamaulipas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-10 20:21:48.881135] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-10 20:21:48.881145] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"98053c59-5a35-4b3e-b179-09d8bdccdc23","changeType":"draft_approved","entity":"invoice","entityId":1815,"message":null,"clientId":112,"eventName":"invoice.draft_approved","clientData":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1815,"clientId":112,"number":"001765","createdDate":"2025-04-10T14:21:45-0600","dueDate":"2025-04-24T14:21:45-0600","emailSentDate":"2025-04-10T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-10T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1818,"type":"service","label":"Basico 300 10\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":0.7,"total":210,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":153,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":210,"discount":null,"discountLabel":"Descuento","taxes":[],"total":210,"amountPaid":0,"totalUntaxed":210,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":210,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Do\u00f1a petra","clientLastName":"Gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Tamaulipas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Doña petra Gonzalez - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Do\u00f1a petra Gonzalez","custom_fields":{"Cliente":112,"Domicilio":"\ud83d\udccd Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Do\u00f1a petra Gonzalez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/112","Saldo Actual":"\ud83d\udcb2210 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"112\",\"Domicilio\": \"\"Nombre\": \"Do\u00f1a petra Gonzalez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/112\",\"Saldo Actual\": \"\ud83d\udcb2210 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10\/04\/2025 20:21 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"10\/04\/2025 14:21\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 10\/04\/2025 20:21 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/04\/2025 14:21","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "112","Domicilio": ""Nombre": "Doña petra Gonzalez","URL": "https://sistema.siip.mx/crm/client/112","Saldo Actual": "💲210 pendientes","Monto Ultimo Pago": "$ ","Estado": "Activo","Fecha Ultimo Pago": " 10/04/2025 20:21 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "10/04/2025 14:21","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Doña petra Gonzalez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"112","Clabe Interbancaria":"002180173419260258","Monto Ultimo Pago":"💲 ","URL":"🌐 https://sistema.siip.mx/crm/client/112","Resumen":"{\"Cliente\": \"112\",\"Domicilio\": \"\"Nombre\": \"Doña petra Gonzalez\",\"URL\": \"https://sistema.siip.mx/crm/client/112\",\"Saldo Actual\": \"💲210 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10/04/2025 20:21 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"10/04/2025 14:21\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Domicilio":"📍 Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Saldo Actual":"💲210 pendientes","Fecha Ultimo Pago":"📆💸 10/04/2025 20:21 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 10/04/2025 14:21","Nombre":"👤 Doña petra Gonzalez","user name":"Daniel Humberto 🐁"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Doña petra Gonzalez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"112","Clabe Interbancaria":"002180173419260258","Monto Ultimo Pago":"💲 ","URL":"🌐 https://sistema.siip.mx/crm/client/112","Resumen":"{\"Cliente\": \"112\",\"Domicilio\": \"\"Nombre\": \"Doña petra Gonzalez\",\"URL\": \"https://sistema.siip.mx/crm/client/112\",\"Saldo Actual\": \"💲210 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10/04/2025 20:21 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"10/04/2025 14:21\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Domicilio":"📍 Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Saldo Actual":"💲210 pendientes","Fecha Ultimo Pago":"📆💸 10/04/2025 20:21 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 10/04/2025 14:21","Nombre":"👤 Doña petra Gonzalez","user name":"Daniel Humberto 🐁"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-10 20:21:53.965542] [notice] Logging level set to:debug -[2025-04-10 20:21:54.105319] [debug] valor el evento recibido por webhook: service.edit - -[2025-04-10 20:21:54.105520] [debug] Valor de JSON: {"uuid":"8d105d2e-977a-4d09-a10b-4672df006dd5","changeType":"edit","entity":"service","entityId":"153","eventName":"service.edit","extraData":{"entity":{"id":153,"prepaid":false,"clientId":112,"status":1,"name":"Basico 300","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-04-10T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-04-10T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"8c07e2eb-b218-48eb-9007-970d2fe16f1c","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":{"id":153,"prepaid":false,"clientId":112,"status":1,"name":"Basico 300","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-04-10T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-04-10T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"8c07e2eb-b218-48eb-9007-970d2fe16f1c","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}} - -[2025-04-10 20:21:54.105704] [debug] Se editó el servicio a un cliente - -[2025-04-10 20:21:54.105787] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-10 20:21:54.105829] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-04-10 20:21:54.105894] [info] {"uuid":"8d105d2e-977a-4d09-a10b-4672df006dd5","changeType":"edit","entity":"service","entityId":153,"message":null,"clientId":112,"eventName":"service.edit","clientData":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":153,"prepaid":false,"clientId":112,"status":1,"name":"Basico 300","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-04-10T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-04-10T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-04-30T00:00:00-0600","unmsClientSiteId":"8c07e2eb-b218-48eb-9007-970d2fe16f1c","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Doña petra Gonzalez - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Do\u00f1a petra Gonzalez","custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/04\/2025 14:21"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Doña petra Gonzalez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"112","Clabe Interbancaria":"002180173419260258","Monto Ultimo Pago":"💲 ","URL":"🌐 https://sistema.siip.mx/crm/client/112","Resumen":"{\"Cliente\": \"112\",\"Domicilio\": \"\"Nombre\": \"Doña petra Gonzalez\",\"URL\": \"https://sistema.siip.mx/crm/client/112\",\"Saldo Actual\": \"💲210 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10/04/2025 20:21 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"10/04/2025 14:21\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Estado":"🟢 Activo","Domicilio":"📍 Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Saldo Actual":"💲210 pendientes","Fecha Ultimo Pago":"📆💸 10/04/2025 20:21 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 10/04/2025 14:21","Nombre":"👤 Doña petra Gonzalez","user name":"Daniel Humberto 🐁"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-10 20:22:19.338608] [notice] Logging level set to:debug -[2025-04-10 20:22:19.415246] [debug] valor el evento recibido por webhook: client.edit - -[2025-04-10 20:22:19.415348] [debug] Valor de JSON: {"uuid":"9b93a35f-8dd0-4d06-94ff-0c67397c8b9d","changeType":"edit","entity":"client","entityId":"112","eventName":"client.edit","extraData":{"entity":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":8,"name":"CREAR CLABE STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-04-10 20:22:19.415591] [debug] Se actualiza a un cliente -[2025-04-10 20:22:19.415961] [debug] Valor de json_data: {"uuid":"9b93a35f-8dd0-4d06-94ff-0c67397c8b9d","changeType":"edit","entity":"client","entityId":"112","eventName":"client.edit","extraData":{"entity":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":8,"name":"CREAR CLABE STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-04-10 20:22:19.416079] [debug] El cliente no cambió de potencial a cliente -[2025-04-10 20:22:19.416244] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-04-10 20:22:19.416300] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-04-10 20:22:19.416347] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-04-10 20:22:19.416392] [debug] La etiqueta CREAR CLABE STRIPE se agregará al cliente -[2025-04-10 20:22:19.419893] [info] Valor de notificationData: {"uuid":"9b93a35f-8dd0-4d06-94ff-0c67397c8b9d","changeType":"edit","entity":"client","entityId":112,"message":null,"clientId":112,"eventName":"client.edit","clientData":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":8,"name":"CREAR CLABE STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-04-10 20:22:19.420008] [info] Valor de attributes: [] - -[2025-04-10 20:22:19.488091] [info] ID correspondiente a 'Customer Stripe ID': 10 - -[2025-04-10 20:22:19.525317] [info] ID de la etiqueta 'CREARCLABESTRIPE': 7 - -[2025-04-10 20:22:19.525547] [info] Creando el Customer Stripe - -[2025-04-10 20:22:19.525574] [info] El cliente a procesar es : Doña petra Gonzalez - -[2025-04-10 20:22:19.525608] [info] Datos notificationData: {"uuid":"9b93a35f-8dd0-4d06-94ff-0c67397c8b9d","changeType":"edit","entity":"client","entityId":112,"message":null,"clientId":112,"eventName":"client.edit","clientData":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":8,"name":"CREAR CLABE STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-04-10 20:22:19.525616] [info] Ya dentro del FOREACH!!! - -[2025-04-10 20:22:19.525624] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-04-10 20:22:19.525630] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-04-10 20:22:19.525638] [info] REVISANDO EL PRIMER CONTACTO!!! - -[2025-04-10 20:22:19.525657] [info] SE VALIDA EL EMAIL!!! - -[2025-04-10 20:22:19.526300] [info] ahora se procede a validar el teléfono!!! - -[2025-04-10 20:22:19.526365] [info] AHORA SE MANDA A CREAR EL CLIENTE A STRIPE!!! - -[2025-04-10 20:22:20.050734] [info] {"id":"cus_S6evSxHpI6pSR6","object":"customer","address":null,"balance":0,"created":1744316539,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 112","discount":null,"email":"dhsv.141089@gmail.com","invoice_prefix":"84687ED1","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":[],"name":"Do\u00f1a petra Gonzalez","next_invoice_sequence":1,"phone":"4181878106","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-04-10 20:22:22.281898] [info] {"id":"cus_S6evSxHpI6pSR6","object":"customer","address":null,"balance":0,"created":1744316539,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 112","discount":null,"email":"dhsv.141089@gmail.com","invoice_prefix":"84687ED1","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":{"ucrm_client_id":"112"},"name":"Do\u00f1a petra Gonzalez","next_invoice_sequence":1,"phone":"4181878106","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null} - -[2025-04-10 20:22:22.797838] [notice] Logging level set to:debug -[2025-04-10 20:22:22.797976] [info] No UUID found in the webhook data -[2025-04-10 20:22:24.606247] [info] {"object":"funding_instructions","bank_transfer":{"country":"MX","financial_addresses":[{"spei":{"account_holder_address":{"city":"Ciudad de M\u00e9xico","country":"MX","line1":"Av Paseo de la Reforma 180 piso 29 col Juarez","line2":null,"postal_code":"06600","state":"Ciudad de M\u00e9xico"},"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":"124180438425083672"},"supported_networks":["spei"],"type":"spei"}],"type":"mx_bank_transfer"},"currency":"mxn","funding_type":"bank_transfer","livemode":false} - -[2025-04-10 20:22:24.844646] [info] CLABE guardada en metadata: 124180438425083672 - -[2025-04-10 20:22:25.019193] [info] {} - -[2025-04-10 20:22:25.132467] [info] Se eliminó la etiqueta 'CREARCLABESTRIPE' del cliente. - -[2025-04-10 20:22:25.132639] [debug] {"uuid":"9b93a35f-8dd0-4d06-94ff-0c67397c8b9d","changeType":"edit","entity":"client","entityId":112,"message":null,"clientId":112,"eventName":"client.edit","clientData":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":8,"name":"CREAR CLABE STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-04-10 20:22:25.132760] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-10 20:22:25.132803] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-04-10 20:22:25.270510] [notice] Logging level set to:debug -[2025-04-10 20:22:25.270601] [info] No UUID found in the webhook data -Notificacion data: {"uuid":"9b93a35f-8dd0-4d06-94ff-0c67397c8b9d","changeType":"edit","entity":"client","entityId":112,"message":null,"clientId":112,"eventName":"client.edit","clientData":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":8,"name":"CREAR CLABE STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Doña petra Gonzalez - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Do\u00f1a petra Gonzalez","custom_fields":{"Cliente":112,"Domicilio":"\ud83d\udccd Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Do\u00f1a petra Gonzalez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/112","Saldo Actual":"\ud83d\udcb2210 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"112\",\"Domicilio\": \"\"Nombre\": \"Do\u00f1a petra Gonzalez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/112\",\"Saldo Actual\": \"\ud83d\udcb2210 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10\/04\/2025 20:22 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"10\/04\/2025 14:22\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 10\/04\/2025 20:22 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/04\/2025 14:22","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "112","Domicilio": ""Nombre": "Doña petra Gonzalez","URL": "https://sistema.siip.mx/crm/client/112","Saldo Actual": "💲210 pendientes","Monto Ultimo Pago": "$ ","Estado": "Activo","Fecha Ultimo Pago": " 10/04/2025 20:22 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "10/04/2025 14:22","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Doña petra Gonzalez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"112","Clabe Interbancaria":"002180173419260258","Monto Ultimo Pago":"💲 ","URL":"🌐 https://sistema.siip.mx/crm/client/112","Resumen":"{\"Cliente\": \"112\",\"Domicilio\": \"\"Nombre\": \"Doña petra Gonzalez\",\"URL\": \"https://sistema.siip.mx/crm/client/112\",\"Saldo Actual\": \"💲210 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10/04/2025 20:22 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"10/04/2025 14:22\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Estado":"🟢 Activo ","Domicilio":"📍 Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Saldo Actual":"💲210 pendientes","Fecha Ultimo Pago":"📆💸 10/04/2025 20:22 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 10/04/2025 14:22","Nombre":"👤 Doña petra Gonzalez","user name":"Daniel Humberto 🐁"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Doña petra Gonzalez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"112","Clabe Interbancaria":"002180173419260258","Monto Ultimo Pago":"💲 ","URL":"🌐 https://sistema.siip.mx/crm/client/112","Resumen":"{\"Cliente\": \"112\",\"Domicilio\": \"\"Nombre\": \"Doña petra Gonzalez\",\"URL\": \"https://sistema.siip.mx/crm/client/112\",\"Saldo Actual\": \"💲210 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10/04/2025 20:22 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"10/04/2025 14:22\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Estado":"🟢 Activo ","Domicilio":"📍 Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Saldo Actual":"💲210 pendientes","Fecha Ultimo Pago":"📆💸 10/04/2025 20:22 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 10/04/2025 14:22","Nombre":"👤 Doña petra Gonzalez","user name":"Daniel Humberto 🐁"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-10 20:22:27.033085] [notice] Logging level set to:debug -[2025-04-10 20:22:27.118226] [debug] valor el evento recibido por webhook: client.edit - -[2025-04-10 20:22:27.118330] [debug] Valor de JSON: {"uuid":"8ef5b135-2e81-4db6-b222-360e1ce44fd0","changeType":"edit","entity":"client","entityId":"112","eventName":"client.edit","extraData":{"entity":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":8,"name":"CREAR CLABE STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":8,"name":"CREAR CLABE STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-04-10 20:22:27.118525] [debug] Se actualiza a un cliente -[2025-04-10 20:22:27.118571] [debug] Valor de json_data: {"uuid":"8ef5b135-2e81-4db6-b222-360e1ce44fd0","changeType":"edit","entity":"client","entityId":"112","eventName":"client.edit","extraData":{"entity":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":8,"name":"CREAR CLABE STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":8,"name":"CREAR CLABE STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-04-10 20:22:27.118590] [debug] El cliente no cambió de potencial a cliente -[2025-04-10 20:22:27.118598] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-04-10 20:22:27.118607] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-04-10 20:22:27.118613] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-04-10 20:22:27.118652] [debug] {"uuid":"8ef5b135-2e81-4db6-b222-360e1ce44fd0","changeType":"edit","entity":"client","entityId":112,"message":null,"clientId":112,"eventName":"client.edit","clientData":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":8,"name":"CREAR CLABE STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-04-10 20:22:27.118710] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-10 20:22:27.118722] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"8ef5b135-2e81-4db6-b222-360e1ce44fd0","changeType":"edit","entity":"client","entityId":112,"message":null,"clientId":112,"eventName":"client.edit","clientData":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":8,"name":"CREAR CLABE STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Doña petra Gonzalez - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Do\u00f1a petra Gonzalez","custom_fields":{"Cliente":112,"Domicilio":"\ud83d\udccd Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Do\u00f1a petra Gonzalez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/112","Saldo Actual":"\ud83d\udcb2210 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"112\",\"Domicilio\": \"\"Nombre\": \"Do\u00f1a petra Gonzalez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/112\",\"Saldo Actual\": \"\ud83d\udcb2210 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10\/04\/2025 20:22 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"10\/04\/2025 14:22\",\"Clabe Interbancaria\": \"124180438425083672\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 10\/04\/2025 20:22 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/04\/2025 14:22","Clabe Interbancaria":"124180438425083672","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "112","Domicilio": ""Nombre": "Doña petra Gonzalez","URL": "https://sistema.siip.mx/crm/client/112","Saldo Actual": "💲210 pendientes","Monto Ultimo Pago": "$ ","Estado": "Activo","Fecha Ultimo Pago": " 10/04/2025 20:22 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "10/04/2025 14:22","Clabe Interbancaria": "124180438425083672","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Doña petra Gonzalez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"112","Clabe Interbancaria":"124180438425083672","Monto Ultimo Pago":"💲 ","URL":"🌐 https://sistema.siip.mx/crm/client/112","Estado":"🟢 Activo ","Domicilio":"📍 Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Saldo Actual":"💲210 pendientes","Fecha Ultimo Pago":"📆💸 10/04/2025 20:22 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 10/04/2025 14:22","Nombre":"👤 Doña petra Gonzalez","Resumen":"{\"Cliente\": \"112\",\"Domicilio\": \"\"Nombre\": \"Doña petra Gonzalez\",\"URL\": \"https://sistema.siip.mx/crm/client/112\",\"Saldo Actual\": \"💲210 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10/04/2025 20:22 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"10/04/2025 14:22\",\"Clabe Interbancaria\": \"124180438425083672\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","user name":"Daniel Humberto 🐁"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Doña petra Gonzalez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"112","Clabe Interbancaria":"124180438425083672","Monto Ultimo Pago":"💲 ","URL":"🌐 https://sistema.siip.mx/crm/client/112","Estado":"🟢 Activo ","Domicilio":"📍 Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Saldo Actual":"💲210 pendientes","Fecha Ultimo Pago":"📆💸 10/04/2025 20:22 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 10/04/2025 14:22","Nombre":"👤 Doña petra Gonzalez","Resumen":"{\"Cliente\": \"112\",\"Domicilio\": \"\"Nombre\": \"Doña petra Gonzalez\",\"URL\": \"https://sistema.siip.mx/crm/client/112\",\"Saldo Actual\": \"💲210 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10/04/2025 20:22 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"10/04/2025 14:22\",\"Clabe Interbancaria\": \"124180438425083672\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","user name":"Daniel Humberto 🐁"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-10 20:22:29.796390] [notice] Logging level set to:debug -[2025-04-10 20:22:29.912014] [debug] valor el evento recibido por webhook: client.edit - -[2025-04-10 20:22:29.912101] [debug] Valor de JSON: {"uuid":"43b5618e-7258-484e-ae1a-43aafab7e393","changeType":"edit","entity":"client","entityId":"112","eventName":"client.edit","extraData":{"entity":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":8,"name":"CREAR CLABE STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":8,"name":"CREAR CLABE STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-04-10 20:22:29.912220] [debug] Se actualiza a un cliente -[2025-04-10 20:22:29.912271] [debug] Valor de json_data: {"uuid":"43b5618e-7258-484e-ae1a-43aafab7e393","changeType":"edit","entity":"client","entityId":"112","eventName":"client.edit","extraData":{"entity":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":8,"name":"CREAR CLABE STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":8,"name":"CREAR CLABE STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-04-10 20:22:29.912292] [debug] El cliente no cambió de potencial a cliente -[2025-04-10 20:22:29.912302] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-04-10 20:22:29.912313] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-04-10 20:22:29.912324] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-04-10 20:22:29.912360] [debug] {"uuid":"43b5618e-7258-484e-ae1a-43aafab7e393","changeType":"edit","entity":"client","entityId":112,"message":null,"clientId":112,"eventName":"client.edit","clientData":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":8,"name":"CREAR CLABE STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-04-10 20:22:29.912394] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-10 20:22:29.912405] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"43b5618e-7258-484e-ae1a-43aafab7e393","changeType":"edit","entity":"client","entityId":112,"message":null,"clientId":112,"eventName":"client.edit","clientData":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":8,"name":"CREAR CLABE STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Doña petra Gonzalez - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Do\u00f1a petra Gonzalez","custom_fields":{"Cliente":112,"Domicilio":"\ud83d\udccd Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Do\u00f1a petra Gonzalez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/112","Saldo Actual":"\ud83d\udcb2210 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"112\",\"Domicilio\": \"\"Nombre\": \"Do\u00f1a petra Gonzalez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/112\",\"Saldo Actual\": \"\ud83d\udcb2210 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10\/04\/2025 20:22 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"10\/04\/2025 14:22\",\"Clabe Interbancaria\": \"124180438425083672\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 10\/04\/2025 20:22 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/04\/2025 14:22","Clabe Interbancaria":"124180438425083672","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "112","Domicilio": ""Nombre": "Doña petra Gonzalez","URL": "https://sistema.siip.mx/crm/client/112","Saldo Actual": "💲210 pendientes","Monto Ultimo Pago": "$ ","Estado": "Activo","Fecha Ultimo Pago": " 10/04/2025 20:22 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "10/04/2025 14:22","Clabe Interbancaria": "124180438425083672","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Doña petra Gonzalez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"112","Clabe Interbancaria":"124180438425083672","Monto Ultimo Pago":"💲 ","URL":"🌐 https://sistema.siip.mx/crm/client/112","Estado":"🟢 Activo ","Domicilio":"📍 Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Saldo Actual":"💲210 pendientes","Fecha Ultimo Pago":"📆💸 10/04/2025 20:22 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 10/04/2025 14:22","Nombre":"👤 Doña petra Gonzalez","Resumen":"{\"Cliente\": \"112\",\"Domicilio\": \"\"Nombre\": \"Doña petra Gonzalez\",\"URL\": \"https://sistema.siip.mx/crm/client/112\",\"Saldo Actual\": \"💲210 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10/04/2025 20:22 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"10/04/2025 14:22\",\"Clabe Interbancaria\": \"124180438425083672\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","user name":"Daniel Humberto 🐁"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Doña petra Gonzalez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"112","Clabe Interbancaria":"124180438425083672","Monto Ultimo Pago":"💲 ","URL":"🌐 https://sistema.siip.mx/crm/client/112","Estado":"🟢 Activo ","Domicilio":"📍 Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Saldo Actual":"💲210 pendientes","Fecha Ultimo Pago":"📆💸 10/04/2025 20:22 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 10/04/2025 14:22","Nombre":"👤 Doña petra Gonzalez","Resumen":"{\"Cliente\": \"112\",\"Domicilio\": \"\"Nombre\": \"Doña petra Gonzalez\",\"URL\": \"https://sistema.siip.mx/crm/client/112\",\"Saldo Actual\": \"💲210 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10/04/2025 20:22 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"10/04/2025 14:22\",\"Clabe Interbancaria\": \"124180438425083672\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","user name":"Daniel Humberto 🐁"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-10 20:24:01.535476] [notice] Logging level set to:debug -[2025-04-10 20:24:01.609267] [debug] valor el evento recibido por webhook: client.edit - -[2025-04-10 20:24:01.609492] [debug] Valor de JSON: {"uuid":"f42bb7de-a1bf-4831-810a-96d09f90b7d9","changeType":"edit","entity":"client","entityId":"112","eventName":"client.edit","extraData":{"entity":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":8,"name":"CREAR CLABE STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-04-10 20:24:01.609769] [debug] Se actualiza a un cliente -[2025-04-10 20:24:01.609854] [debug] Valor de json_data: {"uuid":"f42bb7de-a1bf-4831-810a-96d09f90b7d9","changeType":"edit","entity":"client","entityId":"112","eventName":"client.edit","extraData":{"entity":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":8,"name":"CREAR CLABE STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-04-10 20:24:01.609908] [debug] El cliente no cambió de potencial a cliente -[2025-04-10 20:24:01.609949] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-04-10 20:24:01.609987] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-04-10 20:24:01.610023] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-04-10 20:24:01.610097] [debug] {"uuid":"f42bb7de-a1bf-4831-810a-96d09f90b7d9","changeType":"edit","entity":"client","entityId":112,"message":null,"clientId":112,"eventName":"client.edit","clientData":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-04-10 20:24:01.610200] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-10 20:24:01.610244] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"f42bb7de-a1bf-4831-810a-96d09f90b7d9","changeType":"edit","entity":"client","entityId":112,"message":null,"clientId":112,"eventName":"client.edit","clientData":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Doña petra Gonzalez - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Do\u00f1a petra Gonzalez","custom_fields":{"Cliente":112,"Domicilio":"\ud83d\udccd Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Do\u00f1a petra Gonzalez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/112","Saldo Actual":"\ud83d\udcb2210 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"112\",\"Domicilio\": \"\"Nombre\": \"Do\u00f1a petra Gonzalez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/112\",\"Saldo Actual\": \"\ud83d\udcb2210 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10\/04\/2025 20:24 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"10\/04\/2025 14:24\",\"Clabe Interbancaria\": \"124180438425083672\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 10\/04\/2025 20:24 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/04\/2025 14:24","Clabe Interbancaria":"124180438425083672","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "112","Domicilio": ""Nombre": "Doña petra Gonzalez","URL": "https://sistema.siip.mx/crm/client/112","Saldo Actual": "💲210 pendientes","Monto Ultimo Pago": "$ ","Estado": "Activo","Fecha Ultimo Pago": " 10/04/2025 20:24 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "10/04/2025 14:24","Clabe Interbancaria": "124180438425083672","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Doña petra Gonzalez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"112","Clabe Interbancaria":"124180438425083672","Monto Ultimo Pago":"💲 ","URL":"🌐 https://sistema.siip.mx/crm/client/112","Estado":"🟢 Activo ","Domicilio":"📍 Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Saldo Actual":"💲210 pendientes","Fecha Ultimo Pago":"📆💸 10/04/2025 20:24 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 10/04/2025 14:24","Nombre":"👤 Doña petra Gonzalez","Resumen":"{\"Cliente\": \"112\",\"Domicilio\": \"\"Nombre\": \"Doña petra Gonzalez\",\"URL\": \"https://sistema.siip.mx/crm/client/112\",\"Saldo Actual\": \"💲210 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10/04/2025 20:24 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"10/04/2025 14:24\",\"Clabe Interbancaria\": \"124180438425083672\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","user name":"Daniel Humberto 🐁"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Doña petra Gonzalez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"112","Clabe Interbancaria":"124180438425083672","Monto Ultimo Pago":"💲 ","URL":"🌐 https://sistema.siip.mx/crm/client/112","Estado":"🟢 Activo ","Domicilio":"📍 Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Saldo Actual":"💲210 pendientes","Fecha Ultimo Pago":"📆💸 10/04/2025 20:24 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 10/04/2025 14:24","Nombre":"👤 Doña petra Gonzalez","Resumen":"{\"Cliente\": \"112\",\"Domicilio\": \"\"Nombre\": \"Doña petra Gonzalez\",\"URL\": \"https://sistema.siip.mx/crm/client/112\",\"Saldo Actual\": \"💲210 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10/04/2025 20:24 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"10/04/2025 14:24\",\"Clabe Interbancaria\": \"124180438425083672\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","user name":"Daniel Humberto 🐁"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-10 20:24:06.884388] [notice] Logging level set to:debug -[2025-04-10 20:24:06.963661] [debug] valor el evento recibido por webhook: client.edit - -[2025-04-10 20:24:06.963824] [debug] Valor de JSON: {"uuid":"9ce1352e-9653-4bcc-b821-06bcc0c77443","changeType":"edit","entity":"client","entityId":"112","eventName":"client.edit","extraData":{"entity":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":8,"name":"CREAR CLABE STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-04-10 20:24:06.963979] [debug] Se actualiza a un cliente -[2025-04-10 20:24:06.964051] [debug] Valor de json_data: {"uuid":"9ce1352e-9653-4bcc-b821-06bcc0c77443","changeType":"edit","entity":"client","entityId":"112","eventName":"client.edit","extraData":{"entity":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":8,"name":"CREAR CLABE STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-04-10 20:24:06.964097] [debug] El cliente no cambió de potencial a cliente -[2025-04-10 20:24:06.964134] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-04-10 20:24:06.964169] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-04-10 20:24:06.964204] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-04-10 20:24:06.964237] [debug] La etiqueta CREAR CLABE STRIPE se agregará al cliente -[2025-04-10 20:24:06.964750] [info] Valor de notificationData: {"uuid":"9ce1352e-9653-4bcc-b821-06bcc0c77443","changeType":"edit","entity":"client","entityId":112,"message":null,"clientId":112,"eventName":"client.edit","clientData":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":8,"name":"CREAR CLABE STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-04-10 20:24:06.964829] [info] Valor de attributes: [{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}] - -[2025-04-10 20:24:07.014770] [info] ID correspondiente a 'Customer Stripe ID': 10 - -[2025-04-10 20:24:07.014818] [info] El cliente ya tiene un Stripe Customer ID: cus_S6evSxHpI6pSR6 - -[2025-04-10 20:24:07.052721] [info] ID de la etiqueta 'CREAR CLABE STRIPE': 8 - -[2025-04-10 20:24:07.170732] [info] Se eliminó la etiqueta 'CREAR CLABE STRIPE' del cliente. - -[2025-04-10 20:24:07.170821] [debug] {"uuid":"9ce1352e-9653-4bcc-b821-06bcc0c77443","changeType":"edit","entity":"client","entityId":112,"message":null,"clientId":112,"eventName":"client.edit","clientData":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":8,"name":"CREAR CLABE STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-04-10 20:24:07.170937] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-10 20:24:07.170974] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"9ce1352e-9653-4bcc-b821-06bcc0c77443","changeType":"edit","entity":"client","entityId":112,"message":null,"clientId":112,"eventName":"client.edit","clientData":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":8,"name":"CREAR CLABE STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Doña petra Gonzalez - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Do\u00f1a petra Gonzalez","custom_fields":{"Cliente":112,"Domicilio":"\ud83d\udccd Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Do\u00f1a petra Gonzalez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/112","Saldo Actual":"\ud83d\udcb2210 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"112\",\"Domicilio\": \"\"Nombre\": \"Do\u00f1a petra Gonzalez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/112\",\"Saldo Actual\": \"\ud83d\udcb2210 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10\/04\/2025 20:24 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"10\/04\/2025 14:24\",\"Clabe Interbancaria\": \"124180438425083672\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 10\/04\/2025 20:24 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/04\/2025 14:24","Clabe Interbancaria":"124180438425083672","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "112","Domicilio": ""Nombre": "Doña petra Gonzalez","URL": "https://sistema.siip.mx/crm/client/112","Saldo Actual": "💲210 pendientes","Monto Ultimo Pago": "$ ","Estado": "Activo","Fecha Ultimo Pago": " 10/04/2025 20:24 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "10/04/2025 14:24","Clabe Interbancaria": "124180438425083672","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Doña petra Gonzalez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"112","Clabe Interbancaria":"124180438425083672","Monto Ultimo Pago":"💲 ","URL":"🌐 https://sistema.siip.mx/crm/client/112","Estado":"🟢 Activo ","Domicilio":"📍 Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Saldo Actual":"💲210 pendientes","Fecha Ultimo Pago":"📆💸 10/04/2025 20:24 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 10/04/2025 14:24","Nombre":"👤 Doña petra Gonzalez","Resumen":"{\"Cliente\": \"112\",\"Domicilio\": \"\"Nombre\": \"Doña petra Gonzalez\",\"URL\": \"https://sistema.siip.mx/crm/client/112\",\"Saldo Actual\": \"💲210 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10/04/2025 20:24 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"10/04/2025 14:24\",\"Clabe Interbancaria\": \"124180438425083672\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","user name":"Daniel Humberto 🐁"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Doña petra Gonzalez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"112","Clabe Interbancaria":"124180438425083672","Monto Ultimo Pago":"💲 ","URL":"🌐 https://sistema.siip.mx/crm/client/112","Estado":"🟢 Activo ","Domicilio":"📍 Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Saldo Actual":"💲210 pendientes","Fecha Ultimo Pago":"📆💸 10/04/2025 20:24 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 10/04/2025 14:24","Nombre":"👤 Doña petra Gonzalez","Resumen":"{\"Cliente\": \"112\",\"Domicilio\": \"\"Nombre\": \"Doña petra Gonzalez\",\"URL\": \"https://sistema.siip.mx/crm/client/112\",\"Saldo Actual\": \"💲210 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10/04/2025 20:24 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"10/04/2025 14:24\",\"Clabe Interbancaria\": \"124180438425083672\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","user name":"Daniel Humberto 🐁"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-10 20:24:09.414586] [notice] Logging level set to:debug -[2025-04-10 20:24:09.517862] [debug] valor el evento recibido por webhook: client.edit - -[2025-04-10 20:24:09.517947] [debug] Valor de JSON: {"uuid":"dc9da1c2-6dbd-4a7b-ae43-edeca034d7bb","changeType":"edit","entity":"client","entityId":"112","eventName":"client.edit","extraData":{"entity":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":8,"name":"CREAR CLABE STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-04-10 20:24:09.518090] [debug] Se actualiza a un cliente -[2025-04-10 20:24:09.518134] [debug] Valor de json_data: {"uuid":"dc9da1c2-6dbd-4a7b-ae43-edeca034d7bb","changeType":"edit","entity":"client","entityId":"112","eventName":"client.edit","extraData":{"entity":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":8,"name":"CREAR CLABE STRIPE","colorBackground":"#e30000","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-04-10 20:24:09.518153] [debug] El cliente no cambió de potencial a cliente -[2025-04-10 20:24:09.518162] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-04-10 20:24:09.518177] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-04-10 20:24:09.518184] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-04-10 20:24:09.518214] [debug] {"uuid":"dc9da1c2-6dbd-4a7b-ae43-edeca034d7bb","changeType":"edit","entity":"client","entityId":112,"message":null,"clientId":112,"eventName":"client.edit","clientData":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-04-10 20:24:09.518258] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-10 20:24:09.518277] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"dc9da1c2-6dbd-4a7b-ae43-edeca034d7bb","changeType":"edit","entity":"client","entityId":112,"message":null,"clientId":112,"eventName":"client.edit","clientData":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}],"accountBalance":-210,"accountCredit":0,"accountOutstanding":210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Doña petra Gonzalez - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Do\u00f1a petra Gonzalez","custom_fields":{"Cliente":112,"Domicilio":"\ud83d\udccd Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Do\u00f1a petra Gonzalez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/112","Saldo Actual":"\ud83d\udcb2210 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"112\",\"Domicilio\": \"\"Nombre\": \"Do\u00f1a petra Gonzalez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/112\",\"Saldo Actual\": \"\ud83d\udcb2210 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10\/04\/2025 20:24 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"10\/04\/2025 14:24\",\"Clabe Interbancaria\": \"124180438425083672\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 10\/04\/2025 20:24 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/04\/2025 14:24","Clabe Interbancaria":"124180438425083672","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "112","Domicilio": ""Nombre": "Doña petra Gonzalez","URL": "https://sistema.siip.mx/crm/client/112","Saldo Actual": "💲210 pendientes","Monto Ultimo Pago": "$ ","Estado": "Activo","Fecha Ultimo Pago": " 10/04/2025 20:24 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "10/04/2025 14:24","Clabe Interbancaria": "124180438425083672","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Doña petra Gonzalez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"112","Clabe Interbancaria":"124180438425083672","Monto Ultimo Pago":"💲 ","URL":"🌐 https://sistema.siip.mx/crm/client/112","Estado":"🟢 Activo ","Domicilio":"📍 Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Saldo Actual":"💲210 pendientes","Fecha Ultimo Pago":"📆💸 10/04/2025 20:24 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 10/04/2025 14:24","Nombre":"👤 Doña petra Gonzalez","Resumen":"{\"Cliente\": \"112\",\"Domicilio\": \"\"Nombre\": \"Doña petra Gonzalez\",\"URL\": \"https://sistema.siip.mx/crm/client/112\",\"Saldo Actual\": \"💲210 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10/04/2025 20:24 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"10/04/2025 14:24\",\"Clabe Interbancaria\": \"124180438425083672\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","user name":"Daniel Humberto 🐁"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Doña petra Gonzalez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"112","Clabe Interbancaria":"124180438425083672","Monto Ultimo Pago":"💲 ","URL":"🌐 https://sistema.siip.mx/crm/client/112","Estado":"🟢 Activo ","Domicilio":"📍 Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Saldo Actual":"💲210 pendientes","Fecha Ultimo Pago":"📆💸 10/04/2025 20:24 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"📆🔄️ 10/04/2025 14:24","Nombre":"👤 Doña petra Gonzalez","Resumen":"{\"Cliente\": \"112\",\"Domicilio\": \"\"Nombre\": \"Doña petra Gonzalez\",\"URL\": \"https://sistema.siip.mx/crm/client/112\",\"Saldo Actual\": \"💲210 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10/04/2025 20:24 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"10/04/2025 14:24\",\"Clabe Interbancaria\": \"124180438425083672\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","user name":"Daniel Humberto 🐁"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-11 6:25:02.622245] [notice] Logging level set to:debug -[2025-04-11 6:25:02.815644] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-11 6:25:02.815716] [debug] Valor de JSON: {"uuid":"1b5a6860-def3-4646-9dd1-2d2025c22acf","changeType":"overdue","entity":"invoice","entityId":"1715","eventName":"invoice.overdue","extraData":{"entity":{"id":1715,"clientId":3,"number":"001665","createdDate":"2025-03-27T10:00:01-0600","dueDate":"2025-04-10T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1718,"type":"service","label":"plan300 27\/02\/2025 \u2013 26\/03\/2025","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},"entityBeforeEdit":null}} - -[2025-04-11 6:25:02.818521] [debug] Factura vencida - -[2025-04-11 6:25:02.818594] [debug] datos del notification para el invoice overdue:{"uuid":"1b5a6860-def3-4646-9dd1-2d2025c22acf","changeType":"overdue","entity":"invoice","entityId":1715,"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}],"accountBalance":-1200,"accountCredit":0,"accountOutstanding":1200,"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":1715,"clientId":3,"number":"001665","createdDate":"2025-03-27T10:00:01-0600","dueDate":"2025-04-10T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1718,"type":"service","label":"plan300 27\/02\/2025 \u2013 26\/03\/2025","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},"paymentData":null} - -[2025-04-11 6:25:02.818622] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -contac vacio -[2025-04-11 6:25:02.818799] [debug] Numero de cel obtenido - -[2025-04-11 6:25:02.818811] [warning] No se encontró un teléfono celular válido para el cliente: 3 -[2025-04-11 6:25:02.968271] [notice] Logging level set to:debug -[2025-04-11 6:25:03.108261] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-11 6:25:03.108405] [debug] Valor de JSON: {"uuid":"7babbb95-b960-4009-a236-121d867c9981","changeType":"overdue","entity":"invoice","entityId":"1716","eventName":"invoice.overdue","extraData":{"entity":{"id":1716,"clientId":4,"number":"001666","createdDate":"2025-03-27T10:00:01-0600","dueDate":"2025-04-10T10:00:01-0600","emailSentDate":"2025-04-11T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1719,"type":"service","label":"plan300 27\/02\/2025 \u2013 26\/03\/2025","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},"entityBeforeEdit":null}} - -[2025-04-11 6:25:03.108534] [debug] Factura vencida - -[2025-04-11 6:25:03.108603] [debug] datos del notification para el invoice overdue:{"uuid":"7babbb95-b960-4009-a236-121d867c9981","changeType":"overdue","entity":"invoice","entityId":1716,"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":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1716,"clientId":4,"number":"001666","createdDate":"2025-03-27T10:00:01-0600","dueDate":"2025-04-10T10:00:01-0600","emailSentDate":"2025-04-11T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1719,"type":"service","label":"plan300 27\/02\/2025 \u2013 26\/03\/2025","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},"paymentData":null} - -[2025-04-11 6:25:03.108644] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-11 6:25:03.108727] [debug] Numero de cel obtenido - -[2025-04-11 6:25:03.108773] [warning] No se encontró un teléfono celular válido para el cliente: 4 -[2025-04-11 17:19:30.329571] [notice] Logging level set to:debug -[2025-04-11 17:19:30.329749] [info] No UUID found in the webhook data -[2025-04-11 17:19:30.329780] [info] Evento de transfencia al cliente encontrado -[2025-04-11 17:19:30.329818] [info] Valor del EventJSON: {"id":"evt_1RClEjEFY1WEUtgRQiRbKJAd","object":"event","api_version":"2023-10-16","created":1744391968,"data":{"object":{"id":"ccsbtxn_1RClEiEFY1WEUtgRWltmE2xD","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3Qpz9OEFY1WEUtgR1WjtWmeh"},"created":1744391968,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":0,"livemode":false,"net_amount":-30000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_0hBNar81Dsw52b","idempotency_key":"fb77cde7-9a06-4106-b7d7-792ca4dabc71"},"type":"customer_cash_balance_transaction.created"} - -[2025-04-11 17:19:30.329844] [info] Evento recibido: {"id":"evt_1RClEjEFY1WEUtgRQiRbKJAd","object":"event","api_version":"2023-10-16","created":1744391968,"data":{"object":{"id":"ccsbtxn_1RClEiEFY1WEUtgRWltmE2xD","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3Qpz9OEFY1WEUtgR1WjtWmeh"},"created":1744391968,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":0,"livemode":false,"net_amount":-30000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_0hBNar81Dsw52b","idempotency_key":"fb77cde7-9a06-4106-b7d7-792ca4dabc71"},"type":"customer_cash_balance_transaction.created"} - -[2025-04-11 17:19:30.352276] [notice] Logging level set to:debug -[2025-04-11 17:19:30.355629] [info] No UUID found in the webhook data -[2025-04-11 17:19:30.355762] [info] Evento de transfencia al cliente encontrado -[2025-04-11 17:19:30.355818] [info] Valor del EventJSON: {"id":"evt_1RClEjEFY1WEUtgRB7qDRpnZ","object":"event","api_version":"2023-10-16","created":1744391968,"data":{"object":{"id":"ccsbtxn_1RClEhEFY1WEUtgRmJuPi94Q","object":"customer_cash_balance_transaction","created":1744391967,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":30000,"funded":{"bank_transfer":{"reference":"","type":"mx_bank_transfer"}},"livemode":false,"net_amount":30000,"type":"funded"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_0hBNar81Dsw52b","idempotency_key":"fb77cde7-9a06-4106-b7d7-792ca4dabc71"},"type":"customer_cash_balance_transaction.created"} - -[2025-04-11 17:19:30.355865] [info] Evento recibido: {"id":"evt_1RClEjEFY1WEUtgRB7qDRpnZ","object":"event","api_version":"2023-10-16","created":1744391968,"data":{"object":{"id":"ccsbtxn_1RClEhEFY1WEUtgRmJuPi94Q","object":"customer_cash_balance_transaction","created":1744391967,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":30000,"funded":{"bank_transfer":{"reference":"","type":"mx_bank_transfer"}},"livemode":false,"net_amount":30000,"type":"funded"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_0hBNar81Dsw52b","idempotency_key":"fb77cde7-9a06-4106-b7d7-792ca4dabc71"},"type":"customer_cash_balance_transaction.created"} - -[2025-04-11 17:19:31.301765] [notice] Logging level set to:debug -[2025-04-11 17:19:31.480761] [debug] valor el evento recibido por webhook: invoice.edit - -[2025-04-11 17:19:31.480844] [debug] Valor de JSON: {"uuid":"2e6c2f84-9320-4195-a3a4-b66d948bfafe","changeType":"edit","entity":"invoice","entityId":"1713","eventName":"invoice.edit","extraData":{"entity":{"id":1713,"clientId":2,"number":"001663","createdDate":"2025-02-18T14:40:00-0600","dueDate":"2025-03-04T14:40:00-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-18T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1716,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":152,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":300,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":713,"invoiceId":1713,"paymentId":616,"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":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":1713,"clientId":2,"number":"001663","createdDate":"2025-02-18T14:40:00-0600","dueDate":"2025-03-04T14:40:00-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-18T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1716,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":152,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[{"id":713,"invoiceId":1713,"paymentId":616,"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":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false}}} - -[2025-04-11 17:19:31.481007] [debug] Edición de Factura - -[2025-04-11 17:19:31.481074] [debug] {"uuid":"2e6c2f84-9320-4195-a3a4-b66d948bfafe","changeType":"edit","entity":"invoice","entityId":1713,"message":null,"clientId":2,"eventName":"invoice.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1713,"clientId":2,"number":"001663","createdDate":"2025-02-18T14:40:00-0600","dueDate":"2025-03-04T14:40:00-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-18T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1716,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":152,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":300,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":713,"invoiceId":1713,"paymentId":616,"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":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-11 17:19:31.481303] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-11 17:19:31.481327] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-04-11 17:19:31.552447] [info] PaymentIntent creado: pi_3RClEkEFY1WEUtgR1xbhyE4S - -[2025-04-11 17:19:31.853883] [info] Error creando PaymentIntent: This value must be greater than or equal to 1. - -Notificacion data: {"uuid":"2e6c2f84-9320-4195-a3a4-b66d948bfafe","changeType":"edit","entity":"invoice","entityId":1713,"message":null,"clientId":2,"eventName":"invoice.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1713,"clientId":2,"number":"001663","createdDate":"2025-02-18T14:40:00-0600","dueDate":"2025-03-04T14:40:00-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-02-18T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1716,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":152,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":300,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":713,"invoiceId":1713,"paymentId":616,"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":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":616,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T11:19:30-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":713,"invoiceId":1713,"paymentId":616,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas pollerias","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 11\/04\/2025 11:19 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"11\/04\/2025 11:19\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 11\/04\/2025 11:19 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/04\/2025 11:19","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas pollerias","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲0 está al corriente","Monto Ultimo Pago": "$ 300","Estado": "Suspendido","Fecha Ultimo Pago": " 11/04/2025 11:19 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "11/04/2025 11:19","Clabe Interbancaria": "0021804341999569810","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Monto Ultimo Pago":"💲 300","URL":"🌐 https://sistema.siip.mx/crm/client/2","Estado":"🔴 Suspendido","Saldo Actual":"💲0 está al corriente","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 11/04/2025 11:19 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"11/04/2025 11:19\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 11/04/2025 11:19 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 11/04/2025 11:19","Nombre":"👤 Daniel Humberto Soto Villegas pollerias"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Monto Ultimo Pago":"💲 300","URL":"🌐 https://sistema.siip.mx/crm/client/2","Estado":"🔴 Suspendido","Saldo Actual":"💲0 está al corriente","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 11/04/2025 11:19 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"11/04/2025 11:19\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 11/04/2025 11:19 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 11/04/2025 11:19","Nombre":"👤 Daniel Humberto Soto Villegas pollerias"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-11 17:19:34.655277] [notice] Logging level set to:debug -[2025-04-11 17:19:34.783214] [debug] valor el evento recibido por webhook: payment.add - -[2025-04-11 17:19:34.783399] [debug] Valor de JSON: {"uuid":"847dcd55-22ee-4fe7-930e-4b56175ffb4d","changeType":"insert","entity":"payment","entityId":"616","eventName":"payment.add","extraData":{"entity":{"id":616,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T11:19:30-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":713,"invoiceId":1713,"paymentId":616,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":null}} - -[2025-04-11 17:19:34.783632] [debug] Notification encodificado en JSON:{"uuid":"847dcd55-22ee-4fe7-930e-4b56175ffb4d","changeType":"insert","entity":"payment","entityId":616,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":616,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T11:19:30-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":713,"invoiceId":1713,"paymentId":616,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}} - -[2025-04-11 17:19:34.783705] [debug] valor del payment data: {"id":616,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T11:19:30-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":713,"invoiceId":1713,"paymentId":616,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]} - -[2025-04-11 17:19:34.783802] [info] {"WhatsApp":["5214181878106"]} -[2025-04-11 17:19:34.783843] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-11 17:19:34.783879] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-04-11 17:19:34.783921] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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_pollerias.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_pollerias.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png - -No se pudo obtener la lista de archivos de la carpeta FTP - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png" - }, - "template_values": ["Daniel Humberto Soto Villegas pollerias", "$300", "$0 está al corriente"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"06553be71c9c46968a372cf967ea2d89","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":"847dcd55-22ee-4fe7-930e-4b56175ffb4d","changeType":"insert","entity":"payment","entityId":616,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":616,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T11:19:30-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":713,"invoiceId":1713,"paymentId":616,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":616,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T11:19:30-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":713,"invoiceId":1713,"paymentId":616,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas pollerias","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11\/04\/2025 11:19 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"11\/04\/2025 11:19\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 11\/04\/2025 11:19 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/04\/2025 11:19","Clabe Interbancaria":null,"Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas pollerias","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲0 está al corriente","Monto Ultimo Pago": "$ 300","Estado": "Activo","Fecha Ultimo Pago": " 11/04/2025 11:19 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "11/04/2025 11:19","Clabe Interbancaria": "","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Monto Ultimo Pago":"💲 300","URL":"🌐 https://sistema.siip.mx/crm/client/2","Estado":"🟢 Activo ","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 11/04/2025 11:19 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 11/04/2025 11:19","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11/04/2025 11:19 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"11/04/2025 11:19\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Monto Ultimo Pago":"💲 300","URL":"🌐 https://sistema.siip.mx/crm/client/2","Estado":"🟢 Activo ","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 11/04/2025 11:19 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 11/04/2025 11:19","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11/04/2025 11:19 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"11/04/2025 11:19\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-11 17:19:40.542680] [notice] Logging level set to:debug -[2025-04-11 17:19:40.681014] [debug] valor el evento recibido por webhook: service.suspend_cancel - -[2025-04-11 17:19:40.681135] [debug] Valor de JSON: {"uuid":"02c7d880-4205-499c-8cc4-f74ced4d8875","changeType":"unsuspend","entity":"service","entityId":"152","eventName":"service.suspend_cancel","extraData":{"entity":{"id":152,"prepaid":false,"clientId":2,"status":1,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":"el may","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":154,"startDate":"2025-03-26T00:00:00-0600","endDate":"2025-04-11T11:19:31-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":152,"prepaid":false,"clientId":2,"status":3,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":"el may","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":154,"startDate":"2025-03-26T00:00:00-0600","endDate":"2025-04-11T11:19:31-0600"}],"surcharges":[]}}} - -[2025-04-11 17:19:40.681310] [debug] Se reactivó el servicio a un cliente - -[2025-04-11 17:19:40.681410] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-11 17:19:40.681613] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-04-11 17:19:40.681740] [info] {"uuid":"02c7d880-4205-499c-8cc4-f74ced4d8875","changeType":"unsuspend","entity":"service","entityId":152,"message":null,"clientId":2,"eventName":"service.suspend_cancel","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":152,"prepaid":false,"clientId":2,"status":1,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":"el may","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":154,"startDate":"2025-03-26T00:00:00-0600","endDate":"2025-04-11T00:00:00-0600"}],"surcharges":[]},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/04\/2025 11:19"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Monto Ultimo Pago":"💲 300","URL":"🌐 https://sistema.siip.mx/crm/client/2","Estado":"🟢 Activo","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 11/04/2025 11:19 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 11/04/2025 11:19","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11/04/2025 11:19 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"11/04/2025 11:19\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-11 17:19:42.152328] [notice] Logging level set to:debug -[2025-04-11 17:19:42.313728] [debug] valor el evento recibido por webhook: service.edit - -[2025-04-11 17:19:42.313836] [debug] Valor de JSON: {"uuid":"e79f49bf-350a-41dd-83c9-86d843e950cb","changeType":"edit","entity":"service","entityId":"152","eventName":"service.edit","extraData":{"entity":{"id":152,"prepaid":false,"clientId":2,"status":1,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":"el may","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":154,"startDate":"2025-03-26T00:00:00-0600","endDate":"2025-04-11T11:19:31-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":152,"prepaid":false,"clientId":2,"status":3,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":"el may","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":154,"startDate":"2025-03-26T00:00:00-0600","endDate":"2025-04-11T11:19:31-0600"}],"surcharges":[]}}} - -[2025-04-11 17:19:42.314016] [debug] Se editó el servicio a un cliente - -[2025-04-11 17:19:42.314060] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-11 17:19:42.314141] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-04-11 17:19:42.314238] [info] {"uuid":"e79f49bf-350a-41dd-83c9-86d843e950cb","changeType":"edit","entity":"service","entityId":152,"message":null,"clientId":2,"eventName":"service.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":152,"prepaid":false,"clientId":2,"status":1,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":"el may","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":154,"startDate":"2025-03-26T00:00:00-0600","endDate":"2025-04-11T00:00:00-0600"}],"surcharges":[]},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/04\/2025 11:19"}} - -[2025-04-11 17:19:52.277283] [notice] Logging level set to:debug -[2025-04-11 17:19:52.419595] [debug] valor el evento recibido por webhook: payment.edit - -[2025-04-11 17:19:52.419655] [debug] Valor de JSON: {"uuid":"6ec8bbcd-63ff-4523-a342-3effeb418877","changeType":"edit","entity":"payment","entityId":"616","eventName":"payment.edit","extraData":{"entity":{"id":616,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T11:19:30-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":713,"invoiceId":1713,"paymentId":616,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":616,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T11:19:30-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":713,"invoiceId":1713,"paymentId":616,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}}} - -[2025-04-11 17:20:22.235378] [notice] Logging level set to:debug -[2025-04-11 17:20:22.379940] [debug] valor el evento recibido por webhook: invoice.add - -[2025-04-11 17:20:22.380125] [debug] Valor de JSON: {"uuid":"fe6dbdd2-0766-4609-8200-60e88c57e141","changeType":"insert","entity":"invoice","entityId":"1816","eventName":"invoice.add","extraData":{"entity":{"id":1816,"clientId":2,"number":"001766","createdDate":"2025-04-11T11:19:55-0600","dueDate":"2025-04-25T11:19:55-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-11T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1819,"type":"other","label":"dsfsdfsd","price":400,"quantity":1,"total":400,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":400,"discount":null,"discountLabel":"Descuento","taxes":[],"total":400,"amountPaid":0,"totalUntaxed":400,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":400,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":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 pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-11 17:20:22.380364] [debug] Adición de Factura - -[2025-04-11 17:20:22.380462] [debug] datos del notification para el invoice add:{"uuid":"fe6dbdd2-0766-4609-8200-60e88c57e141","changeType":"insert","entity":"invoice","entityId":1816,"message":null,"clientId":2,"eventName":"invoice.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":-400,"accountCredit":0,"accountOutstanding":400,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1816,"clientId":2,"number":"001766","createdDate":"2025-04-11T11:19:55-0600","dueDate":"2025-04-25T11:19:55-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-11T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1819,"type":"other","label":"dsfsdfsd","price":400,"quantity":1,"total":400,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":400,"discount":null,"discountLabel":"Descuento","taxes":[],"total":400,"amountPaid":0,"totalUntaxed":400,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":400,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":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 pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-11 17:20:22.380517] [debug] Account Balance: -400 - -[2025-04-11 17:20:22.380599] [debug] {"uuid":"fe6dbdd2-0766-4609-8200-60e88c57e141","changeType":"insert","entity":"invoice","entityId":1816,"message":null,"clientId":2,"eventName":"invoice.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":-400,"accountCredit":0,"accountOutstanding":400,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1816,"clientId":2,"number":"001766","createdDate":"2025-04-11T11:19:55-0600","dueDate":"2025-04-25T11:19:55-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-11T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1819,"type":"other","label":"dsfsdfsd","price":400,"quantity":1,"total":400,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":400,"discount":null,"discountLabel":"Descuento","taxes":[],"total":400,"amountPaid":0,"totalUntaxed":400,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":400,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":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 pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-11 17:20:22.380692] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-11 17:20:22.380733] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"fe6dbdd2-0766-4609-8200-60e88c57e141","changeType":"insert","entity":"invoice","entityId":1816,"message":null,"clientId":2,"eventName":"invoice.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":-400,"accountCredit":0,"accountOutstanding":400,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1816,"clientId":2,"number":"001766","createdDate":"2025-04-11T11:19:55-0600","dueDate":"2025-04-25T11:19:55-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-11T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1819,"type":"other","label":"dsfsdfsd","price":400,"quantity":1,"total":400,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":400,"discount":null,"discountLabel":"Descuento","taxes":[],"total":400,"amountPaid":0,"totalUntaxed":400,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":400,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":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 pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":616,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T11:19:30-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":713,"invoiceId":1713,"paymentId":616,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas pollerias","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2400 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2400 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11\/04\/2025 11:19 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"11\/04\/2025 11:20\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 11\/04\/2025 11:19 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/04\/2025 11:20","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas pollerias","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲400 pendientes","Monto Ultimo Pago": "$ 300","Estado": "Activo","Fecha Ultimo Pago": " 11/04/2025 11:19 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "11/04/2025 11:20","Clabe Interbancaria": "0021804341999569810","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Monto Ultimo Pago":"💲 300","URL":"🌐 https://sistema.siip.mx/crm/client/2","Estado":"🟢 Activo ","Saldo Actual":"💲400 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 11/04/2025 11:19 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 11/04/2025 11:20","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲400 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11/04/2025 11:19 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"11/04/2025 11:20\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Monto Ultimo Pago":"💲 300","URL":"🌐 https://sistema.siip.mx/crm/client/2","Estado":"🟢 Activo ","Saldo Actual":"💲400 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 11/04/2025 11:19 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 11/04/2025 11:20","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲400 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11/04/2025 11:19 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"11/04/2025 11:20\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-11 17:20:38.208323] [notice] Logging level set to:debug -[2025-04-11 17:20:38.209017] [info] No UUID found in the webhook data -[2025-04-11 17:20:38.209573] [info] Evento de transfencia al cliente encontrado -[2025-04-11 17:20:38.209763] [info] Valor del EventJSON: {"id":"evt_1RClFpEFY1WEUtgRYESpPAVb","object":"event","api_version":"2023-10-16","created":1744392036,"data":{"object":{"id":"ccsbtxn_1RClFoEFY1WEUtgRPBPPkwVh","object":"customer_cash_balance_transaction","created":1744392036,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":30000,"funded":{"bank_transfer":{"reference":"","type":"mx_bank_transfer"}},"livemode":false,"net_amount":30000,"type":"funded"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_IcsIXFq07m7FI7","idempotency_key":"703447e4-2a3a-4ed6-8599-0e5565190125"},"type":"customer_cash_balance_transaction.created"} - -[2025-04-11 17:20:38.209882] [info] Evento recibido: {"id":"evt_1RClFpEFY1WEUtgRYESpPAVb","object":"event","api_version":"2023-10-16","created":1744392036,"data":{"object":{"id":"ccsbtxn_1RClFoEFY1WEUtgRPBPPkwVh","object":"customer_cash_balance_transaction","created":1744392036,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":30000,"funded":{"bank_transfer":{"reference":"","type":"mx_bank_transfer"}},"livemode":false,"net_amount":30000,"type":"funded"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_IcsIXFq07m7FI7","idempotency_key":"703447e4-2a3a-4ed6-8599-0e5565190125"},"type":"customer_cash_balance_transaction.created"} - -[2025-04-11 17:20:38.256887] [notice] Logging level set to:debug -[2025-04-11 17:20:38.257106] [info] No UUID found in the webhook data -[2025-04-11 17:20:38.257175] [info] Evento de transfencia al cliente encontrado -[2025-04-11 17:20:38.257246] [info] Valor del EventJSON: {"id":"evt_1RClFpEFY1WEUtgR1Q4Vutnn","object":"event","api_version":"2023-10-16","created":1744392036,"data":{"object":{"id":"ccsbtxn_1RClFoEFY1WEUtgRzhJEizYM","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3QpzAOEFY1WEUtgR1UVSyagm"},"created":1744392036,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":0,"livemode":false,"net_amount":-30000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_IcsIXFq07m7FI7","idempotency_key":"703447e4-2a3a-4ed6-8599-0e5565190125"},"type":"customer_cash_balance_transaction.created"} - -[2025-04-11 17:20:38.257306] [info] Evento recibido: {"id":"evt_1RClFpEFY1WEUtgR1Q4Vutnn","object":"event","api_version":"2023-10-16","created":1744392036,"data":{"object":{"id":"ccsbtxn_1RClFoEFY1WEUtgRzhJEizYM","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3QpzAOEFY1WEUtgR1UVSyagm"},"created":1744392036,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":0,"livemode":false,"net_amount":-30000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_IcsIXFq07m7FI7","idempotency_key":"703447e4-2a3a-4ed6-8599-0e5565190125"},"type":"customer_cash_balance_transaction.created"} - -[2025-04-11 17:20:39.264681] [notice] Logging level set to:debug -[2025-04-11 17:20:39.423851] [debug] valor el evento recibido por webhook: invoice.edit - -[2025-04-11 17:20:39.423927] [debug] Valor de JSON: {"uuid":"4733ea5d-11a4-46a2-8bbb-3ae2331dda47","changeType":"edit","entity":"invoice","entityId":"1816","eventName":"invoice.edit","extraData":{"entity":{"id":1816,"clientId":2,"number":"001766","createdDate":"2025-04-11T11:19:55-0600","dueDate":"2025-04-25T11:19:55-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-11T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1819,"type":"other","label":"dsfsdfsd","price":400,"quantity":1,"total":400,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":400,"discount":null,"discountLabel":"Descuento","taxes":[],"total":400,"amountPaid":300,"totalUntaxed":400,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":100,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":714,"invoiceId":1816,"paymentId":617,"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":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":1816,"clientId":2,"number":"001766","createdDate":"2025-04-11T11:19:55-0600","dueDate":"2025-04-25T11:19:55-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-11T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1819,"type":"other","label":"dsfsdfsd","price":400,"quantity":1,"total":400,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":400,"discount":null,"discountLabel":"Descuento","taxes":[],"total":400,"amountPaid":0,"totalUntaxed":400,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":400,"currencyCode":"MXN","status":1,"paymentCovers":[{"id":714,"invoiceId":1816,"paymentId":617,"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":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false}}} - -[2025-04-11 17:20:39.424087] [debug] Edición de Factura - -[2025-04-11 17:20:39.424263] [debug] {"uuid":"4733ea5d-11a4-46a2-8bbb-3ae2331dda47","changeType":"edit","entity":"invoice","entityId":1816,"message":null,"clientId":2,"eventName":"invoice.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":-100,"accountCredit":0,"accountOutstanding":100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1816,"clientId":2,"number":"001766","createdDate":"2025-04-11T11:19:55-0600","dueDate":"2025-04-25T11:19:55-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-11T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1819,"type":"other","label":"dsfsdfsd","price":400,"quantity":1,"total":400,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":400,"discount":null,"discountLabel":"Descuento","taxes":[],"total":400,"amountPaid":300,"totalUntaxed":400,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":100,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":714,"invoiceId":1816,"paymentId":617,"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":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-11 17:20:39.424391] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-11 17:20:39.424433] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-04-11 17:20:39.434077] [info] PaymentIntent creado: pi_3RClFqEFY1WEUtgR0t6QLz85 - -[2025-04-11 17:20:39.642271] [info] Error creando PaymentIntent: This value must be greater than or equal to 1. - -Notificacion data: {"uuid":"4733ea5d-11a4-46a2-8bbb-3ae2331dda47","changeType":"edit","entity":"invoice","entityId":1816,"message":null,"clientId":2,"eventName":"invoice.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":-100,"accountCredit":0,"accountOutstanding":100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1816,"clientId":2,"number":"001766","createdDate":"2025-04-11T11:19:55-0600","dueDate":"2025-04-25T11:19:55-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-11T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1819,"type":"other","label":"dsfsdfsd","price":400,"quantity":1,"total":400,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":400,"discount":null,"discountLabel":"Descuento","taxes":[],"total":400,"amountPaid":300,"totalUntaxed":400,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":100,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":714,"invoiceId":1816,"paymentId":617,"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":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":617,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T11:20:39-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":714,"invoiceId":1816,"paymentId":617,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas pollerias","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2100 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2100 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11\/04\/2025 11:20 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"11\/04\/2025 11:20\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 11\/04\/2025 11:20 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/04\/2025 11:20","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas pollerias","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲100 pendientes","Monto Ultimo Pago": "$ 300","Estado": "Activo","Fecha Ultimo Pago": " 11/04/2025 11:20 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "11/04/2025 11:20","Clabe Interbancaria": "0021804341999569810","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Monto Ultimo Pago":"💲 300","URL":"🌐 https://sistema.siip.mx/crm/client/2","Estado":"🟢 Activo ","Saldo Actual":"💲100 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 11/04/2025 11:20 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 11/04/2025 11:20","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲100 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11/04/2025 11:20 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"11/04/2025 11:20\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Monto Ultimo Pago":"💲 300","URL":"🌐 https://sistema.siip.mx/crm/client/2","Estado":"🟢 Activo ","Saldo Actual":"💲100 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 11/04/2025 11:20 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 11/04/2025 11:20","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲100 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11/04/2025 11:20 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"11/04/2025 11:20\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-11 17:20:42.330229] [notice] Logging level set to:debug -[2025-04-11 17:20:42.469182] [debug] valor el evento recibido por webhook: payment.add - -[2025-04-11 17:20:42.469434] [debug] Valor de JSON: {"uuid":"f971b8ee-1555-41d2-a70e-93f23515f749","changeType":"insert","entity":"payment","entityId":"617","eventName":"payment.add","extraData":{"entity":{"id":617,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T11:20:39-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":714,"invoiceId":1816,"paymentId":617,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":null}} - -[2025-04-11 17:20:42.469664] [debug] Notification encodificado en JSON:{"uuid":"f971b8ee-1555-41d2-a70e-93f23515f749","changeType":"insert","entity":"payment","entityId":617,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":-100,"accountCredit":0,"accountOutstanding":100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":617,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T11:20:39-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":714,"invoiceId":1816,"paymentId":617,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}} - -[2025-04-11 17:20:42.469743] [debug] valor del payment data: {"id":617,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T11:20:39-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":714,"invoiceId":1816,"paymentId":617,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]} - -[2025-04-11 17:20:42.469855] [info] {"WhatsApp":["5214181878106"]} -[2025-04-11 17:20:42.469907] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-11 17:20:42.469952] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-04-11 17:20:42.470002] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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_pollerias.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_pollerias.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png - -No se pudo obtener la lista de archivos de la carpeta FTP - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png" - }, - "template_values": ["Daniel Humberto Soto Villegas pollerias", "$300", "$100 pendientes"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"12d9c88e3ccc4c5a9e08dadfe8d29cc2","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":"f971b8ee-1555-41d2-a70e-93f23515f749","changeType":"insert","entity":"payment","entityId":617,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":-100,"accountCredit":0,"accountOutstanding":100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":617,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T11:20:39-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":714,"invoiceId":1816,"paymentId":617,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":617,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T11:20:39-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":714,"invoiceId":1816,"paymentId":617,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas pollerias","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2100 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2100 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11\/04\/2025 11:20 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"11\/04\/2025 11:20\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 11\/04\/2025 11:20 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/04\/2025 11:20","Clabe Interbancaria":null,"Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas pollerias","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲100 pendientes","Monto Ultimo Pago": "$ 300","Estado": "Activo","Fecha Ultimo Pago": " 11/04/2025 11:20 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "11/04/2025 11:20","Clabe Interbancaria": "","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Monto Ultimo Pago":"💲 300","URL":"🌐 https://sistema.siip.mx/crm/client/2","Estado":"🟢 Activo ","Saldo Actual":"💲100 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 11/04/2025 11:20 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 11/04/2025 11:20","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲100 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11/04/2025 11:20 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"11/04/2025 11:20\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Monto Ultimo Pago":"💲 300","URL":"🌐 https://sistema.siip.mx/crm/client/2","Estado":"🟢 Activo ","Saldo Actual":"💲100 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 11/04/2025 11:20 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 11/04/2025 11:20","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲100 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11/04/2025 11:20 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"11/04/2025 11:20\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-11 17:20:48.767651] [notice] Logging level set to:debug -[2025-04-11 17:20:48.885776] [debug] valor el evento recibido por webhook: payment.edit - -[2025-04-11 17:20:48.885919] [debug] Valor de JSON: {"uuid":"694ef942-6aa9-4bac-b2d6-0c4bca8e76d3","changeType":"edit","entity":"payment","entityId":"617","eventName":"payment.edit","extraData":{"entity":{"id":617,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T11:20:39-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":714,"invoiceId":1816,"paymentId":617,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":617,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T11:20:39-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":714,"invoiceId":1816,"paymentId":617,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}}} - -[2025-04-11 17:25:26.413865] [notice] Logging level set to:debug -[2025-04-11 17:25:26.414047] [info] No UUID found in the webhook data -[2025-04-11 17:25:26.414079] [info] Evento de transfencia al cliente encontrado -[2025-04-11 17:25:26.414122] [info] Valor del EventJSON: {"id":"evt_1RClKTEFY1WEUtgRDjKTOrG8","object":"event","api_version":"2023-10-16","created":1744392324,"data":{"object":{"id":"ccsbtxn_1RClKSEFY1WEUtgRsNq5kWUn","object":"customer_cash_balance_transaction","created":1744392324,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":15000,"funded":{"bank_transfer":{"reference":"","type":"mx_bank_transfer"}},"livemode":false,"net_amount":15000,"type":"funded"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_nvtW9jZJLvJeX6","idempotency_key":"1f30c022-739b-4e63-991d-2e1af0e82cbc"},"type":"customer_cash_balance_transaction.created"} - -[2025-04-11 17:25:26.414150] [info] Evento recibido: {"id":"evt_1RClKTEFY1WEUtgRDjKTOrG8","object":"event","api_version":"2023-10-16","created":1744392324,"data":{"object":{"id":"ccsbtxn_1RClKSEFY1WEUtgRsNq5kWUn","object":"customer_cash_balance_transaction","created":1744392324,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":15000,"funded":{"bank_transfer":{"reference":"","type":"mx_bank_transfer"}},"livemode":false,"net_amount":15000,"type":"funded"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_nvtW9jZJLvJeX6","idempotency_key":"1f30c022-739b-4e63-991d-2e1af0e82cbc"},"type":"customer_cash_balance_transaction.created"} - -[2025-04-11 17:25:26.468739] [notice] Logging level set to:debug -[2025-04-11 17:25:26.468878] [info] No UUID found in the webhook data -[2025-04-11 17:25:26.468895] [info] Evento de transfencia al cliente encontrado -[2025-04-11 17:25:26.468918] [info] Valor del EventJSON: {"id":"evt_1RClKTEFY1WEUtgRY9sqHLxI","object":"event","api_version":"2023-10-16","created":1744392325,"data":{"object":{"id":"ccsbtxn_1RClKTEFY1WEUtgRkNSctt5i","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3QpzAgEFY1WEUtgR19ApIYxb"},"created":1744392325,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":0,"livemode":false,"net_amount":-15000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_nvtW9jZJLvJeX6","idempotency_key":"1f30c022-739b-4e63-991d-2e1af0e82cbc"},"type":"customer_cash_balance_transaction.created"} - -[2025-04-11 17:25:26.468945] [info] Evento recibido: {"id":"evt_1RClKTEFY1WEUtgRY9sqHLxI","object":"event","api_version":"2023-10-16","created":1744392325,"data":{"object":{"id":"ccsbtxn_1RClKTEFY1WEUtgRkNSctt5i","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3QpzAgEFY1WEUtgR19ApIYxb"},"created":1744392325,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":0,"livemode":false,"net_amount":-15000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_nvtW9jZJLvJeX6","idempotency_key":"1f30c022-739b-4e63-991d-2e1af0e82cbc"},"type":"customer_cash_balance_transaction.created"} - -[2025-04-11 17:25:27.606229] [info] PaymentIntent creado: pi_3RClKUEFY1WEUtgR1QziLozf - -[2025-04-11 17:25:27.706170] [info] Error creando PaymentIntent: This value must be greater than or equal to 1. - -[2025-04-11 17:55:10.073240] [notice] Logging level set to:debug -[2025-04-11 17:55:10.073451] [info] No UUID found in the webhook data -[2025-04-11 17:59:02.476902] [notice] Logging level set to:debug -[2025-04-11 17:59:02.476902] [notice] Logging level set to:debug -[2025-04-11 17:59:02.477035] [info] No UUID found in the webhook data -[2025-04-11 17:59:02.477052] [info] Evento de transfencia al cliente encontrado -[2025-04-11 17:59:02.477071] [info] Valor del EventJSON: {"id":"evt_1RClqzEFY1WEUtgR5a8LiWKO","object":"event","api_version":"2023-10-16","created":1744394339,"data":{"object":{"id":"ccsbtxn_1RClqxEFY1WEUtgR4K0iwaAw","object":"customer_cash_balance_transaction","created":1744394339,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":20000,"funded":{"bank_transfer":{"reference":"","type":"mx_bank_transfer"}},"livemode":false,"net_amount":20000,"type":"funded"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_dODkBsjjMbVA0L","idempotency_key":"8cd39366-3612-476b-a9e1-de8efd3cb102"},"type":"customer_cash_balance_transaction.created"} - -[2025-04-11 17:59:02.477086] [info] Evento recibido: {"id":"evt_1RClqzEFY1WEUtgR5a8LiWKO","object":"event","api_version":"2023-10-16","created":1744394339,"data":{"object":{"id":"ccsbtxn_1RClqxEFY1WEUtgR4K0iwaAw","object":"customer_cash_balance_transaction","created":1744394339,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":20000,"funded":{"bank_transfer":{"reference":"","type":"mx_bank_transfer"}},"livemode":false,"net_amount":20000,"type":"funded"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_dODkBsjjMbVA0L","idempotency_key":"8cd39366-3612-476b-a9e1-de8efd3cb102"},"type":"customer_cash_balance_transaction.created"} - -[2025-04-11 17:59:02.477341] [info] No UUID found in the webhook data -[2025-04-11 17:59:02.477411] [info] Evento de transfencia al cliente encontrado -[2025-04-11 17:59:02.477458] [info] Valor del EventJSON: {"id":"evt_1RClqzEFY1WEUtgRfh2xyoSH","object":"event","api_version":"2023-10-16","created":1744394339,"data":{"object":{"id":"ccsbtxn_1RClqxEFY1WEUtgRAOWNq8cZ","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3QpzAgEFY1WEUtgR19ApIYxb"},"created":1744394339,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":5000,"livemode":false,"net_amount":-15000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_dODkBsjjMbVA0L","idempotency_key":"8cd39366-3612-476b-a9e1-de8efd3cb102"},"type":"customer_cash_balance_transaction.created"} - -[2025-04-11 17:59:02.477502] [info] Evento recibido: {"id":"evt_1RClqzEFY1WEUtgRfh2xyoSH","object":"event","api_version":"2023-10-16","created":1744394339,"data":{"object":{"id":"ccsbtxn_1RClqxEFY1WEUtgRAOWNq8cZ","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3QpzAgEFY1WEUtgR19ApIYxb"},"created":1744394339,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":5000,"livemode":false,"net_amount":-15000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_dODkBsjjMbVA0L","idempotency_key":"8cd39366-3612-476b-a9e1-de8efd3cb102"},"type":"customer_cash_balance_transaction.created"} - -[2025-04-11 17:59:02.666867] [notice] Logging level set to:debug -[2025-04-11 17:59:02.666986] [info] No UUID found in the webhook data -[2025-04-11 17:59:02.667002] [info] Evento de transfencia al cliente encontrado -[2025-04-11 17:59:02.667026] [info] Valor del EventJSON: {"id":"evt_1RClqzEFY1WEUtgRoHT7j8Ht","object":"event","api_version":"2023-10-16","created":1744394341,"data":{"object":{"id":"ccsbtxn_1RClqzEFY1WEUtgRzCB9LAbp","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3RClEkEFY1WEUtgR1xbhyE4S"},"created":1744394341,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":0,"livemode":false,"net_amount":-5000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_dODkBsjjMbVA0L","idempotency_key":"8cd39366-3612-476b-a9e1-de8efd3cb102"},"type":"customer_cash_balance_transaction.created"} - -[2025-04-11 17:59:02.667040] [info] Evento recibido: {"id":"evt_1RClqzEFY1WEUtgRoHT7j8Ht","object":"event","api_version":"2023-10-16","created":1744394341,"data":{"object":{"id":"ccsbtxn_1RClqzEFY1WEUtgRzCB9LAbp","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3RClEkEFY1WEUtgR1xbhyE4S"},"created":1744394341,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":0,"livemode":false,"net_amount":-5000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_dODkBsjjMbVA0L","idempotency_key":"8cd39366-3612-476b-a9e1-de8efd3cb102"},"type":"customer_cash_balance_transaction.created"} - -[2025-04-11 17:59:02.829044] [info] Se creara intención de pago por: -15000 - -[2025-04-11 17:59:02.840136] [info] Se creara intención de pago por: 20000 - -[2025-04-11 17:59:02.977910] [info] Error creando PaymentIntent: This value must be greater than or equal to 1. - -[2025-04-11 17:59:03.009607] [info] Se creara intención de pago por: -5000 - -[2025-04-11 17:59:03.369366] [info] PaymentIntent creado: pi_3RClr0EFY1WEUtgR0eI4Kodl - -[2025-04-11 17:59:03.585988] [info] Error creando PaymentIntent: This value must be greater than or equal to 1. - -[2025-04-11 17:59:03.615988] [notice] Logging level set to:debug -[2025-04-11 17:59:04.047693] [debug] valor el evento recibido por webhook: invoice.edit - -[2025-04-11 17:59:04.047759] [debug] Valor de JSON: {"uuid":"03cc7981-1ad4-40e1-83e7-f8ec6ec642ba","changeType":"edit","entity":"invoice","entityId":"1816","eventName":"invoice.edit","extraData":{"entity":{"id":1816,"clientId":2,"number":"001766","createdDate":"2025-04-11T11:19:55-0600","dueDate":"2025-04-25T11:19:55-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-11T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1819,"type":"other","label":"dsfsdfsd","price":400,"quantity":1,"total":400,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":400,"discount":null,"discountLabel":"Descuento","taxes":[],"total":400,"amountPaid":400,"totalUntaxed":400,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":714,"invoiceId":1816,"paymentId":617,"creditNoteId":null,"refundId":null,"amount":300},{"id":715,"invoiceId":1816,"paymentId":618,"creditNoteId":null,"refundId":null,"amount":100}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":1816,"clientId":2,"number":"001766","createdDate":"2025-04-11T11:19:55-0600","dueDate":"2025-04-25T11:19:55-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-11T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1819,"type":"other","label":"dsfsdfsd","price":400,"quantity":1,"total":400,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":400,"discount":null,"discountLabel":"Descuento","taxes":[],"total":400,"amountPaid":300,"totalUntaxed":400,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":100,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":714,"invoiceId":1816,"paymentId":617,"creditNoteId":null,"refundId":null,"amount":300},{"id":715,"invoiceId":1816,"paymentId":618,"creditNoteId":null,"refundId":null,"amount":100}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false}}} - -[2025-04-11 17:59:04.047863] [debug] Edición de Factura - -[2025-04-11 17:59:04.047931] [debug] {"uuid":"03cc7981-1ad4-40e1-83e7-f8ec6ec642ba","changeType":"edit","entity":"invoice","entityId":1816,"message":null,"clientId":2,"eventName":"invoice.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":200,"accountCredit":200,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1816,"clientId":2,"number":"001766","createdDate":"2025-04-11T11:19:55-0600","dueDate":"2025-04-25T11:19:55-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-11T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1819,"type":"other","label":"dsfsdfsd","price":400,"quantity":1,"total":400,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":400,"discount":null,"discountLabel":"Descuento","taxes":[],"total":400,"amountPaid":400,"totalUntaxed":400,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":714,"invoiceId":1816,"paymentId":617,"creditNoteId":null,"refundId":null,"amount":300},{"id":715,"invoiceId":1816,"paymentId":618,"creditNoteId":null,"refundId":null,"amount":100}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-11 17:59:04.047996] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-11 17:59:04.048007] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"03cc7981-1ad4-40e1-83e7-f8ec6ec642ba","changeType":"edit","entity":"invoice","entityId":1816,"message":null,"clientId":2,"eventName":"invoice.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":200,"accountCredit":200,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1816,"clientId":2,"number":"001766","createdDate":"2025-04-11T11:19:55-0600","dueDate":"2025-04-25T11:19:55-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-11T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1819,"type":"other","label":"dsfsdfsd","price":400,"quantity":1,"total":400,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":400,"discount":null,"discountLabel":"Descuento","taxes":[],"total":400,"amountPaid":400,"totalUntaxed":400,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":714,"invoiceId":1816,"paymentId":617,"creditNoteId":null,"refundId":null,"amount":300},{"id":715,"invoiceId":1816,"paymentId":618,"creditNoteId":null,"refundId":null,"amount":100}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":618,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T11:59:03-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":715,"invoiceId":1816,"paymentId":618,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":200,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas pollerias","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2200 a favor","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2200 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11\/04\/2025 11:59 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"11\/04\/2025 11:59\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 11\/04\/2025 11:59 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/04\/2025 11:59","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas pollerias","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲200 a favor","Monto Ultimo Pago": "$ 300","Estado": "Activo","Fecha Ultimo Pago": " 11/04/2025 11:59 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "11/04/2025 11:59","Clabe Interbancaria": "0021804341999569810","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Monto Ultimo Pago":"💲 300","URL":"🌐 https://sistema.siip.mx/crm/client/2","Estado":"🟢 Activo ","Saldo Actual":"💲200 a favor","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 11/04/2025 11:59 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 11/04/2025 11:59","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲200 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11/04/2025 11:59 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"11/04/2025 11:59\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Monto Ultimo Pago":"💲 300","URL":"🌐 https://sistema.siip.mx/crm/client/2","Estado":"🟢 Activo ","Saldo Actual":"💲200 a favor","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 11/04/2025 11:59 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 11/04/2025 11:59","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲200 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11/04/2025 11:59 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"11/04/2025 11:59\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-11 17:59:07.281116] [notice] Logging level set to:debug -[2025-04-11 17:59:07.435235] [debug] valor el evento recibido por webhook: payment.add - -[2025-04-11 17:59:07.435383] [debug] Valor de JSON: {"uuid":"5ef8ead1-d3d7-4944-868c-e23278a7fdca","changeType":"insert","entity":"payment","entityId":"618","eventName":"payment.add","extraData":{"entity":{"id":618,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T11:59:03-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":715,"invoiceId":1816,"paymentId":618,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":200,"userId":null,"attributes":[]},"entityBeforeEdit":null}} - -[2025-04-11 17:59:07.435558] [debug] Notification encodificado en JSON:{"uuid":"5ef8ead1-d3d7-4944-868c-e23278a7fdca","changeType":"insert","entity":"payment","entityId":618,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":200,"accountCredit":200,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":618,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T11:59:03-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":715,"invoiceId":1816,"paymentId":618,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":200,"userId":null,"attributes":[]}} - -[2025-04-11 17:59:07.435656] [debug] valor del payment data: {"id":618,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T11:59:03-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":715,"invoiceId":1816,"paymentId":618,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":200,"userId":null,"attributes":[]} - -[2025-04-11 17:59:07.435775] [info] {"WhatsApp":["5214181878106"]} -[2025-04-11 17:59:07.435827] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-11 17:59:07.435867] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-04-11 17:59:07.435918] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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_pollerias.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_pollerias.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png - -No se pudo obtener la lista de archivos de la carpeta FTP - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png" - }, - "template_values": ["Daniel Humberto Soto Villegas pollerias", "$300", "$200 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"41c4ef24e8a94a07a67a4570f05c2993","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":"5ef8ead1-d3d7-4944-868c-e23278a7fdca","changeType":"insert","entity":"payment","entityId":618,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":200,"accountCredit":200,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":618,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T11:59:03-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":715,"invoiceId":1816,"paymentId":618,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":200,"userId":null,"attributes":[]}} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":618,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T11:59:03-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":715,"invoiceId":1816,"paymentId":618,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":200,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas pollerias","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2200 a favor","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2200 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11\/04\/2025 11:59 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"11\/04\/2025 11:59\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 11\/04\/2025 11:59 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/04\/2025 11:59","Clabe Interbancaria":null,"Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas pollerias","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲200 a favor","Monto Ultimo Pago": "$ 300","Estado": "Activo","Fecha Ultimo Pago": " 11/04/2025 11:59 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "11/04/2025 11:59","Clabe Interbancaria": "","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Monto Ultimo Pago":"💲 300","URL":"🌐 https://sistema.siip.mx/crm/client/2","Estado":"🟢 Activo ","Saldo Actual":"💲200 a favor","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 11/04/2025 11:59 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 11/04/2025 11:59","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲200 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11/04/2025 11:59 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"11/04/2025 11:59\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Monto Ultimo Pago":"💲 300","URL":"🌐 https://sistema.siip.mx/crm/client/2","Estado":"🟢 Activo ","Saldo Actual":"💲200 a favor","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 11/04/2025 11:59 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 11/04/2025 11:59","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲200 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11/04/2025 11:59 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"11/04/2025 11:59\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-11 17:59:14.067590] [notice] Logging level set to:debug -[2025-04-11 17:59:14.203200] [debug] valor el evento recibido por webhook: payment.edit - -[2025-04-11 17:59:14.203342] [debug] Valor de JSON: {"uuid":"eb29ea57-f4c1-446a-ab7a-996ef015b3f5","changeType":"edit","entity":"payment","entityId":"618","eventName":"payment.edit","extraData":{"entity":{"id":618,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T11:59:03-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":715,"invoiceId":1816,"paymentId":618,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":200,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":618,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T11:59:03-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":715,"invoiceId":1816,"paymentId":618,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":200,"userId":null,"attributes":[]}}} - -[2025-04-11 19:45:46.829123] [notice] Logging level set to:debug -[2025-04-11 19:45:46.829478] [info] No UUID found in the webhook data -[2025-04-11 19:45:46.829561] [info] Evento de transfencia al cliente encontrado -[2025-04-11 19:45:46.829617] [info] Valor del EventJSON: {"id":"evt_1RCnWIEFY1WEUtgRbnrDsNit","object":"event","api_version":"2023-10-16","created":1744400746,"data":{"object":{"id":"ccsbtxn_1RCnWHEFY1WEUtgRPOeLWQPB","object":"customer_cash_balance_transaction","created":1744400745,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":5000,"livemode":false,"net_amount":5000,"type":"unapplied_from_payment","unapplied_from_payment":{"payment_intent":"pi_3RClEkEFY1WEUtgR1xbhyE4S"}}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_XNp9eFuxCFMrxQ","idempotency_key":"9712fd5f-a4ad-4cc9-b778-acd097e7d809"},"type":"customer_cash_balance_transaction.created"} - -[2025-04-11 19:45:46.829675] [info] Evento recibido: {"id":"evt_1RCnWIEFY1WEUtgRbnrDsNit","object":"event","api_version":"2023-10-16","created":1744400746,"data":{"object":{"id":"ccsbtxn_1RCnWHEFY1WEUtgRPOeLWQPB","object":"customer_cash_balance_transaction","created":1744400745,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":5000,"livemode":false,"net_amount":5000,"type":"unapplied_from_payment","unapplied_from_payment":{"payment_intent":"pi_3RClEkEFY1WEUtgR1xbhyE4S"}}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_XNp9eFuxCFMrxQ","idempotency_key":"9712fd5f-a4ad-4cc9-b778-acd097e7d809"},"type":"customer_cash_balance_transaction.created"} - -[2025-04-11 19:45:47.172713] [info] Se creara intención de pago por: 5000 - -[2025-04-11 19:45:48.432897] [info] PaymentIntent creado: pi_3RCnWJEFY1WEUtgR1O6HzoUF - -[2025-04-11 19:45:48.760315] [notice] Logging level set to:debug -[2025-04-11 19:45:48.760432] [info] No UUID found in the webhook data -[2025-04-11 19:45:48.760457] [info] Evento de transfencia al cliente encontrado -[2025-04-11 19:45:48.760483] [info] Valor del EventJSON: {"id":"evt_1RCnWKEFY1WEUtgRveyyxeY6","object":"event","api_version":"2023-10-16","created":1744400747,"data":{"object":{"id":"ccsbtxn_1RCnWJEFY1WEUtgRl6GHgQTi","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3RCnWJEFY1WEUtgR1O6HzoUF"},"created":1744400747,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":0,"livemode":false,"net_amount":-5000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_oXo7j5IJNL7oho","idempotency_key":"bc5d77d6-213a-45fe-9963-a8a9f8706042"},"type":"customer_cash_balance_transaction.created"} - -[2025-04-11 19:45:48.760507] [info] Evento recibido: {"id":"evt_1RCnWKEFY1WEUtgRveyyxeY6","object":"event","api_version":"2023-10-16","created":1744400747,"data":{"object":{"id":"ccsbtxn_1RCnWJEFY1WEUtgRl6GHgQTi","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3RCnWJEFY1WEUtgR1O6HzoUF"},"created":1744400747,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":0,"livemode":false,"net_amount":-5000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_oXo7j5IJNL7oho","idempotency_key":"bc5d77d6-213a-45fe-9963-a8a9f8706042"},"type":"customer_cash_balance_transaction.created"} - -[2025-04-11 19:45:49.102473] [info] Se creara intención de pago por: -5000 - -[2025-04-11 19:45:49.257533] [info] Error creando PaymentIntent: This value must be greater than or equal to 1. - -[2025-04-11 19:45:50.347337] [notice] Logging level set to:debug -[2025-04-11 19:45:50.347412] [info] No UUID found in the webhook data -[2025-04-11 19:45:50.676568] [notice] Logging level set to:debug -[2025-04-11 19:45:50.795703] [debug] valor el evento recibido por webhook: payment.add - -[2025-04-11 19:45:50.795885] [debug] Valor de JSON: {"uuid":"936f9d77-0617-4bae-bb40-750571501da4","changeType":"insert","entity":"payment","entityId":"619","eventName":"payment.add","extraData":{"entity":{"id":619,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T13:45:50-0600","amount":50,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":50,"userId":null,"attributes":[]},"entityBeforeEdit":null}} - -[2025-04-11 19:45:50.796062] [debug] Notification encodificado en JSON:{"uuid":"936f9d77-0617-4bae-bb40-750571501da4","changeType":"insert","entity":"payment","entityId":619,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":250,"accountCredit":250,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":619,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T13:45:50-0600","amount":50,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":50,"userId":null,"attributes":[]}} - -[2025-04-11 19:45:50.796125] [debug] valor del payment data: {"id":619,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T13:45:50-0600","amount":50,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":50,"userId":null,"attributes":[]} - -[2025-04-11 19:45:50.796216] [info] {"WhatsApp":["5214181878106"]} -[2025-04-11 19:45:50.796257] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-11 19:45:50.796293] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-04-11 19:45:50.796336] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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_pollerias.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_pollerias.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png - -No se pudo obtener la lista de archivos de la carpeta FTP - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png" - }, - "template_values": ["Daniel Humberto Soto Villegas pollerias", "$50", "$250 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"b2201ca077c14ebc850991c72f561907","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":"936f9d77-0617-4bae-bb40-750571501da4","changeType":"insert","entity":"payment","entityId":619,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":250,"accountCredit":250,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":619,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T13:45:50-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":619,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T13:45:50-0600","amount":50,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":50,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas pollerias","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2250 a favor","Monto Ultimo Pago":"\ud83d\udcb2 50","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2250 a favor\",\"Monto Ultimo Pago\": \"$ 50\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11\/04\/2025 13:45 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"11\/04\/2025 13:45\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 11\/04\/2025 13:45 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/04\/2025 13:45","Clabe Interbancaria":null,"Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas pollerias","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲250 a favor","Monto Ultimo Pago": "$ 50","Estado": "Activo","Fecha Ultimo Pago": " 11/04/2025 13:45 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "11/04/2025 13:45","Clabe Interbancaria": "","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Monto Ultimo Pago":"💲 50","URL":"🌐 https://sistema.siip.mx/crm/client/2","Estado":"🟢 Activo ","Saldo Actual":"💲250 a favor","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 11/04/2025 13:45 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 11/04/2025 13:45","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲250 a favor\",\"Monto Ultimo Pago\": \"$ 50\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11/04/2025 13:45 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"11/04/2025 13:45\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Monto Ultimo Pago":"💲 50","URL":"🌐 https://sistema.siip.mx/crm/client/2","Estado":"🟢 Activo ","Saldo Actual":"💲250 a favor","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 11/04/2025 13:45 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 11/04/2025 13:45","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲250 a favor\",\"Monto Ultimo Pago\": \"$ 50\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11/04/2025 13:45 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"11/04/2025 13:45\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-11 19:45:58.192156] [notice] Logging level set to:debug -[2025-04-11 19:45:58.423820] [debug] valor el evento recibido por webhook: payment.edit - -[2025-04-11 19:45:58.423964] [debug] Valor de JSON: {"uuid":"d692c475-a228-4d68-b5ca-f9672beba161","changeType":"edit","entity":"payment","entityId":"619","eventName":"payment.edit","extraData":{"entity":{"id":619,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T13:45:50-0600","amount":50,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":50,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":619,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T13:45:50-0600","amount":50,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":50,"userId":null,"attributes":[]}}} - -[2025-04-11 19:48:54.723225] [notice] Logging level set to:debug -[2025-04-11 19:48:54.723694] [info] No UUID found in the webhook data -[2025-04-11 19:48:54.723798] [info] Evento de transfencia al cliente encontrado -[2025-04-11 19:48:54.723874] [info] Valor del EventJSON: {"id":"evt_1RCnZKEFY1WEUtgRU3qF4ODH","object":"event","api_version":"2023-10-16","created":1744400933,"data":{"object":{"id":"ccsbtxn_1RCnZJEFY1WEUtgRDF4ED52v","object":"customer_cash_balance_transaction","created":1744400933,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":15000,"funded":{"bank_transfer":{"reference":"","type":"mx_bank_transfer"}},"livemode":false,"net_amount":15000,"type":"funded"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_7Xu68VedQL1T0k","idempotency_key":"0db5874c-b7ed-4d7c-8eb0-33f948647c2f"},"type":"customer_cash_balance_transaction.created"} - -[2025-04-11 19:48:54.723951] [info] Evento recibido: {"id":"evt_1RCnZKEFY1WEUtgRU3qF4ODH","object":"event","api_version":"2023-10-16","created":1744400933,"data":{"object":{"id":"ccsbtxn_1RCnZJEFY1WEUtgRDF4ED52v","object":"customer_cash_balance_transaction","created":1744400933,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":15000,"funded":{"bank_transfer":{"reference":"","type":"mx_bank_transfer"}},"livemode":false,"net_amount":15000,"type":"funded"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_7Xu68VedQL1T0k","idempotency_key":"0db5874c-b7ed-4d7c-8eb0-33f948647c2f"},"type":"customer_cash_balance_transaction.created"} - -[2025-04-11 19:48:54.784416] [notice] Logging level set to:debug -[2025-04-11 19:48:54.784523] [info] No UUID found in the webhook data -[2025-04-11 19:48:55.268532] [info] Se creara intención de pago por: 15000 - -[2025-04-11 19:48:56.681535] [info] PaymentIntent creado: pi_3RCnZLEFY1WEUtgR0Bhho9Ti - -[2025-04-11 19:48:56.956084] [notice] Logging level set to:debug -[2025-04-11 19:48:56.956182] [info] No UUID found in the webhook data -[2025-04-11 19:48:56.956196] [info] Evento de transfencia al cliente encontrado -[2025-04-11 19:48:56.956216] [info] Valor del EventJSON: {"id":"evt_1RCnZMEFY1WEUtgRZkeap0bX","object":"event","api_version":"2023-10-16","created":1744400935,"data":{"object":{"id":"ccsbtxn_1RCnZLEFY1WEUtgRRiOWQpsX","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3RCnZLEFY1WEUtgR0Bhho9Ti"},"created":1744400935,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":0,"livemode":false,"net_amount":-15000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_41i4iW88iTYuDn","idempotency_key":"24c553f7-7b22-477f-9782-d37b1d6dc8bb"},"type":"customer_cash_balance_transaction.created"} - -[2025-04-11 19:48:56.956229] [info] Evento recibido: {"id":"evt_1RCnZMEFY1WEUtgRZkeap0bX","object":"event","api_version":"2023-10-16","created":1744400935,"data":{"object":{"id":"ccsbtxn_1RCnZLEFY1WEUtgRRiOWQpsX","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3RCnZLEFY1WEUtgR0Bhho9Ti"},"created":1744400935,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":0,"livemode":false,"net_amount":-15000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_41i4iW88iTYuDn","idempotency_key":"24c553f7-7b22-477f-9782-d37b1d6dc8bb"},"type":"customer_cash_balance_transaction.created"} - -[2025-04-11 19:48:57.465689] [info] Se creara intención de pago por: -15000 - -[2025-04-11 19:48:57.720297] [info] Error creando PaymentIntent: This value must be greater than or equal to 1. - -[2025-04-11 19:48:57.900701] [notice] Logging level set to:debug -[2025-04-11 19:48:58.084583] [debug] valor el evento recibido por webhook: payment.add - -[2025-04-11 19:48:58.084781] [debug] Valor de JSON: {"uuid":"38c9c169-66fb-49d8-862a-6485ff20b623","changeType":"insert","entity":"payment","entityId":"620","eventName":"payment.add","extraData":{"entity":{"id":620,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T13:48:57-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":null,"attributes":[]},"entityBeforeEdit":null}} - -[2025-04-11 19:48:58.084971] [debug] Notification encodificado en JSON:{"uuid":"38c9c169-66fb-49d8-862a-6485ff20b623","changeType":"insert","entity":"payment","entityId":620,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":400,"accountCredit":400,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":620,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T13:48:57-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":null,"attributes":[]}} - -[2025-04-11 19:48:58.085061] [debug] valor del payment data: {"id":620,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T13:48:57-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":null,"attributes":[]} - -[2025-04-11 19:48:58.085160] [info] {"WhatsApp":["5214181878106"]} -[2025-04-11 19:48:58.085199] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-11 19:48:58.085235] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-04-11 19:48:58.085278] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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_pollerias.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_pollerias.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png - -No se pudo obtener la lista de archivos de la carpeta FTP - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png" - }, - "template_values": ["Daniel Humberto Soto Villegas pollerias", "$150", "$400 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"327f253f54df4f69a579bf2533cc4a65","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":"38c9c169-66fb-49d8-862a-6485ff20b623","changeType":"insert","entity":"payment","entityId":620,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":400,"accountCredit":400,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":620,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T13:48:57-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":null,"attributes":[]}} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":620,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T13:48:57-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas pollerias","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2400 a favor","Monto Ultimo Pago":"\ud83d\udcb2 150","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2400 a favor\",\"Monto Ultimo Pago\": \"$ 150\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11\/04\/2025 13:48 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"11\/04\/2025 13:49\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 11\/04\/2025 13:48 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/04\/2025 13:49","Clabe Interbancaria":null,"Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas pollerias","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲400 a favor","Monto Ultimo Pago": "$ 150","Estado": "Activo","Fecha Ultimo Pago": " 11/04/2025 13:48 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "11/04/2025 13:49","Clabe Interbancaria": "","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Monto Ultimo Pago":"💲 150","URL":"🌐 https://sistema.siip.mx/crm/client/2","Estado":"🟢 Activo ","Saldo Actual":"💲400 a favor","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 11/04/2025 13:48 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 11/04/2025 13:49","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲400 a favor\",\"Monto Ultimo Pago\": \"$ 150\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11/04/2025 13:48 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"11/04/2025 13:49\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"2","Clabe Interbancaria":"0021804341999569810","Monto Ultimo Pago":"💲 150","URL":"🌐 https://sistema.siip.mx/crm/client/2","Estado":"🟢 Activo ","Saldo Actual":"💲400 a favor","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 11/04/2025 13:48 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 11/04/2025 13:49","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲400 a favor\",\"Monto Ultimo Pago\": \"$ 150\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11/04/2025 13:48 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"11/04/2025 13:49\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-11 19:49:05.407305] [notice] Logging level set to:debug -[2025-04-11 19:49:05.615922] [debug] valor el evento recibido por webhook: payment.edit - -[2025-04-11 19:49:05.616113] [debug] Valor de JSON: {"uuid":"101e1005-48c7-4f73-830f-f40cb7f2e480","changeType":"edit","entity":"payment","entityId":"620","eventName":"payment.edit","extraData":{"entity":{"id":620,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T13:48:57-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":620,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T13:48:57-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":null,"attributes":[]}}} - -[2025-04-11 20:27:58.167346] [notice] Logging level set to:debug -[2025-04-11 20:27:58.167706] [info] No UUID found in the webhook data -[2025-04-11 20:27:58.167788] [info] Evento de transfencia al cliente encontrado -[2025-04-11 20:27:58.167835] [info] Valor del EventJSON: {"id":"evt_1RCoB7EFY1WEUtgRZN2XWrn5","object":"event","api_version":"2023-10-16","created":1744403277,"data":{"object":{"id":"ccsbtxn_1RCoB7EFY1WEUtgRnNE649gF","object":"customer_cash_balance_transaction","created":1744403277,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":10000,"funded":{"bank_transfer":{"reference":"","type":"mx_bank_transfer"}},"livemode":false,"net_amount":10000,"type":"funded"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_0k9LhKPg1FsxzX","idempotency_key":"760b8c05-ba8d-496f-9d22-e522a20b36f4"},"type":"customer_cash_balance_transaction.created"} - -[2025-04-11 20:27:58.167880] [info] Evento recibido: {"id":"evt_1RCoB7EFY1WEUtgRZN2XWrn5","object":"event","api_version":"2023-10-16","created":1744403277,"data":{"object":{"id":"ccsbtxn_1RCoB7EFY1WEUtgRnNE649gF","object":"customer_cash_balance_transaction","created":1744403277,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":10000,"funded":{"bank_transfer":{"reference":"","type":"mx_bank_transfer"}},"livemode":false,"net_amount":10000,"type":"funded"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_0k9LhKPg1FsxzX","idempotency_key":"760b8c05-ba8d-496f-9d22-e522a20b36f4"},"type":"customer_cash_balance_transaction.created"} - -[2025-04-11 20:27:58.197221] [notice] Logging level set to:debug -[2025-04-11 20:27:58.197402] [info] No UUID found in the webhook data -[2025-04-11 20:28:00.008676] [info] PaymentIntent creado: pi_3RCoB8EFY1WEUtgR0fdOxK2h - -[2025-04-11 20:28:00.285548] [notice] Logging level set to:debug -[2025-04-11 20:28:00.285706] [info] No UUID found in the webhook data -[2025-04-11 20:28:00.285753] [info] Evento de transfencia al cliente encontrado -[2025-04-11 20:28:00.285799] [info] Valor del EventJSON: {"id":"evt_1RCoB9EFY1WEUtgRQJU3ab6X","object":"event","api_version":"2023-10-16","created":1744403279,"data":{"object":{"id":"ccsbtxn_1RCoB8EFY1WEUtgR92zEpWpZ","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3RCoB8EFY1WEUtgR0fdOxK2h"},"created":1744403278,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":0,"livemode":false,"net_amount":-10000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_X2J04P4JlNnIWo","idempotency_key":"05db7bf2-3cbc-469d-b694-27f77a149d2b"},"type":"customer_cash_balance_transaction.created"} - -[2025-04-11 20:28:01.276499] [notice] Logging level set to:debug -[2025-04-11 20:28:01.488172] [debug] valor el evento recibido por webhook: payment.add - -[2025-04-11 20:28:01.488440] [debug] Valor de JSON: {"uuid":"5f613bfe-e9c2-4891-ae9f-888ecad7d6d0","changeType":"insert","entity":"payment","entityId":"621","eventName":"payment.add","extraData":{"entity":{"id":621,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T14:28:00-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]},"entityBeforeEdit":null}} - -[2025-04-11 20:28:01.488631] [debug] Notification encodificado en JSON:{"uuid":"5f613bfe-e9c2-4891-ae9f-888ecad7d6d0","changeType":"insert","entity":"payment","entityId":621,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":500,"accountCredit":500,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":621,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T14:28:00-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}} - -[2025-04-11 20:28:01.488693] [debug] valor del payment data: {"id":621,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T14:28:00-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]} - -[2025-04-11 20:28:01.488795] [info] {"WhatsApp":["5214181878106"]} -[2025-04-11 20:28:01.488837] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-11 20:28:01.488873] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-04-11 20:28:01.488914] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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_pollerias.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_pollerias.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png - -No se pudo obtener la lista de archivos de la carpeta FTP - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png" - }, - "template_values": ["Daniel Humberto Soto Villegas pollerias", "$100", "$500 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"e7a912a4886a47fa936793a34bca9636","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":"5f613bfe-e9c2-4891-ae9f-888ecad7d6d0","changeType":"insert","entity":"payment","entityId":621,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":500,"accountCredit":500,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":621,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T14:28:00-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":621,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T14:28:00-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas pollerias","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2500 a favor","Monto Ultimo Pago":"\ud83d\udcb2 100","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2500 a favor\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11\/04\/2025 14:28 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"11\/04\/2025 14:28\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 11\/04\/2025 14:28 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/04\/2025 14:28","Clabe Interbancaria":null,"Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas pollerias","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲500 a favor","Monto Ultimo Pago": "$ 100","Estado": "Activo","Fecha Ultimo Pago": " 11/04/2025 14:28 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "11/04/2025 14:28","Clabe Interbancaria": "","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"2","Clabe Interbancaria":"0021804341999569810","URL":"🌐 https://sistema.siip.mx/crm/client/2","Estado":"🟢 Activo ","Saldo Actual":"💲500 a favor","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 11/04/2025 14:28 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 11/04/2025 14:28","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲500 a favor\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11/04/2025 14:28 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"11/04/2025 14:28\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Monto Ultimo Pago":"💲 100"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"2","Clabe Interbancaria":"0021804341999569810","URL":"🌐 https://sistema.siip.mx/crm/client/2","Estado":"🟢 Activo ","Saldo Actual":"💲500 a favor","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 11/04/2025 14:28 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 11/04/2025 14:28","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲500 a favor\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11/04/2025 14:28 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"11/04/2025 14:28\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Monto Ultimo Pago":"💲 100"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-11 20:28:08.954668] [notice] Logging level set to:debug -[2025-04-11 20:28:09.082392] [debug] valor el evento recibido por webhook: payment.edit - -[2025-04-11 20:28:09.082534] [debug] Valor de JSON: {"uuid":"523840bf-a916-4778-a1b7-80d3319f6f7a","changeType":"edit","entity":"payment","entityId":"621","eventName":"payment.edit","extraData":{"entity":{"id":621,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T14:28:00-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":621,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T14:28:00-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}}} - -[2025-04-11 20:29:47.290250] [notice] Logging level set to:debug -[2025-04-11 20:29:47.290648] [info] No UUID found in the webhook data -[2025-04-11 20:29:47.290749] [info] Evento de transfencia al cliente encontrado -[2025-04-11 20:29:47.290816] [info] Valor del EventJSON: {"id":"evt_1RCoCsEFY1WEUtgRTF40pwWJ","object":"event","api_version":"2023-10-16","created":1744403386,"data":{"object":{"id":"ccsbtxn_1RCoCsEFY1WEUtgRh4UcZ1E3","object":"customer_cash_balance_transaction","created":1744403386,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":15000,"funded":{"bank_transfer":{"reference":"","type":"mx_bank_transfer"}},"livemode":false,"net_amount":15000,"type":"funded"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_8LOYq45KQ9YQLA","idempotency_key":"1d5acbc6-16d0-4da3-a237-7dccb3028f23"},"type":"customer_cash_balance_transaction.created"} - -[2025-04-11 20:29:47.290865] [info] Evento recibido: {"id":"evt_1RCoCsEFY1WEUtgRTF40pwWJ","object":"event","api_version":"2023-10-16","created":1744403386,"data":{"object":{"id":"ccsbtxn_1RCoCsEFY1WEUtgRh4UcZ1E3","object":"customer_cash_balance_transaction","created":1744403386,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":15000,"funded":{"bank_transfer":{"reference":"","type":"mx_bank_transfer"}},"livemode":false,"net_amount":15000,"type":"funded"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_8LOYq45KQ9YQLA","idempotency_key":"1d5acbc6-16d0-4da3-a237-7dccb3028f23"},"type":"customer_cash_balance_transaction.created"} - -[2025-04-11 20:29:47.391074] [notice] Logging level set to:debug -[2025-04-11 20:29:47.391196] [info] No UUID found in the webhook data -[2025-04-11 20:29:49.059350] [info] PaymentIntent creado: pi_3RCoCtEFY1WEUtgR1OzBeqgI - -[2025-04-11 20:29:49.333683] [notice] Logging level set to:debug -[2025-04-11 20:29:49.333909] [info] No UUID found in the webhook data -[2025-04-11 20:29:49.333990] [info] Evento de transfencia al cliente encontrado -[2025-04-11 20:29:49.334055] [info] Valor del EventJSON: {"id":"evt_1RCoCuEFY1WEUtgRBdrJMWJR","object":"event","api_version":"2023-10-16","created":1744403388,"data":{"object":{"id":"ccsbtxn_1RCoCuEFY1WEUtgR5YoDsd5o","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3RCoCtEFY1WEUtgR1OzBeqgI"},"created":1744403388,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":0,"livemode":false,"net_amount":-15000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_aFaoyxebFpOIKk","idempotency_key":"5230ab07-3fc0-4702-9808-4092d5eabe52"},"type":"customer_cash_balance_transaction.created"} - -[2025-04-11 20:29:50.267474] [notice] Logging level set to:debug -[2025-04-11 20:29:50.450788] [debug] valor el evento recibido por webhook: payment.add - -[2025-04-11 20:29:50.450840] [debug] Valor de JSON: {"uuid":"86e03186-cfa5-44aa-bd54-547cc8e57bd1","changeType":"insert","entity":"payment","entityId":"622","eventName":"payment.add","extraData":{"entity":{"id":622,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T14:29:49-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":null,"attributes":[]},"entityBeforeEdit":null}} - -[2025-04-11 20:29:50.450998] [debug] Notification encodificado en JSON:{"uuid":"86e03186-cfa5-44aa-bd54-547cc8e57bd1","changeType":"insert","entity":"payment","entityId":622,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":650,"accountCredit":650,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":622,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T14:29:49-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":null,"attributes":[]}} - -[2025-04-11 20:29:50.451019] [debug] valor del payment data: {"id":622,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T14:29:49-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":null,"attributes":[]} - -[2025-04-11 20:29:50.451092] [info] {"WhatsApp":["5214181878106"]} -[2025-04-11 20:29:50.451105] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-11 20:29:50.451113] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-04-11 20:29:50.451128] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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_pollerias.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_pollerias.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png - -No se pudo obtener la lista de archivos de la carpeta FTP - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png" - }, - "template_values": ["Daniel Humberto Soto Villegas pollerias", "$150", "$650 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"ff84635a34164bbc8d10047b052e1678","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":"86e03186-cfa5-44aa-bd54-547cc8e57bd1","changeType":"insert","entity":"payment","entityId":622,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":650,"accountCredit":650,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":622,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T14:29:49-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":null,"attributes":[]}} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":622,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T14:29:49-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas pollerias","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2650 a favor","Monto Ultimo Pago":"\ud83d\udcb2 150","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2650 a favor\",\"Monto Ultimo Pago\": \"$ 150\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11\/04\/2025 14:29 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"11\/04\/2025 14:29\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 11\/04\/2025 14:29 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/04\/2025 14:29","Clabe Interbancaria":null,"Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas pollerias","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲650 a favor","Monto Ultimo Pago": "$ 150","Estado": "Activo","Fecha Ultimo Pago": " 11/04/2025 14:29 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "11/04/2025 14:29","Clabe Interbancaria": "","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"2","Clabe Interbancaria":"0021804341999569810","URL":"🌐 https://sistema.siip.mx/crm/client/2","Estado":"🟢 Activo ","Saldo Actual":"💲650 a favor","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 11/04/2025 14:29 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 11/04/2025 14:29","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲650 a favor\",\"Monto Ultimo Pago\": \"$ 150\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11/04/2025 14:29 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"11/04/2025 14:29\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Monto Ultimo Pago":"💲 150"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"2","Clabe Interbancaria":"0021804341999569810","URL":"🌐 https://sistema.siip.mx/crm/client/2","Estado":"🟢 Activo ","Saldo Actual":"💲650 a favor","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 11/04/2025 14:29 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 11/04/2025 14:29","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲650 a favor\",\"Monto Ultimo Pago\": \"$ 150\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11/04/2025 14:29 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"11/04/2025 14:29\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Monto Ultimo Pago":"💲 150"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-11 20:29:56.766204] [notice] Logging level set to:debug -[2025-04-11 20:29:56.893235] [debug] valor el evento recibido por webhook: payment.edit - -[2025-04-11 20:29:56.893488] [debug] Valor de JSON: {"uuid":"c2fc7ab9-0cce-487e-bcfb-4cdcec6f391d","changeType":"edit","entity":"payment","entityId":"622","eventName":"payment.edit","extraData":{"entity":{"id":622,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T14:29:49-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":622,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T14:29:49-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":null,"attributes":[]}}} - -[2025-04-11 20:33:29.936094] [notice] Logging level set to:debug -[2025-04-11 20:33:29.936311] [info] No UUID found in the webhook data -[2025-04-11 20:33:29.936372] [info] Evento de transfencia al cliente encontrado -[2025-04-11 20:33:29.936422] [info] Valor del EventJSON: {"id":"evt_1RCoGTEFY1WEUtgR4RvMf5Yh","object":"event","api_version":"2023-10-16","created":1744403609,"data":{"object":{"id":"ccsbtxn_1RCoGSEFY1WEUtgRXMuijIQy","object":"customer_cash_balance_transaction","created":1744403608,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":15000,"funded":{"bank_transfer":{"reference":"","type":"mx_bank_transfer"}},"livemode":false,"net_amount":15000,"type":"funded"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_9832HbCbFAcIbR","idempotency_key":"098e7128-2f77-42cc-a388-1f4fb18ba932"},"type":"customer_cash_balance_transaction.created"} - -[2025-04-11 20:33:29.936461] [info] Evento recibido: {"id":"evt_1RCoGTEFY1WEUtgR4RvMf5Yh","object":"event","api_version":"2023-10-16","created":1744403609,"data":{"object":{"id":"ccsbtxn_1RCoGSEFY1WEUtgRXMuijIQy","object":"customer_cash_balance_transaction","created":1744403608,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":15000,"funded":{"bank_transfer":{"reference":"","type":"mx_bank_transfer"}},"livemode":false,"net_amount":15000,"type":"funded"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_9832HbCbFAcIbR","idempotency_key":"098e7128-2f77-42cc-a388-1f4fb18ba932"},"type":"customer_cash_balance_transaction.created"} - -[2025-04-11 20:33:29.961056] [notice] Logging level set to:debug -[2025-04-11 20:33:29.961200] [info] No UUID found in the webhook data -[2025-04-11 20:33:31.894082] [info] PaymentIntent creado: pi_3RCoGUEFY1WEUtgR00oTsM4e - -[2025-04-11 20:33:32.171725] [notice] Logging level set to:debug -[2025-04-11 20:33:32.172584] [info] No UUID found in the webhook data -[2025-04-11 20:33:32.172748] [info] Evento de transfencia al cliente encontrado -[2025-04-11 20:33:32.172921] [info] Valor del EventJSON: {"id":"evt_1RCoGVEFY1WEUtgRIOymQ16W","object":"event","api_version":"2023-10-16","created":1744403610,"data":{"object":{"id":"ccsbtxn_1RCoGUEFY1WEUtgRl2D08lJh","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3RCoGUEFY1WEUtgR00oTsM4e"},"created":1744403610,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":0,"livemode":false,"net_amount":-15000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_Tdp6zndmcnUGsQ","idempotency_key":"120bcc83-c8af-4d5d-9805-d0a60eb3cce5"},"type":"customer_cash_balance_transaction.created"} - -[2025-04-11 20:33:33.021631] [notice] Logging level set to:debug -[2025-04-11 20:33:33.216248] [debug] valor el evento recibido por webhook: payment.add - -[2025-04-11 20:33:33.216451] [debug] Valor de JSON: {"uuid":"a6814452-39fb-4644-9a86-4a623ec18052","changeType":"insert","entity":"payment","entityId":"623","eventName":"payment.add","extraData":{"entity":{"id":623,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T14:33:32-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":null,"attributes":[]},"entityBeforeEdit":null}} - -[2025-04-11 20:33:33.216654] [debug] Notification encodificado en JSON:{"uuid":"a6814452-39fb-4644-9a86-4a623ec18052","changeType":"insert","entity":"payment","entityId":623,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":800,"accountCredit":800,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":623,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T14:33:32-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":null,"attributes":[]}} - -[2025-04-11 20:33:33.216739] [debug] valor del payment data: {"id":623,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T14:33:32-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":null,"attributes":[]} - -[2025-04-11 20:33:33.216850] [info] {"WhatsApp":["5214181878106"]} -[2025-04-11 20:33:33.216892] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-11 20:33:33.216928] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-04-11 20:33:33.216983] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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_pollerias.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_pollerias.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png - -No se pudo obtener la lista de archivos de la carpeta FTP - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png" - }, - "template_values": ["Daniel Humberto Soto Villegas pollerias", "$150", "$800 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"20a15171704646c3acebb389b30542b4","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":"a6814452-39fb-4644-9a86-4a623ec18052","changeType":"insert","entity":"payment","entityId":623,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":800,"accountCredit":800,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":623,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T14:33:32-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":null,"attributes":[]}} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":623,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T14:33:32-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas pollerias","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2800 a favor","Monto Ultimo Pago":"\ud83d\udcb2 150","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2800 a favor\",\"Monto Ultimo Pago\": \"$ 150\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11\/04\/2025 14:33 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"11\/04\/2025 14:33\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 11\/04\/2025 14:33 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/04\/2025 14:33","Clabe Interbancaria":null,"Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas pollerias","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲800 a favor","Monto Ultimo Pago": "$ 150","Estado": "Activo","Fecha Ultimo Pago": " 11/04/2025 14:33 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "11/04/2025 14:33","Clabe Interbancaria": "","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"2","Clabe Interbancaria":"0021804341999569810","URL":"🌐 https://sistema.siip.mx/crm/client/2","Estado":"🟢 Activo ","Saldo Actual":"💲800 a favor","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 11/04/2025 14:33 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 11/04/2025 14:33","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲800 a favor\",\"Monto Ultimo Pago\": \"$ 150\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11/04/2025 14:33 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"11/04/2025 14:33\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Monto Ultimo Pago":"💲 150"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"2","Clabe Interbancaria":"0021804341999569810","URL":"🌐 https://sistema.siip.mx/crm/client/2","Estado":"🟢 Activo ","Saldo Actual":"💲800 a favor","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 11/04/2025 14:33 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 11/04/2025 14:33","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲800 a favor\",\"Monto Ultimo Pago\": \"$ 150\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11/04/2025 14:33 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"11/04/2025 14:33\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Monto Ultimo Pago":"💲 150"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-11 20:33:40.156267] [notice] Logging level set to:debug -[2025-04-11 20:33:40.293771] [debug] valor el evento recibido por webhook: payment.edit - -[2025-04-11 20:33:40.293967] [debug] Valor de JSON: {"uuid":"5040e162-a1aa-486e-a1c2-5d43987b99af","changeType":"edit","entity":"payment","entityId":"623","eventName":"payment.edit","extraData":{"entity":{"id":623,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T14:33:32-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":623,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T14:33:32-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":null,"attributes":[]}}} - -[2025-04-11 20:37:27.746347] [notice] Logging level set to:debug -[2025-04-11 20:37:27.746882] [info] No UUID found in the webhook data -[2025-04-11 20:37:27.749550] [notice] Logging level set to:debug -[2025-04-11 20:37:27.749799] [info] No UUID found in the webhook data -[2025-04-11 20:37:27.749901] [info] Evento de transfencia al cliente encontrado -[2025-04-11 20:37:27.749999] [info] Valor del EventJSON: {"id":"evt_1RCoKJEFY1WEUtgRCImNnbuQ","object":"event","api_version":"2023-10-16","created":1744403846,"data":{"object":{"id":"ccsbtxn_1RCoKIEFY1WEUtgR147TM7tu","object":"customer_cash_balance_transaction","created":1744403846,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":10000,"funded":{"bank_transfer":{"reference":"","type":"mx_bank_transfer"}},"livemode":false,"net_amount":10000,"type":"funded"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_bH9BFldUcDOIIG","idempotency_key":"436f26d1-72a6-488f-9310-96ea638d0ce1"},"type":"customer_cash_balance_transaction.created"} - -[2025-04-11 20:37:27.750098] [info] Evento recibido: {"id":"evt_1RCoKJEFY1WEUtgRCImNnbuQ","object":"event","api_version":"2023-10-16","created":1744403846,"data":{"object":{"id":"ccsbtxn_1RCoKIEFY1WEUtgR147TM7tu","object":"customer_cash_balance_transaction","created":1744403846,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":10000,"funded":{"bank_transfer":{"reference":"","type":"mx_bank_transfer"}},"livemode":false,"net_amount":10000,"type":"funded"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_bH9BFldUcDOIIG","idempotency_key":"436f26d1-72a6-488f-9310-96ea638d0ce1"},"type":"customer_cash_balance_transaction.created"} - -[2025-04-11 20:37:29.573050] [info] PaymentIntent creado: pi_3RCoKKEFY1WEUtgR0OTDK5Mg - -[2025-04-11 20:37:29.849610] [notice] Logging level set to:debug -[2025-04-11 20:37:29.849766] [info] No UUID found in the webhook data -[2025-04-11 20:37:29.849805] [info] Evento de transfencia al cliente encontrado -[2025-04-11 20:37:29.849844] [info] Valor del EventJSON: {"id":"evt_1RCoKLEFY1WEUtgRBx7UmNHh","object":"event","api_version":"2023-10-16","created":1744403848,"data":{"object":{"id":"ccsbtxn_1RCoKKEFY1WEUtgRtWEfk5r8","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3RCoKKEFY1WEUtgR0OTDK5Mg"},"created":1744403848,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":0,"livemode":false,"net_amount":-10000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_5tZOZJUfpu3b9q","idempotency_key":"42fede4e-82eb-426d-94bb-81d66793198a"},"type":"customer_cash_balance_transaction.created"} - -[2025-04-11 20:37:30.817142] [notice] Logging level set to:debug -[2025-04-11 20:37:30.939423] [debug] valor el evento recibido por webhook: payment.add - -[2025-04-11 20:37:30.939477] [debug] Valor de JSON: {"uuid":"664ae823-50d8-4ca7-b00a-c14b5baca081","changeType":"insert","entity":"payment","entityId":"624","eventName":"payment.add","extraData":{"entity":{"id":624,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T14:37:30-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]},"entityBeforeEdit":null}} - -[2025-04-11 20:37:30.939630] [debug] Notification encodificado en JSON:{"uuid":"664ae823-50d8-4ca7-b00a-c14b5baca081","changeType":"insert","entity":"payment","entityId":624,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":900,"accountCredit":900,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":624,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T14:37:30-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}} - -[2025-04-11 20:37:30.939659] [debug] valor del payment data: {"id":624,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T14:37:30-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]} - -[2025-04-11 20:37:30.939724] [info] {"WhatsApp":["5214181878106"]} -[2025-04-11 20:37:30.939735] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-11 20:37:30.939743] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-04-11 20:37:30.939759] [debug] ***Se notifica y actualiza al cliente sobre su pago*** - -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_pollerias.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_pollerias.pdf - -El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png - -Subiendo comprobante a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png - -No se pudo obtener la lista de archivos de la carpeta FTP - -Se terminó de subir comprobante a wordpress - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "document", - "content": { - "text": "S/M", - "url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_pollerias.png" - }, - "template_values": ["Daniel Humberto Soto Villegas pollerias", "$100", "$900 a favor"], - "template_uuid": "57ead79cebd14902921477922403093b", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"1524b0d28bd0451c9a0e0293ebf113ef","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":"664ae823-50d8-4ca7-b00a-c14b5baca081","changeType":"insert","entity":"payment","entityId":624,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":900,"accountCredit":900,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":624,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T14:37:30-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":624,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T14:37:30-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas pollerias","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2900 a favor","Monto Ultimo Pago":"\ud83d\udcb2 100","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2900 a favor\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11\/04\/2025 14:37 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"11\/04\/2025 14:37\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 11\/04\/2025 14:37 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/04\/2025 14:37","Clabe Interbancaria":null,"Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas pollerias","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲900 a favor","Monto Ultimo Pago": "$ 100","Estado": "Activo","Fecha Ultimo Pago": " 11/04/2025 14:37 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "11/04/2025 14:37","Clabe Interbancaria": "","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"2","Clabe Interbancaria":"0021804341999569810","URL":"🌐 https://sistema.siip.mx/crm/client/2","Estado":"🟢 Activo ","Saldo Actual":"💲900 a favor","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 11/04/2025 14:37 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 11/04/2025 14:37","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲900 a favor\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11/04/2025 14:37 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"11/04/2025 14:37\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Monto Ultimo Pago":"💲 100"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"2","Clabe Interbancaria":"0021804341999569810","URL":"🌐 https://sistema.siip.mx/crm/client/2","Estado":"🟢 Activo ","Saldo Actual":"💲900 a favor","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 11/04/2025 14:37 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 11/04/2025 14:37","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲900 a favor\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11/04/2025 14:37 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"11/04/2025 14:37\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Monto Ultimo Pago":"💲 100"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-11 20:37:37.643707] [notice] Logging level set to:debug -[2025-04-11 20:37:37.756417] [debug] valor el evento recibido por webhook: payment.edit - -[2025-04-11 20:37:37.756566] [debug] Valor de JSON: {"uuid":"1a49a704-d087-499c-8aaa-1abe044b4a78","changeType":"edit","entity":"payment","entityId":"624","eventName":"payment.edit","extraData":{"entity":{"id":624,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T14:37:30-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":624,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T14:37:30-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}}} - -[2025-04-11 20:48:06.963757] [notice] Logging level set to:debug -[2025-04-11 20:48:07.148813] [debug] valor el evento recibido por webhook: invoice.add - -[2025-04-11 20:48:07.149085] [debug] Valor de JSON: {"uuid":"d96b9026-1bb5-458b-b9cd-84ad1bbad22a","changeType":"insert","entity":"invoice","entityId":"1817","eventName":"invoice.add","extraData":{"entity":{"id":1817,"clientId":2,"number":"001767","createdDate":"2025-04-11T14:47:53-0600","dueDate":"2025-04-25T14:47:53-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-11T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1820,"type":"other","label":"para cobrar","price":900,"quantity":1,"total":900,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":900,"discount":null,"discountLabel":"Descuento","taxes":[],"total":900,"amountPaid":900,"totalUntaxed":900,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":716,"invoiceId":1817,"paymentId":618,"creditNoteId":null,"refundId":null,"amount":200},{"id":717,"invoiceId":1817,"paymentId":619,"creditNoteId":null,"refundId":null,"amount":50},{"id":718,"invoiceId":1817,"paymentId":620,"creditNoteId":null,"refundId":null,"amount":150},{"id":719,"invoiceId":1817,"paymentId":621,"creditNoteId":null,"refundId":null,"amount":100},{"id":720,"invoiceId":1817,"paymentId":622,"creditNoteId":null,"refundId":null,"amount":150},{"id":721,"invoiceId":1817,"paymentId":623,"creditNoteId":null,"refundId":null,"amount":150},{"id":722,"invoiceId":1817,"paymentId":624,"creditNoteId":null,"refundId":null,"amount":100}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-11 20:48:07.149400] [debug] Adición de Factura - -[2025-04-11 20:48:07.150646] [debug] datos del notification para el invoice add:{"uuid":"d96b9026-1bb5-458b-b9cd-84ad1bbad22a","changeType":"insert","entity":"invoice","entityId":1817,"message":null,"clientId":2,"eventName":"invoice.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1817,"clientId":2,"number":"001767","createdDate":"2025-04-11T14:47:53-0600","dueDate":"2025-04-25T14:47:53-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-11T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1820,"type":"other","label":"para cobrar","price":900,"quantity":1,"total":900,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":900,"discount":null,"discountLabel":"Descuento","taxes":[],"total":900,"amountPaid":900,"totalUntaxed":900,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":716,"invoiceId":1817,"paymentId":618,"creditNoteId":null,"refundId":null,"amount":200},{"id":717,"invoiceId":1817,"paymentId":619,"creditNoteId":null,"refundId":null,"amount":50},{"id":718,"invoiceId":1817,"paymentId":620,"creditNoteId":null,"refundId":null,"amount":150},{"id":719,"invoiceId":1817,"paymentId":621,"creditNoteId":null,"refundId":null,"amount":100},{"id":720,"invoiceId":1817,"paymentId":622,"creditNoteId":null,"refundId":null,"amount":150},{"id":721,"invoiceId":1817,"paymentId":623,"creditNoteId":null,"refundId":null,"amount":150},{"id":722,"invoiceId":1817,"paymentId":624,"creditNoteId":null,"refundId":null,"amount":100}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-11 20:48:07.150774] [debug] Account Balance: 0 - -[2025-04-11 20:48:07.150944] [debug] {"uuid":"d96b9026-1bb5-458b-b9cd-84ad1bbad22a","changeType":"insert","entity":"invoice","entityId":1817,"message":null,"clientId":2,"eventName":"invoice.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1817,"clientId":2,"number":"001767","createdDate":"2025-04-11T14:47:53-0600","dueDate":"2025-04-25T14:47:53-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-11T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1820,"type":"other","label":"para cobrar","price":900,"quantity":1,"total":900,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":900,"discount":null,"discountLabel":"Descuento","taxes":[],"total":900,"amountPaid":900,"totalUntaxed":900,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":716,"invoiceId":1817,"paymentId":618,"creditNoteId":null,"refundId":null,"amount":200},{"id":717,"invoiceId":1817,"paymentId":619,"creditNoteId":null,"refundId":null,"amount":50},{"id":718,"invoiceId":1817,"paymentId":620,"creditNoteId":null,"refundId":null,"amount":150},{"id":719,"invoiceId":1817,"paymentId":621,"creditNoteId":null,"refundId":null,"amount":100},{"id":720,"invoiceId":1817,"paymentId":622,"creditNoteId":null,"refundId":null,"amount":150},{"id":721,"invoiceId":1817,"paymentId":623,"creditNoteId":null,"refundId":null,"amount":150},{"id":722,"invoiceId":1817,"paymentId":624,"creditNoteId":null,"refundId":null,"amount":100}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-11 20:48:07.151107] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-11 20:48:07.151156] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"d96b9026-1bb5-458b-b9cd-84ad1bbad22a","changeType":"insert","entity":"invoice","entityId":1817,"message":null,"clientId":2,"eventName":"invoice.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1817,"clientId":2,"number":"001767","createdDate":"2025-04-11T14:47:53-0600","dueDate":"2025-04-25T14:47:53-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-11T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1820,"type":"other","label":"para cobrar","price":900,"quantity":1,"total":900,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":900,"discount":null,"discountLabel":"Descuento","taxes":[],"total":900,"amountPaid":900,"totalUntaxed":900,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":716,"invoiceId":1817,"paymentId":618,"creditNoteId":null,"refundId":null,"amount":200},{"id":717,"invoiceId":1817,"paymentId":619,"creditNoteId":null,"refundId":null,"amount":50},{"id":718,"invoiceId":1817,"paymentId":620,"creditNoteId":null,"refundId":null,"amount":150},{"id":719,"invoiceId":1817,"paymentId":621,"creditNoteId":null,"refundId":null,"amount":100},{"id":720,"invoiceId":1817,"paymentId":622,"creditNoteId":null,"refundId":null,"amount":150},{"id":721,"invoiceId":1817,"paymentId":623,"creditNoteId":null,"refundId":null,"amount":150},{"id":722,"invoiceId":1817,"paymentId":624,"creditNoteId":null,"refundId":null,"amount":100}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":624,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T14:37:30-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":722,"invoiceId":1817,"paymentId":624,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas pollerias","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","Monto Ultimo Pago":"\ud83d\udcb2 100","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11\/04\/2025 14:37 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"11\/04\/2025 14:48\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 11\/04\/2025 14:37 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/04\/2025 14:48","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas pollerias","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲0 está al corriente","Monto Ultimo Pago": "$ 100","Estado": "Activo","Fecha Ultimo Pago": " 11/04/2025 14:37 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "11/04/2025 14:48","Clabe Interbancaria": "0021804341999569810","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"2","Clabe Interbancaria":"0021804341999569810","URL":"🌐 https://sistema.siip.mx/crm/client/2","Estado":"🟢 Activo ","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 11/04/2025 14:37 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 11/04/2025 14:48","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11/04/2025 14:37 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"11/04/2025 14:48\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Monto Ultimo Pago":"💲 100"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"2","Clabe Interbancaria":"0021804341999569810","URL":"🌐 https://sistema.siip.mx/crm/client/2","Estado":"🟢 Activo ","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 11/04/2025 14:37 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 11/04/2025 14:48","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11/04/2025 14:37 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"11/04/2025 14:48\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Monto Ultimo Pago":"💲 100"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-11 20:48:16.288348] [notice] Logging level set to:debug -[2025-04-11 20:48:16.472148] [debug] valor el evento recibido por webhook: invoice.add - -[2025-04-11 20:48:16.472215] [debug] Valor de JSON: {"uuid":"7eac5926-f17e-440d-bc99-690a1dfab603","changeType":"insert","entity":"invoice","entityId":"1818","eventName":"invoice.add","extraData":{"entity":{"id":1818,"clientId":2,"number":"001768","createdDate":"2025-04-11T14:48:08-0600","dueDate":"2025-04-25T14:48:08-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-11T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1821,"type":"service","label":"Basico 300 01\/06\/2025 \u2013 30\/06\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":152,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-11 20:48:16.472327] [debug] Adición de Factura - -[2025-04-11 20:48:16.472373] [debug] datos del notification para el invoice add:{"uuid":"7eac5926-f17e-440d-bc99-690a1dfab603","changeType":"insert","entity":"invoice","entityId":1818,"message":null,"clientId":2,"eventName":"invoice.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1818,"clientId":2,"number":"001768","createdDate":"2025-04-11T14:48:08-0600","dueDate":"2025-04-25T14:48:08-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-11T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1821,"type":"service","label":"Basico 300 01\/06\/2025 \u2013 30\/06\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":152,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-11 20:48:16.472397] [debug] Account Balance: -300 - -[2025-04-11 20:48:16.472433] [debug] {"uuid":"7eac5926-f17e-440d-bc99-690a1dfab603","changeType":"insert","entity":"invoice","entityId":1818,"message":null,"clientId":2,"eventName":"invoice.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1818,"clientId":2,"number":"001768","createdDate":"2025-04-11T14:48:08-0600","dueDate":"2025-04-25T14:48:08-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-11T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1821,"type":"service","label":"Basico 300 01\/06\/2025 \u2013 30\/06\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":152,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-11 20:48:16.472476] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-11 20:48:16.472487] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"7eac5926-f17e-440d-bc99-690a1dfab603","changeType":"insert","entity":"invoice","entityId":1818,"message":null,"clientId":2,"eventName":"invoice.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1818,"clientId":2,"number":"001768","createdDate":"2025-04-11T14:48:08-0600","dueDate":"2025-04-25T14:48:08-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-11T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1821,"type":"service","label":"Basico 300 01\/06\/2025 \u2013 30\/06\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":152,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":624,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T14:37:30-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":722,"invoiceId":1817,"paymentId":624,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas pollerias","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2300 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 100","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2300 pendientes\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11\/04\/2025 14:37 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"11\/04\/2025 14:48\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 11\/04\/2025 14:37 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/04\/2025 14:48","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas pollerias","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲300 pendientes","Monto Ultimo Pago": "$ 100","Estado": "Activo","Fecha Ultimo Pago": " 11/04/2025 14:37 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "11/04/2025 14:48","Clabe Interbancaria": "0021804341999569810","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"2","Clabe Interbancaria":"0021804341999569810","URL":"🌐 https://sistema.siip.mx/crm/client/2","Estado":"🟢 Activo ","Saldo Actual":"💲300 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 11/04/2025 14:37 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 11/04/2025 14:48","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲300 pendientes\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11/04/2025 14:37 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"11/04/2025 14:48\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Monto Ultimo Pago":"💲 100"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-09T15:36:00Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["Sus","s0LOCS","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"2","Clabe Interbancaria":"0021804341999569810","URL":"🌐 https://sistema.siip.mx/crm/client/2","Estado":"🟢 Activo ","Saldo Actual":"💲300 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 11/04/2025 14:37 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 11/04/2025 14:48","Nombre":"👤 Daniel Humberto Soto Villegas pollerias","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas pollerias\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲300 pendientes\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11/04/2025 14:37 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"11/04/2025 14:48\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Monto Ultimo Pago":"💲 100"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-15 6:25:03.253236] [notice] Logging level set to:debug -[2025-04-15 6:25:03.563783] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:03.563843] [debug] Valor de JSON: {"uuid":"662e10bf-6462-4a12-a065-fde87be4fad7","changeType":"overdue","entity":"invoice","entityId":"1717","eventName":"invoice.overdue","extraData":{"entity":{"id":1717,"clientId":81,"number":"001667","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1720,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":80,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FERNANDO","clientLastName":"ALCAZAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:03.564518] [debug] Factura vencida - -[2025-04-15 6:25:03.564577] [debug] datos del notification para el invoice overdue:{"uuid":"662e10bf-6462-4a12-a065-fde87be4fad7","changeType":"overdue","entity":"invoice","entityId":1717,"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":[],"accountBalance":-10500,"accountCredit":0,"accountOutstanding":10500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d81b60","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1717,"clientId":81,"number":"001667","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1720,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":80,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FERNANDO","clientLastName":"ALCAZAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:03.564598] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:03.574990] [debug] Numero de cel obtenido - -[2025-04-15 6:25:03.575041] [warning] No se encontró un teléfono celular válido para el cliente: 81 -[2025-04-15 6:25:03.756783] [notice] Logging level set to:debug -[2025-04-15 6:25:03.940871] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:03.940922] [debug] Valor de JSON: {"uuid":"22aa7a1c-e6a4-4771-92d3-40f4cc7e6d79","changeType":"overdue","entity":"invoice","entityId":"1718","eventName":"invoice.overdue","extraData":{"entity":{"id":1718,"clientId":41,"number":"001668","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1721,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":40,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"CUELLAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:03.941021] [debug] Factura vencida - -[2025-04-15 6:25:03.941061] [debug] datos del notification para el invoice overdue:{"uuid":"22aa7a1c-e6a4-4771-92d3-40f4cc7e6d79","changeType":"overdue","entity":"invoice","entityId":1718,"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":[],"accountBalance":-4210,"accountCredit":0,"accountOutstanding":4210,"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":1718,"clientId":41,"number":"001668","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1721,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":40,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"CUELLAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:03.941083] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:03.941142] [debug] Numero de cel obtenido - -[2025-04-15 6:25:03.941157] [warning] No se encontró un teléfono celular válido para el cliente: 41 -[2025-04-15 6:25:04.057212] [notice] Logging level set to:debug -[2025-04-15 6:25:04.259325] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:04.259373] [debug] Valor de JSON: {"uuid":"0be3c200-8287-452f-9c80-77248039dc47","changeType":"overdue","entity":"invoice","entityId":"1719","eventName":"invoice.overdue","extraData":{"entity":{"id":1719,"clientId":7,"number":"001669","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1722,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":7,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JESUS","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:04.259481] [debug] Factura vencida - -[2025-04-15 6:25:04.259519] [debug] datos del notification para el invoice overdue:{"uuid":"0be3c200-8287-452f-9c80-77248039dc47","changeType":"overdue","entity":"invoice","entityId":1719,"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":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1719,"clientId":7,"number":"001669","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1722,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":7,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JESUS","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:04.259536] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:04.259593] [debug] Numero de cel obtenido - -[2025-04-15 6:25:04.259603] [warning] No se encontró un teléfono celular válido para el cliente: 7 -[2025-04-15 6:25:04.378154] [notice] Logging level set to:debug -[2025-04-15 6:25:04.541857] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:04.541908] [debug] Valor de JSON: {"uuid":"a9f7846e-4281-42c5-b646-5dcd4ed6806d","changeType":"overdue","entity":"invoice","entityId":"1720","eventName":"invoice.overdue","extraData":{"entity":{"id":1720,"clientId":95,"number":"001670","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1723,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":94,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SOFIA","clientLastName":"VALENCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:04.542005] [debug] Factura vencida - -[2025-04-15 6:25:04.542042] [debug] datos del notification para el invoice overdue:{"uuid":"a9f7846e-4281-42c5-b646-5dcd4ed6806d","changeType":"overdue","entity":"invoice","entityId":1720,"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":[],"accountBalance":-7500,"accountCredit":0,"accountOutstanding":7500,"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":1720,"clientId":95,"number":"001670","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1723,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":94,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SOFIA","clientLastName":"VALENCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:04.542062] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:04.542114] [debug] Numero de cel obtenido - -[2025-04-15 6:25:04.542124] [warning] No se encontró un teléfono celular válido para el cliente: 95 -[2025-04-15 6:25:04.659893] [notice] Logging level set to:debug -[2025-04-15 6:25:04.798650] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:04.798702] [debug] Valor de JSON: {"uuid":"ac622215-6737-4ec6-be8c-b57327274ab0","changeType":"overdue","entity":"invoice","entityId":"1721","eventName":"invoice.overdue","extraData":{"entity":{"id":1721,"clientId":63,"number":"001671","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1724,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":62,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONELA","clientLastName":"ROBLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:04.798809] [debug] Factura vencida - -[2025-04-15 6:25:04.798846] [debug] datos del notification para el invoice overdue:{"uuid":"ac622215-6737-4ec6-be8c-b57327274ab0","changeType":"overdue","entity":"invoice","entityId":1721,"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":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1721,"clientId":63,"number":"001671","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1724,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":62,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONELA","clientLastName":"ROBLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:04.798862] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:04.798913] [debug] Numero de cel obtenido - -[2025-04-15 6:25:04.798923] [warning] No se encontró un teléfono celular válido para el cliente: 63 -[2025-04-15 6:25:04.908315] [notice] Logging level set to:debug -[2025-04-15 6:25:05.053796] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:05.053847] [debug] Valor de JSON: {"uuid":"4cffef9b-4428-457a-b8fc-f5a84fb94485","changeType":"overdue","entity":"invoice","entityId":"1722","eventName":"invoice.overdue","extraData":{"entity":{"id":1722,"clientId":61,"number":"001672","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1725,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":60,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LUIS","clientLastName":"AGULAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:05.053940] [debug] Factura vencida - -[2025-04-15 6:25:05.053977] [debug] datos del notification para el invoice overdue:{"uuid":"4cffef9b-4428-457a-b8fc-f5a84fb94485","changeType":"overdue","entity":"invoice","entityId":1722,"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":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1722,"clientId":61,"number":"001672","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1725,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":60,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LUIS","clientLastName":"AGULAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:05.053997] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:05.054052] [debug] Numero de cel obtenido - -[2025-04-15 6:25:05.054061] [warning] No se encontró un teléfono celular válido para el cliente: 61 -[2025-04-15 6:25:05.163652] [notice] Logging level set to:debug -[2025-04-15 6:25:05.319312] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:05.319361] [debug] Valor de JSON: {"uuid":"102f8d99-cb8c-4103-8277-4e8ec8a93e52","changeType":"overdue","entity":"invoice","entityId":"1723","eventName":"invoice.overdue","extraData":{"entity":{"id":1723,"clientId":6,"number":"001673","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1726,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":6,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEJANDRO","clientLastName":"MOCTEZUMA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:05.319479] [debug] Factura vencida - -[2025-04-15 6:25:05.319515] [debug] datos del notification para el invoice overdue:{"uuid":"102f8d99-cb8c-4103-8277-4e8ec8a93e52","changeType":"overdue","entity":"invoice","entityId":1723,"message":null,"clientId":6,"eventName":"invoice.overdue","clientData":{"id":6,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"ALEJANDRO","lastName":"MOCTEZUMA","username":"amoctezuma06","contacts":[{"id":7,"clientId":6,"email":null,"phone":"5214181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-4180,"accountCredit":0,"accountOutstanding":4180,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574,"addressGpsLon":-100.934617,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1723,"clientId":6,"number":"001673","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1726,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":6,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEJANDRO","clientLastName":"MOCTEZUMA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:05.319534] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:05.319605] [debug] Numero de cel obtenido - -[2025-04-15 6:25:05.319614] [warning] No se encontró un teléfono celular válido para el cliente: 6 -[2025-04-15 6:25:05.429797] [notice] Logging level set to:debug -[2025-04-15 6:25:05.584467] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:05.584521] [debug] Valor de JSON: {"uuid":"8fe1c7c1-b1cd-42a9-a3c7-b17f75e4a7f3","changeType":"overdue","entity":"invoice","entityId":"1724","eventName":"invoice.overdue","extraData":{"entity":{"id":1724,"clientId":33,"number":"001674","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1727,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":32,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURELIA","clientLastName":"BARAJAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA CECILIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:05.584624] [debug] Factura vencida - -[2025-04-15 6:25:05.584664] [debug] datos del notification para el invoice overdue:{"uuid":"8fe1c7c1-b1cd-42a9-a3c7-b17f75e4a7f3","changeType":"overdue","entity":"invoice","entityId":1724,"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":[],"accountBalance":-4750,"accountCredit":0,"accountOutstanding":4750,"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":1724,"clientId":33,"number":"001674","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1727,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":32,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURELIA","clientLastName":"BARAJAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA CECILIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:05.584686] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:05.584741] [debug] Numero de cel obtenido - -[2025-04-15 6:25:05.584752] [warning] No se encontró un teléfono celular válido para el cliente: 33 -[2025-04-15 6:25:05.696008] [notice] Logging level set to:debug -[2025-04-15 6:25:05.844640] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:05.844692] [debug] Valor de JSON: {"uuid":"8f47c1a9-0402-4457-a059-eecde6616b6f","changeType":"overdue","entity":"invoice","entityId":"1725","eventName":"invoice.overdue","extraData":{"entity":{"id":1725,"clientId":62,"number":"001675","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1728,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":61,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"BERNAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:05.844791] [debug] Factura vencida - -[2025-04-15 6:25:05.844829] [debug] datos del notification para el invoice overdue:{"uuid":"8f47c1a9-0402-4457-a059-eecde6616b6f","changeType":"overdue","entity":"invoice","entityId":1725,"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":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1725,"clientId":62,"number":"001675","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1728,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":61,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"BERNAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:05.844846] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:05.844896] [debug] Numero de cel obtenido - -[2025-04-15 6:25:05.844906] [warning] No se encontró un teléfono celular válido para el cliente: 62 -[2025-04-15 6:25:05.953635] [notice] Logging level set to:debug -[2025-04-15 6:25:06.111043] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:06.111097] [debug] Valor de JSON: {"uuid":"a1639e48-3f34-4626-b292-dc1549db574b","changeType":"overdue","entity":"invoice","entityId":"1726","eventName":"invoice.overdue","extraData":{"entity":{"id":1726,"clientId":18,"number":"001676","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1729,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":17,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"INGRID","clientLastName":"CORONADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:06.111181] [debug] Factura vencida - -[2025-04-15 6:25:06.111217] [debug] datos del notification para el invoice overdue:{"uuid":"a1639e48-3f34-4626-b292-dc1549db574b","changeType":"overdue","entity":"invoice","entityId":1726,"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":[],"accountBalance":-10500,"accountCredit":0,"accountOutstanding":10500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#039be5","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1726,"clientId":18,"number":"001676","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1729,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":17,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"INGRID","clientLastName":"CORONADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:06.111237] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:06.111289] [debug] Numero de cel obtenido - -[2025-04-15 6:25:06.111300] [warning] No se encontró un teléfono celular válido para el cliente: 18 -[2025-04-15 6:25:06.222807] [notice] Logging level set to:debug -[2025-04-15 6:25:06.355811] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:06.355858] [debug] Valor de JSON: {"uuid":"0b3b3668-8656-4f83-84ed-8af5cd3be779","changeType":"overdue","entity":"invoice","entityId":"1727","eventName":"invoice.overdue","extraData":{"entity":{"id":1727,"clientId":83,"number":"001677","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1730,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":82,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"SOLIS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL VERGEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:06.355952] [debug] Factura vencida - -[2025-04-15 6:25:06.355984] [debug] datos del notification para el invoice overdue:{"uuid":"0b3b3668-8656-4f83-84ed-8af5cd3be779","changeType":"overdue","entity":"invoice","entityId":1727,"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":[],"accountBalance":-9200,"accountCredit":0,"accountOutstanding":9200,"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":1727,"clientId":83,"number":"001677","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1730,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":82,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"SOLIS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL VERGEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:06.356004] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:06.356053] [debug] Numero de cel obtenido - -[2025-04-15 6:25:06.356064] [warning] No se encontró un teléfono celular válido para el cliente: 83 -[2025-04-15 6:25:06.470365] [notice] Logging level set to:debug -[2025-04-15 6:25:06.603039] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:06.603091] [debug] Valor de JSON: {"uuid":"cace7659-c472-4fa2-b402-352f002aabd2","changeType":"overdue","entity":"invoice","entityId":"1728","eventName":"invoice.overdue","extraData":{"entity":{"id":1728,"clientId":57,"number":"001678","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1731,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":56,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SANDRO","clientLastName":"MARQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:06.603179] [debug] Factura vencida - -[2025-04-15 6:25:06.603216] [debug] datos del notification para el invoice overdue:{"uuid":"cace7659-c472-4fa2-b402-352f002aabd2","changeType":"overdue","entity":"invoice","entityId":1728,"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":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1728,"clientId":57,"number":"001678","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1731,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":56,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SANDRO","clientLastName":"MARQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:06.603236] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:06.603288] [debug] Numero de cel obtenido - -[2025-04-15 6:25:06.603300] [warning] No se encontró un teléfono celular válido para el cliente: 57 -[2025-04-15 6:25:06.717328] [notice] Logging level set to:debug -[2025-04-15 6:25:06.860615] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:06.860666] [debug] Valor de JSON: {"uuid":"a613f8f3-b91e-4ade-bc68-dd48965490ee","changeType":"overdue","entity":"invoice","entityId":"1729","eventName":"invoice.overdue","extraData":{"entity":{"id":1729,"clientId":28,"number":"001679","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1732,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":27,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSVALDO","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN GABRIEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:06.860764] [debug] Factura vencida - -[2025-04-15 6:25:06.860801] [debug] datos del notification para el invoice overdue:{"uuid":"a613f8f3-b91e-4ade-bc68-dd48965490ee","changeType":"overdue","entity":"invoice","entityId":1729,"message":null,"clientId":28,"eventName":"invoice.overdue","clientData":{"id":28,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN GABRIEL","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN GABRIEL, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OSVALDO","lastName":"GONZALEZ","username":"ogonzalez28","contacts":[{"id":29,"clientId":28,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7483.33,"accountCredit":0,"accountOutstanding":7483.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#03a9f4","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1729,"clientId":28,"number":"001679","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1732,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":27,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSVALDO","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN GABRIEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:06.860815] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:06.860869] [debug] Numero de cel obtenido - -[2025-04-15 6:25:06.860881] [warning] No se encontró un teléfono celular válido para el cliente: 28 -[2025-04-15 6:25:06.969954] [notice] Logging level set to:debug -[2025-04-15 6:25:07.128855] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:07.128912] [debug] Valor de JSON: {"uuid":"9a25e09b-9d30-4aaa-8718-ab5662422f4f","changeType":"overdue","entity":"invoice","entityId":"1730","eventName":"invoice.overdue","extraData":{"entity":{"id":1730,"clientId":59,"number":"001680","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1733,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":58,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAMSES","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:07.129014] [debug] Factura vencida - -[2025-04-15 6:25:07.129055] [debug] datos del notification para el invoice overdue:{"uuid":"9a25e09b-9d30-4aaa-8718-ab5662422f4f","changeType":"overdue","entity":"invoice","entityId":1730,"message":null,"clientId":59,"eventName":"invoice.overdue","clientData":{"id":59,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"GUSANO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"GUSANO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"RAMSES","lastName":"HERRERA","username":"rherrera59","contacts":[{"id":60,"clientId":59,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1730,"clientId":59,"number":"001680","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1733,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":58,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAMSES","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:07.129079] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:07.129136] [debug] Numero de cel obtenido - -[2025-04-15 6:25:07.129148] [warning] No se encontró un teléfono celular válido para el cliente: 59 -[2025-04-15 6:25:07.244489] [notice] Logging level set to:debug -[2025-04-15 6:25:07.385720] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:07.385778] [debug] Valor de JSON: {"uuid":"3b8b247f-b2e3-4ae6-8585-93a41ab7b30a","changeType":"overdue","entity":"invoice","entityId":"1731","eventName":"invoice.overdue","extraData":{"entity":{"id":1731,"clientId":85,"number":"001681","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1734,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":84,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GISELLE","clientLastName":"ARREDONDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GARABATILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:07.385890] [debug] Factura vencida - -[2025-04-15 6:25:07.385930] [debug] datos del notification para el invoice overdue:{"uuid":"3b8b247f-b2e3-4ae6-8585-93a41ab7b30a","changeType":"overdue","entity":"invoice","entityId":1731,"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":[],"accountBalance":-7700,"accountCredit":0,"accountOutstanding":7700,"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":1731,"clientId":85,"number":"001681","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1734,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":84,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GISELLE","clientLastName":"ARREDONDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GARABATILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:07.385942] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:07.385993] [debug] Numero de cel obtenido - -[2025-04-15 6:25:07.386014] [warning] No se encontró un teléfono celular válido para el cliente: 85 -[2025-04-15 6:25:07.497553] [notice] Logging level set to:debug -[2025-04-15 6:25:07.634706] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:07.634762] [debug] Valor de JSON: {"uuid":"9f6b4c90-4fe7-4ef8-872b-ef27186e8e88","changeType":"overdue","entity":"invoice","entityId":"1732","eventName":"invoice.overdue","extraData":{"entity":{"id":1732,"clientId":49,"number":"001682","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1735,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":48,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"ARGOTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:07.634859] [debug] Factura vencida - -[2025-04-15 6:25:07.634898] [debug] datos del notification para el invoice overdue:{"uuid":"9f6b4c90-4fe7-4ef8-872b-ef27186e8e88","changeType":"overdue","entity":"invoice","entityId":1732,"message":null,"clientId":49,"eventName":"invoice.overdue","clientData":{"id":49,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"HUMBERTO","lastName":"ARGOTE","username":"hargote49","contacts":[{"id":50,"clientId":49,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":106,"clientId":49,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1TKNidnkizX4","clientZoneVisible":true},{"id":107,"clientId":49,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"5239864893662909","clientZoneVisible":true}],"accountBalance":-4210,"accountCredit":0,"accountOutstanding":4210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.0502031,"addressGpsLon":-101.0096832,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1732,"clientId":49,"number":"001682","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1735,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":48,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"ARGOTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:07.634922] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:07.634974] [debug] Numero de cel obtenido - -[2025-04-15 6:25:07.634985] [warning] No se encontró un teléfono celular válido para el cliente: 49 -[2025-04-15 6:25:07.746774] [notice] Logging level set to:debug -[2025-04-15 6:25:07.881824] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:07.881872] [debug] Valor de JSON: {"uuid":"d9785151-ab1b-412d-95a2-660cdab8412d","changeType":"overdue","entity":"invoice","entityId":"1733","eventName":"invoice.overdue","extraData":{"entity":{"id":1733,"clientId":77,"number":"001683","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1736,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":76,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARGARITO","clientLastName":"ESTRADA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:07.881970] [debug] Factura vencida - -[2025-04-15 6:25:07.882008] [debug] datos del notification para el invoice overdue:{"uuid":"d9785151-ab1b-412d-95a2-660cdab8412d","changeType":"overdue","entity":"invoice","entityId":1733,"message":null,"clientId":77,"eventName":"invoice.overdue","clientData":{"id":77,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA VENTILLA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA VENTILLA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARGARITO","lastName":"ESTRADA","username":"mestrada77","contacts":[{"id":78,"clientId":77,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#039be5","addressGpsLat":21.1145736,"addressGpsLon":-100.933729,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1733,"clientId":77,"number":"001683","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1736,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":76,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARGARITO","clientLastName":"ESTRADA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:07.882055] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:07.882108] [debug] Numero de cel obtenido - -[2025-04-15 6:25:07.882118] [warning] No se encontró un teléfono celular válido para el cliente: 77 -[2025-04-15 6:25:07.992997] [notice] Logging level set to:debug -[2025-04-15 6:25:08.153289] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:08.153338] [debug] Valor de JSON: {"uuid":"fc878bbb-bb6c-46f0-b096-9dbd81855ad0","changeType":"overdue","entity":"invoice","entityId":"1734","eventName":"invoice.overdue","extraData":{"entity":{"id":1734,"clientId":87,"number":"001684","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1737,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":86,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:08.153429] [debug] Factura vencida - -[2025-04-15 6:25:08.153467] [debug] datos del notification para el invoice overdue:{"uuid":"fc878bbb-bb6c-46f0-b096-9dbd81855ad0","changeType":"overdue","entity":"invoice","entityId":1734,"message":null,"clientId":87,"eventName":"invoice.overdue","clientData":{"id":87,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ANTON","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ANTON, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"TERESA","lastName":"REYES","username":"treyes87","contacts":[{"id":88,"clientId":87,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1565c0","addressGpsLat":21.1473165,"addressGpsLon":-100.9333759,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1734,"clientId":87,"number":"001684","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1737,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":86,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:08.153489] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:08.153541] [debug] Numero de cel obtenido - -[2025-04-15 6:25:08.153551] [warning] No se encontró un teléfono celular válido para el cliente: 87 -[2025-04-15 6:25:08.272586] [notice] Logging level set to:debug -[2025-04-15 6:25:08.409755] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:08.409813] [debug] Valor de JSON: {"uuid":"b18ae61f-e520-4e3e-916e-17aa870a375c","changeType":"overdue","entity":"invoice","entityId":"1735","eventName":"invoice.overdue","extraData":{"entity":{"id":1735,"clientId":21,"number":"001685","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1738,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":20,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NATALIA","clientLastName":"JUAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:08.409948] [debug] Factura vencida - -[2025-04-15 6:25:08.409986] [debug] datos del notification para el invoice overdue:{"uuid":"b18ae61f-e520-4e3e-916e-17aa870a375c","changeType":"overdue","entity":"invoice","entityId":1735,"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":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"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":1735,"clientId":21,"number":"001685","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1738,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":20,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NATALIA","clientLastName":"JUAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:08.410000] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -contac vacio -[2025-04-15 6:25:08.410115] [debug] Numero de cel obtenido - -[2025-04-15 6:25:08.410126] [warning] No se encontró un teléfono celular válido para el cliente: 21 -[2025-04-15 6:25:08.526192] [notice] Logging level set to:debug -[2025-04-15 6:25:08.656615] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:08.656662] [debug] Valor de JSON: {"uuid":"7b84c8ca-a72b-4d9f-b908-e9b51841d7dc","changeType":"overdue","entity":"invoice","entityId":"1736","eventName":"invoice.overdue","extraData":{"entity":{"id":1736,"clientId":26,"number":"001686","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1739,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":25,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SAMANTA","clientLastName":"FUENTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:08.656769] [debug] Factura vencida - -[2025-04-15 6:25:08.656805] [debug] datos del notification para el invoice overdue:{"uuid":"7b84c8ca-a72b-4d9f-b908-e9b51841d7dc","changeType":"overdue","entity":"invoice","entityId":1736,"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":[],"accountBalance":-5080,"accountCredit":0,"accountOutstanding":5080,"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":1736,"clientId":26,"number":"001686","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1739,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":25,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SAMANTA","clientLastName":"FUENTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:08.656826] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:08.656879] [debug] Numero de cel obtenido - -[2025-04-15 6:25:08.656889] [warning] No se encontró un teléfono celular válido para el cliente: 26 -[2025-04-15 6:25:08.770684] [notice] Logging level set to:debug -[2025-04-15 6:25:08.908040] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:08.908094] [debug] Valor de JSON: {"uuid":"ee53000f-4b34-4bc8-b117-b9e19b8378e1","changeType":"overdue","entity":"invoice","entityId":"1737","eventName":"invoice.overdue","extraData":{"entity":{"id":1737,"clientId":51,"number":"001687","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1740,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":50,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"MORENO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PADRE HIDALGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:08.908207] [debug] Factura vencida - -[2025-04-15 6:25:08.908247] [debug] datos del notification para el invoice overdue:{"uuid":"ee53000f-4b34-4bc8-b117-b9e19b8378e1","changeType":"overdue","entity":"invoice","entityId":1737,"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":[],"accountBalance":-7750,"accountCredit":0,"accountOutstanding":7750,"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":1737,"clientId":51,"number":"001687","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1740,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":50,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"MORENO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PADRE HIDALGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:08.908284] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:08.908344] [debug] Numero de cel obtenido - -[2025-04-15 6:25:08.908360] [warning] No se encontró un teléfono celular válido para el cliente: 51 -[2025-04-15 6:25:09.020697] [notice] Logging level set to:debug -[2025-04-15 6:25:09.190573] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:09.190624] [debug] Valor de JSON: {"uuid":"fff849e9-b12c-4a0b-bcf3-7a1000f0fff1","changeType":"overdue","entity":"invoice","entityId":"1738","eventName":"invoice.overdue","extraData":{"entity":{"id":1738,"clientId":67,"number":"001688","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1741,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":66,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TOMAS","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:09.190726] [debug] Factura vencida - -[2025-04-15 6:25:09.190762] [debug] datos del notification para el invoice overdue:{"uuid":"fff849e9-b12c-4a0b-bcf3-7a1000f0fff1","changeType":"overdue","entity":"invoice","entityId":1738,"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":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1738,"clientId":67,"number":"001688","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1741,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":66,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TOMAS","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:09.190783] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:09.190834] [debug] Numero de cel obtenido - -[2025-04-15 6:25:09.190845] [warning] No se encontró un teléfono celular válido para el cliente: 67 -[2025-04-15 6:25:09.305155] [notice] Logging level set to:debug -[2025-04-15 6:25:09.443823] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:09.443876] [debug] Valor de JSON: {"uuid":"ecb434ee-7b52-4983-bc8b-e96eaa51740e","changeType":"overdue","entity":"invoice","entityId":"1739","eventName":"invoice.overdue","extraData":{"entity":{"id":1739,"clientId":60,"number":"001689","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1742,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":59,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MANUEL","clientLastName":"CORENEO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:09.443974] [debug] Factura vencida - -[2025-04-15 6:25:09.444010] [debug] datos del notification para el invoice overdue:{"uuid":"ecb434ee-7b52-4983-bc8b-e96eaa51740e","changeType":"overdue","entity":"invoice","entityId":1739,"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":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1739,"clientId":60,"number":"001689","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1742,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":59,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MANUEL","clientLastName":"CORENEO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:09.444022] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:09.444083] [debug] Numero de cel obtenido - -[2025-04-15 6:25:09.444093] [warning] No se encontró un teléfono celular válido para el cliente: 60 -[2025-04-15 6:25:09.555207] [notice] Logging level set to:debug -[2025-04-15 6:25:09.699801] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:09.699851] [debug] Valor de JSON: {"uuid":"40007b95-65f1-47c3-a24a-049ac19aad17","changeType":"overdue","entity":"invoice","entityId":"1740","eventName":"invoice.overdue","extraData":{"entity":{"id":1740,"clientId":88,"number":"001690","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1743,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":87,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CECILIA","clientLastName":"GRANDE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIFORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:09.699940] [debug] Factura vencida - -[2025-04-15 6:25:09.699976] [debug] datos del notification para el invoice overdue:{"uuid":"40007b95-65f1-47c3-a24a-049ac19aad17","changeType":"overdue","entity":"invoice","entityId":1740,"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":[],"accountBalance":-10300,"accountCredit":0,"accountOutstanding":10300,"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":1740,"clientId":88,"number":"001690","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1743,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":87,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CECILIA","clientLastName":"GRANDE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIFORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:09.700000] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:09.700053] [debug] Numero de cel obtenido - -[2025-04-15 6:25:09.700064] [warning] No se encontró un teléfono celular válido para el cliente: 88 -[2025-04-15 6:25:09.814049] [notice] Logging level set to:debug -[2025-04-15 6:25:09.948580] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:09.948632] [debug] Valor de JSON: {"uuid":"f1d76ad6-aaf0-44f8-b282-85d3621aeada","changeType":"overdue","entity":"invoice","entityId":"1741","eventName":"invoice.overdue","extraData":{"entity":{"id":1741,"clientId":69,"number":"001691","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1744,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":68,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CIRILA","clientLastName":"AVILES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:09.948729] [debug] Factura vencida - -[2025-04-15 6:25:09.948765] [debug] datos del notification para el invoice overdue:{"uuid":"f1d76ad6-aaf0-44f8-b282-85d3621aeada","changeType":"overdue","entity":"invoice","entityId":1741,"message":null,"clientId":69,"eventName":"invoice.overdue","clientData":{"id":69,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"CIRILA","lastName":"AVILES","username":"caviles69","contacts":[{"id":70,"clientId":69,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#8bc34a","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1741,"clientId":69,"number":"001691","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1744,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":68,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CIRILA","clientLastName":"AVILES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:09.948777] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:09.948828] [debug] Numero de cel obtenido - -[2025-04-15 6:25:09.948839] [warning] No se encontró un teléfono celular válido para el cliente: 69 -[2025-04-15 6:25:10.058888] [notice] Logging level set to:debug -[2025-04-15 6:25:10.203775] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:10.203835] [debug] Valor de JSON: {"uuid":"ea517603-8ce5-4ee7-8d2c-a6cd39a14f6d","changeType":"overdue","entity":"invoice","entityId":"1742","eventName":"invoice.overdue","extraData":{"entity":{"id":1742,"clientId":71,"number":"001692","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1745,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":70,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:10.203928] [debug] Factura vencida - -[2025-04-15 6:25:10.203968] [debug] datos del notification para el invoice overdue:{"uuid":"ea517603-8ce5-4ee7-8d2c-a6cd39a14f6d","changeType":"overdue","entity":"invoice","entityId":1742,"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":[],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"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":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1742,"clientId":71,"number":"001692","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1745,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":70,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:10.203984] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:10.204041] [debug] Numero de cel obtenido - -[2025-04-15 6:25:10.204051] [warning] No se encontró un teléfono celular válido para el cliente: 71 -[2025-04-15 6:25:10.312515] [notice] Logging level set to:debug -[2025-04-15 6:25:10.461069] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:10.461122] [debug] Valor de JSON: {"uuid":"f8b25eee-57e2-4602-9804-cd26ec69ddb6","changeType":"overdue","entity":"invoice","entityId":"1743","eventName":"invoice.overdue","extraData":{"entity":{"id":1743,"clientId":50,"number":"001693","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1746,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":49,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GLORIA","clientLastName":"DELGADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:10.461221] [debug] Factura vencida - -[2025-04-15 6:25:10.461261] [debug] datos del notification para el invoice overdue:{"uuid":"f8b25eee-57e2-4602-9804-cd26ec69ddb6","changeType":"overdue","entity":"invoice","entityId":1743,"message":null,"clientId":50,"eventName":"invoice.overdue","clientData":{"id":50,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL BOBO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"GLORIA","lastName":"DELGADO","username":"gdelgado50","contacts":[{"id":51,"clientId":50,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":108,"clientId":50,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN2hegnjiQhR7M","clientZoneVisible":true},{"id":109,"clientId":50,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"1847644339402745","clientZoneVisible":true}],"accountBalance":-4210,"accountCredit":0,"accountOutstanding":4210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1743,"clientId":50,"number":"001693","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1746,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":49,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GLORIA","clientLastName":"DELGADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:10.461285] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:10.461343] [debug] Numero de cel obtenido - -[2025-04-15 6:25:10.461354] [warning] No se encontró un teléfono celular válido para el cliente: 50 -[2025-04-15 6:25:10.570362] [notice] Logging level set to:debug -[2025-04-15 6:25:10.711879] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:10.711930] [debug] Valor de JSON: {"uuid":"5cd37d5f-dc56-4244-affd-bd60e8e5ffaf","changeType":"overdue","entity":"invoice","entityId":"1744","eventName":"invoice.overdue","extraData":{"entity":{"id":1744,"clientId":45,"number":"001694","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1747,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":44,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"GRANADOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:10.712017] [debug] Factura vencida - -[2025-04-15 6:25:10.712057] [debug] datos del notification para el invoice overdue:{"uuid":"5cd37d5f-dc56-4244-affd-bd60e8e5ffaf","changeType":"overdue","entity":"invoice","entityId":1744,"message":null,"clientId":45,"eventName":"invoice.overdue","clientData":{"id":45,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALBERTO","lastName":"GRANADOS","username":"agranados45","contacts":[{"id":46,"clientId":45,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":98,"clientId":45,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1E1ePcRAA689","clientZoneVisible":true},{"id":99,"clientId":45,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"9271357829475893","clientZoneVisible":true}],"accountBalance":-4210,"accountCredit":0,"accountOutstanding":4210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ff9800","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1744,"clientId":45,"number":"001694","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1747,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":44,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"GRANADOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:10.712079] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:10.712131] [debug] Numero de cel obtenido - -[2025-04-15 6:25:10.712141] [warning] No se encontró un teléfono celular válido para el cliente: 45 -[2025-04-15 6:25:10.826427] [notice] Logging level set to:debug -[2025-04-15 6:25:10.972807] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:10.972858] [debug] Valor de JSON: {"uuid":"f003e27d-b891-4d7b-bcd9-046691d99924","changeType":"overdue","entity":"invoice","entityId":"1745","eventName":"invoice.overdue","extraData":{"entity":{"id":1745,"clientId":97,"number":"001695","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1748,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":96,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"YOLANDA","clientLastName":"CANO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AVILES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:10.972963] [debug] Factura vencida - -[2025-04-15 6:25:10.973001] [debug] datos del notification para el invoice overdue:{"uuid":"f003e27d-b891-4d7b-bcd9-046691d99924","changeType":"overdue","entity":"invoice","entityId":1745,"message":null,"clientId":97,"eventName":"invoice.overdue","clientData":{"id":97,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS AVILES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS AVILES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"YOLANDA","lastName":"CANO","username":"ycano97","contacts":[{"id":98,"clientId":97,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7500,"accountCredit":0,"accountOutstanding":7500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.151597,"addressGpsLon":-100.9367183,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1745,"clientId":97,"number":"001695","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1748,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":96,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"YOLANDA","clientLastName":"CANO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AVILES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:10.973014] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:10.973170] [debug] Numero de cel obtenido - -[2025-04-15 6:25:10.973186] [warning] No se encontró un teléfono celular válido para el cliente: 97 -[2025-04-15 6:25:11.086417] [notice] Logging level set to:debug -[2025-04-15 6:25:11.217765] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:11.217823] [debug] Valor de JSON: {"uuid":"8cdeaa04-e455-4977-923e-4962b61bc0c6","changeType":"overdue","entity":"invoice","entityId":"1746","eventName":"invoice.overdue","extraData":{"entity":{"id":1746,"clientId":37,"number":"001696","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1749,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":36,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA SOLEDAD","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:11.217935] [debug] Factura vencida - -[2025-04-15 6:25:11.217972] [debug] datos del notification para el invoice overdue:{"uuid":"8cdeaa04-e455-4977-923e-4962b61bc0c6","changeType":"overdue","entity":"invoice","entityId":1746,"message":null,"clientId":37,"eventName":"invoice.overdue","clientData":{"id":37,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA SOLEDAD","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA SOLEDAD, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANGEL","lastName":"ARVIZU","username":"aarvizu37","contacts":[{"id":38,"clientId":37,"email":null,"phone":"4181818706","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4210,"accountCredit":0,"accountOutstanding":4210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1746,"clientId":37,"number":"001696","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1749,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":36,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA SOLEDAD","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:11.217997] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:11.218065] [debug] Numero de cel obtenido - -[2025-04-15 6:25:11.218081] [warning] No se encontró un teléfono celular válido para el cliente: 37 -[2025-04-15 6:25:11.330451] [notice] Logging level set to:debug -[2025-04-15 6:25:11.463790] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:11.463836] [debug] Valor de JSON: {"uuid":"b55556c5-54b5-49c6-9dfa-4eb810977492","changeType":"overdue","entity":"invoice","entityId":"1747","eventName":"invoice.overdue","extraData":{"entity":{"id":1747,"clientId":99,"number":"001697","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1750,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":98,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BELINDA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:11.464075] [debug] Factura vencida - -[2025-04-15 6:25:11.464116] [debug] datos del notification para el invoice overdue:{"uuid":"b55556c5-54b5-49c6-9dfa-4eb810977492","changeType":"overdue","entity":"invoice","entityId":1747,"message":null,"clientId":99,"eventName":"invoice.overdue","clientData":{"id":99,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"MONTELONGO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"MONTELONGO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"BELINDA","lastName":"REYES","username":"breyes99","contacts":[{"id":100,"clientId":99,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5700,"accountCredit":0,"accountOutstanding":5700,"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":1747,"clientId":99,"number":"001697","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1750,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":98,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BELINDA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:11.464128] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:11.464176] [debug] Numero de cel obtenido - -[2025-04-15 6:25:11.464193] [warning] No se encontró un teléfono celular válido para el cliente: 99 -[2025-04-15 6:25:11.576540] [notice] Logging level set to:debug -[2025-04-15 6:25:11.738302] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:11.738362] [debug] Valor de JSON: {"uuid":"09e70d33-7689-4cd9-bc01-c8d56aee1044","changeType":"overdue","entity":"invoice","entityId":"1748","eventName":"invoice.overdue","extraData":{"entity":{"id":1748,"clientId":44,"number":"001698","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1751,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":43,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JAVIER","clientLastName":"BRIONES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ESTANCIA DE ZAMARRIPA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:11.738457] [debug] Factura vencida - -[2025-04-15 6:25:11.738497] [debug] datos del notification para el invoice overdue:{"uuid":"09e70d33-7689-4cd9-bc01-c8d56aee1044","changeType":"overdue","entity":"invoice","entityId":1748,"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":[],"accountBalance":-4210,"accountCredit":0,"accountOutstanding":4210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#c0ca33","addressGpsLat":21.2370877,"addressGpsLon":-101.116799,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1748,"clientId":44,"number":"001698","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1751,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":43,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JAVIER","clientLastName":"BRIONES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ESTANCIA DE ZAMARRIPA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:11.738519] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:11.738571] [debug] Numero de cel obtenido - -[2025-04-15 6:25:11.738583] [warning] No se encontró un teléfono celular válido para el cliente: 44 -[2025-04-15 6:25:11.848041] [notice] Logging level set to:debug -[2025-04-15 6:25:11.983469] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:11.983522] [debug] Valor de JSON: {"uuid":"7bfea20a-a802-4476-a326-94a5a5bc526c","changeType":"overdue","entity":"invoice","entityId":"1749","eventName":"invoice.overdue","extraData":{"entity":{"id":1749,"clientId":12,"number":"001699","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1752,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":12,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MIRIAM","clientLastName":"ZURITA RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:11.983617] [debug] Factura vencida - -[2025-04-15 6:25:11.983654] [debug] datos del notification para el invoice overdue:{"uuid":"7bfea20a-a802-4476-a326-94a5a5bc526c","changeType":"overdue","entity":"invoice","entityId":1749,"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":[],"accountBalance":-8933.33,"accountCredit":0,"accountOutstanding":8933.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":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1749,"clientId":12,"number":"001699","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1752,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":12,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MIRIAM","clientLastName":"ZURITA RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:11.983665] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:11.983716] [debug] Numero de cel obtenido - -[2025-04-15 6:25:11.983726] [warning] No se encontró un teléfono celular válido para el cliente: 12 -[2025-04-15 6:25:12.097712] [notice] Logging level set to:debug -[2025-04-15 6:25:12.244703] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:12.244760] [debug] Valor de JSON: {"uuid":"0370976c-e293-4e47-ab6d-0d2a08b56597","changeType":"overdue","entity":"invoice","entityId":"1750","eventName":"invoice.overdue","extraData":{"entity":{"id":1750,"clientId":70,"number":"001700","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1753,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":69,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"TRUJILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:12.244857] [debug] Factura vencida - -[2025-04-15 6:25:12.244896] [debug] datos del notification para el invoice overdue:{"uuid":"0370976c-e293-4e47-ab6d-0d2a08b56597","changeType":"overdue","entity":"invoice","entityId":1750,"message":null,"clientId":70,"eventName":"invoice.overdue","clientData":{"id":70,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALBERTO","lastName":"TRUJILLO","username":"atrujillo70","contacts":[{"id":71,"clientId":70,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-9800,"accountCredit":0,"accountOutstanding":9800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef6c00","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1750,"clientId":70,"number":"001700","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1753,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":69,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"TRUJILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:12.244921] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:12.244976] [debug] Numero de cel obtenido - -[2025-04-15 6:25:12.244987] [warning] No se encontró un teléfono celular válido para el cliente: 70 -[2025-04-15 6:25:12.357539] [notice] Logging level set to:debug -[2025-04-15 6:25:12.494904] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:12.494955] [debug] Valor de JSON: {"uuid":"f7569eb1-59e7-4d3c-85b8-8e7f5f5f29c3","changeType":"overdue","entity":"invoice","entityId":"1751","eventName":"invoice.overdue","extraData":{"entity":{"id":1751,"clientId":76,"number":"001701","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1754,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":75,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"RANGEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:12.495043] [debug] Factura vencida - -[2025-04-15 6:25:12.495078] [debug] datos del notification para el invoice overdue:{"uuid":"f7569eb1-59e7-4d3c-85b8-8e7f5f5f29c3","changeType":"overdue","entity":"invoice","entityId":1751,"message":null,"clientId":76,"eventName":"invoice.overdue","clientData":{"id":76,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TRANCAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TRANCAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDGAR","lastName":"RANGEL","username":"erangel76","contacts":[{"id":77,"clientId":76,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1751,"clientId":76,"number":"001701","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1754,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":75,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"RANGEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:12.495100] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:12.495151] [debug] Numero de cel obtenido - -[2025-04-15 6:25:12.495162] [warning] No se encontró un teléfono celular válido para el cliente: 76 -[2025-04-15 6:25:12.605783] [notice] Logging level set to:debug -[2025-04-15 6:25:12.743863] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:12.743916] [debug] Valor de JSON: {"uuid":"7e5373e9-c6b1-4b8b-bd2c-0499a4fb9022","changeType":"overdue","entity":"invoice","entityId":"1752","eventName":"invoice.overdue","extraData":{"entity":{"id":1752,"clientId":84,"number":"001702","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1755,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":83,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ROLANDO","clientLastName":"CALVILLLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:12.744015] [debug] Factura vencida - -[2025-04-15 6:25:12.744055] [debug] datos del notification para el invoice overdue:{"uuid":"7e5373e9-c6b1-4b8b-bd2c-0499a4fb9022","changeType":"overdue","entity":"invoice","entityId":1752,"message":null,"clientId":84,"eventName":"invoice.overdue","clientData":{"id":84,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ROLANDO","lastName":"CALVILLLO","username":"rcalvilllo84","contacts":[{"id":85,"clientId":84,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2196f3","addressGpsLat":21.2516667,"addressGpsLon":-101.0924998,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1752,"clientId":84,"number":"001702","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1755,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":83,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ROLANDO","clientLastName":"CALVILLLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:12.744071] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:12.744124] [debug] Numero de cel obtenido - -[2025-04-15 6:25:12.744134] [warning] No se encontró un teléfono celular válido para el cliente: 84 -[2025-04-15 6:25:12.857954] [notice] Logging level set to:debug -[2025-04-15 6:25:13.018706] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:13.018759] [debug] Valor de JSON: {"uuid":"4c762f46-45d0-4df3-85ba-994567f7b101","changeType":"overdue","entity":"invoice","entityId":"1753","eventName":"invoice.overdue","extraData":{"entity":{"id":1753,"clientId":14,"number":"001703","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1756,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":14,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDRO","clientLastName":"ARIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:13.018856] [debug] Factura vencida - -[2025-04-15 6:25:13.018898] [debug] datos del notification para el invoice overdue:{"uuid":"4c762f46-45d0-4df3-85ba-994567f7b101","changeType":"overdue","entity":"invoice","entityId":1753,"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":[],"accountBalance":-3000,"accountCredit":0,"accountOutstanding":3000,"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":1753,"clientId":14,"number":"001703","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1756,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":14,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDRO","clientLastName":"ARIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:13.018920] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:13.018975] [debug] Numero de cel obtenido - -[2025-04-15 6:25:13.018986] [warning] No se encontró un teléfono celular válido para el cliente: 14 -[2025-04-15 6:25:13.130709] [notice] Logging level set to:debug -[2025-04-15 6:25:13.269702] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:13.269752] [debug] Valor de JSON: {"uuid":"908a5aa9-5e8d-4f60-a40c-448cd7c38f5a","changeType":"overdue","entity":"invoice","entityId":"1754","eventName":"invoice.overdue","extraData":{"entity":{"id":1754,"clientId":98,"number":"001704","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1757,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":97,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JULIO","clientLastName":"OLACHIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:13.269850] [debug] Factura vencida - -[2025-04-15 6:25:13.269887] [debug] datos del notification para el invoice overdue:{"uuid":"908a5aa9-5e8d-4f60-a40c-448cd7c38f5a","changeType":"overdue","entity":"invoice","entityId":1754,"message":null,"clientId":98,"eventName":"invoice.overdue","clientData":{"id":98,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS AGUILAR","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS AGUILAR, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JULIO","lastName":"OLACHIA","username":"jolachia98","contacts":[{"id":99,"clientId":98,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1754,"clientId":98,"number":"001704","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1757,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":97,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JULIO","clientLastName":"OLACHIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:13.269905] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:13.269954] [debug] Numero de cel obtenido - -[2025-04-15 6:25:13.269965] [warning] No se encontró un teléfono celular válido para el cliente: 98 -[2025-04-15 6:25:13.383471] [notice] Logging level set to:debug -[2025-04-15 6:25:13.525167] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:13.525224] [debug] Valor de JSON: {"uuid":"aa808ebe-10fe-4f19-9785-5d7d171bc8cf","changeType":"overdue","entity":"invoice","entityId":"1755","eventName":"invoice.overdue","extraData":{"entity":{"id":1755,"clientId":36,"number":"001705","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1758,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":35,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURORA","clientLastName":"FLORES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:13.525329] [debug] Factura vencida - -[2025-04-15 6:25:13.525373] [debug] datos del notification para el invoice overdue:{"uuid":"aa808ebe-10fe-4f19-9785-5d7d171bc8cf","changeType":"overdue","entity":"invoice","entityId":1755,"message":null,"clientId":36,"eventName":"invoice.overdue","clientData":{"id":36,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LAS FLORES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LAS FLORES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"AURORA","lastName":"FLORES","username":"aflores36","contacts":[{"id":37,"clientId":36,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5990,"accountCredit":0,"accountOutstanding":5990,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00695c","addressGpsLat":21.1511969,"addressGpsLon":-100.9132525,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1755,"clientId":36,"number":"001705","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1758,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":35,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURORA","clientLastName":"FLORES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:13.525398] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:13.525461] [debug] Numero de cel obtenido - -[2025-04-15 6:25:13.525475] [warning] No se encontró un teléfono celular válido para el cliente: 36 -[2025-04-15 6:25:13.638641] [notice] Logging level set to:debug -[2025-04-15 6:25:13.772830] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:13.772885] [debug] Valor de JSON: {"uuid":"08bda969-4719-4ac4-8f02-465a14dd5f5a","changeType":"overdue","entity":"invoice","entityId":"1756","eventName":"invoice.overdue","extraData":{"entity":{"id":1756,"clientId":22,"number":"001706","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1759,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":21,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEBAN","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PUERTA DE SAN FRANCISCO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:13.772985] [debug] Factura vencida - -[2025-04-15 6:25:13.773021] [debug] datos del notification para el invoice overdue:{"uuid":"08bda969-4719-4ac4-8f02-465a14dd5f5a","changeType":"overdue","entity":"invoice","entityId":1756,"message":null,"clientId":22,"eventName":"invoice.overdue","clientData":{"id":22,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA PUERTA DE SAN FRANCISCO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA PUERTA DE SAN FRANCISCO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ESTEBAN","lastName":"GARCIA","username":"egarcia22","contacts":[{"id":23,"clientId":22,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4830,"accountCredit":0,"accountOutstanding":4830,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#7cb342","addressGpsLat":21.2091666,"addressGpsLon":-100.76,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1756,"clientId":22,"number":"001706","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1759,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":21,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEBAN","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PUERTA DE SAN FRANCISCO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:13.773039] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:13.773092] [debug] Numero de cel obtenido - -[2025-04-15 6:25:13.773102] [warning] No se encontró un teléfono celular válido para el cliente: 22 -[2025-04-15 6:25:13.884974] [notice] Logging level set to:debug -[2025-04-15 6:25:14.024919] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:14.024970] [debug] Valor de JSON: {"uuid":"406696e6-5f19-43bf-aa89-3777011210d4","changeType":"overdue","entity":"invoice","entityId":"1757","eventName":"invoice.overdue","extraData":{"entity":{"id":1757,"clientId":38,"number":"001707","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1760,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":37,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGELICA","clientLastName":"ROMAN","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:14.025064] [debug] Factura vencida - -[2025-04-15 6:25:14.025106] [debug] datos del notification para el invoice overdue:{"uuid":"406696e6-5f19-43bf-aa89-3777011210d4","changeType":"overdue","entity":"invoice","entityId":1757,"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":[],"accountBalance":-4210,"accountCredit":0,"accountOutstanding":4210,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.22987,"addressGpsLon":-101.0648115,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1757,"clientId":38,"number":"001707","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1760,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":37,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGELICA","clientLastName":"ROMAN","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:14.025126] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:14.025183] [debug] Numero de cel obtenido - -[2025-04-15 6:25:14.025196] [warning] No se encontró un teléfono celular válido para el cliente: 38 -[2025-04-15 6:25:14.139607] [notice] Logging level set to:debug -[2025-04-15 6:25:14.272449] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:14.272505] [debug] Valor de JSON: {"uuid":"ed5871f0-49e2-4423-ad3a-9cfa83f2f1c7","changeType":"overdue","entity":"invoice","entityId":"1758","eventName":"invoice.overdue","extraData":{"entity":{"id":1758,"clientId":30,"number":"001708","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1761,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":29,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUANA","clientLastName":"MONTES DE OCA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:14.272629] [debug] Factura vencida - -[2025-04-15 6:25:14.272667] [debug] datos del notification para el invoice overdue:{"uuid":"ed5871f0-49e2-4423-ad3a-9cfa83f2f1c7","changeType":"overdue","entity":"invoice","entityId":1758,"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":[],"accountBalance":-11200,"accountCredit":0,"accountOutstanding":11200,"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":1758,"clientId":30,"number":"001708","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1761,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":29,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUANA","clientLastName":"MONTES DE OCA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:14.272685] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:14.272754] [debug] Numero de cel obtenido - -[2025-04-15 6:25:14.272769] [warning] No se encontró un teléfono celular válido para el cliente: 30 -[2025-04-15 6:25:14.386004] [notice] Logging level set to:debug -[2025-04-15 6:25:14.536472] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:14.536529] [debug] Valor de JSON: {"uuid":"94f8611d-a6a0-4004-a2fb-6e9d17735d24","changeType":"overdue","entity":"invoice","entityId":"1759","eventName":"invoice.overdue","extraData":{"entity":{"id":1759,"clientId":90,"number":"001709","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1762,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":89,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PEDRO","clientLastName":"HORNEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:14.536624] [debug] Factura vencida - -[2025-04-15 6:25:14.536664] [debug] datos del notification para el invoice overdue:{"uuid":"94f8611d-a6a0-4004-a2fb-6e9d17735d24","changeType":"overdue","entity":"invoice","entityId":1759,"message":null,"clientId":90,"eventName":"invoice.overdue","clientData":{"id":90,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"ADJUNTAS DEL RIO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"ADJUNTAS DEL RIO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"PEDRO","lastName":"HORNEDO","username":"phornedo90","contacts":[{"id":91,"clientId":90,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1759,"clientId":90,"number":"001709","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1762,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":89,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PEDRO","clientLastName":"HORNEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:14.536688] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:14.536741] [debug] Numero de cel obtenido - -[2025-04-15 6:25:14.536752] [warning] No se encontró un teléfono celular válido para el cliente: 90 -[2025-04-15 6:25:14.657181] [notice] Logging level set to:debug -[2025-04-15 6:25:14.801520] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:14.801577] [debug] Valor de JSON: {"uuid":"07cc02b8-715e-4735-8984-c7e0145ec461","changeType":"overdue","entity":"invoice","entityId":"1760","eventName":"invoice.overdue","extraData":{"entity":{"id":1760,"clientId":15,"number":"001710","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1763,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":15,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"VILLEGAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:14.801686] [debug] Factura vencida - -[2025-04-15 6:25:14.801728] [debug] datos del notification para el invoice overdue:{"uuid":"07cc02b8-715e-4735-8984-c7e0145ec461","changeType":"overdue","entity":"invoice","entityId":1760,"message":null,"clientId":15,"eventName":"invoice.overdue","clientData":{"id":15,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDUARDO","lastName":"VILLEGAZ","username":"evillegaz15","contacts":[{"id":16,"clientId":15,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-11200,"accountCredit":0,"accountOutstanding":11200,"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":1760,"clientId":15,"number":"001710","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1763,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":15,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"VILLEGAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:14.801748] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:14.801805] [debug] Numero de cel obtenido - -[2025-04-15 6:25:14.801817] [warning] No se encontró un teléfono celular válido para el cliente: 15 -[2025-04-15 6:25:14.915690] [notice] Logging level set to:debug -[2025-04-15 6:25:15.077835] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:15.077884] [debug] Valor de JSON: {"uuid":"64c7717f-8e54-48ad-a506-d8b8000ac3b9","changeType":"overdue","entity":"invoice","entityId":"1761","eventName":"invoice.overdue","extraData":{"entity":{"id":1761,"clientId":8,"number":"001711","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1764,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":8,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALFREDO","clientLastName":"GUTIERREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:15.077989] [debug] Factura vencida - -[2025-04-15 6:25:15.078028] [debug] datos del notification para el invoice overdue:{"uuid":"64c7717f-8e54-48ad-a506-d8b8000ac3b9","changeType":"overdue","entity":"invoice","entityId":1761,"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":[],"accountBalance":-7530,"accountCredit":0,"accountOutstanding":7530,"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":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1761,"clientId":8,"number":"001711","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1764,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":8,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALFREDO","clientLastName":"GUTIERREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:15.078049] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -contac vacio -[2025-04-15 6:25:15.078125] [debug] Numero de cel obtenido - -[2025-04-15 6:25:15.078135] [warning] No se encontró un teléfono celular válido para el cliente: 8 -[2025-04-15 6:25:15.193047] [notice] Logging level set to:debug -[2025-04-15 6:25:15.324143] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:15.324194] [debug] Valor de JSON: {"uuid":"061000e5-d64e-4d65-82f8-4a3a7b37b894","changeType":"overdue","entity":"invoice","entityId":"1762","eventName":"invoice.overdue","extraData":{"entity":{"id":1762,"clientId":74,"number":"001712","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1765,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":73,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARCELO","clientLastName":"PALACIOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:15.324311] [debug] Factura vencida - -[2025-04-15 6:25:15.324351] [debug] datos del notification para el invoice overdue:{"uuid":"061000e5-d64e-4d65-82f8-4a3a7b37b894","changeType":"overdue","entity":"invoice","entityId":1762,"message":null,"clientId":74,"eventName":"invoice.overdue","clientData":{"id":74,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARCELO","lastName":"PALACIOS","username":"mpalacios74","contacts":[{"id":75,"clientId":74,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2e7d32","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1762,"clientId":74,"number":"001712","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1765,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":73,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARCELO","clientLastName":"PALACIOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:15.324368] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:15.324420] [debug] Numero de cel obtenido - -[2025-04-15 6:25:15.324431] [warning] No se encontró un teléfono celular válido para el cliente: 74 -[2025-04-15 6:25:15.442054] [notice] Logging level set to:debug -[2025-04-15 6:25:15.606534] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:15.606587] [debug] Valor de JSON: {"uuid":"34d3c4aa-6d96-4c5e-98d9-0cd833642e33","changeType":"overdue","entity":"invoice","entityId":"1763","eventName":"invoice.overdue","extraData":{"entity":{"id":1763,"clientId":46,"number":"001713","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1766,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":45,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISMAEL","clientLastName":"PUGA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:15.606679] [debug] Factura vencida - -[2025-04-15 6:25:15.606724] [debug] datos del notification para el invoice overdue:{"uuid":"34d3c4aa-6d96-4c5e-98d9-0cd833642e33","changeType":"overdue","entity":"invoice","entityId":1763,"message":null,"clientId":46,"eventName":"invoice.overdue","clientData":{"id":46,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL ROSILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL ROSILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ISMAEL","lastName":"PUGA","username":"ipuga46","contacts":[{"id":47,"clientId":46,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":100,"clientId":46,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtMzv6GBcULCcTh","clientZoneVisible":true},{"id":101,"clientId":46,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"6881305189499928","clientZoneVisible":true}],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1763,"clientId":46,"number":"001713","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1766,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":45,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISMAEL","clientLastName":"PUGA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:15.606748] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:15.606803] [debug] Numero de cel obtenido - -[2025-04-15 6:25:15.606815] [warning] No se encontró un teléfono celular válido para el cliente: 46 -[2025-04-15 6:25:15.719940] [notice] Logging level set to:debug -[2025-04-15 6:25:15.856451] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:15.856508] [debug] Valor de JSON: {"uuid":"57a79c6f-3486-4da3-af72-601073a62a35","changeType":"overdue","entity":"invoice","entityId":"1764","eventName":"invoice.overdue","extraData":{"entity":{"id":1764,"clientId":66,"number":"001714","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1767,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":65,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LAURA","clientLastName":"CRUCES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:15.856610] [debug] Factura vencida - -[2025-04-15 6:25:15.856647] [debug] datos del notification para el invoice overdue:{"uuid":"57a79c6f-3486-4da3-af72-601073a62a35","changeType":"overdue","entity":"invoice","entityId":1764,"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":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1764,"clientId":66,"number":"001714","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1767,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":65,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LAURA","clientLastName":"CRUCES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:15.856664] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:15.856718] [debug] Numero de cel obtenido - -[2025-04-15 6:25:15.856734] [warning] No se encontró un teléfono celular válido para el cliente: 66 -[2025-04-15 6:25:15.968946] [notice] Logging level set to:debug -[2025-04-15 6:25:16.109807] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:16.109862] [debug] Valor de JSON: {"uuid":"3c0f3b16-f381-4a97-8bd2-c7eacb9cddef","changeType":"overdue","entity":"invoice","entityId":"1765","eventName":"invoice.overdue","extraData":{"entity":{"id":1765,"clientId":100,"number":"001715","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1768,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":99,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RENE","clientLastName":"BUSTOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:16.109949] [debug] Factura vencida - -[2025-04-15 6:25:16.109986] [debug] datos del notification para el invoice overdue:{"uuid":"3c0f3b16-f381-4a97-8bd2-c7eacb9cddef","changeType":"overdue","entity":"invoice","entityId":1765,"message":null,"clientId":100,"eventName":"invoice.overdue","clientData":{"id":100,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"RENE","lastName":"BUSTOS","username":"rbustos00","contacts":[{"id":101,"clientId":100,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#0277bd","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1765,"clientId":100,"number":"001715","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1768,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":99,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RENE","clientLastName":"BUSTOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:16.110018] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:16.110069] [debug] Numero de cel obtenido - -[2025-04-15 6:25:16.110078] [warning] No se encontró un teléfono celular válido para el cliente: 100 -[2025-04-15 6:25:16.222882] [notice] Logging level set to:debug -[2025-04-15 6:25:16.361243] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:16.361299] [debug] Valor de JSON: {"uuid":"bdb8c07e-1a7e-4db2-9e86-b53e4439887a","changeType":"overdue","entity":"invoice","entityId":"1766","eventName":"invoice.overdue","extraData":{"entity":{"id":1766,"clientId":19,"number":"001716","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1769,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":18,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARIA","clientLastName":"RODRIGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:16.361397] [debug] Factura vencida - -[2025-04-15 6:25:16.361434] [debug] datos del notification para el invoice overdue:{"uuid":"bdb8c07e-1a7e-4db2-9e86-b53e4439887a","changeType":"overdue","entity":"invoice","entityId":1766,"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":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-8933.33,"accountCredit":0,"accountOutstanding":8933.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":1766,"clientId":19,"number":"001716","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1769,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":18,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARIA","clientLastName":"RODRIGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:16.361452] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:16.361504] [debug] Numero de cel obtenido - -[2025-04-15 6:25:16.361515] [warning] No se encontró un teléfono celular válido para el cliente: 19 -[2025-04-15 6:25:18.792409] [notice] Logging level set to:debug -[2025-04-15 6:25:18.936553] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:18.936606] [debug] Valor de JSON: {"uuid":"ff03c56e-f5f0-4c6e-9a36-30eb443b7a5d","changeType":"overdue","entity":"invoice","entityId":"1767","eventName":"invoice.overdue","extraData":{"entity":{"id":1767,"clientId":64,"number":"001717","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1770,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":63,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"LANDEROS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:18.936711] [debug] Factura vencida - -[2025-04-15 6:25:18.936748] [debug] datos del notification para el invoice overdue:{"uuid":"ff03c56e-f5f0-4c6e-9a36-30eb443b7a5d","changeType":"overdue","entity":"invoice","entityId":1767,"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":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1767,"clientId":64,"number":"001717","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1770,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":63,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"LANDEROS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:18.936770] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:18.936836] [debug] Numero de cel obtenido - -[2025-04-15 6:25:18.936847] [warning] No se encontró un teléfono celular válido para el cliente: 64 -[2025-04-15 6:25:19.090643] [notice] Logging level set to:debug -[2025-04-15 6:25:19.232517] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:19.232575] [debug] Valor de JSON: {"uuid":"9531fad6-11eb-4559-97d1-b80298cba774","changeType":"overdue","entity":"invoice","entityId":"1768","eventName":"invoice.overdue","extraData":{"entity":{"id":1768,"clientId":32,"number":"001718","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1771,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":31,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EMILIO","clientLastName":"PEREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON DE LAS MINAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:19.232681] [debug] Factura vencida - -[2025-04-15 6:25:19.232721] [debug] datos del notification para el invoice overdue:{"uuid":"9531fad6-11eb-4559-97d1-b80298cba774","changeType":"overdue","entity":"invoice","entityId":1768,"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":[],"accountBalance":-5440,"accountCredit":0,"accountOutstanding":5440,"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":1768,"clientId":32,"number":"001718","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1771,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":31,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EMILIO","clientLastName":"PEREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON DE LAS MINAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:19.232743] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:19.232805] [debug] Numero de cel obtenido - -[2025-04-15 6:25:19.232820] [warning] No se encontró un teléfono celular válido para el cliente: 32 -[2025-04-15 6:25:19.345007] [notice] Logging level set to:debug -[2025-04-15 6:25:19.496025] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:19.496081] [debug] Valor de JSON: {"uuid":"8142eaec-a767-4320-b232-73742b88ec59","changeType":"overdue","entity":"invoice","entityId":"1769","eventName":"invoice.overdue","extraData":{"entity":{"id":1769,"clientId":91,"number":"001719","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1772,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":90,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CAROLINA","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:19.496180] [debug] Factura vencida - -[2025-04-15 6:25:19.496218] [debug] datos del notification para el invoice overdue:{"uuid":"8142eaec-a767-4320-b232-73742b88ec59","changeType":"overdue","entity":"invoice","entityId":1769,"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":[],"accountBalance":-7400,"accountCredit":0,"accountOutstanding":7400,"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":1769,"clientId":91,"number":"001719","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1772,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":90,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CAROLINA","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:19.496345] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:19.496421] [debug] Numero de cel obtenido - -[2025-04-15 6:25:19.496433] [warning] No se encontró un teléfono celular válido para el cliente: 91 -[2025-04-15 6:25:19.610616] [notice] Logging level set to:debug -[2025-04-15 6:25:19.750932] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:19.750988] [debug] Valor de JSON: {"uuid":"7a365fcc-a3f6-45aa-a4e9-8b823b3a70c9","changeType":"overdue","entity":"invoice","entityId":"1770","eventName":"invoice.overdue","extraData":{"entity":{"id":1770,"clientId":89,"number":"001720","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1773,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":88,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RIO LAJA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:19.751089] [debug] Factura vencida - -[2025-04-15 6:25:19.751126] [debug] datos del notification para el invoice overdue:{"uuid":"7a365fcc-a3f6-45aa-a4e9-8b823b3a70c9","changeType":"overdue","entity":"invoice","entityId":1770,"message":null,"clientId":89,"eventName":"invoice.overdue","clientData":{"id":89,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"RIO LAJA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"RIO LAJA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"TERESA","lastName":"SANCHEZ","username":"tsanchez89","contacts":[{"id":90,"clientId":89,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1770,"clientId":89,"number":"001720","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1773,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":88,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RIO LAJA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:19.751142] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:19.751193] [debug] Numero de cel obtenido - -[2025-04-15 6:25:19.751204] [warning] No se encontró un teléfono celular válido para el cliente: 89 -[2025-04-15 6:25:19.866302] [notice] Logging level set to:debug -[2025-04-15 6:25:20.017184] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:20.017242] [debug] Valor de JSON: {"uuid":"9a19c43b-8d1b-4f99-9b3f-293b46718ad2","changeType":"overdue","entity":"invoice","entityId":"1771","eventName":"invoice.overdue","extraData":{"entity":{"id":1771,"clientId":47,"number":"001721","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1774,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":46,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ASRAEL","clientLastName":"PONCE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:20.017343] [debug] Factura vencida - -[2025-04-15 6:25:20.017386] [debug] datos del notification para el invoice overdue:{"uuid":"9a19c43b-8d1b-4f99-9b3f-293b46718ad2","changeType":"overdue","entity":"invoice","entityId":1771,"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":102,"clientId":47,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1ERR1n4E6GPk","clientZoneVisible":true},{"id":103,"clientId":47,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"8205258963078605","clientZoneVisible":true}],"accountBalance":-4180,"accountCredit":0,"accountOutstanding":4180,"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":1771,"clientId":47,"number":"001721","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1774,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":46,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ASRAEL","clientLastName":"PONCE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:20.017411] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:20.017472] [debug] Numero de cel obtenido - -[2025-04-15 6:25:20.017484] [warning] No se encontró un teléfono celular válido para el cliente: 47 -[2025-04-15 6:25:20.129750] [notice] Logging level set to:debug -[2025-04-15 6:25:20.269763] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:20.269876] [debug] Valor de JSON: {"uuid":"4090f4dc-f944-454d-9370-818d2b7b606d","changeType":"overdue","entity":"invoice","entityId":"1772","eventName":"invoice.overdue","extraData":{"entity":{"id":1772,"clientId":56,"number":"001722","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1775,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":55,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NOE","clientLastName":"SANDOVAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:20.270107] [debug] Factura vencida - -[2025-04-15 6:25:20.270210] [debug] datos del notification para el invoice overdue:{"uuid":"4090f4dc-f944-454d-9370-818d2b7b606d","changeType":"overdue","entity":"invoice","entityId":1772,"message":null,"clientId":56,"eventName":"invoice.overdue","clientData":{"id":56,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTIAGUILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":null,"fullAddress":"SANTIAGUILLO, Dolores Hidalgo Cuna de la Independencia Nacional","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"NOE","lastName":"SANDOVAL","username":"nsandoval56","contacts":[{"id":57,"clientId":56,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#039be5","addressGpsLat":21.0165209,"addressGpsLon":-100.9831731,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1772,"clientId":56,"number":"001722","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1775,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":55,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NOE","clientLastName":"SANDOVAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:20.270253] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:20.270390] [debug] Numero de cel obtenido - -[2025-04-15 6:25:20.270421] [warning] No se encontró un teléfono celular válido para el cliente: 56 -[2025-04-15 6:25:20.384980] [notice] Logging level set to:debug -[2025-04-15 6:25:20.528858] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:20.528913] [debug] Valor de JSON: {"uuid":"93c5b556-bf7e-43b9-9627-c390b42a116e","changeType":"overdue","entity":"invoice","entityId":"1773","eventName":"invoice.overdue","extraData":{"entity":{"id":1773,"clientId":86,"number":"001723","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1776,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":85,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PALMITAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:20.529006] [debug] Factura vencida - -[2025-04-15 6:25:20.529046] [debug] datos del notification para el invoice overdue:{"uuid":"93c5b556-bf7e-43b9-9627-c390b42a116e","changeType":"overdue","entity":"invoice","entityId":1773,"message":null,"clientId":86,"eventName":"invoice.overdue","clientData":{"id":86,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"PALMITAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"PALMITAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"HUMBERTO","lastName":"CASTILLO","username":"hcastillo86","contacts":[{"id":87,"clientId":86,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-6800,"accountCredit":0,"accountOutstanding":6800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#c62828","addressGpsLat":21.2394677,"addressGpsLon":-100.9803471,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1773,"clientId":86,"number":"001723","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1776,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":85,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PALMITAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:20.529067] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:20.529120] [debug] Numero de cel obtenido - -[2025-04-15 6:25:20.529131] [warning] No se encontró un teléfono celular válido para el cliente: 86 -[2025-04-15 6:25:20.641967] [notice] Logging level set to:debug -[2025-04-15 6:25:20.772598] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:20.772660] [debug] Valor de JSON: {"uuid":"f9a51a8d-d79b-4dc8-87ab-f9f68cce3fb0","changeType":"overdue","entity":"invoice","entityId":"1774","eventName":"invoice.overdue","extraData":{"entity":{"id":1774,"clientId":53,"number":"001724","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1777,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":52,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONIO","clientLastName":"CHAVEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:20.772778] [debug] Factura vencida - -[2025-04-15 6:25:20.772819] [debug] datos del notification para el invoice overdue:{"uuid":"f9a51a8d-d79b-4dc8-87ab-f9f68cce3fb0","changeType":"overdue","entity":"invoice","entityId":1774,"message":null,"clientId":53,"eventName":"invoice.overdue","clientData":{"id":53,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA VENTA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA VENTA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANTONIO","lastName":"CHAVEZ","username":"achavez53","contacts":[{"id":54,"clientId":53,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1197222,"addressGpsLon":-100.7872222,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1774,"clientId":53,"number":"001724","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1777,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":52,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONIO","clientLastName":"CHAVEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:20.772839] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:20.772891] [debug] Numero de cel obtenido - -[2025-04-15 6:25:20.772902] [warning] No se encontró un teléfono celular válido para el cliente: 53 -[2025-04-15 6:25:20.885608] [notice] Logging level set to:debug -[2025-04-15 6:25:21.024549] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:21.024602] [debug] Valor de JSON: {"uuid":"82232222-08ee-488b-963f-24a42478f0ce","changeType":"overdue","entity":"invoice","entityId":"1775","eventName":"invoice.overdue","extraData":{"entity":{"id":1775,"clientId":54,"number":"001725","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1778,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":53,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORETO","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"COLORADO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:21.024701] [debug] Factura vencida - -[2025-04-15 6:25:21.024765] [debug] datos del notification para el invoice overdue:{"uuid":"82232222-08ee-488b-963f-24a42478f0ce","changeType":"overdue","entity":"invoice","entityId":1775,"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":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1775,"clientId":54,"number":"001725","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1778,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":53,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORETO","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"COLORADO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:21.024787] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:21.024847] [debug] Numero de cel obtenido - -[2025-04-15 6:25:21.024857] [warning] No se encontró un teléfono celular válido para el cliente: 54 -[2025-04-15 6:25:21.137990] [notice] Logging level set to:debug -[2025-04-15 6:25:21.282480] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:21.282532] [debug] Valor de JSON: {"uuid":"f5ce8f0c-0862-4216-b695-20601105ec0d","changeType":"overdue","entity":"invoice","entityId":"1776","eventName":"invoice.overdue","extraData":{"entity":{"id":1776,"clientId":55,"number":"001726","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1779,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":54,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JOSE","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:21.282650] [debug] Factura vencida - -[2025-04-15 6:25:21.282689] [debug] datos del notification para el invoice overdue:{"uuid":"f5ce8f0c-0862-4216-b695-20601105ec0d","changeType":"overdue","entity":"invoice","entityId":1776,"message":null,"clientId":55,"eventName":"invoice.overdue","clientData":{"id":55,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL MEZQUITAL","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL MEZQUITAL, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JOSE","lastName":"SANCHEZ","username":"jsanchez55","contacts":[{"id":56,"clientId":55,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#8e24aa","addressGpsLat":21.1081412,"addressGpsLon":-100.9422033,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1776,"clientId":55,"number":"001726","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1779,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":54,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JOSE","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:21.282706] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:21.282776] [debug] Numero de cel obtenido - -[2025-04-15 6:25:21.282787] [warning] No se encontró un teléfono celular válido para el cliente: 55 -[2025-04-15 6:25:21.396336] [notice] Logging level set to:debug -[2025-04-15 6:25:21.546135] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:21.546192] [debug] Valor de JSON: {"uuid":"9f0bba91-de58-4277-80c3-a7cca7aa10ee","changeType":"overdue","entity":"invoice","entityId":"1777","eventName":"invoice.overdue","extraData":{"entity":{"id":1777,"clientId":79,"number":"001727","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1780,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":78,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"ESPONIZA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:21.546298] [debug] Factura vencida - -[2025-04-15 6:25:21.546344] [debug] datos del notification para el invoice overdue:{"uuid":"9f0bba91-de58-4277-80c3-a7cca7aa10ee","changeType":"overdue","entity":"invoice","entityId":1777,"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":[],"accountBalance":-7000,"accountCredit":0,"accountOutstanding":7000,"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":1777,"clientId":79,"number":"001727","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1780,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":78,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"ESPONIZA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:21.546367] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:21.546427] [debug] Numero de cel obtenido - -[2025-04-15 6:25:21.546438] [warning] No se encontró un teléfono celular válido para el cliente: 79 -[2025-04-15 6:25:21.662400] [notice] Logging level set to:debug -[2025-04-15 6:25:21.827985] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:21.828037] [debug] Valor de JSON: {"uuid":"3d3f5ec5-1ef4-476c-b9ad-90cd86701f14","changeType":"overdue","entity":"invoice","entityId":"1778","eventName":"invoice.overdue","extraData":{"entity":{"id":1778,"clientId":80,"number":"001728","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1781,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":79,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AXEL","clientLastName":"FERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:21.828138] [debug] Factura vencida - -[2025-04-15 6:25:21.828177] [debug] datos del notification para el invoice overdue:{"uuid":"3d3f5ec5-1ef4-476c-b9ad-90cd86701f14","changeType":"overdue","entity":"invoice","entityId":1778,"message":null,"clientId":80,"eventName":"invoice.overdue","clientData":{"id":80,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN SEBASTIAN","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN SEBASTIAN, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"AXEL","lastName":"FERNANDEZ","username":"afernandez80","contacts":[{"id":81,"clientId":80,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1778,"clientId":80,"number":"001728","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1781,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":79,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AXEL","clientLastName":"FERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:21.828195] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:21.828244] [debug] Numero de cel obtenido - -[2025-04-15 6:25:21.828274] [warning] No se encontró un teléfono celular válido para el cliente: 80 -[2025-04-15 6:25:21.941129] [notice] Logging level set to:debug -[2025-04-15 6:25:22.109677] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:22.109738] [debug] Valor de JSON: {"uuid":"6052d985-f379-4f16-8464-fce81879cada","changeType":"overdue","entity":"invoice","entityId":"1779","eventName":"invoice.overdue","extraData":{"entity":{"id":1779,"clientId":39,"number":"001729","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1782,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":38,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FRANCISCO","clientLastName":"BALDERAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PIEDRA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:22.109841] [debug] Factura vencida - -[2025-04-15 6:25:22.109885] [debug] datos del notification para el invoice overdue:{"uuid":"6052d985-f379-4f16-8464-fce81879cada","changeType":"overdue","entity":"invoice","entityId":1779,"message":null,"clientId":39,"eventName":"invoice.overdue","clientData":{"id":39,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA PIEDRA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA PIEDRA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"FRANCISCO","lastName":"BALDERAS","username":"fbalderas39","contacts":[{"id":40,"clientId":39,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4510,"accountCredit":0,"accountOutstanding":4510,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#546e7a","addressGpsLat":21.2708978,"addressGpsLon":-100.7973281,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1779,"clientId":39,"number":"001729","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1782,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":38,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FRANCISCO","clientLastName":"BALDERAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PIEDRA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:22.109915] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:22.109982] [debug] Numero de cel obtenido - -[2025-04-15 6:25:22.110236] [warning] No se encontró un teléfono celular válido para el cliente: 39 -[2025-04-15 6:25:22.222618] [notice] Logging level set to:debug -[2025-04-15 6:25:22.367377] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:22.367434] [debug] Valor de JSON: {"uuid":"18ccdb9d-b651-4cc0-a6c9-57e07a3be481","changeType":"overdue","entity":"invoice","entityId":"1780","eventName":"invoice.overdue","extraData":{"entity":{"id":1780,"clientId":73,"number":"001730","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1783,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":72,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ERICK","clientLastName":"VAZQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:22.367539] [debug] Factura vencida - -[2025-04-15 6:25:22.367578] [debug] datos del notification para el invoice overdue:{"uuid":"18ccdb9d-b651-4cc0-a6c9-57e07a3be481","changeType":"overdue","entity":"invoice","entityId":1780,"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":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1780,"clientId":73,"number":"001730","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1783,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":72,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ERICK","clientLastName":"VAZQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:22.367597] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:22.367650] [debug] Numero de cel obtenido - -[2025-04-15 6:25:22.367660] [warning] No se encontró un teléfono celular válido para el cliente: 73 -[2025-04-15 6:25:22.481051] [notice] Logging level set to:debug -[2025-04-15 6:25:22.623295] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:22.623347] [debug] Valor de JSON: {"uuid":"9c5ee9e2-9e05-4bd9-94ab-505900e04308","changeType":"overdue","entity":"invoice","entityId":"1781","eventName":"invoice.overdue","extraData":{"entity":{"id":1781,"clientId":9,"number":"001731","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1784,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":9,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JHOVANY","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GALLINERO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:22.623442] [debug] Factura vencida - -[2025-04-15 6:25:22.623481] [debug] datos del notification para el invoice overdue:{"uuid":"9c5ee9e2-9e05-4bd9-94ab-505900e04308","changeType":"overdue","entity":"invoice","entityId":1781,"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":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1781,"clientId":9,"number":"001731","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1784,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":9,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JHOVANY","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GALLINERO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:22.623507] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:22.623562] [debug] Numero de cel obtenido - -[2025-04-15 6:25:22.623573] [warning] No se encontró un teléfono celular válido para el cliente: 9 -[2025-04-15 6:25:22.737212] [notice] Logging level set to:debug -[2025-04-15 6:25:22.880415] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:22.880477] [debug] Valor de JSON: {"uuid":"a1e505ed-3a7f-4f8e-a82b-ee42d17805fe","changeType":"overdue","entity":"invoice","entityId":"1782","eventName":"invoice.overdue","extraData":{"entity":{"id":1782,"clientId":17,"number":"001732","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1785,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":16,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUAN","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CIENEGUILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:22.880589] [debug] Factura vencida - -[2025-04-15 6:25:22.880629] [debug] datos del notification para el invoice overdue:{"uuid":"a1e505ed-3a7f-4f8e-a82b-ee42d17805fe","changeType":"overdue","entity":"invoice","entityId":1782,"message":null,"clientId":17,"eventName":"invoice.overdue","clientData":{"id":17,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"CIENEGUILLA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"CIENEGUILLA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JUAN","lastName":"LOPEZ","username":"jlopez17","contacts":[{"id":18,"clientId":17,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5090,"accountCredit":0,"accountOutstanding":5090,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.0749852,"addressGpsLon":-100.937613,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1782,"clientId":17,"number":"001732","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1785,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":16,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUAN","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CIENEGUILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:22.880647] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:22.880707] [debug] Numero de cel obtenido - -[2025-04-15 6:25:22.880717] [warning] No se encontró un teléfono celular válido para el cliente: 17 -[2025-04-15 6:25:22.994162] [notice] Logging level set to:debug -[2025-04-15 6:25:23.127593] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:23.127651] [debug] Valor de JSON: {"uuid":"6e43c60a-06db-4c7e-8816-17a6aea7df8b","changeType":"overdue","entity":"invoice","entityId":"1783","eventName":"invoice.overdue","extraData":{"entity":{"id":1783,"clientId":75,"number":"001733","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1786,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":74,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAUL","clientLastName":"AYALA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:23.127753] [debug] Factura vencida - -[2025-04-15 6:25:23.127795] [debug] datos del notification para el invoice overdue:{"uuid":"6e43c60a-06db-4c7e-8816-17a6aea7df8b","changeType":"overdue","entity":"invoice","entityId":1783,"message":null,"clientId":75,"eventName":"invoice.overdue","clientData":{"id":75,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"RAUL","lastName":"AYALA","username":"rayala75","contacts":[{"id":76,"clientId":75,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.2516667,"addressGpsLon":-101.0924998,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1783,"clientId":75,"number":"001733","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1786,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":74,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAUL","clientLastName":"AYALA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:23.127820] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:23.127881] [debug] Numero de cel obtenido - -[2025-04-15 6:25:23.127892] [warning] No se encontró un teléfono celular válido para el cliente: 75 -[2025-04-15 6:25:23.244927] [notice] Logging level set to:debug -[2025-04-15 6:25:23.383404] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:23.383455] [debug] Valor de JSON: {"uuid":"17856ec0-8eb3-4837-8e67-3c698e54cc80","changeType":"overdue","entity":"invoice","entityId":"1784","eventName":"invoice.overdue","extraData":{"entity":{"id":1784,"clientId":10,"number":"001734","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1787,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":10,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CARLOS","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:23.383558] [debug] Factura vencida - -[2025-04-15 6:25:23.383595] [debug] datos del notification para el invoice overdue:{"uuid":"17856ec0-8eb3-4837-8e67-3c698e54cc80","changeType":"overdue","entity":"invoice","entityId":1784,"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":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"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":1784,"clientId":10,"number":"001734","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1787,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":10,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CARLOS","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:23.383614] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:23.383666] [debug] Numero de cel obtenido - -[2025-04-15 6:25:23.383681] [warning] No se encontró un teléfono celular válido para el cliente: 10 -[2025-04-15 6:25:23.498737] [notice] Logging level set to:debug -[2025-04-15 6:25:23.650115] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:23.650172] [debug] Valor de JSON: {"uuid":"651391ce-c7a9-4d09-b242-74f0b8a7c445","changeType":"overdue","entity":"invoice","entityId":"1785","eventName":"invoice.overdue","extraData":{"entity":{"id":1785,"clientId":5,"number":"001735","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1788,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":5,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MUCIO","clientLastName":"ROBLEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CORREGIDORA #61, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:23.650269] [debug] Factura vencida - -[2025-04-15 6:25:23.650309] [debug] datos del notification para el invoice overdue:{"uuid":"651391ce-c7a9-4d09-b242-74f0b8a7c445","changeType":"overdue","entity":"invoice","entityId":1785,"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":[],"accountBalance":-11533.33,"accountCredit":0,"accountOutstanding":11533.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.158357169062,"addressGpsLon":-100.93191261001,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1785,"clientId":5,"number":"001735","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1788,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":5,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MUCIO","clientLastName":"ROBLEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CORREGIDORA #61, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:23.650331] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:23.650386] [debug] Numero de cel obtenido - -[2025-04-15 6:25:23.650396] [warning] No se encontró un teléfono celular válido para el cliente: 5 -[2025-04-15 6:25:23.764720] [notice] Logging level set to:debug -[2025-04-15 6:25:23.908337] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:23.908389] [debug] Valor de JSON: {"uuid":"26198a8b-9f26-4d98-90f7-17ba6097c4c8","changeType":"overdue","entity":"invoice","entityId":"1786","eventName":"invoice.overdue","extraData":{"entity":{"id":1786,"clientId":20,"number":"001736","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1789,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":19,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEFANIA","clientLastName":"BUENROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN PABLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:23.908488] [debug] Factura vencida - -[2025-04-15 6:25:23.908524] [debug] datos del notification para el invoice overdue:{"uuid":"26198a8b-9f26-4d98-90f7-17ba6097c4c8","changeType":"overdue","entity":"invoice","entityId":1786,"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":[],"accountBalance":-4180,"accountCredit":0,"accountOutstanding":4180,"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":1786,"clientId":20,"number":"001736","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1789,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":19,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEFANIA","clientLastName":"BUENROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN PABLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:23.908536] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:23.908591] [debug] Numero de cel obtenido - -[2025-04-15 6:25:23.908601] [warning] No se encontró un teléfono celular válido para el cliente: 20 -[2025-04-15 6:25:24.021884] [notice] Logging level set to:debug -[2025-04-15 6:25:24.173204] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:24.173264] [debug] Valor de JSON: {"uuid":"b17e803b-5fca-4c55-a7a5-71de0c24170e","changeType":"overdue","entity":"invoice","entityId":"1787","eventName":"invoice.overdue","extraData":{"entity":{"id":1787,"clientId":23,"number":"001737","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1790,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":22,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSCAR","clientLastName":"GUERRERO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TABASCO #45, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:24.173377] [debug] Factura vencida - -[2025-04-15 6:25:24.173415] [debug] datos del notification para el invoice overdue:{"uuid":"b17e803b-5fca-4c55-a7a5-71de0c24170e","changeType":"overdue","entity":"invoice","entityId":1787,"message":null,"clientId":23,"eventName":"invoice.overdue","clientData":{"id":23,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TABASCO #45, ZONA CENTRO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TABASCO #45, ZONA CENTRO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OSCAR","lastName":"GUERRERO","username":"oguerrero23","contacts":[{"id":24,"clientId":23,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#283593","addressGpsLat":21.1550814,"addressGpsLon":-100.9341575,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1787,"clientId":23,"number":"001737","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1790,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":22,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSCAR","clientLastName":"GUERRERO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TABASCO #45, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:24.173439] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:24.173512] [debug] Numero de cel obtenido - -[2025-04-15 6:25:24.173525] [warning] No se encontró un teléfono celular válido para el cliente: 23 -[2025-04-15 6:25:24.282212] [notice] Logging level set to:debug -[2025-04-15 6:25:24.424756] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:24.424813] [debug] Valor de JSON: {"uuid":"8c376b87-5d6a-4211-869e-57e946c88499","changeType":"overdue","entity":"invoice","entityId":"1788","eventName":"invoice.overdue","extraData":{"entity":{"id":1788,"clientId":43,"number":"001738","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1791,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":42,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"VICTORIO","clientLastName":"DIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:24.424921] [debug] Factura vencida - -[2025-04-15 6:25:24.424966] [debug] datos del notification para el invoice overdue:{"uuid":"8c376b87-5d6a-4211-869e-57e946c88499","changeType":"overdue","entity":"invoice","entityId":1788,"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":[],"accountBalance":-9823.33,"accountCredit":0,"accountOutstanding":9823.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":1788,"clientId":43,"number":"001738","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1791,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":42,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"VICTORIO","clientLastName":"DIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:24.424978] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:24.425041] [debug] Numero de cel obtenido - -[2025-04-15 6:25:24.425054] [warning] No se encontró un teléfono celular válido para el cliente: 43 -[2025-04-15 6:25:24.537029] [notice] Logging level set to:debug -[2025-04-15 6:25:24.672744] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:24.672800] [debug] Valor de JSON: {"uuid":"f6e59b77-8e46-4562-88b8-e3a8c1c208cc","changeType":"overdue","entity":"invoice","entityId":"1789","eventName":"invoice.overdue","extraData":{"entity":{"id":1789,"clientId":34,"number":"001739","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1792,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":33,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NORMA","clientLastName":"ALMAGUER","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSALITO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:24.672890] [debug] Factura vencida - -[2025-04-15 6:25:24.672928] [debug] datos del notification para el invoice overdue:{"uuid":"f6e59b77-8e46-4562-88b8-e3a8c1c208cc","changeType":"overdue","entity":"invoice","entityId":1789,"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":[],"accountBalance":-4810,"accountCredit":0,"accountOutstanding":4810,"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":1789,"clientId":34,"number":"001739","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1792,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":33,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NORMA","clientLastName":"ALMAGUER","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSALITO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:24.672950] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:24.673002] [debug] Numero de cel obtenido - -[2025-04-15 6:25:24.673013] [warning] No se encontró un teléfono celular válido para el cliente: 34 -[2025-04-15 6:25:24.785170] [notice] Logging level set to:debug -[2025-04-15 6:25:24.927910] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:24.927964] [debug] Valor de JSON: {"uuid":"2ff28ab0-5f1a-4e67-a6c8-2c27df1063db","changeType":"overdue","entity":"invoice","entityId":"1790","eventName":"invoice.overdue","extraData":{"entity":{"id":1790,"clientId":42,"number":"001740","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1793,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":41,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORENA","clientLastName":"MARTINEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:24.928088] [debug] Factura vencida - -[2025-04-15 6:25:24.928139] [debug] datos del notification para el invoice overdue:{"uuid":"2ff28ab0-5f1a-4e67-a6c8-2c27df1063db","changeType":"overdue","entity":"invoice","entityId":1790,"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":[],"accountBalance":-4510,"accountCredit":0,"accountOutstanding":4510,"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":1790,"clientId":42,"number":"001740","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1793,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":41,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORENA","clientLastName":"MARTINEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:24.928154] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:24.928225] [debug] Numero de cel obtenido - -[2025-04-15 6:25:24.928245] [warning] No se encontró un teléfono celular válido para el cliente: 42 -[2025-04-15 6:25:25.041161] [notice] Logging level set to:debug -[2025-04-15 6:25:25.175344] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:25.175395] [debug] Valor de JSON: {"uuid":"31288010-83cc-40e2-9c36-c0db95c07ccb","changeType":"overdue","entity":"invoice","entityId":"1791","eventName":"invoice.overdue","extraData":{"entity":{"id":1791,"clientId":29,"number":"001741","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1794,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":28,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTELA","clientLastName":"ORTIZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EJIDO DOLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:25.175479] [debug] Factura vencida - -[2025-04-15 6:25:25.175518] [debug] datos del notification para el invoice overdue:{"uuid":"31288010-83cc-40e2-9c36-c0db95c07ccb","changeType":"overdue","entity":"invoice","entityId":1791,"message":null,"clientId":29,"eventName":"invoice.overdue","clientData":{"id":29,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EJIDO DOLORES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EJIDO DOLORES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ESTELA","lastName":"ORTIZ","username":"eortiz29","contacts":[{"id":30,"clientId":29,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7316.67,"accountCredit":0,"accountOutstanding":7316.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1791,"clientId":29,"number":"001741","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1794,"type":"service","label":"INTERMEDIO 28\/02\/2025 \u2013 30\/03\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":28,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTELA","clientLastName":"ORTIZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EJIDO DOLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:25.175539] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:25.175592] [debug] Numero de cel obtenido - -[2025-04-15 6:25:25.175604] [warning] No se encontró un teléfono celular válido para el cliente: 29 -[2025-04-15 6:25:25.288383] [notice] Logging level set to:debug -[2025-04-15 6:25:25.418534] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:25.418585] [debug] Valor de JSON: {"uuid":"5335a751-2192-46b5-a69a-7cb24900d91b","changeType":"overdue","entity":"invoice","entityId":"1792","eventName":"invoice.overdue","extraData":{"entity":{"id":1792,"clientId":35,"number":"001742","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1795,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":34,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GABRIELA","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CANTERA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:25.418692] [debug] Factura vencida - -[2025-04-15 6:25:25.418729] [debug] datos del notification para el invoice overdue:{"uuid":"5335a751-2192-46b5-a69a-7cb24900d91b","changeType":"overdue","entity":"invoice","entityId":1792,"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":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1792,"clientId":35,"number":"001742","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1795,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":34,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GABRIELA","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CANTERA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:25.418740] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:25.418792] [debug] Numero de cel obtenido - -[2025-04-15 6:25:25.418802] [warning] No se encontró un teléfono celular válido para el cliente: 35 -[2025-04-15 6:25:25.532040] [notice] Logging level set to:debug -[2025-04-15 6:25:25.664664] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:25.664716] [debug] Valor de JSON: {"uuid":"b485c4e9-da83-4020-b1e1-2c30caed5ef6","changeType":"overdue","entity":"invoice","entityId":"1793","eventName":"invoice.overdue","extraData":{"entity":{"id":1793,"clientId":11,"number":"001743","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1796,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":11,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"KARIME","clientLastName":"QUINTERO HERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:25.664809] [debug] Factura vencida - -[2025-04-15 6:25:25.664854] [debug] datos del notification para el invoice overdue:{"uuid":"b485c4e9-da83-4020-b1e1-2c30caed5ef6","changeType":"overdue","entity":"invoice","entityId":1793,"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":[],"accountBalance":-3300,"accountCredit":0,"accountOutstanding":3300,"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":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1793,"clientId":11,"number":"001743","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1796,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":11,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"KARIME","clientLastName":"QUINTERO HERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:25.664876] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:25.664932] [debug] Numero de cel obtenido - -[2025-04-15 6:25:25.664946] [warning] No se encontró un teléfono celular válido para el cliente: 11 -[2025-04-15 6:25:25.777399] [notice] Logging level set to:debug -[2025-04-15 6:25:25.924899] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:25.924951] [debug] Valor de JSON: {"uuid":"b6a73d1f-cd54-4376-80df-4b1549353aa3","changeType":"overdue","entity":"invoice","entityId":"1794","eventName":"invoice.overdue","extraData":{"entity":{"id":1794,"clientId":72,"number":"001744","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1797,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":71,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BRANDOM","clientLastName":"EZQUIVEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:25.925050] [debug] Factura vencida - -[2025-04-15 6:25:25.925100] [debug] datos del notification para el invoice overdue:{"uuid":"b6a73d1f-cd54-4376-80df-4b1549353aa3","changeType":"overdue","entity":"invoice","entityId":1794,"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":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1794,"clientId":72,"number":"001744","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1797,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":71,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BRANDOM","clientLastName":"EZQUIVEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:25.925113] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:25.925167] [debug] Numero de cel obtenido - -[2025-04-15 6:25:25.925178] [warning] No se encontró un teléfono celular válido para el cliente: 72 -[2025-04-15 6:25:26.040122] [notice] Logging level set to:debug -[2025-04-15 6:25:26.171792] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:26.171852] [debug] Valor de JSON: {"uuid":"1e17054d-01cf-4e9b-8594-4b6fc0fa9538","changeType":"overdue","entity":"invoice","entityId":"1795","eventName":"invoice.overdue","extraData":{"entity":{"id":1795,"clientId":52,"number":"001745","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1798,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":51,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RODRIGO","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL CARMEN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:26.171947] [debug] Factura vencida - -[2025-04-15 6:25:26.171983] [debug] datos del notification para el invoice overdue:{"uuid":"1e17054d-01cf-4e9b-8594-4b6fc0fa9538","changeType":"overdue","entity":"invoice","entityId":1795,"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":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1795,"clientId":52,"number":"001745","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1798,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":51,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RODRIGO","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL CARMEN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:26.172000] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:26.172053] [debug] Numero de cel obtenido - -[2025-04-15 6:25:26.172063] [warning] No se encontró un teléfono celular válido para el cliente: 52 -[2025-04-15 6:25:26.282327] [notice] Logging level set to:debug -[2025-04-15 6:25:26.408242] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:26.408313] [debug] Valor de JSON: {"uuid":"72896c1e-182a-4fcc-a209-7cb9cd0616ea","changeType":"overdue","entity":"invoice","entityId":"1796","eventName":"invoice.overdue","extraData":{"entity":{"id":1796,"clientId":27,"number":"001746","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1799,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":26,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXIS","clientLastName":"DIAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA RITA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:26.408404] [debug] Factura vencida - -[2025-04-15 6:25:26.408442] [debug] datos del notification para el invoice overdue:{"uuid":"72896c1e-182a-4fcc-a209-7cb9cd0616ea","changeType":"overdue","entity":"invoice","entityId":1796,"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":[],"accountBalance":-4210,"accountCredit":0,"accountOutstanding":4210,"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":1796,"clientId":27,"number":"001746","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1799,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":26,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXIS","clientLastName":"DIAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA RITA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:26.408464] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:26.408519] [debug] Numero de cel obtenido - -[2025-04-15 6:25:26.408530] [warning] No se encontró un teléfono celular válido para el cliente: 27 -[2025-04-15 6:25:26.522865] [notice] Logging level set to:debug -[2025-04-15 6:25:26.665427] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:26.665479] [debug] Valor de JSON: {"uuid":"9faf175f-5be9-4f86-9b97-be7c59c1f344","changeType":"overdue","entity":"invoice","entityId":"1797","eventName":"invoice.overdue","extraData":{"entity":{"id":1797,"clientId":102,"number":"001747","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1800,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":101,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"XX","clientLastName":"XX","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:26.665585] [debug] Factura vencida - -[2025-04-15 6:25:26.665622] [debug] datos del notification para el invoice overdue:{"uuid":"9faf175f-5be9-4f86-9b97-be7c59c1f344","changeType":"overdue","entity":"invoice","entityId":1797,"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":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1797,"clientId":102,"number":"001747","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1800,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":101,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"XX","clientLastName":"XX","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:26.665640] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:26.665693] [debug] Numero de cel obtenido - -[2025-04-15 6:25:26.665704] [warning] No se encontró un teléfono celular válido para el cliente: 102 -[2025-04-15 6:25:26.779190] [notice] Logging level set to:debug -[2025-04-15 6:25:26.906521] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:26.906568] [debug] Valor de JSON: {"uuid":"b280a15d-7752-46e6-8c8f-a98c451f05a7","changeType":"overdue","entity":"invoice","entityId":"1798","eventName":"invoice.overdue","extraData":{"entity":{"id":1798,"clientId":101,"number":"001748","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1801,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":100,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OCTAVIO","clientLastName":"VIDAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ESTA\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:26.906652] [debug] Factura vencida - -[2025-04-15 6:25:26.906687] [debug] datos del notification para el invoice overdue:{"uuid":"b280a15d-7752-46e6-8c8f-a98c451f05a7","changeType":"overdue","entity":"invoice","entityId":1798,"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":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1798,"clientId":101,"number":"001748","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1801,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":100,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OCTAVIO","clientLastName":"VIDAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ESTA\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:26.906724] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:26.906776] [debug] Numero de cel obtenido - -[2025-04-15 6:25:26.906788] [warning] No se encontró un teléfono celular válido para el cliente: 101 -[2025-04-15 6:25:27.023256] [notice] Logging level set to:debug -[2025-04-15 6:25:27.187494] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:27.187550] [debug] Valor de JSON: {"uuid":"ebc36d8d-f249-44a3-a115-c5bc6fd07c15","changeType":"overdue","entity":"invoice","entityId":"1799","eventName":"invoice.overdue","extraData":{"entity":{"id":1799,"clientId":58,"number":"001749","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1802,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":57,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"DOMINGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MOLINO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:27.187676] [debug] Factura vencida - -[2025-04-15 6:25:27.187721] [debug] datos del notification para el invoice overdue:{"uuid":"ebc36d8d-f249-44a3-a115-c5bc6fd07c15","changeType":"overdue","entity":"invoice","entityId":1799,"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":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1799,"clientId":58,"number":"001749","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1802,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":57,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"DOMINGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MOLINO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:27.187741] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:27.187814] [debug] Numero de cel obtenido - -[2025-04-15 6:25:27.187827] [warning] No se encontró un teléfono celular válido para el cliente: 58 -[2025-04-15 6:25:27.301817] [notice] Logging level set to:debug -[2025-04-15 6:25:27.441812] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:27.441874] [debug] Valor de JSON: {"uuid":"7ff8807f-5045-4dfc-9a08-54d50169170b","changeType":"overdue","entity":"invoice","entityId":"1800","eventName":"invoice.overdue","extraData":{"entity":{"id":1800,"clientId":48,"number":"001750","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1803,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":47,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISELA","clientLastName":"AZPEITIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:27.441983] [debug] Factura vencida - -[2025-04-15 6:25:27.442043] [debug] datos del notification para el invoice overdue:{"uuid":"7ff8807f-5045-4dfc-9a08-54d50169170b","changeType":"overdue","entity":"invoice","entityId":1800,"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":104,"clientId":48,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1VUj6JXVCcUu","clientZoneVisible":true},{"id":105,"clientId":48,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"4896043950637164","clientZoneVisible":true}],"accountBalance":-7200,"accountCredit":0,"accountOutstanding":7200,"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":1800,"clientId":48,"number":"001750","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1803,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":47,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISELA","clientLastName":"AZPEITIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:27.442070] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:27.442159] [debug] Numero de cel obtenido - -[2025-04-15 6:25:27.442174] [warning] No se encontró un teléfono celular válido para el cliente: 48 -[2025-04-15 6:25:27.556938] [notice] Logging level set to:debug -[2025-04-15 6:25:27.702475] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:27.702534] [debug] Valor de JSON: {"uuid":"ed3688dc-3d43-4fa8-bf6b-0dd1d8036c4e","changeType":"overdue","entity":"invoice","entityId":"1801","eventName":"invoice.overdue","extraData":{"entity":{"id":1801,"clientId":96,"number":"001751","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1804,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":95,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PAMELA","clientLastName":"RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:27.702655] [debug] Factura vencida - -[2025-04-15 6:25:27.702701] [debug] datos del notification para el invoice overdue:{"uuid":"ed3688dc-3d43-4fa8-bf6b-0dd1d8036c4e","changeType":"overdue","entity":"invoice","entityId":1801,"message":null,"clientId":96,"eventName":"invoice.overdue","clientData":{"id":96,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"PAMELA","lastName":"RAMIREZ","username":"pramirez96","contacts":[{"id":97,"clientId":96,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-600,"accountCredit":0,"accountOutstanding":600,"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":1801,"clientId":96,"number":"001751","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1804,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":95,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PAMELA","clientLastName":"RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:27.702719] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:27.702783] [debug] Numero de cel obtenido - -[2025-04-15 6:25:27.702795] [warning] No se encontró un teléfono celular válido para el cliente: 96 -[2025-04-15 6:25:27.816657] [notice] Logging level set to:debug -[2025-04-15 6:25:27.966500] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:27.966547] [debug] Valor de JSON: {"uuid":"c7f540a0-f0f4-4bb5-9b57-802c6c03ef2d","changeType":"overdue","entity":"invoice","entityId":"1802","eventName":"invoice.overdue","extraData":{"entity":{"id":1802,"clientId":94,"number":"001752","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1805,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":93,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARTIN","clientLastName":"TREJO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:27.966631] [debug] Factura vencida - -[2025-04-15 6:25:27.966667] [debug] datos del notification para el invoice overdue:{"uuid":"c7f540a0-f0f4-4bb5-9b57-802c6c03ef2d","changeType":"overdue","entity":"invoice","entityId":1802,"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":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1802,"clientId":94,"number":"001752","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1805,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":93,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARTIN","clientLastName":"TREJO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:27.966689] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:27.966737] [debug] Numero de cel obtenido - -[2025-04-15 6:25:27.966747] [warning] No se encontró un teléfono celular válido para el cliente: 94 -[2025-04-15 6:25:28.074740] [notice] Logging level set to:debug -[2025-04-15 6:25:28.203694] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:28.203748] [debug] Valor de JSON: {"uuid":"ca012c07-df0e-4b72-8a84-00bcf7b51b6a","changeType":"overdue","entity":"invoice","entityId":"1803","eventName":"invoice.overdue","extraData":{"entity":{"id":1803,"clientId":78,"number":"001753","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1806,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":77,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDER","clientLastName":"ROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:28.203850] [debug] Factura vencida - -[2025-04-15 6:25:28.203888] [debug] datos del notification para el invoice overdue:{"uuid":"ca012c07-df0e-4b72-8a84-00bcf7b51b6a","changeType":"overdue","entity":"invoice","entityId":1803,"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":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":1803,"clientId":78,"number":"001753","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1806,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":77,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDER","clientLastName":"ROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:28.203905] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:28.203958] [debug] Numero de cel obtenido - -[2025-04-15 6:25:28.203969] [warning] No se encontró un teléfono celular válido para el cliente: 78 -[2025-04-15 6:25:28.311975] [notice] Logging level set to:debug -[2025-04-15 6:25:28.465190] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:28.465251] [debug] Valor de JSON: {"uuid":"b10dbff0-fc92-4443-9dd9-4583857e8d76","changeType":"overdue","entity":"invoice","entityId":"1804","eventName":"invoice.overdue","extraData":{"entity":{"id":1804,"clientId":82,"number":"001754","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1807,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":81,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AGUSTINA","clientLastName":"PERICLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:28.465347] [debug] Factura vencida - -[2025-04-15 6:25:28.465385] [debug] datos del notification para el invoice overdue:{"uuid":"b10dbff0-fc92-4443-9dd9-4583857e8d76","changeType":"overdue","entity":"invoice","entityId":1804,"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":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1804,"clientId":82,"number":"001754","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1807,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":81,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AGUSTINA","clientLastName":"PERICLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:28.465406] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:28.465462] [debug] Numero de cel obtenido - -[2025-04-15 6:25:28.465473] [warning] No se encontró un teléfono celular válido para el cliente: 82 -[2025-04-15 6:25:28.580235] [notice] Logging level set to:debug -[2025-04-15 6:25:28.713794] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:28.713850] [debug] Valor de JSON: {"uuid":"59d34dfc-a27e-418c-860b-0605540aac1a","changeType":"overdue","entity":"invoice","entityId":"1805","eventName":"invoice.overdue","extraData":{"entity":{"id":1805,"clientId":25,"number":"001755","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1808,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":24,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ARIEL","clientLastName":"CORTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL DURAZNO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:28.713952] [debug] Factura vencida - -[2025-04-15 6:25:28.713990] [debug] datos del notification para el invoice overdue:{"uuid":"59d34dfc-a27e-418c-860b-0605540aac1a","changeType":"overdue","entity":"invoice","entityId":1805,"message":null,"clientId":25,"eventName":"invoice.overdue","clientData":{"id":25,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL DURAZNO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL DURAZNO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ARIEL","lastName":"CORTES","username":"acortes25","contacts":[{"id":26,"clientId":25,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-12600,"accountCredit":0,"accountOutstanding":12600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1805,"clientId":25,"number":"001755","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1808,"type":"service","label":"PREMIUM 28\/02\/2025 \u2013 30\/03\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":24,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ARIEL","clientLastName":"CORTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL DURAZNO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:28.714009] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:28.714061] [debug] Numero de cel obtenido - -[2025-04-15 6:25:28.714072] [warning] No se encontró un teléfono celular válido para el cliente: 25 -[2025-04-15 6:25:28.826071] [notice] Logging level set to:debug -[2025-04-15 6:25:28.957015] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:28.957066] [debug] Valor de JSON: {"uuid":"f4d52a65-417d-46c0-8055-b6528ad117eb","changeType":"overdue","entity":"invoice","entityId":"1806","eventName":"invoice.overdue","extraData":{"entity":{"id":1806,"clientId":31,"number":"001756","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1809,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":30,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANA","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SIETE REALES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:28.957153] [debug] Factura vencida - -[2025-04-15 6:25:28.957187] [debug] datos del notification para el invoice overdue:{"uuid":"f4d52a65-417d-46c0-8055-b6528ad117eb","changeType":"overdue","entity":"invoice","entityId":1806,"message":null,"clientId":31,"eventName":"invoice.overdue","clientData":{"id":31,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SIETE REALES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SIETE REALES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANA","lastName":"CASTILLO","username":"acastillo31","contacts":[{"id":32,"clientId":31,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4180,"accountCredit":0,"accountOutstanding":4180,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4caf50","addressGpsLat":21.2302531,"addressGpsLon":-100.7594666,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1806,"clientId":31,"number":"001756","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1809,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":30,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANA","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SIETE REALES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:28.957207] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:28.957257] [debug] Numero de cel obtenido - -[2025-04-15 6:25:28.957267] [warning] No se encontró un teléfono celular válido para el cliente: 31 -[2025-04-15 6:25:29.069185] [notice] Logging level set to:debug -[2025-04-15 6:25:29.205723] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:29.205773] [debug] Valor de JSON: {"uuid":"5be4ae18-7d77-40ad-9439-ef0574b5f83b","changeType":"overdue","entity":"invoice","entityId":"1807","eventName":"invoice.overdue","extraData":{"entity":{"id":1807,"clientId":65,"number":"001757","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1810,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":64,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS MONCADA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:29.205873] [debug] Factura vencida - -[2025-04-15 6:25:29.205910] [debug] datos del notification para el invoice overdue:{"uuid":"5be4ae18-7d77-40ad-9439-ef0574b5f83b","changeType":"overdue","entity":"invoice","entityId":1807,"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":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1807,"clientId":65,"number":"001757","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1810,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":64,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS MONCADA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:29.205928] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:29.205979] [debug] Numero de cel obtenido - -[2025-04-15 6:25:29.205988] [warning] No se encontró un teléfono celular válido para el cliente: 65 -[2025-04-15 6:25:29.318361] [notice] Logging level set to:debug -[2025-04-15 6:25:29.444118] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:29.444173] [debug] Valor de JSON: {"uuid":"9fe798b1-f725-4ecb-baed-f9c707ac802c","changeType":"overdue","entity":"invoice","entityId":"1808","eventName":"invoice.overdue","extraData":{"entity":{"id":1808,"clientId":40,"number":"001758","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1811,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":39,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"PADRON","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RANCHO GUADALUPE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:29.444355] [debug] Factura vencida - -[2025-04-15 6:25:29.444399] [debug] datos del notification para el invoice overdue:{"uuid":"9fe798b1-f725-4ecb-baed-f9c707ac802c","changeType":"overdue","entity":"invoice","entityId":1808,"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":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4210,"accountCredit":0,"accountOutstanding":4210,"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":1808,"clientId":40,"number":"001758","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1811,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":39,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"PADRON","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RANCHO GUADALUPE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:29.444422] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:29.444485] [debug] Numero de cel obtenido - -[2025-04-15 6:25:29.444498] [warning] No se encontró un teléfono celular válido para el cliente: 40 -[2025-04-15 6:25:29.556646] [notice] Logging level set to:debug -[2025-04-15 6:25:29.689120] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:29.689169] [debug] Valor de JSON: {"uuid":"d42fa536-0bf4-45fc-9d23-083fb9eae65e","changeType":"overdue","entity":"invoice","entityId":"1809","eventName":"invoice.overdue","extraData":{"entity":{"id":1809,"clientId":24,"number":"001759","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1812,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":23,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JACIEL","clientLastName":"CERVANTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTO NI\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:29.689273] [debug] Factura vencida - -[2025-04-15 6:25:29.689311] [debug] datos del notification para el invoice overdue:{"uuid":"d42fa536-0bf4-45fc-9d23-083fb9eae65e","changeType":"overdue","entity":"invoice","entityId":1809,"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":[],"accountBalance":-4480,"accountCredit":0,"accountOutstanding":4480,"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":1809,"clientId":24,"number":"001759","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1812,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":23,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JACIEL","clientLastName":"CERVANTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTO NI\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:29.689327] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:29.689378] [debug] Numero de cel obtenido - -[2025-04-15 6:25:29.689389] [warning] No se encontró un teléfono celular válido para el cliente: 24 -[2025-04-15 6:25:29.801631] [notice] Logging level set to:debug -[2025-04-15 6:25:29.933877] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-15 6:25:29.933931] [debug] Valor de JSON: {"uuid":"50035582-8f8d-4bbb-a529-45a8d12c3121","changeType":"overdue","entity":"invoice","entityId":"1810","eventName":"invoice.overdue","extraData":{"entity":{"id":1810,"clientId":68,"number":"001760","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1813,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":67,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DOLORES","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-15 6:25:29.934020] [debug] Factura vencida - -[2025-04-15 6:25:29.934056] [debug] datos del notification para el invoice overdue:{"uuid":"50035582-8f8d-4bbb-a529-45a8d12c3121","changeType":"overdue","entity":"invoice","entityId":1810,"message":null,"clientId":68,"eventName":"invoice.overdue","clientData":{"id":68,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DOLORES","lastName":"GARCIA","username":"dgarcia68","contacts":[{"id":69,"clientId":68,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#9e9d24","addressGpsLat":21.2516667,"addressGpsLon":-101.0924998,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1810,"clientId":68,"number":"001760","createdDate":"2025-03-31T10:00:01-0600","dueDate":"2025-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1813,"type":"service","label":"plan300 28\/02\/2025 \u2013 30\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":67,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DOLORES","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-15 6:25:29.934078] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-15 6:25:29.934130] [debug] Numero de cel obtenido - -[2025-04-15 6:25:29.934140] [warning] No se encontró un teléfono celular válido para el cliente: 68 -[2025-04-15 18:30:03.733444] [notice] Logging level set to:debug -[2025-04-15 18:30:03.966458] [debug] valor el evento recibido por webhook: service.suspend - -[2025-04-15 18:30:03.966666] [debug] Valor de JSON: {"uuid":"22b1e516-7491-4a1b-80c6-7a6d36ca45b7","changeType":"suspend","entity":"service","entityId":"70","eventName":"service.suspend","extraData":{"entity":{"id":70,"prepaid":false,"clientId":71,"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":"2025-03-30T00:00:00-0600","unmsClientSiteId":"00f355f9-588f-4b69-befa-846a40a42c6a","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":77,"startDate":"2024-03-15T00:00:00-0600","endDate":"2025-02-14T00:00:00-0600"},{"id":157,"startDate":"2025-04-15T12:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":70,"prepaid":false,"clientId":71,"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":"2025-03-30T00:00:00-0600","unmsClientSiteId":"00f355f9-588f-4b69-befa-846a40a42c6a","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":77,"startDate":"2024-03-15T00:00:00-0600","endDate":"2025-02-14T00:00:00-0600"},{"id":157,"startDate":"2025-04-15T12:30:02-0600","endDate":null}],"surcharges":[]}}} - -[2025-04-15 18:30:03.968008] [debug] Se suspendió el servicio a un cliente - -[2025-04-15 18:30:04.134752] [notice] Logging level set to:debug -[2025-04-15 18:30:04.349162] [debug] valor el evento recibido por webhook: service.edit - -[2025-04-15 18:30:04.349308] [debug] Valor de JSON: {"uuid":"153f595f-898a-4a63-a7b0-d64749b214d6","changeType":"edit","entity":"service","entityId":"70","eventName":"service.edit","extraData":{"entity":{"id":70,"prepaid":false,"clientId":71,"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":"2025-03-30T00:00:00-0600","unmsClientSiteId":"00f355f9-588f-4b69-befa-846a40a42c6a","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":77,"startDate":"2024-03-15T00:00:00-0600","endDate":"2025-02-14T00:00:00-0600"},{"id":157,"startDate":"2025-04-15T12:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":70,"prepaid":false,"clientId":71,"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":"2025-03-30T00:00:00-0600","unmsClientSiteId":"00f355f9-588f-4b69-befa-846a40a42c6a","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":77,"startDate":"2024-03-15T00:00:00-0600","endDate":"2025-02-14T00:00:00-0600"},{"id":157,"startDate":"2025-04-15T12:30:02-0600","endDate":null}],"surcharges":[]}}} - -[2025-04-15 18:30:04.349417] [debug] Se editó el servicio a un cliente - -[2025-04-15 18:30:04.458899] [notice] Logging level set to:debug -[2025-04-15 18:30:04.674272] [debug] valor el evento recibido por webhook: service.suspend - -[2025-04-15 18:30:04.674350] [debug] Valor de JSON: {"uuid":"0331e02e-ad7e-4494-bd65-baf2ef12a20e","changeType":"suspend","entity":"service","entityId":"12","eventName":"service.suspend","extraData":{"entity":{"id":12,"prepaid":false,"clientId":12,"status":3,"name":"INTERMEDIO","fullAddress":"DOLORES HIDALGO","street1":null,"street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1574,"addressGpsLon":-100.934617,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-09-01T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-30T00:00:00-0600","unmsClientSiteId":"3e675413-898b-41df-b264-63238da9d11e","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":8,"startDate":"2024-02-13T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":158,"startDate":"2025-04-15T12:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":12,"prepaid":false,"clientId":12,"status":1,"name":"INTERMEDIO","fullAddress":"DOLORES HIDALGO","street1":null,"street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1574,"addressGpsLon":-100.934617,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-09-01T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-30T00:00:00-0600","unmsClientSiteId":"3e675413-898b-41df-b264-63238da9d11e","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":8,"startDate":"2024-02-13T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":158,"startDate":"2025-04-15T12:30:02-0600","endDate":null}],"surcharges":[]}}} - -[2025-04-15 18:30:04.674463] [debug] Se suspendió el servicio a un cliente - -[2025-04-15 18:30:04.674495] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-15 18:30:04.674510] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-04-15 18:30:04.674546] [info] {"uuid":"0331e02e-ad7e-4494-bd65-baf2ef12a20e","changeType":"suspend","entity":"service","entityId":12,"message":null,"clientId":12,"eventName":"service.suspend","clientData":{"id":12,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"DOLORES HIDALGO","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MIRIAM","lastName":"ZURITA RAMIREZ","username":"mzurita12","contacts":[{"id":13,"clientId":12,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-8933.33,"accountCredit":0,"accountOutstanding":8933.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":{"id":12,"prepaid":false,"clientId":12,"status":3,"name":"INTERMEDIO","fullAddress":"DOLORES HIDALGO","street1":null,"street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1574,"addressGpsLon":-100.934617,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-09-01T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-30T00:00:00-0600","unmsClientSiteId":"3e675413-898b-41df-b264-63238da9d11e","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":8,"startDate":"2024-02-13T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":158,"startDate":"2025-04-15T00:00:00-0600","endDate":null}],"surcharges":[],"stopReason":"Payments overdue"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: MIRIAM ZURITA RAMIREZ - -UUID: 7ec1948ad8af4bcd8eff0d7c2a995d09 - -JSON con los datos a actualizar: {"name":"MIRIAM ZURITA RAMIREZ","custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 15\/04\/2025 12:30"}} - -Response Patch CallBell: {"contact":{"uuid":"7ec1948ad8af4bcd8eff0d7c2a995d09","name":"MIRIAM ZURITA RAMIREZ","phoneNumber":"5214181577623","avatarUrl":null,"createdAt":"2023-12-22T16:52:57Z","closedAt":"2025-01-07T23:12:30Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7ec1948ad8af4bcd8eff0d7c2a995d09","conversationHref":"https://dash.callbell.eu/chat/d06f5a96768c4945b7a659a6930e5fa0","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"124180650725363841","Saldo Actual":"💲8933.33 pendientes","user name":"Míriam Moctezuma","Domicilio":"📍 DOLORES HIDALGO","Antena/Sectorial":"Rocket Prism 5AC 172.16.12.12/24","Site":"GPE1","Cliente":"12","Fecha Ultima Actualizacion":"📆🔄️ 15/04/2025 12:30","Nombre":"👤 MIRIAM ZURITA RAMIREZ","URL":"🌐 https://sistema.siip.mx/crm/client/12","Estado":"🟠 Suspendido","Resumen":"{\"Cliente\": \"12\",\"Domicilio\": \"\"Nombre\": \"MIRIAM ZURITA RAMIREZ\",\"URL\": \"https://sistema.siip.mx/crm/client/12\",\"Saldo Actual\": \"💲8933.33 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 29/01/2024 11:46 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"31/03/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Monto Ultimo Pago":"💲 3500","Fecha Ultimo Pago":"📆💸 29/01/2024 11:46 con Efectivo 💵"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-15 18:30:06.490839] [notice] Logging level set to:debug -[2025-04-15 18:30:06.667716] [debug] valor el evento recibido por webhook: service.edit - -[2025-04-15 18:30:06.667789] [debug] Valor de JSON: {"uuid":"940cac98-052f-4a45-9bee-53efe1ca0a06","changeType":"edit","entity":"service","entityId":"12","eventName":"service.edit","extraData":{"entity":{"id":12,"prepaid":false,"clientId":12,"status":3,"name":"INTERMEDIO","fullAddress":"DOLORES HIDALGO","street1":null,"street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1574,"addressGpsLon":-100.934617,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-09-01T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-30T00:00:00-0600","unmsClientSiteId":"3e675413-898b-41df-b264-63238da9d11e","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":8,"startDate":"2024-02-13T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":158,"startDate":"2025-04-15T12:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":12,"prepaid":false,"clientId":12,"status":1,"name":"INTERMEDIO","fullAddress":"DOLORES HIDALGO","street1":null,"street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1574,"addressGpsLon":-100.934617,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-09-01T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-30T00:00:00-0600","unmsClientSiteId":"3e675413-898b-41df-b264-63238da9d11e","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":8,"startDate":"2024-02-13T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":158,"startDate":"2025-04-15T12:30:02-0600","endDate":null}],"surcharges":[]}}} - -[2025-04-15 18:30:06.667906] [debug] Se editó el servicio a un cliente - -[2025-04-15 18:30:06.667951] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-15 18:30:06.667963] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-04-15 18:30:06.667999] [info] {"uuid":"940cac98-052f-4a45-9bee-53efe1ca0a06","changeType":"edit","entity":"service","entityId":12,"message":null,"clientId":12,"eventName":"service.edit","clientData":{"id":12,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"DOLORES HIDALGO","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MIRIAM","lastName":"ZURITA RAMIREZ","username":"mzurita12","contacts":[{"id":13,"clientId":12,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-8933.33,"accountCredit":0,"accountOutstanding":8933.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":{"id":12,"prepaid":false,"clientId":12,"status":3,"name":"INTERMEDIO","fullAddress":"DOLORES HIDALGO","street1":null,"street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1574,"addressGpsLon":-100.934617,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-09-01T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-30T00:00:00-0600","unmsClientSiteId":"3e675413-898b-41df-b264-63238da9d11e","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":8,"startDate":"2024-02-13T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":158,"startDate":"2025-04-15T00:00:00-0600","endDate":null}],"surcharges":[],"stopReason":"Payments overdue"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: MIRIAM ZURITA RAMIREZ - -UUID: 7ec1948ad8af4bcd8eff0d7c2a995d09 - -JSON con los datos a actualizar: {"name":"MIRIAM ZURITA RAMIREZ","custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 15\/04\/2025 12:30"}} - -Response Patch CallBell: {"contact":{"uuid":"7ec1948ad8af4bcd8eff0d7c2a995d09","name":"MIRIAM ZURITA RAMIREZ","phoneNumber":"5214181577623","avatarUrl":null,"createdAt":"2023-12-22T16:52:57Z","closedAt":"2025-01-07T23:12:30Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7ec1948ad8af4bcd8eff0d7c2a995d09","conversationHref":"https://dash.callbell.eu/chat/d06f5a96768c4945b7a659a6930e5fa0","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"124180650725363841","Saldo Actual":"💲8933.33 pendientes","user name":"Míriam Moctezuma","Domicilio":"📍 DOLORES HIDALGO","Antena/Sectorial":"Rocket Prism 5AC 172.16.12.12/24","Site":"GPE1","Cliente":"12","Fecha Ultima Actualizacion":"📆🔄️ 15/04/2025 12:30","Nombre":"👤 MIRIAM ZURITA RAMIREZ","URL":"🌐 https://sistema.siip.mx/crm/client/12","Estado":"🟠 Suspendido","Resumen":"{\"Cliente\": \"12\",\"Domicilio\": \"\"Nombre\": \"MIRIAM ZURITA RAMIREZ\",\"URL\": \"https://sistema.siip.mx/crm/client/12\",\"Saldo Actual\": \"💲8933.33 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 29/01/2024 11:46 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"31/03/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Monto Ultimo Pago":"💲 3500","Fecha Ultimo Pago":"📆💸 29/01/2024 11:46 con Efectivo 💵"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-15 18:30:08.329593] [notice] Logging level set to:debug -[2025-04-15 18:30:08.487071] [debug] valor el evento recibido por webhook: service.suspend - -[2025-04-15 18:30:08.487263] [debug] Valor de JSON: {"uuid":"2e439749-f092-454b-9ac2-eaa53692aa6a","changeType":"suspend","entity":"service","entityId":"8","eventName":"service.suspend","extraData":{"entity":{"id":8,"prepaid":false,"clientId":8,"status":3,"name":"INTERMEDIO","fullAddress":"EL BOBO, Dolores Hidalgo, 37800","street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.21484,"addressGpsLon":-100.8478122,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-30T00:00:00-0600","unmsClientSiteId":"ec679b32-9bca-4a26-8168-80e3e05b8f66","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":24,"startDate":"2024-02-15T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":144,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":159,"startDate":"2025-04-15T12:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":8,"prepaid":false,"clientId":8,"status":1,"name":"INTERMEDIO","fullAddress":"EL BOBO, Dolores Hidalgo, 37800","street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.21484,"addressGpsLon":-100.8478122,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-30T00:00:00-0600","unmsClientSiteId":"ec679b32-9bca-4a26-8168-80e3e05b8f66","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":24,"startDate":"2024-02-15T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":144,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":159,"startDate":"2025-04-15T12:30:02-0600","endDate":null}],"surcharges":[]}}} - -[2025-04-15 18:30:08.487416] [debug] Se suspendió el servicio a un cliente - -[2025-04-15 18:30:08.598225] [notice] Logging level set to:debug -[2025-04-15 18:30:08.768435] [debug] valor el evento recibido por webhook: service.edit - -[2025-04-15 18:30:08.768506] [debug] Valor de JSON: {"uuid":"27dff74e-18f8-4b8b-bdb3-765dbc01456d","changeType":"edit","entity":"service","entityId":"8","eventName":"service.edit","extraData":{"entity":{"id":8,"prepaid":false,"clientId":8,"status":3,"name":"INTERMEDIO","fullAddress":"EL BOBO, Dolores Hidalgo, 37800","street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.21484,"addressGpsLon":-100.8478122,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-30T00:00:00-0600","unmsClientSiteId":"ec679b32-9bca-4a26-8168-80e3e05b8f66","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":24,"startDate":"2024-02-15T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":144,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":159,"startDate":"2025-04-15T12:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":8,"prepaid":false,"clientId":8,"status":1,"name":"INTERMEDIO","fullAddress":"EL BOBO, Dolores Hidalgo, 37800","street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.21484,"addressGpsLon":-100.8478122,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2023-12-01T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-30T00:00:00-0600","unmsClientSiteId":"ec679b32-9bca-4a26-8168-80e3e05b8f66","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":24,"startDate":"2024-02-15T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":144,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":159,"startDate":"2025-04-15T12:30:02-0600","endDate":null}],"surcharges":[]}}} - -[2025-04-15 18:30:08.768604] [debug] Se editó el servicio a un cliente - -[2025-04-15 18:30:08.883733] [notice] Logging level set to:debug -[2025-04-15 18:30:09.078067] [debug] valor el evento recibido por webhook: service.suspend - -[2025-04-15 18:30:09.078176] [debug] Valor de JSON: {"uuid":"af1f39a8-19b8-46e9-9a82-a9f67c543773","changeType":"suspend","entity":"service","entityId":"11","eventName":"service.suspend","extraData":{"entity":{"id":11,"prepaid":false,"clientId":11,"status":3,"name":"plan300","fullAddress":"TRANCAS, Dolores Hidalgo, 37800","street1":"TRANCAS","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.2271959,"addressGpsLon":-101.0269744,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00: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":"plan300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":6,"uploadSpeed":6,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-30T00:00:00-0600","unmsClientSiteId":"38056738-5253-4a9d-a64b-4c1ebc64e062","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":93,"startDate":"2024-03-15T00:00:00-0600","endDate":"2024-06-21T00:00:00-0600"},{"id":105,"startDate":"2024-07-16T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":160,"startDate":"2025-04-15T12:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":11,"prepaid":false,"clientId":11,"status":1,"name":"plan300","fullAddress":"TRANCAS, Dolores Hidalgo, 37800","street1":"TRANCAS","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.2271959,"addressGpsLon":-101.0269744,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00: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":"plan300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":6,"uploadSpeed":6,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-30T00:00:00-0600","unmsClientSiteId":"38056738-5253-4a9d-a64b-4c1ebc64e062","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":93,"startDate":"2024-03-15T00:00:00-0600","endDate":"2024-06-21T00:00:00-0600"},{"id":105,"startDate":"2024-07-16T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":160,"startDate":"2025-04-15T12:30:02-0600","endDate":null}],"surcharges":[]}}} - -[2025-04-15 18:30:09.078304] [debug] Se suspendió el servicio a un cliente - -[2025-04-15 18:30:09.194133] [notice] Logging level set to:debug -[2025-04-15 18:30:09.362380] [debug] valor el evento recibido por webhook: service.edit - -[2025-04-15 18:30:09.362461] [debug] Valor de JSON: {"uuid":"af9bef4f-e0e0-4c3c-a144-fbc5e2e8faf4","changeType":"edit","entity":"service","entityId":"11","eventName":"service.edit","extraData":{"entity":{"id":11,"prepaid":false,"clientId":11,"status":3,"name":"plan300","fullAddress":"TRANCAS, Dolores Hidalgo, 37800","street1":"TRANCAS","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.2271959,"addressGpsLon":-101.0269744,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00: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":"plan300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":6,"uploadSpeed":6,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-30T00:00:00-0600","unmsClientSiteId":"38056738-5253-4a9d-a64b-4c1ebc64e062","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":93,"startDate":"2024-03-15T00:00:00-0600","endDate":"2024-06-21T00:00:00-0600"},{"id":105,"startDate":"2024-07-16T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":160,"startDate":"2025-04-15T12:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":11,"prepaid":false,"clientId":11,"status":1,"name":"plan300","fullAddress":"TRANCAS, Dolores Hidalgo, 37800","street1":"TRANCAS","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.2271959,"addressGpsLon":-101.0269744,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-29T00: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":"plan300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":6,"uploadSpeed":6,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-03-30T00:00:00-0600","unmsClientSiteId":"38056738-5253-4a9d-a64b-4c1ebc64e062","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":93,"startDate":"2024-03-15T00:00:00-0600","endDate":"2024-06-21T00:00:00-0600"},{"id":105,"startDate":"2024-07-16T00:00:00-0600","endDate":"2025-03-15T00:00:00-0600"},{"id":160,"startDate":"2025-04-15T12:30:02-0600","endDate":null}],"surcharges":[]}}} - -[2025-04-15 18:30:09.362586] [debug] Se editó el servicio a un cliente - -[2025-04-16 6:25:02.794265] [notice] Logging level set to:debug -[2025-04-16 6:25:02.996243] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-16 6:25:02.996459] [debug] Valor de JSON: {"uuid":"f1af2a69-b739-483d-85c8-c5a007b83cfe","changeType":"overdue","entity":"invoice","entityId":"1811","eventName":"invoice.overdue","extraData":{"entity":{"id":1811,"clientId":132,"number":"001761","createdDate":"2025-04-01T10:00:01-0600","dueDate":"2025-04-15T10:00:01-0600","emailSentDate":"2025-04-16T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-30T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1814,"type":"service","label":"plan300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":115,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Marto","clientLastName":"Vago Payaso","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"20 Avenida Norte","clientStreet2":null,"clientCity":"Guanajuato","clientCountryId":173,"clientStateId":null,"clientZipCode":"37807","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-16 6:25:02.996728] [debug] Factura vencida - -[2025-04-16 6:25:02.996819] [debug] datos del notification para el invoice overdue:{"uuid":"f1af2a69-b739-483d-85c8-c5a007b83cfe","changeType":"overdue","entity":"invoice","entityId":1811,"message":null,"clientId":132,"eventName":"invoice.overdue","clientData":{"id":132,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"20 Avenida Norte","street2":null,"city":"Guanajuato","countryId":173,"stateId":null,"zipCode":"37807","fullAddress":"Avenida Norte 20, Dolores, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Marto","lastName":"Vago Payaso","username":null,"contacts":[{"id":136,"clientId":132,"email":"vagopayaso@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-2700,"accountCredit":0,"accountOutstanding":2700,"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":1811,"clientId":132,"number":"001761","createdDate":"2025-04-01T10:00:01-0600","dueDate":"2025-04-15T10:00:01-0600","emailSentDate":"2025-04-16T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-03-30T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1814,"type":"service","label":"plan300 01\/03\/2025 \u2013 31\/03\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":115,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Marto","clientLastName":"Vago Payaso","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"20 Avenida Norte","clientStreet2":null,"clientCity":"Guanajuato","clientCountryId":173,"clientStateId":null,"clientZipCode":"37807","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-16 6:25:02.996876] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -contac vacio -[2025-04-16 6:25:02.997097] [debug] Numero de cel obtenido - -[2025-04-16 6:25:02.997137] [warning] No se encontró un teléfono celular válido para el cliente: 132 -[2025-04-20 16:00:04.652978] [notice] Logging level set to:debug -[2025-04-20 16:00:04.789289] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-20 16:00:04.789346] [debug] Valor de JSON: {"uuid":"66ead50a-240d-4572-9988-2c96ae9bc013","changeType":"insert","entity":"invoice","entityId":"1819","eventName":"invoice.add_draft","extraData":{"entity":{"id":1819,"clientId":121,"number":"001769","createdDate":"2025-04-20T10:00:01-0600","dueDate":"2025-05-04T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-19T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1822,"type":"service","label":"INTERMEDIO 20\/03\/2025 \u2013 19\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":106,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"flor","clientLastName":"marquez gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"plutarco elias calles 8,lindavista","clientStreet2":"enfrente del parque","clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-20 16:00:04.789560] [debug] Adición de borrador de Factura - -[2025-04-20 16:00:04.789618] [debug] {"uuid":"66ead50a-240d-4572-9988-2c96ae9bc013","changeType":"insert","entity":"invoice","entityId":1819,"message":null,"clientId":121,"eventName":"invoice.add_draft","clientData":{"id":121,"userIdent":"-105.998","previousIsp":"angel","isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"plutarco elias calles 8,lindavista","street2":"enfrente del parque","city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"plutarco elias calles 8,lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":false,"invoiceMaturityDays":null,"stopServiceDue":false,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-05-20T00:00:00-0600","leadConvertedAt":"2024-05-20T13:45:39-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"flor","lastName":"marquez gonzalez","username":null,"contacts":[{"id":125,"clientId":121,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":120,"clientId":121,"customAttributeId":2,"name":"CelularNotificaciones","key":"celularnotificaciones","value":"172.16.117.243","clientZoneVisible":true},{"id":121,"clientId":121,"customAttributeId":4,"name":"Whatsapp","key":"whatsapp","value":"Siip.567","clientZoneVisible":true},{"id":122,"clientId":121,"customAttributeId":5,"name":"uuid","key":"uuid","value":"admin1343","clientZoneVisible":true},{"id":123,"clientId":121,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"22372x9000055","clientZoneVisible":true},{"id":124,"clientId":121,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"21.9758566","clientZoneVisible":true}],"accountBalance":-5316.67,"accountCredit":0,"accountOutstanding":5316.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.5,"addressGpsLon":-100,"isArchived":false,"generateProformaInvoices":false,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1819,"clientId":121,"number":"001769","createdDate":"2025-04-20T10:00:01-0600","dueDate":"2025-05-04T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-18T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1822,"type":"service","label":"INTERMEDIO 20\/03\/2025 \u2013 19\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":106,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"flor","clientLastName":"marquez gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"plutarco elias calles 8,lindavista","clientStreet2":"enfrente del parque","clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-20 16:00:04.944750] [notice] Logging level set to:debug -[2025-04-20 16:00:05.136704] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-20 16:00:05.136759] [debug] Valor de JSON: {"uuid":"0fd1f5c3-b6c2-4e6b-9326-a45d82cf5432","changeType":"draft_approved","entity":"invoice","entityId":"1819","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1819,"clientId":121,"number":"001769","createdDate":"2025-04-20T10:00:01-0600","dueDate":"2025-05-04T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-19T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1822,"type":"service","label":"INTERMEDIO 20\/03\/2025 \u2013 19\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":106,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"flor","clientLastName":"marquez gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"plutarco elias calles 8,lindavista","clientStreet2":"enfrente del parque","clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-20 16:00:05.136871] [debug] Aprobación de Factura - -[2025-04-20 16:00:05.136919] [debug] {"uuid":"0fd1f5c3-b6c2-4e6b-9326-a45d82cf5432","changeType":"draft_approved","entity":"invoice","entityId":1819,"message":null,"clientId":121,"eventName":"invoice.draft_approved","clientData":{"id":121,"userIdent":"-105.998","previousIsp":"angel","isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"plutarco elias calles 8,lindavista","street2":"enfrente del parque","city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"plutarco elias calles 8,lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":false,"invoiceMaturityDays":null,"stopServiceDue":false,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-05-20T00:00:00-0600","leadConvertedAt":"2024-05-20T13:45:39-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"flor","lastName":"marquez gonzalez","username":null,"contacts":[{"id":125,"clientId":121,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":120,"clientId":121,"customAttributeId":2,"name":"CelularNotificaciones","key":"celularnotificaciones","value":"172.16.117.243","clientZoneVisible":true},{"id":121,"clientId":121,"customAttributeId":4,"name":"Whatsapp","key":"whatsapp","value":"Siip.567","clientZoneVisible":true},{"id":122,"clientId":121,"customAttributeId":5,"name":"uuid","key":"uuid","value":"admin1343","clientZoneVisible":true},{"id":123,"clientId":121,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"22372x9000055","clientZoneVisible":true},{"id":124,"clientId":121,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"21.9758566","clientZoneVisible":true}],"accountBalance":-5316.67,"accountCredit":0,"accountOutstanding":5316.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.5,"addressGpsLon":-100,"isArchived":false,"generateProformaInvoices":false,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1819,"clientId":121,"number":"001769","createdDate":"2025-04-20T10:00:01-0600","dueDate":"2025-05-04T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-18T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1822,"type":"service","label":"INTERMEDIO 20\/03\/2025 \u2013 19\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":106,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"flor","clientLastName":"marquez gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"plutarco elias calles 8,lindavista","clientStreet2":"enfrente del parque","clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-20 16:00:06.095386] [notice] Logging level set to:debug -[2025-04-20 16:00:06.243973] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-20 16:00:06.244034] [debug] Valor de JSON: {"uuid":"999155a9-e799-4d08-a6fd-b429e24e6fa3","changeType":"insert","entity":"invoice","entityId":"1820","eventName":"invoice.add_draft","extraData":{"entity":{"id":1820,"clientId":122,"number":"001770","createdDate":"2025-04-20T10:00:01-0600","dueDate":"2025-05-04T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-19T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1823,"type":"service","label":"plan300 20\/03\/2025 \u2013 19\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":107,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"MARQUEZ GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PLTARCO 8, LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-20 16:00:06.244143] [debug] Adición de borrador de Factura - -[2025-04-20 16:00:06.244190] [debug] {"uuid":"999155a9-e799-4d08-a6fd-b429e24e6fa3","changeType":"insert","entity":"invoice","entityId":1820,"message":null,"clientId":122,"eventName":"invoice.add_draft","clientData":{"id":122,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"PLTARCO 8, LINDAVISTA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"PLTARCO 8, LINDAVISTA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-05-20T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JUDITH","lastName":"MARQUEZ GONZALEZ","username":null,"contacts":[{"id":126,"clientId":122,"email":null,"phone":"55667788","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":125,"clientId":122,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Q8uWOC8sjQem1K","clientZoneVisible":true},{"id":126,"clientId":122,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180296730137251","clientZoneVisible":true}],"accountBalance":-5190,"accountCredit":0,"accountOutstanding":5190,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.171581132292,"addressGpsLon":-100.9286433436,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1820,"clientId":122,"number":"001770","createdDate":"2025-04-20T10:00:01-0600","dueDate":"2025-05-04T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-18T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1823,"type":"service","label":"plan300 20\/03\/2025 \u2013 19\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":107,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"MARQUEZ GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PLTARCO 8, LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-20 16:00:06.356754] [notice] Logging level set to:debug -[2025-04-20 16:00:06.502526] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-20 16:00:06.502580] [debug] Valor de JSON: {"uuid":"f38ddb60-9491-4b21-8232-71cb92178268","changeType":"draft_approved","entity":"invoice","entityId":"1820","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1820,"clientId":122,"number":"001770","createdDate":"2025-04-20T10:00:01-0600","dueDate":"2025-05-04T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-19T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1823,"type":"service","label":"plan300 20\/03\/2025 \u2013 19\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":107,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"MARQUEZ GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PLTARCO 8, LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-20 16:00:06.502679] [debug] Aprobación de Factura - -[2025-04-20 16:00:06.502723] [debug] {"uuid":"f38ddb60-9491-4b21-8232-71cb92178268","changeType":"draft_approved","entity":"invoice","entityId":1820,"message":null,"clientId":122,"eventName":"invoice.draft_approved","clientData":{"id":122,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"PLTARCO 8, LINDAVISTA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"PLTARCO 8, LINDAVISTA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-05-20T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JUDITH","lastName":"MARQUEZ GONZALEZ","username":null,"contacts":[{"id":126,"clientId":122,"email":null,"phone":"55667788","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":125,"clientId":122,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Q8uWOC8sjQem1K","clientZoneVisible":true},{"id":126,"clientId":122,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180296730137251","clientZoneVisible":true}],"accountBalance":-5190,"accountCredit":0,"accountOutstanding":5190,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.171581132292,"addressGpsLon":-100.9286433436,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1820,"clientId":122,"number":"001770","createdDate":"2025-04-20T10:00:01-0600","dueDate":"2025-05-04T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-18T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1823,"type":"service","label":"plan300 20\/03\/2025 \u2013 19\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":107,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"MARQUEZ GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PLTARCO 8, LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-21 16:00:03.298732] [notice] Logging level set to:debug -[2025-04-21 16:00:03.466705] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-21 16:00:03.466764] [debug] Valor de JSON: {"uuid":"c2a05191-8ad6-48ec-84c4-030dcd24eca9","changeType":"insert","entity":"invoice","entityId":"1821","eventName":"invoice.add_draft","extraData":{"entity":{"id":1821,"clientId":138,"number":"001771","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1824,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":148,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Mofles","clientLastName":"El Ruco Lopez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"89 Baja California Sur","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-21 16:00:03.466989] [debug] Adición de borrador de Factura - -[2025-04-21 16:00:03.467041] [debug] {"uuid":"c2a05191-8ad6-48ec-84c4-030dcd24eca9","changeType":"insert","entity":"invoice","entityId":1821,"message":null,"clientId":138,"eventName":"invoice.add_draft","clientData":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":186,"clientId":138,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0ELEIMpRfdeLs","clientZoneVisible":true},{"id":187,"clientId":138,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180174170666420","clientZoneVisible":true}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1821,"clientId":138,"number":"001771","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1824,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":148,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Mofles","clientLastName":"El Ruco Lopez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"89 Baja California Sur","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-21 16:00:03.467107] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-21 16:00:03.467117] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"c2a05191-8ad6-48ec-84c4-030dcd24eca9","changeType":"insert","entity":"invoice","entityId":1821,"message":null,"clientId":138,"eventName":"invoice.add_draft","clientData":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":186,"clientId":138,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0ELEIMpRfdeLs","clientZoneVisible":true},{"id":187,"clientId":138,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180174170666420","clientZoneVisible":true}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1821,"clientId":138,"number":"001771","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1824,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":148,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Mofles","clientLastName":"El Ruco Lopez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"89 Baja California Sur","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":584,"clientId":138,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:12:19-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-02-14T13:13:16-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":689,"invoiceId":1710,"paymentId":584,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1015,"attributes":[]}] - -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":{"Cliente":138,"Domicilio":"\ud83d\udccd Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Mofles El Ruco Lopez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/138","Saldo Actual":"\ud83d\udcb2300 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"138\",\"Domicilio\": \"\"Nombre\": \"Mofles El Ruco Lopez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/138\",\"Saldo Actual\": \"\ud83d\udcb2300 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/02\/2025 13:12 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"21\/04\/2025 10:00\",\"Clabe Interbancaria\": \"124180174170666420\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/02\/2025 13:12 con Personalizado \ud83d\udcdd\ud83d\udcb8","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2025 10:00","Clabe Interbancaria":"124180174170666420","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "138","Domicilio": ""Nombre": "Mofles El Ruco Lopez","URL": "https://sistema.siip.mx/crm/client/138","Saldo Actual": "💲300 pendientes","Monto Ultimo Pago": "$ 300","Estado": "Activo","Fecha Ultimo Pago": " 14/02/2025 13:12 con Personalizado 📝💸","Fecha Ultima Actualizacion": "21/04/2025 10:00","Clabe Interbancaria": "124180174170666420","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Mofles El Ruco Lopez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"138","Clabe Interbancaria":"124180174170666420","Estado":"🟢 Activo ","Saldo Actual":"💲300 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 14/02/2025 13:12 con Personalizado 📝💸","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Nombre":"👤 Mofles El Ruco Lopez","Monto Ultimo Pago":"💲 300","Resumen":"{\"Cliente\": \"138\",\"Domicilio\": \"\"Nombre\": \"Mofles El Ruco Lopez\",\"URL\": \"https://sistema.siip.mx/crm/client/138\",\"Saldo Actual\": \"💲300 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14/02/2025 13:12 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"124180174170666420\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","URL":"🌐 https://sistema.siip.mx/crm/client/138"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Mofles El Ruco Lopez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"138","Clabe Interbancaria":"124180174170666420","Estado":"🟢 Activo ","Saldo Actual":"💲300 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 14/02/2025 13:12 con Personalizado 📝💸","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Nombre":"👤 Mofles El Ruco Lopez","Monto Ultimo Pago":"💲 300","Resumen":"{\"Cliente\": \"138\",\"Domicilio\": \"\"Nombre\": \"Mofles El Ruco Lopez\",\"URL\": \"https://sistema.siip.mx/crm/client/138\",\"Saldo Actual\": \"💲300 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14/02/2025 13:12 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"124180174170666420\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","URL":"🌐 https://sistema.siip.mx/crm/client/138"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-21 16:00:05.419878] [notice] Logging level set to:debug -[2025-04-21 16:00:05.609304] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-21 16:00:05.609360] [debug] Valor de JSON: {"uuid":"6dc12045-cd04-4426-94dc-5de8e077ef35","changeType":"draft_approved","entity":"invoice","entityId":"1821","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1821,"clientId":138,"number":"001771","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1824,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":148,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Mofles","clientLastName":"El Ruco Lopez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"89 Baja California Sur","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-21 16:00:05.609471] [debug] Aprobación de Factura - -[2025-04-21 16:00:05.609659] [debug] {"uuid":"6dc12045-cd04-4426-94dc-5de8e077ef35","changeType":"draft_approved","entity":"invoice","entityId":1821,"message":null,"clientId":138,"eventName":"invoice.draft_approved","clientData":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":186,"clientId":138,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0ELEIMpRfdeLs","clientZoneVisible":true},{"id":187,"clientId":138,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180174170666420","clientZoneVisible":true}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1821,"clientId":138,"number":"001771","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1824,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":148,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Mofles","clientLastName":"El Ruco Lopez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"89 Baja California Sur","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-21 16:00:05.609694] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-21 16:00:05.609705] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"6dc12045-cd04-4426-94dc-5de8e077ef35","changeType":"draft_approved","entity":"invoice","entityId":1821,"message":null,"clientId":138,"eventName":"invoice.draft_approved","clientData":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":186,"clientId":138,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0ELEIMpRfdeLs","clientZoneVisible":true},{"id":187,"clientId":138,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180174170666420","clientZoneVisible":true}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1821,"clientId":138,"number":"001771","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1824,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":148,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Mofles","clientLastName":"El Ruco Lopez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"89 Baja California Sur","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":584,"clientId":138,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2025-02-14T13:12:19-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-02-14T13:13:16-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":689,"invoiceId":1710,"paymentId":584,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1015,"attributes":[]}] - -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":{"Cliente":138,"Domicilio":"\ud83d\udccd Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Mofles El Ruco Lopez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/138","Saldo Actual":"\ud83d\udcb2300 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"138\",\"Domicilio\": \"\"Nombre\": \"Mofles El Ruco Lopez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/138\",\"Saldo Actual\": \"\ud83d\udcb2300 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/02\/2025 13:12 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"21\/04\/2025 10:00\",\"Clabe Interbancaria\": \"124180174170666420\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/02\/2025 13:12 con Personalizado \ud83d\udcdd\ud83d\udcb8","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2025 10:00","Clabe Interbancaria":"124180174170666420","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "138","Domicilio": ""Nombre": "Mofles El Ruco Lopez","URL": "https://sistema.siip.mx/crm/client/138","Saldo Actual": "💲300 pendientes","Monto Ultimo Pago": "$ 300","Estado": "Activo","Fecha Ultimo Pago": " 14/02/2025 13:12 con Personalizado 📝💸","Fecha Ultima Actualizacion": "21/04/2025 10:00","Clabe Interbancaria": "124180174170666420","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Mofles El Ruco Lopez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"138","Clabe Interbancaria":"124180174170666420","Estado":"🟢 Activo ","Saldo Actual":"💲300 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 14/02/2025 13:12 con Personalizado 📝💸","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Nombre":"👤 Mofles El Ruco Lopez","Monto Ultimo Pago":"💲 300","Resumen":"{\"Cliente\": \"138\",\"Domicilio\": \"\"Nombre\": \"Mofles El Ruco Lopez\",\"URL\": \"https://sistema.siip.mx/crm/client/138\",\"Saldo Actual\": \"💲300 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14/02/2025 13:12 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"124180174170666420\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","URL":"🌐 https://sistema.siip.mx/crm/client/138"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Mofles El Ruco Lopez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Cliente":"138","Clabe Interbancaria":"124180174170666420","Estado":"🟢 Activo ","Saldo Actual":"💲300 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 14/02/2025 13:12 con Personalizado 📝💸","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Nombre":"👤 Mofles El Ruco Lopez","Monto Ultimo Pago":"💲 300","Resumen":"{\"Cliente\": \"138\",\"Domicilio\": \"\"Nombre\": \"Mofles El Ruco Lopez\",\"URL\": \"https://sistema.siip.mx/crm/client/138\",\"Saldo Actual\": \"💲300 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14/02/2025 13:12 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"124180174170666420\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","URL":"🌐 https://sistema.siip.mx/crm/client/138"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-21 16:00:08.256664] [notice] Logging level set to:debug -[2025-04-21 16:00:08.411309] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-21 16:00:08.411365] [debug] Valor de JSON: {"uuid":"cc466c8a-e2da-442e-8e5b-d89abf1220d7","changeType":"insert","entity":"invoice","entityId":"1822","eventName":"invoice.add_draft","extraData":{"entity":{"id":1822,"clientId":146,"number":"001772","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1825,"type":"service","label":"Basico 300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":131,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-21 16:00:08.411490] [debug] Adición de borrador de Factura - -[2025-04-21 16:00:08.411539] [debug] {"uuid":"cc466c8a-e2da-442e-8e5b-d89abf1220d7","changeType":"insert","entity":"invoice","entityId":1822,"message":null,"clientId":146,"eventName":"invoice.add_draft","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"4188897415","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true}],"accountBalance":-1100,"accountCredit":0,"accountOutstanding":1100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1822,"clientId":146,"number":"001772","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1825,"type":"service","label":"Basico 300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":131,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-21 16:00:08.411581] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-21 16:00:08.411592] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"cc466c8a-e2da-442e-8e5b-d89abf1220d7","changeType":"insert","entity":"invoice","entityId":1822,"message":null,"clientId":146,"eventName":"invoice.add_draft","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"4188897415","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true}],"accountBalance":-1100,"accountCredit":0,"accountOutstanding":1100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1822,"clientId":146,"number":"001772","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1825,"type":"service","label":"Basico 300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":131,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Delfino De los Mares - -UUID: - -JSON con los datos a actualizar: {"name":"Delfino De los Mares","custom_fields":{"Cliente":146,"Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Delfino De los Mares","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Saldo Actual":"\ud83d\udcb21100 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"146\",\"Domicilio\": \"\"Nombre\": \"Delfino De los Mares\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb21100 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21\/04\/2025 10:00\",\"Clabe Interbancaria\": \"002180695453333629\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 21\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2025 10:00","Clabe Interbancaria":"002180695453333629","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "146","Domicilio": ""Nombre": "Delfino De los Mares","URL": "https://sistema.siip.mx/crm/client/146","Saldo Actual": "💲1100 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "21/04/2025 10:00","Clabe Interbancaria": "002180695453333629","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: - -Response 2 Patch CallBell: - -[2025-04-21 16:00:10.039566] [notice] Logging level set to:debug -[2025-04-21 16:00:10.182704] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-21 16:00:10.182758] [debug] Valor de JSON: {"uuid":"8d82acdc-cb39-47b7-ad52-46f003565c51","changeType":"draft_approved","entity":"invoice","entityId":"1822","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1822,"clientId":146,"number":"001772","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1825,"type":"service","label":"Basico 300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":131,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-21 16:00:10.182862] [debug] Aprobación de Factura - -[2025-04-21 16:00:10.183042] [debug] {"uuid":"8d82acdc-cb39-47b7-ad52-46f003565c51","changeType":"draft_approved","entity":"invoice","entityId":1822,"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":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"4188897415","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true}],"accountBalance":-1100,"accountCredit":0,"accountOutstanding":1100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1822,"clientId":146,"number":"001772","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1825,"type":"service","label":"Basico 300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":131,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-21 16:00:10.183080] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-21 16:00:10.183090] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"8d82acdc-cb39-47b7-ad52-46f003565c51","changeType":"draft_approved","entity":"invoice","entityId":1822,"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":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"4188897415","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true}],"accountBalance":-1100,"accountCredit":0,"accountOutstanding":1100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1822,"clientId":146,"number":"001772","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1825,"type":"service","label":"Basico 300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":131,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Delfino De los Mares - -UUID: - -JSON con los datos a actualizar: {"name":"Delfino De los Mares","custom_fields":{"Cliente":146,"Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Delfino De los Mares","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Saldo Actual":"\ud83d\udcb21100 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"146\",\"Domicilio\": \"\"Nombre\": \"Delfino De los Mares\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb21100 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21\/04\/2025 10:00\",\"Clabe Interbancaria\": \"002180695453333629\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 21\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2025 10:00","Clabe Interbancaria":"002180695453333629","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "146","Domicilio": ""Nombre": "Delfino De los Mares","URL": "https://sistema.siip.mx/crm/client/146","Saldo Actual": "💲1100 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "21/04/2025 10:00","Clabe Interbancaria": "002180695453333629","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: - -Response 2 Patch CallBell: - -[2025-04-21 16:00:12.263685] [notice] Logging level set to:debug -[2025-04-21 16:00:12.424477] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-21 16:00:12.424535] [debug] Valor de JSON: {"uuid":"7336e0c7-1003-435c-b6ac-45f23d3844e4","changeType":"insert","entity":"invoice","entityId":"1823","eventName":"invoice.add_draft","extraData":{"entity":{"id":1823,"clientId":129,"number":"001773","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1826,"type":"service","label":"INTERMEDIO 01\/04\/2025 \u2013 30\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":117,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Loco","clientLastName":"Valdez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-21 16:00:12.424665] [debug] Adición de borrador de Factura - -[2025-04-21 16:00:12.424715] [debug] {"uuid":"7336e0c7-1003-435c-b6ac-45f23d3844e4","changeType":"insert","entity":"invoice","entityId":1823,"message":null,"clientId":129,"eventName":"invoice.add_draft","clientData":{"id":129,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-17T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Loco","lastName":"Valdez","username":null,"contacts":[{"id":133,"clientId":129,"email":"pepepeltoro141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":133,"clientId":129,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJSCgri287Ic0V","clientZoneVisible":true},{"id":134,"clientId":129,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180966482840265","clientZoneVisible":true}],"accountBalance":-2250,"accountCredit":0,"accountOutstanding":2250,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00897b","addressGpsLat":21.1608752,"addressGpsLon":-100.935835,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1823,"clientId":129,"number":"001773","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1826,"type":"service","label":"INTERMEDIO 01\/04\/2025 \u2013 30\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":117,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Loco","clientLastName":"Valdez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-21 16:00:12.424760] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-21 16:00:12.424770] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"7336e0c7-1003-435c-b6ac-45f23d3844e4","changeType":"insert","entity":"invoice","entityId":1823,"message":null,"clientId":129,"eventName":"invoice.add_draft","clientData":{"id":129,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-17T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Loco","lastName":"Valdez","username":null,"contacts":[{"id":133,"clientId":129,"email":"pepepeltoro141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":133,"clientId":129,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJSCgri287Ic0V","clientZoneVisible":true},{"id":134,"clientId":129,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180966482840265","clientZoneVisible":true}],"accountBalance":-2250,"accountCredit":0,"accountOutstanding":2250,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00897b","addressGpsLat":21.1608752,"addressGpsLon":-100.935835,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1823,"clientId":129,"number":"001773","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1826,"type":"service","label":"INTERMEDIO 01\/04\/2025 \u2013 30\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":117,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Loco","clientLastName":"Valdez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":375,"clientId":129,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2024-09-27T14:50:47-0600","amount":250,"currencyCode":"MXN","note":null,"receiptSentDate":"2024-09-27T14:50:48-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":425,"invoiceId":976,"paymentId":375,"creditNoteId":null,"refundId":null,"amount":250}],"creditAmount":0,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: El Loco Valdez - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"El Loco Valdez","custom_fields":{"Cliente":129,"Domicilio":"\ud83d\udccd Coahuila 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 El Loco Valdez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/129","Saldo Actual":"\ud83d\udcb22250 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 250","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"129\",\"Domicilio\": \"\"Nombre\": \"El Loco Valdez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/129\",\"Saldo Actual\": \"\ud83d\udcb22250 pendientes\",\"Monto Ultimo Pago\": \"$ 250\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 27\/09\/2024 14:50 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"21\/04\/2025 10:00\",\"Clabe Interbancaria\": \"002180966482840265\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 27\/09\/2024 14:50 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2025 10:00","Clabe Interbancaria":"002180966482840265","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "129","Domicilio": ""Nombre": "El Loco Valdez","URL": "https://sistema.siip.mx/crm/client/129","Saldo Actual": "💲2250 pendientes","Monto Ultimo Pago": "$ 250","Estado": "Suspendido","Fecha Ultimo Pago": " 27/09/2024 14:50 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "21/04/2025 10:00","Clabe Interbancaria": "002180966482840265","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Loco Valdez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲2250 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Coahuila 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Monto Ultimo Pago":"💲 250","Resumen":"{\"Cliente\": \"129\",\"Domicilio\": \"\"Nombre\": \"El Loco Valdez\",\"URL\": \"https://sistema.siip.mx/crm/client/129\",\"Saldo Actual\": \"💲2250 pendientes\",\"Monto Ultimo Pago\": \"$ 250\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 27/09/2024 14:50 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"002180966482840265\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"002180966482840265","Cliente":"129","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 27/09/2024 14:50 con Tarjeta de crédito Stripe 💳","Nombre":"👤 El Loco Valdez","URL":"🌐 https://sistema.siip.mx/crm/client/129"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Loco Valdez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲2250 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Coahuila 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Monto Ultimo Pago":"💲 250","Resumen":"{\"Cliente\": \"129\",\"Domicilio\": \"\"Nombre\": \"El Loco Valdez\",\"URL\": \"https://sistema.siip.mx/crm/client/129\",\"Saldo Actual\": \"💲2250 pendientes\",\"Monto Ultimo Pago\": \"$ 250\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 27/09/2024 14:50 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"002180966482840265\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"002180966482840265","Cliente":"129","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 27/09/2024 14:50 con Tarjeta de crédito Stripe 💳","Nombre":"👤 El Loco Valdez","URL":"🌐 https://sistema.siip.mx/crm/client/129"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-21 16:00:14.827621] [notice] Logging level set to:debug -[2025-04-21 16:00:14.973181] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-21 16:00:14.973232] [debug] Valor de JSON: {"uuid":"5e4b9ce8-7809-41da-ad3c-76b2c38b5cb4","changeType":"draft_approved","entity":"invoice","entityId":"1823","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1823,"clientId":129,"number":"001773","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1826,"type":"service","label":"INTERMEDIO 01\/04\/2025 \u2013 30\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":117,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Loco","clientLastName":"Valdez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-21 16:00:14.973346] [debug] Aprobación de Factura - -[2025-04-21 16:00:14.973393] [debug] {"uuid":"5e4b9ce8-7809-41da-ad3c-76b2c38b5cb4","changeType":"draft_approved","entity":"invoice","entityId":1823,"message":null,"clientId":129,"eventName":"invoice.draft_approved","clientData":{"id":129,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-17T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Loco","lastName":"Valdez","username":null,"contacts":[{"id":133,"clientId":129,"email":"pepepeltoro141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":133,"clientId":129,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJSCgri287Ic0V","clientZoneVisible":true},{"id":134,"clientId":129,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180966482840265","clientZoneVisible":true}],"accountBalance":-2250,"accountCredit":0,"accountOutstanding":2250,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00897b","addressGpsLat":21.1608752,"addressGpsLon":-100.935835,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1823,"clientId":129,"number":"001773","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1826,"type":"service","label":"INTERMEDIO 01\/04\/2025 \u2013 30\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":117,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Loco","clientLastName":"Valdez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-21 16:00:14.973424] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-21 16:00:14.973436] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"5e4b9ce8-7809-41da-ad3c-76b2c38b5cb4","changeType":"draft_approved","entity":"invoice","entityId":1823,"message":null,"clientId":129,"eventName":"invoice.draft_approved","clientData":{"id":129,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-17T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Loco","lastName":"Valdez","username":null,"contacts":[{"id":133,"clientId":129,"email":"pepepeltoro141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":133,"clientId":129,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJSCgri287Ic0V","clientZoneVisible":true},{"id":134,"clientId":129,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180966482840265","clientZoneVisible":true}],"accountBalance":-2250,"accountCredit":0,"accountOutstanding":2250,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00897b","addressGpsLat":21.1608752,"addressGpsLon":-100.935835,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1823,"clientId":129,"number":"001773","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1826,"type":"service","label":"INTERMEDIO 01\/04\/2025 \u2013 30\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":117,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Loco","clientLastName":"Valdez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":375,"clientId":129,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2024-09-27T14:50:47-0600","amount":250,"currencyCode":"MXN","note":null,"receiptSentDate":"2024-09-27T14:50:48-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":425,"invoiceId":976,"paymentId":375,"creditNoteId":null,"refundId":null,"amount":250}],"creditAmount":0,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: El Loco Valdez - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"El Loco Valdez","custom_fields":{"Cliente":129,"Domicilio":"\ud83d\udccd Coahuila 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 El Loco Valdez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/129","Saldo Actual":"\ud83d\udcb22250 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 250","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"129\",\"Domicilio\": \"\"Nombre\": \"El Loco Valdez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/129\",\"Saldo Actual\": \"\ud83d\udcb22250 pendientes\",\"Monto Ultimo Pago\": \"$ 250\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 27\/09\/2024 14:50 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"21\/04\/2025 10:00\",\"Clabe Interbancaria\": \"002180966482840265\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 27\/09\/2024 14:50 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2025 10:00","Clabe Interbancaria":"002180966482840265","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "129","Domicilio": ""Nombre": "El Loco Valdez","URL": "https://sistema.siip.mx/crm/client/129","Saldo Actual": "💲2250 pendientes","Monto Ultimo Pago": "$ 250","Estado": "Suspendido","Fecha Ultimo Pago": " 27/09/2024 14:50 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "21/04/2025 10:00","Clabe Interbancaria": "002180966482840265","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Loco Valdez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲2250 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Coahuila 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Monto Ultimo Pago":"💲 250","Resumen":"{\"Cliente\": \"129\",\"Domicilio\": \"\"Nombre\": \"El Loco Valdez\",\"URL\": \"https://sistema.siip.mx/crm/client/129\",\"Saldo Actual\": \"💲2250 pendientes\",\"Monto Ultimo Pago\": \"$ 250\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 27/09/2024 14:50 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"002180966482840265\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"002180966482840265","Cliente":"129","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 27/09/2024 14:50 con Tarjeta de crédito Stripe 💳","Nombre":"👤 El Loco Valdez","URL":"🌐 https://sistema.siip.mx/crm/client/129"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Loco Valdez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲2250 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Coahuila 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Monto Ultimo Pago":"💲 250","Resumen":"{\"Cliente\": \"129\",\"Domicilio\": \"\"Nombre\": \"El Loco Valdez\",\"URL\": \"https://sistema.siip.mx/crm/client/129\",\"Saldo Actual\": \"💲2250 pendientes\",\"Monto Ultimo Pago\": \"$ 250\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 27/09/2024 14:50 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"002180966482840265\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"002180966482840265","Cliente":"129","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 27/09/2024 14:50 con Tarjeta de crédito Stripe 💳","Nombre":"👤 El Loco Valdez","URL":"🌐 https://sistema.siip.mx/crm/client/129"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-21 16:00:17.573647] [notice] Logging level set to:debug -[2025-04-21 16:00:17.731041] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-21 16:00:17.731098] [debug] Valor de JSON: {"uuid":"68a31f81-60e7-4b69-867d-da3f4a34f270","changeType":"insert","entity":"invoice","entityId":"1824","eventName":"invoice.add_draft","extraData":{"entity":{"id":1824,"clientId":157,"number":"001774","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1827,"type":"service","label":"plan300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":127,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU SIIP","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-21 16:00:17.731226] [debug] Adición de borrador de Factura - -[2025-04-21 16:00:17.731281] [debug] {"uuid":"68a31f81-60e7-4b69-867d-da3f4a34f270","changeType":"insert","entity":"invoice","entityId":1824,"message":null,"clientId":157,"eventName":"invoice.add_draft","clientData":{"id":157,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-04T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANGEL","lastName":"ARVIZU SIIP","username":null,"contacts":[{"id":161,"clientId":157,"email":null,"phone":"5214181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":154,"clientId":157,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RWjBO6Lsy1TgAV","clientZoneVisible":true},{"id":155,"clientId":157,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180695267429334","clientZoneVisible":true}],"accountBalance":-1180,"accountCredit":0,"accountOutstanding":1180,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1824,"clientId":157,"number":"001774","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1827,"type":"service","label":"plan300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":127,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU SIIP","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-21 16:00:17.731334] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-21 16:00:17.731345] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"68a31f81-60e7-4b69-867d-da3f4a34f270","changeType":"insert","entity":"invoice","entityId":1824,"message":null,"clientId":157,"eventName":"invoice.add_draft","clientData":{"id":157,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-04T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANGEL","lastName":"ARVIZU SIIP","username":null,"contacts":[{"id":161,"clientId":157,"email":null,"phone":"5214181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":154,"clientId":157,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RWjBO6Lsy1TgAV","clientZoneVisible":true},{"id":155,"clientId":157,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180695267429334","clientZoneVisible":true}],"accountBalance":-1180,"accountCredit":0,"accountOutstanding":1180,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1824,"clientId":157,"number":"001774","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1827,"type":"service","label":"plan300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":127,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU SIIP","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -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":{"Cliente":157,"Domicilio":"\ud83d\udccd Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 ANGEL ARVIZU SIIP","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/157","Saldo Actual":"\ud83d\udcb21180 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"157\",\"Domicilio\": \"\"Nombre\": \"ANGEL ARVIZU SIIP\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/157\",\"Saldo Actual\": \"\ud83d\udcb21180 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21\/04\/2025 10:00\",\"Clabe Interbancaria\": \"124180695267429334\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 21\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2025 10:00","Clabe Interbancaria":"124180695267429334","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "157","Domicilio": ""Nombre": "ANGEL ARVIZU SIIP","URL": "https://sistema.siip.mx/crm/client/157","Saldo Actual": "💲1180 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "21/04/2025 10:00","Clabe Interbancaria": "124180695267429334","Site": "","Antena/Sectorial": ""} - -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","href":"https://dash.callbell.eu/contacts/362193e0af9b4ffc8ed5d7f930dd120f","conversationHref":"https://dash.callbell.eu/chat/56dec9b4f3334325b737683f2d8ff8b2","tags":[],"assignedUser":null,"customFields":{"Acciones":"NOBOT-SIIP","user entry point":"inbound_message","Estado":"🔴 Suspendido","Clabe Interbancaria":"124180695267429334","Antena/Sectorial":"157","Domicilio":"📍 Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 ","Nombre":"👤 ANGEL ARVIZU SIIP","user name":"Angel 😇/😈","Cliente":"157","URL":"🌐 https://sistema.siip.mx/crm/client/157","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Fecha Ultimo Pago":"📆💸 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Resumen":"{\"Cliente\": \"157\",\"Domicilio\": \"\"Nombre\": \"ANGEL ARVIZU SIIP\",\"URL\": \"https://sistema.siip.mx/crm/client/157\",\"Saldo Actual\": \"💲1180 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"124180695267429334\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Saldo Actual":"💲1180 pendientes"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"362193e0af9b4ffc8ed5d7f930dd120f","name":"ANGEL ARVIZU SIIP","phoneNumber":"5214181515664","avatarUrl":null,"createdAt":"2025-01-07T22:55:44Z","closedAt":"2025-03-20T17:12:35Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/362193e0af9b4ffc8ed5d7f930dd120f","conversationHref":"https://dash.callbell.eu/chat/56dec9b4f3334325b737683f2d8ff8b2","tags":[],"assignedUser":null,"customFields":{"Acciones":"NOBOT-SIIP","user entry point":"inbound_message","Estado":"🔴 Suspendido","Clabe Interbancaria":"124180695267429334","Antena/Sectorial":"157","Domicilio":"📍 Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 ","Nombre":"👤 ANGEL ARVIZU SIIP","user name":"Angel 😇/😈","Cliente":"157","URL":"🌐 https://sistema.siip.mx/crm/client/157","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Fecha Ultimo Pago":"📆💸 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Resumen":"{\"Cliente\": \"157\",\"Domicilio\": \"\"Nombre\": \"ANGEL ARVIZU SIIP\",\"URL\": \"https://sistema.siip.mx/crm/client/157\",\"Saldo Actual\": \"💲1180 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"124180695267429334\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Saldo Actual":"💲1180 pendientes"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-21 16:00:20.699944] [notice] Logging level set to:debug -[2025-04-21 16:00:20.853836] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-21 16:00:20.853885] [debug] Valor de JSON: {"uuid":"94603457-9f10-42f5-a39b-a19c60fcbd44","changeType":"draft_approved","entity":"invoice","entityId":"1824","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1824,"clientId":157,"number":"001774","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1827,"type":"service","label":"plan300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":127,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU SIIP","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-21 16:00:20.853993] [debug] Aprobación de Factura - -[2025-04-21 16:00:20.854038] [debug] {"uuid":"94603457-9f10-42f5-a39b-a19c60fcbd44","changeType":"draft_approved","entity":"invoice","entityId":1824,"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":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-04T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANGEL","lastName":"ARVIZU SIIP","username":null,"contacts":[{"id":161,"clientId":157,"email":null,"phone":"5214181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":154,"clientId":157,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RWjBO6Lsy1TgAV","clientZoneVisible":true},{"id":155,"clientId":157,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180695267429334","clientZoneVisible":true}],"accountBalance":-1180,"accountCredit":0,"accountOutstanding":1180,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1824,"clientId":157,"number":"001774","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1827,"type":"service","label":"plan300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":127,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU SIIP","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-21 16:00:20.854084] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-21 16:00:20.854094] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"94603457-9f10-42f5-a39b-a19c60fcbd44","changeType":"draft_approved","entity":"invoice","entityId":1824,"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":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-04T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANGEL","lastName":"ARVIZU SIIP","username":null,"contacts":[{"id":161,"clientId":157,"email":null,"phone":"5214181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":154,"clientId":157,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RWjBO6Lsy1TgAV","clientZoneVisible":true},{"id":155,"clientId":157,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180695267429334","clientZoneVisible":true}],"accountBalance":-1180,"accountCredit":0,"accountOutstanding":1180,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1824,"clientId":157,"number":"001774","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1827,"type":"service","label":"plan300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":127,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU SIIP","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -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":{"Cliente":157,"Domicilio":"\ud83d\udccd Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 ANGEL ARVIZU SIIP","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/157","Saldo Actual":"\ud83d\udcb21180 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"157\",\"Domicilio\": \"\"Nombre\": \"ANGEL ARVIZU SIIP\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/157\",\"Saldo Actual\": \"\ud83d\udcb21180 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21\/04\/2025 10:00\",\"Clabe Interbancaria\": \"124180695267429334\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 21\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2025 10:00","Clabe Interbancaria":"124180695267429334","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "157","Domicilio": ""Nombre": "ANGEL ARVIZU SIIP","URL": "https://sistema.siip.mx/crm/client/157","Saldo Actual": "💲1180 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "21/04/2025 10:00","Clabe Interbancaria": "124180695267429334","Site": "","Antena/Sectorial": ""} - -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","href":"https://dash.callbell.eu/contacts/362193e0af9b4ffc8ed5d7f930dd120f","conversationHref":"https://dash.callbell.eu/chat/56dec9b4f3334325b737683f2d8ff8b2","tags":[],"assignedUser":null,"customFields":{"Acciones":"NOBOT-SIIP","user entry point":"inbound_message","Estado":"🔴 Suspendido","Clabe Interbancaria":"124180695267429334","Antena/Sectorial":"157","Domicilio":"📍 Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 ","Nombre":"👤 ANGEL ARVIZU SIIP","user name":"Angel 😇/😈","Cliente":"157","URL":"🌐 https://sistema.siip.mx/crm/client/157","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Fecha Ultimo Pago":"📆💸 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Resumen":"{\"Cliente\": \"157\",\"Domicilio\": \"\"Nombre\": \"ANGEL ARVIZU SIIP\",\"URL\": \"https://sistema.siip.mx/crm/client/157\",\"Saldo Actual\": \"💲1180 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"124180695267429334\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Saldo Actual":"💲1180 pendientes"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"362193e0af9b4ffc8ed5d7f930dd120f","name":"ANGEL ARVIZU SIIP","phoneNumber":"5214181515664","avatarUrl":null,"createdAt":"2025-01-07T22:55:44Z","closedAt":"2025-03-20T17:12:35Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/362193e0af9b4ffc8ed5d7f930dd120f","conversationHref":"https://dash.callbell.eu/chat/56dec9b4f3334325b737683f2d8ff8b2","tags":[],"assignedUser":null,"customFields":{"Acciones":"NOBOT-SIIP","user entry point":"inbound_message","Estado":"🔴 Suspendido","Clabe Interbancaria":"124180695267429334","Antena/Sectorial":"157","Domicilio":"📍 Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 ","Nombre":"👤 ANGEL ARVIZU SIIP","user name":"Angel 😇/😈","Cliente":"157","URL":"🌐 https://sistema.siip.mx/crm/client/157","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Fecha Ultimo Pago":"📆💸 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Resumen":"{\"Cliente\": \"157\",\"Domicilio\": \"\"Nombre\": \"ANGEL ARVIZU SIIP\",\"URL\": \"https://sistema.siip.mx/crm/client/157\",\"Saldo Actual\": \"💲1180 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"124180695267429334\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Saldo Actual":"💲1180 pendientes"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-21 16:00:22.811686] [notice] Logging level set to:debug -[2025-04-21 16:00:22.949027] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-21 16:00:22.949079] [debug] Valor de JSON: {"uuid":"a86e9992-06f2-422f-98a4-eb96e8a67a73","changeType":"insert","entity":"invoice","entityId":"1825","eventName":"invoice.add_draft","extraData":{"entity":{"id":1825,"clientId":160,"number":"001775","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1828,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":151,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jimy","clientLastName":"Turner","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Jalisco","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-21 16:00:22.949174] [debug] Adición de borrador de Factura - -[2025-04-21 16:00:22.949346] [debug] {"uuid":"a86e9992-06f2-422f-98a4-eb96e8a67a73","changeType":"insert","entity":"invoice","entityId":1825,"message":null,"clientId":160,"eventName":"invoice.add_draft","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-670,"accountCredit":0,"accountOutstanding":670,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1825,"clientId":160,"number":"001775","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1828,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":151,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jimy","clientLastName":"Turner","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Jalisco","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-21 16:00:23.059227] [notice] Logging level set to:debug -[2025-04-21 16:00:23.219574] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-21 16:00:23.219625] [debug] Valor de JSON: {"uuid":"d18f81a1-538c-42ba-a605-fd2ce1300078","changeType":"draft_approved","entity":"invoice","entityId":"1825","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1825,"clientId":160,"number":"001775","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1828,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":151,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jimy","clientLastName":"Turner","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Jalisco","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-21 16:00:23.219882] [debug] Aprobación de Factura - -[2025-04-21 16:00:23.219938] [debug] {"uuid":"d18f81a1-538c-42ba-a605-fd2ce1300078","changeType":"draft_approved","entity":"invoice","entityId":1825,"message":null,"clientId":160,"eventName":"invoice.draft_approved","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-670,"accountCredit":0,"accountOutstanding":670,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1825,"clientId":160,"number":"001775","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1828,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":151,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jimy","clientLastName":"Turner","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Jalisco","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-21 16:00:23.328574] [notice] Logging level set to:debug -[2025-04-21 16:00:23.476735] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-21 16:00:23.476784] [debug] Valor de JSON: {"uuid":"c0eb6e37-16db-4409-ab68-d80ad705d1a4","changeType":"insert","entity":"invoice","entityId":"1826","eventName":"invoice.add_draft","extraData":{"entity":{"id":1826,"clientId":136,"number":"001776","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-20T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1829,"type":"service","label":"INTERMEDIO 21\/03\/2025 \u2013 20\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":112,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Mus","clientLastName":"Tafah","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"22 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-21 16:00:23.476872] [debug] Adición de borrador de Factura - -[2025-04-21 16:00:23.476917] [debug] {"uuid":"c0eb6e37-16db-4409-ab68-d80ad705d1a4","changeType":"insert","entity":"invoice","entityId":1826,"message":null,"clientId":136,"eventName":"invoice.add_draft","clientData":{"id":136,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"22 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 22, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Mus","lastName":"Tafah","username":null,"contacts":[{"id":140,"clientId":136,"email":"elmus@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-4833.33,"accountCredit":0,"accountOutstanding":4833.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1571597,"addressGpsLon":-100.9367744,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1826,"clientId":136,"number":"001776","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1829,"type":"service","label":"INTERMEDIO 21\/03\/2025 \u2013 20\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":112,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Mus","clientLastName":"Tafah","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"22 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-21 16:00:23.476948] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-21 16:00:23.476958] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"c0eb6e37-16db-4409-ab68-d80ad705d1a4","changeType":"insert","entity":"invoice","entityId":1826,"message":null,"clientId":136,"eventName":"invoice.add_draft","clientData":{"id":136,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"22 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 22, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Mus","lastName":"Tafah","username":null,"contacts":[{"id":140,"clientId":136,"email":"elmus@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-4833.33,"accountCredit":0,"accountOutstanding":4833.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1571597,"addressGpsLon":-100.9367744,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1826,"clientId":136,"number":"001776","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1829,"type":"service","label":"INTERMEDIO 21\/03\/2025 \u2013 20\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":112,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Mus","clientLastName":"Tafah","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"22 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: El Mus Tafah - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"El Mus Tafah","custom_fields":{"Cliente":136,"Domicilio":"\ud83d\udccd Yucat\u00e1n 22, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 El Mus Tafah","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/136","Saldo Actual":"\ud83d\udcb24833.33 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"136\",\"Domicilio\": \"\"Nombre\": \"El Mus Tafah\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/136\",\"Saldo Actual\": \"\ud83d\udcb24833.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21\/04\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 21\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "136","Domicilio": ""Nombre": "El Mus Tafah","URL": "https://sistema.siip.mx/crm/client/136","Saldo Actual": "💲4833.33 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "21/04/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Mus Tafah","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲4833.33 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Yucatán 22, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"136\",\"Domicilio\": \"\"Nombre\": \"El Mus Tafah\",\"URL\": \"https://sistema.siip.mx/crm/client/136\",\"Saldo Actual\": \"💲4833.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"002180966482840265","Cliente":"136","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Nombre":"👤 El Mus Tafah","URL":"🌐 https://sistema.siip.mx/crm/client/136"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Mus Tafah","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲4833.33 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Yucatán 22, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"136\",\"Domicilio\": \"\"Nombre\": \"El Mus Tafah\",\"URL\": \"https://sistema.siip.mx/crm/client/136\",\"Saldo Actual\": \"💲4833.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"002180966482840265","Cliente":"136","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Nombre":"👤 El Mus Tafah","URL":"🌐 https://sistema.siip.mx/crm/client/136"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-21 16:00:25.204154] [notice] Logging level set to:debug -[2025-04-21 16:00:25.362119] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-21 16:00:25.362176] [debug] Valor de JSON: {"uuid":"d8aaf47d-65db-4178-9092-8d31afe6238f","changeType":"draft_approved","entity":"invoice","entityId":"1826","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1826,"clientId":136,"number":"001776","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-20T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1829,"type":"service","label":"INTERMEDIO 21\/03\/2025 \u2013 20\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":112,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Mus","clientLastName":"Tafah","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"22 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-21 16:00:25.362281] [debug] Aprobación de Factura - -[2025-04-21 16:00:25.362325] [debug] {"uuid":"d8aaf47d-65db-4178-9092-8d31afe6238f","changeType":"draft_approved","entity":"invoice","entityId":1826,"message":null,"clientId":136,"eventName":"invoice.draft_approved","clientData":{"id":136,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"22 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 22, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Mus","lastName":"Tafah","username":null,"contacts":[{"id":140,"clientId":136,"email":"elmus@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-4833.33,"accountCredit":0,"accountOutstanding":4833.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1571597,"addressGpsLon":-100.9367744,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1826,"clientId":136,"number":"001776","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1829,"type":"service","label":"INTERMEDIO 21\/03\/2025 \u2013 20\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":112,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Mus","clientLastName":"Tafah","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"22 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-21 16:00:25.362354] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-21 16:00:25.362365] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"d8aaf47d-65db-4178-9092-8d31afe6238f","changeType":"draft_approved","entity":"invoice","entityId":1826,"message":null,"clientId":136,"eventName":"invoice.draft_approved","clientData":{"id":136,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"22 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 22, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Mus","lastName":"Tafah","username":null,"contacts":[{"id":140,"clientId":136,"email":"elmus@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-4833.33,"accountCredit":0,"accountOutstanding":4833.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1571597,"addressGpsLon":-100.9367744,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1826,"clientId":136,"number":"001776","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1829,"type":"service","label":"INTERMEDIO 21\/03\/2025 \u2013 20\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":112,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Mus","clientLastName":"Tafah","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"22 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: El Mus Tafah - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"El Mus Tafah","custom_fields":{"Cliente":136,"Domicilio":"\ud83d\udccd Yucat\u00e1n 22, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 El Mus Tafah","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/136","Saldo Actual":"\ud83d\udcb24833.33 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"136\",\"Domicilio\": \"\"Nombre\": \"El Mus Tafah\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/136\",\"Saldo Actual\": \"\ud83d\udcb24833.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21\/04\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 21\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "136","Domicilio": ""Nombre": "El Mus Tafah","URL": "https://sistema.siip.mx/crm/client/136","Saldo Actual": "💲4833.33 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "21/04/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Mus Tafah","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲4833.33 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Yucatán 22, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"136\",\"Domicilio\": \"\"Nombre\": \"El Mus Tafah\",\"URL\": \"https://sistema.siip.mx/crm/client/136\",\"Saldo Actual\": \"💲4833.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"002180966482840265","Cliente":"136","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Nombre":"👤 El Mus Tafah","URL":"🌐 https://sistema.siip.mx/crm/client/136"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Mus Tafah","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲4833.33 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Yucatán 22, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"136\",\"Domicilio\": \"\"Nombre\": \"El Mus Tafah\",\"URL\": \"https://sistema.siip.mx/crm/client/136\",\"Saldo Actual\": \"💲4833.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"002180966482840265","Cliente":"136","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Nombre":"👤 El Mus Tafah","URL":"🌐 https://sistema.siip.mx/crm/client/136"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-21 16:00:30.435321] [notice] Logging level set to:debug -[2025-04-21 16:00:30.582395] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-21 16:00:30.582444] [debug] Valor de JSON: {"uuid":"7609dd54-f4d0-4f3b-ab45-09a6ae95282f","changeType":"insert","entity":"invoice","entityId":"1827","eventName":"invoice.add_draft","extraData":{"entity":{"id":1827,"clientId":114,"number":"001777","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1830,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":149,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Juan Calavera","clientLastName":"Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Guanajuato","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-21 16:00:30.582564] [debug] Adición de borrador de Factura - -[2025-04-21 16:00:30.582608] [debug] {"uuid":"7609dd54-f4d0-4f3b-ab45-09a6ae95282f","changeType":"insert","entity":"invoice","entityId":1827,"message":null,"clientId":114,"eventName":"invoice.add_draft","clientData":{"id":114,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Guanajuato","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan Calavera","lastName":"Gonz\u00e1lez","username":null,"contacts":[{"id":118,"clientId":114,"email":"juancalavera@gmail.com","phone":"41856987412","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":188,"clientId":114,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0EQeXBl8NhBZi","clientZoneVisible":true},{"id":189,"clientId":114,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180969856650415","clientZoneVisible":true}],"accountBalance":-680,"accountCredit":0,"accountOutstanding":680,"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":1827,"clientId":114,"number":"001777","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1830,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":149,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Juan Calavera","clientLastName":"Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Guanajuato","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-21 16:00:30.582660] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-21 16:00:30.582670] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"7609dd54-f4d0-4f3b-ab45-09a6ae95282f","changeType":"insert","entity":"invoice","entityId":1827,"message":null,"clientId":114,"eventName":"invoice.add_draft","clientData":{"id":114,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Guanajuato","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan Calavera","lastName":"Gonz\u00e1lez","username":null,"contacts":[{"id":118,"clientId":114,"email":"juancalavera@gmail.com","phone":"41856987412","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":188,"clientId":114,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0EQeXBl8NhBZi","clientZoneVisible":true},{"id":189,"clientId":114,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180969856650415","clientZoneVisible":true}],"accountBalance":-680,"accountCredit":0,"accountOutstanding":680,"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":1827,"clientId":114,"number":"001777","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1830,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":149,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Juan Calavera","clientLastName":"Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Guanajuato","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -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":{"Cliente":114,"Domicilio":"\ud83d\udccd Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Juan Calavera Gonz\u00e1lez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/114","Saldo Actual":"\ud83d\udcb2680 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"114\",\"Domicilio\": \"\"Nombre\": \"Juan Calavera Gonz\u00e1lez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/114\",\"Saldo Actual\": \"\ud83d\udcb2680 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21\/04\/2025 10:00\",\"Clabe Interbancaria\": \"124180969856650415\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 21\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2025 10:00","Clabe Interbancaria":"124180969856650415","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "114","Domicilio": ""Nombre": "Juan Calavera González","URL": "https://sistema.siip.mx/crm/client/114","Saldo Actual": "💲680 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "21/04/2025 10:00","Clabe Interbancaria": "124180969856650415","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: - -Response 2 Patch CallBell: - -[2025-04-21 16:00:32.009149] [notice] Logging level set to:debug -[2025-04-21 16:00:32.193679] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-21 16:00:32.193732] [debug] Valor de JSON: {"uuid":"eb1a20b1-1850-4f43-adbb-5b5e7eaa26b3","changeType":"draft_approved","entity":"invoice","entityId":"1827","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1827,"clientId":114,"number":"001777","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1830,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":149,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Juan Calavera","clientLastName":"Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Guanajuato","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-21 16:00:32.193834] [debug] Aprobación de Factura - -[2025-04-21 16:00:32.193881] [debug] {"uuid":"eb1a20b1-1850-4f43-adbb-5b5e7eaa26b3","changeType":"draft_approved","entity":"invoice","entityId":1827,"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}],"accountBalance":-680,"accountCredit":0,"accountOutstanding":680,"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":1827,"clientId":114,"number":"001777","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1830,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":149,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Juan Calavera","clientLastName":"Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Guanajuato","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-21 16:00:32.193909] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-21 16:00:32.193919] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"eb1a20b1-1850-4f43-adbb-5b5e7eaa26b3","changeType":"draft_approved","entity":"invoice","entityId":1827,"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}],"accountBalance":-680,"accountCredit":0,"accountOutstanding":680,"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":1827,"clientId":114,"number":"001777","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1830,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":149,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Juan Calavera","clientLastName":"Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Guanajuato","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -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":{"Cliente":114,"Domicilio":"\ud83d\udccd Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Juan Calavera Gonz\u00e1lez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/114","Saldo Actual":"\ud83d\udcb2680 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"114\",\"Domicilio\": \"\"Nombre\": \"Juan Calavera Gonz\u00e1lez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/114\",\"Saldo Actual\": \"\ud83d\udcb2680 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21\/04\/2025 10:00\",\"Clabe Interbancaria\": \"124180969856650415\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 21\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2025 10:00","Clabe Interbancaria":"124180969856650415","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "114","Domicilio": ""Nombre": "Juan Calavera González","URL": "https://sistema.siip.mx/crm/client/114","Saldo Actual": "💲680 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "21/04/2025 10:00","Clabe Interbancaria": "124180969856650415","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: - -Response 2 Patch CallBell: - -[2025-04-21 16:00:33.786484] [notice] Logging level set to:debug -[2025-04-21 16:00:33.942120] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-21 16:00:33.942173] [debug] Valor de JSON: {"uuid":"004ca2a4-091c-4004-8eae-bd6d5ffb6a27","changeType":"insert","entity":"invoice","entityId":"1828","eventName":"invoice.add_draft","extraData":{"entity":{"id":1828,"clientId":134,"number":"001778","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-20T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1831,"type":"service","label":"PREMIUM 21\/03\/2025 \u2013 20\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":113,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"La Mosca","clientLastName":"Tse Tse","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"25 Michoac\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-21 16:00:33.942296] [debug] Adición de borrador de Factura - -[2025-04-21 16:00:33.942342] [debug] {"uuid":"004ca2a4-091c-4004-8eae-bd6d5ffb6a27","changeType":"insert","entity":"invoice","entityId":1828,"message":null,"clientId":134,"eventName":"invoice.add_draft","clientData":{"id":134,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"25 Michoac\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"La Mosca","lastName":"Tse Tse","username":null,"contacts":[{"id":138,"clientId":134,"email":"lamoscatsetse@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":190,"clientId":134,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0Igo0UyD5CUtI","clientZoneVisible":true},{"id":191,"clientId":134,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180573205227652","clientZoneVisible":true}],"accountBalance":-7000,"accountCredit":0,"accountOutstanding":7000,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1576726,"addressGpsLon":-100.9370354,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1828,"clientId":134,"number":"001778","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1831,"type":"service","label":"PREMIUM 21\/03\/2025 \u2013 20\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":113,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"La Mosca","clientLastName":"Tse Tse","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"25 Michoac\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-21 16:00:33.942384] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-21 16:00:33.942394] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"004ca2a4-091c-4004-8eae-bd6d5ffb6a27","changeType":"insert","entity":"invoice","entityId":1828,"message":null,"clientId":134,"eventName":"invoice.add_draft","clientData":{"id":134,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"25 Michoac\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"La Mosca","lastName":"Tse Tse","username":null,"contacts":[{"id":138,"clientId":134,"email":"lamoscatsetse@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":190,"clientId":134,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0Igo0UyD5CUtI","clientZoneVisible":true},{"id":191,"clientId":134,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180573205227652","clientZoneVisible":true}],"accountBalance":-7000,"accountCredit":0,"accountOutstanding":7000,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1576726,"addressGpsLon":-100.9370354,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1828,"clientId":134,"number":"001778","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1831,"type":"service","label":"PREMIUM 21\/03\/2025 \u2013 20\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":113,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"La Mosca","clientLastName":"Tse Tse","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"25 Michoac\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: La Mosca Tse Tse - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"La Mosca Tse Tse","custom_fields":{"Cliente":134,"Domicilio":"\ud83d\udccd Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 La Mosca Tse Tse","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/134","Saldo Actual":"\ud83d\udcb27000 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"134\",\"Domicilio\": \"\"Nombre\": \"La Mosca Tse Tse\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/134\",\"Saldo Actual\": \"\ud83d\udcb27000 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21\/04\/2025 10:00\",\"Clabe Interbancaria\": \"124180573205227652\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 21\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2025 10:00","Clabe Interbancaria":"124180573205227652","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "134","Domicilio": ""Nombre": "La Mosca Tse Tse","URL": "https://sistema.siip.mx/crm/client/134","Saldo Actual": "💲7000 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "21/04/2025 10:00","Clabe Interbancaria": "124180573205227652","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"La Mosca Tse Tse","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲7000 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Michoacán 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"134\",\"Domicilio\": \"\"Nombre\": \"La Mosca Tse Tse\",\"URL\": \"https://sistema.siip.mx/crm/client/134\",\"Saldo Actual\": \"💲7000 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"124180573205227652\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"124180573205227652","Cliente":"134","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Nombre":"👤 La Mosca Tse Tse","URL":"🌐 https://sistema.siip.mx/crm/client/134"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"La Mosca Tse Tse","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲7000 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Michoacán 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"134\",\"Domicilio\": \"\"Nombre\": \"La Mosca Tse Tse\",\"URL\": \"https://sistema.siip.mx/crm/client/134\",\"Saldo Actual\": \"💲7000 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"124180573205227652\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"124180573205227652","Cliente":"134","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Nombre":"👤 La Mosca Tse Tse","URL":"🌐 https://sistema.siip.mx/crm/client/134"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-21 16:00:35.574182] [notice] Logging level set to:debug -[2025-04-21 16:00:35.717454] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-21 16:00:35.717513] [debug] Valor de JSON: {"uuid":"d63cbadf-97bc-4252-a22b-16bfd7f9fc20","changeType":"draft_approved","entity":"invoice","entityId":"1828","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1828,"clientId":134,"number":"001778","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-20T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1831,"type":"service","label":"PREMIUM 21\/03\/2025 \u2013 20\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":113,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"La Mosca","clientLastName":"Tse Tse","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"25 Michoac\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-21 16:00:35.717612] [debug] Aprobación de Factura - -[2025-04-21 16:00:35.717658] [debug] {"uuid":"d63cbadf-97bc-4252-a22b-16bfd7f9fc20","changeType":"draft_approved","entity":"invoice","entityId":1828,"message":null,"clientId":134,"eventName":"invoice.draft_approved","clientData":{"id":134,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"25 Michoac\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"La Mosca","lastName":"Tse Tse","username":null,"contacts":[{"id":138,"clientId":134,"email":"lamoscatsetse@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":190,"clientId":134,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0Igo0UyD5CUtI","clientZoneVisible":true},{"id":191,"clientId":134,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180573205227652","clientZoneVisible":true}],"accountBalance":-7000,"accountCredit":0,"accountOutstanding":7000,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1576726,"addressGpsLon":-100.9370354,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1828,"clientId":134,"number":"001778","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1831,"type":"service","label":"PREMIUM 21\/03\/2025 \u2013 20\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":113,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"La Mosca","clientLastName":"Tse Tse","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"25 Michoac\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-21 16:00:35.717700] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-21 16:00:35.717710] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"d63cbadf-97bc-4252-a22b-16bfd7f9fc20","changeType":"draft_approved","entity":"invoice","entityId":1828,"message":null,"clientId":134,"eventName":"invoice.draft_approved","clientData":{"id":134,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"25 Michoac\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"La Mosca","lastName":"Tse Tse","username":null,"contacts":[{"id":138,"clientId":134,"email":"lamoscatsetse@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":190,"clientId":134,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0Igo0UyD5CUtI","clientZoneVisible":true},{"id":191,"clientId":134,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180573205227652","clientZoneVisible":true}],"accountBalance":-7000,"accountCredit":0,"accountOutstanding":7000,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1576726,"addressGpsLon":-100.9370354,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1828,"clientId":134,"number":"001778","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1831,"type":"service","label":"PREMIUM 21\/03\/2025 \u2013 20\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":113,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"La Mosca","clientLastName":"Tse Tse","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"25 Michoac\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: La Mosca Tse Tse - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"La Mosca Tse Tse","custom_fields":{"Cliente":134,"Domicilio":"\ud83d\udccd Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 La Mosca Tse Tse","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/134","Saldo Actual":"\ud83d\udcb27000 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"134\",\"Domicilio\": \"\"Nombre\": \"La Mosca Tse Tse\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/134\",\"Saldo Actual\": \"\ud83d\udcb27000 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21\/04\/2025 10:00\",\"Clabe Interbancaria\": \"124180573205227652\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 21\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2025 10:00","Clabe Interbancaria":"124180573205227652","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "134","Domicilio": ""Nombre": "La Mosca Tse Tse","URL": "https://sistema.siip.mx/crm/client/134","Saldo Actual": "💲7000 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "21/04/2025 10:00","Clabe Interbancaria": "124180573205227652","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"La Mosca Tse Tse","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲7000 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Michoacán 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"134\",\"Domicilio\": \"\"Nombre\": \"La Mosca Tse Tse\",\"URL\": \"https://sistema.siip.mx/crm/client/134\",\"Saldo Actual\": \"💲7000 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"124180573205227652\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"124180573205227652","Cliente":"134","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Nombre":"👤 La Mosca Tse Tse","URL":"🌐 https://sistema.siip.mx/crm/client/134"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"La Mosca Tse Tse","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲7000 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Michoacán 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"134\",\"Domicilio\": \"\"Nombre\": \"La Mosca Tse Tse\",\"URL\": \"https://sistema.siip.mx/crm/client/134\",\"Saldo Actual\": \"💲7000 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"124180573205227652\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"124180573205227652","Cliente":"134","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Nombre":"👤 La Mosca Tse Tse","URL":"🌐 https://sistema.siip.mx/crm/client/134"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-21 16:00:37.843800] [notice] Logging level set to:debug -[2025-04-21 16:00:38.000855] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-21 16:00:38.000907] [debug] Valor de JSON: {"uuid":"5d8bf1d3-fb40-4b82-bb39-0ece3eba1ddd","changeType":"insert","entity":"invoice","entityId":"1829","eventName":"invoice.add_draft","extraData":{"entity":{"id":1829,"clientId":162,"number":"001779","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1832,"type":"service","label":"PREMIUM 01\/04\/2025 \u2013 30\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":128,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Edward","clientLastName":"Elric","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"76 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-21 16:00:38.001017] [debug] Adición de borrador de Factura - -[2025-04-21 16:00:38.001064] [debug] {"uuid":"5d8bf1d3-fb40-4b82-bb39-0ece3eba1ddd","changeType":"insert","entity":"invoice","entityId":1829,"message":null,"clientId":162,"eventName":"invoice.add_draft","clientData":{"id":162,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":"2025-01-10T10:32:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Edward","lastName":"Elric","username":null,"contacts":[{"id":166,"clientId":162,"email":"eduardelric@gmail.com","phone":"5214181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":159,"clientId":162,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"434876867834423324","clientZoneVisible":true},{"id":160,"clientId":162,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RYsuykCEvupaGF","clientZoneVisible":true},{"id":161,"clientId":162,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180599808752427","clientZoneVisible":true}],"accountBalance":-1616.67,"accountCredit":0,"accountOutstanding":1616.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d84315","addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1829,"clientId":162,"number":"001779","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1832,"type":"service","label":"PREMIUM 01\/04\/2025 \u2013 30\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":128,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Edward","clientLastName":"Elric","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"76 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-21 16:00:38.001111] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-21 16:00:38.001121] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"5d8bf1d3-fb40-4b82-bb39-0ece3eba1ddd","changeType":"insert","entity":"invoice","entityId":1829,"message":null,"clientId":162,"eventName":"invoice.add_draft","clientData":{"id":162,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":"2025-01-10T10:32:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Edward","lastName":"Elric","username":null,"contacts":[{"id":166,"clientId":162,"email":"eduardelric@gmail.com","phone":"5214181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":159,"clientId":162,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"434876867834423324","clientZoneVisible":true},{"id":160,"clientId":162,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RYsuykCEvupaGF","clientZoneVisible":true},{"id":161,"clientId":162,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180599808752427","clientZoneVisible":true}],"accountBalance":-1616.67,"accountCredit":0,"accountOutstanding":1616.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d84315","addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1829,"clientId":162,"number":"001779","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1832,"type":"service","label":"PREMIUM 01\/04\/2025 \u2013 30\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":128,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Edward","clientLastName":"Elric","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"76 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":506,"clientId":162,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-12T22:10:30-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-01-12T22:10:31-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":663,"invoiceId":1571,"paymentId":506,"creditNoteId":null,"refundId":null,"amount":180}],"creditAmount":0,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Edward Elric - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Edward Elric","custom_fields":{"Cliente":162,"Domicilio":"\ud83d\udccd Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Edward Elric","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/162","Saldo Actual":"\ud83d\udcb21616.67 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 180","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"162\",\"Domicilio\": \"\"Nombre\": \"Edward Elric\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/162\",\"Saldo Actual\": \"\ud83d\udcb21616.67 pendientes\",\"Monto Ultimo Pago\": \"$ 180\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 12\/01\/2025 22:10 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"21\/04\/2025 10:00\",\"Clabe Interbancaria\": \"124180599808752427\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 12\/01\/2025 22:10 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2025 10:00","Clabe Interbancaria":"124180599808752427","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "162","Domicilio": ""Nombre": "Edward Elric","URL": "https://sistema.siip.mx/crm/client/162","Saldo Actual": "💲1616.67 pendientes","Monto Ultimo Pago": "$ 180","Estado": "Suspendido","Fecha Ultimo Pago": " 12/01/2025 22:10 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "21/04/2025 10:00","Clabe Interbancaria": "124180599808752427","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Edward Elric","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1616.67 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Monto Ultimo Pago":"💲 180","Resumen":"{\"Cliente\": \"162\",\"Domicilio\": \"\"Nombre\": \"Edward Elric\",\"URL\": \"https://sistema.siip.mx/crm/client/162\",\"Saldo Actual\": \"💲1616.67 pendientes\",\"Monto Ultimo Pago\": \"$ 180\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 12/01/2025 22:10 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"124180599808752427\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"124180599808752427","Cliente":"162","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 12/01/2025 22:10 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Edward Elric","URL":"🌐 https://sistema.siip.mx/crm/client/162"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Edward Elric","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1616.67 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Monto Ultimo Pago":"💲 180","Resumen":"{\"Cliente\": \"162\",\"Domicilio\": \"\"Nombre\": \"Edward Elric\",\"URL\": \"https://sistema.siip.mx/crm/client/162\",\"Saldo Actual\": \"💲1616.67 pendientes\",\"Monto Ultimo Pago\": \"$ 180\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 12/01/2025 22:10 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"124180599808752427\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"124180599808752427","Cliente":"162","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 12/01/2025 22:10 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Edward Elric","URL":"🌐 https://sistema.siip.mx/crm/client/162"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-21 16:00:40.195079] [notice] Logging level set to:debug -[2025-04-21 16:00:40.341382] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-21 16:00:40.341437] [debug] Valor de JSON: {"uuid":"2c29ff4b-3cff-4a95-af87-12d25d1dc532","changeType":"draft_approved","entity":"invoice","entityId":"1829","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1829,"clientId":162,"number":"001779","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1832,"type":"service","label":"PREMIUM 01\/04\/2025 \u2013 30\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":128,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Edward","clientLastName":"Elric","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"76 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-21 16:00:40.341677] [debug] Aprobación de Factura - -[2025-04-21 16:00:40.341733] [debug] {"uuid":"2c29ff4b-3cff-4a95-af87-12d25d1dc532","changeType":"draft_approved","entity":"invoice","entityId":1829,"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":"5214181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":159,"clientId":162,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"434876867834423324","clientZoneVisible":true},{"id":160,"clientId":162,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RYsuykCEvupaGF","clientZoneVisible":true},{"id":161,"clientId":162,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180599808752427","clientZoneVisible":true}],"accountBalance":-1616.67,"accountCredit":0,"accountOutstanding":1616.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d84315","addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1829,"clientId":162,"number":"001779","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1832,"type":"service","label":"PREMIUM 01\/04\/2025 \u2013 30\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":128,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Edward","clientLastName":"Elric","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"76 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-21 16:00:40.341784] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-21 16:00:40.341794] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"2c29ff4b-3cff-4a95-af87-12d25d1dc532","changeType":"draft_approved","entity":"invoice","entityId":1829,"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":"5214181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":159,"clientId":162,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"434876867834423324","clientZoneVisible":true},{"id":160,"clientId":162,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RYsuykCEvupaGF","clientZoneVisible":true},{"id":161,"clientId":162,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180599808752427","clientZoneVisible":true}],"accountBalance":-1616.67,"accountCredit":0,"accountOutstanding":1616.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d84315","addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1829,"clientId":162,"number":"001779","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1832,"type":"service","label":"PREMIUM 01\/04\/2025 \u2013 30\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":128,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Edward","clientLastName":"Elric","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"76 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":506,"clientId":162,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-12T22:10:30-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-01-12T22:10:31-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":663,"invoiceId":1571,"paymentId":506,"creditNoteId":null,"refundId":null,"amount":180}],"creditAmount":0,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Edward Elric - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Edward Elric","custom_fields":{"Cliente":162,"Domicilio":"\ud83d\udccd Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Edward Elric","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/162","Saldo Actual":"\ud83d\udcb21616.67 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 180","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"162\",\"Domicilio\": \"\"Nombre\": \"Edward Elric\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/162\",\"Saldo Actual\": \"\ud83d\udcb21616.67 pendientes\",\"Monto Ultimo Pago\": \"$ 180\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 12\/01\/2025 22:10 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"21\/04\/2025 10:00\",\"Clabe Interbancaria\": \"124180599808752427\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 12\/01\/2025 22:10 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2025 10:00","Clabe Interbancaria":"124180599808752427","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "162","Domicilio": ""Nombre": "Edward Elric","URL": "https://sistema.siip.mx/crm/client/162","Saldo Actual": "💲1616.67 pendientes","Monto Ultimo Pago": "$ 180","Estado": "Suspendido","Fecha Ultimo Pago": " 12/01/2025 22:10 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "21/04/2025 10:00","Clabe Interbancaria": "124180599808752427","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Edward Elric","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1616.67 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Monto Ultimo Pago":"💲 180","Resumen":"{\"Cliente\": \"162\",\"Domicilio\": \"\"Nombre\": \"Edward Elric\",\"URL\": \"https://sistema.siip.mx/crm/client/162\",\"Saldo Actual\": \"💲1616.67 pendientes\",\"Monto Ultimo Pago\": \"$ 180\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 12/01/2025 22:10 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"124180599808752427\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"124180599808752427","Cliente":"162","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 12/01/2025 22:10 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Edward Elric","URL":"🌐 https://sistema.siip.mx/crm/client/162"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Edward Elric","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲1616.67 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Monto Ultimo Pago":"💲 180","Resumen":"{\"Cliente\": \"162\",\"Domicilio\": \"\"Nombre\": \"Edward Elric\",\"URL\": \"https://sistema.siip.mx/crm/client/162\",\"Saldo Actual\": \"💲1616.67 pendientes\",\"Monto Ultimo Pago\": \"$ 180\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 12/01/2025 22:10 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"124180599808752427\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"124180599808752427","Cliente":"162","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 12/01/2025 22:10 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Edward Elric","URL":"🌐 https://sistema.siip.mx/crm/client/162"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-21 16:00:43.151593] [notice] Logging level set to:debug -[2025-04-21 16:00:43.308955] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-21 16:00:43.309012] [debug] Valor de JSON: {"uuid":"829a8bd8-f8ec-434a-8bc6-135883c98ccf","changeType":"insert","entity":"invoice","entityId":"1830","eventName":"invoice.add_draft","extraData":{"entity":{"id":1830,"clientId":156,"number":"001780","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1833,"type":"service","label":"PREMIUM 01\/04\/2025 \u2013 30\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":126,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":700,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":723,"invoiceId":1830,"paymentId":502,"creditNoteId":null,"refundId":null,"amount":700}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"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},"entityBeforeEdit":null}} - -[2025-04-21 16:00:43.309129] [debug] Adición de borrador de Factura - -[2025-04-21 16:00:43.309319] [debug] {"uuid":"829a8bd8-f8ec-434a-8bc6-135883c98ccf","changeType":"insert","entity":"invoice","entityId":1830,"message":null,"clientId":156,"eventName":"invoice.add_draft","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}],"accountBalance":1246.67,"accountCredit":1246.67,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#7cb342","addressGpsLat":21.1562598,"addressGpsLon":-100.9370894,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1830,"clientId":156,"number":"001780","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1833,"type":"service","label":"PREMIUM 01\/04\/2025 \u2013 30\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":126,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":700,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":723,"invoiceId":1830,"paymentId":502,"creditNoteId":null,"refundId":null,"amount":700}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"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},"paymentData":null} - -[2025-04-21 16:00:43.309380] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-21 16:00:43.309391] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"829a8bd8-f8ec-434a-8bc6-135883c98ccf","changeType":"insert","entity":"invoice","entityId":1830,"message":null,"clientId":156,"eventName":"invoice.add_draft","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}],"accountBalance":1246.67,"accountCredit":1246.67,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#7cb342","addressGpsLat":21.1562598,"addressGpsLon":-100.9370894,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1830,"clientId":156,"number":"001780","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1833,"type":"service","label":"PREMIUM 01\/04\/2025 \u2013 30\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":126,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":700,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":723,"invoiceId":1830,"paymentId":502,"creditNoteId":null,"refundId":null,"amount":700}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"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},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":514,"clientId":156,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:52:20-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Maria Gricelda López Avalos - -UUID: 2038d2d99ae543f3b56f1ae54f4cc82b - -JSON con los datos a actualizar: {"name":"Maria Gricelda L\u00f3pez Avalos","custom_fields":{"Cliente":156,"Domicilio":"\ud83d\udccd Yucat\u00e1n 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Maria Gricelda L\u00f3pez Avalos","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/156","Saldo Actual":"\ud83d\udcb21246.67 a favor","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"156\",\"Domicilio\": \"\"Nombre\": \"Maria Gricelda L\u00f3pez Avalos\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/156\",\"Saldo Actual\": \"\ud83d\udcb21246.67 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 17\/01\/2025 14:52 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"21\/04\/2025 10:00\",\"Clabe Interbancaria\": \"124180553522369174\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 17\/01\/2025 14:52 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2025 10:00","Clabe Interbancaria":"124180553522369174","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "156","Domicilio": ""Nombre": "Maria Gricelda López Avalos","URL": "https://sistema.siip.mx/crm/client/156","Saldo Actual": "💲1246.67 a favor","Monto Ultimo Pago": "$ 300","Estado": "Activo","Fecha Ultimo Pago": " 17/01/2025 14:52 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "21/04/2025 10:00","Clabe Interbancaria": "124180553522369174","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"2038d2d99ae543f3b56f1ae54f4cc82b","name":"Maria Gricelda López Avalos","phoneNumber":"5214181817609","avatarUrl":null,"createdAt":"2024-01-26T18:16:09Z","closedAt":"2025-02-17T19:00:45Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/2038d2d99ae543f3b56f1ae54f4cc82b","conversationHref":"https://dash.callbell.eu/chat/90611886ac204c56a75240f951c53874","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","user name":"Grisel","Estado":"🟢 Activo ","Cliente":"156","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Clabe Interbancaria":"124180553522369174","Domicilio":"📍 Yucatán 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 17/01/2025 14:52 con Tarjeta de crédito Stripe 💳","Monto Ultimo Pago":"💲 300","Nombre":"👤 Maria Gricelda López Avalos","Resumen":"{\"Cliente\": \"156\",\"Domicilio\": \"\"Nombre\": \"Maria Gricelda López Avalos\",\"URL\": \"https://sistema.siip.mx/crm/client/156\",\"Saldo Actual\": \"💲1246.67 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 17/01/2025 14:52 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"124180553522369174\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Saldo Actual":"💲1246.67 a favor","URL":"🌐 https://sistema.siip.mx/crm/client/156"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"2038d2d99ae543f3b56f1ae54f4cc82b","name":"Maria Gricelda López Avalos","phoneNumber":"5214181817609","avatarUrl":null,"createdAt":"2024-01-26T18:16:09Z","closedAt":"2025-02-17T19:00:45Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/2038d2d99ae543f3b56f1ae54f4cc82b","conversationHref":"https://dash.callbell.eu/chat/90611886ac204c56a75240f951c53874","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","user name":"Grisel","Estado":"🟢 Activo ","Cliente":"156","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Clabe Interbancaria":"124180553522369174","Domicilio":"📍 Yucatán 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 17/01/2025 14:52 con Tarjeta de crédito Stripe 💳","Monto Ultimo Pago":"💲 300","Nombre":"👤 Maria Gricelda López Avalos","Resumen":"{\"Cliente\": \"156\",\"Domicilio\": \"\"Nombre\": \"Maria Gricelda López Avalos\",\"URL\": \"https://sistema.siip.mx/crm/client/156\",\"Saldo Actual\": \"💲1246.67 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 17/01/2025 14:52 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"124180553522369174\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Saldo Actual":"💲1246.67 a favor","URL":"🌐 https://sistema.siip.mx/crm/client/156"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-21 16:00:45.205964] [notice] Logging level set to:debug -[2025-04-21 16:00:45.352405] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-21 16:00:45.352467] [debug] Valor de JSON: {"uuid":"cf67a53b-98fc-4f39-a083-2e5862f4362a","changeType":"draft_approved","entity":"invoice","entityId":"1830","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1830,"clientId":156,"number":"001780","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1833,"type":"service","label":"PREMIUM 01\/04\/2025 \u2013 30\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":126,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":700,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":723,"invoiceId":1830,"paymentId":502,"creditNoteId":null,"refundId":null,"amount":700}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"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},"entityBeforeEdit":null}} - -[2025-04-21 16:00:45.352562] [debug] Aprobación de Factura - -[2025-04-21 16:00:45.352610] [debug] {"uuid":"cf67a53b-98fc-4f39-a083-2e5862f4362a","changeType":"draft_approved","entity":"invoice","entityId":1830,"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}],"accountBalance":1246.67,"accountCredit":1246.67,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#7cb342","addressGpsLat":21.1562598,"addressGpsLon":-100.9370894,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1830,"clientId":156,"number":"001780","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1833,"type":"service","label":"PREMIUM 01\/04\/2025 \u2013 30\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":126,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":700,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":723,"invoiceId":1830,"paymentId":502,"creditNoteId":null,"refundId":null,"amount":700}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"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},"paymentData":null} - -[2025-04-21 16:00:45.352646] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-21 16:00:45.352655] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"cf67a53b-98fc-4f39-a083-2e5862f4362a","changeType":"draft_approved","entity":"invoice","entityId":1830,"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}],"accountBalance":1246.67,"accountCredit":1246.67,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#7cb342","addressGpsLat":21.1562598,"addressGpsLon":-100.9370894,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1830,"clientId":156,"number":"001780","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1833,"type":"service","label":"PREMIUM 01\/04\/2025 \u2013 30\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":126,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":700,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":723,"invoiceId":1830,"paymentId":502,"creditNoteId":null,"refundId":null,"amount":700}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"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},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":514,"clientId":156,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:52:20-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Maria Gricelda López Avalos - -UUID: 2038d2d99ae543f3b56f1ae54f4cc82b - -JSON con los datos a actualizar: {"name":"Maria Gricelda L\u00f3pez Avalos","custom_fields":{"Cliente":156,"Domicilio":"\ud83d\udccd Yucat\u00e1n 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Maria Gricelda L\u00f3pez Avalos","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/156","Saldo Actual":"\ud83d\udcb21246.67 a favor","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"156\",\"Domicilio\": \"\"Nombre\": \"Maria Gricelda L\u00f3pez Avalos\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/156\",\"Saldo Actual\": \"\ud83d\udcb21246.67 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 17\/01\/2025 14:52 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"21\/04\/2025 10:00\",\"Clabe Interbancaria\": \"124180553522369174\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 17\/01\/2025 14:52 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2025 10:00","Clabe Interbancaria":"124180553522369174","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "156","Domicilio": ""Nombre": "Maria Gricelda López Avalos","URL": "https://sistema.siip.mx/crm/client/156","Saldo Actual": "💲1246.67 a favor","Monto Ultimo Pago": "$ 300","Estado": "Activo","Fecha Ultimo Pago": " 17/01/2025 14:52 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "21/04/2025 10:00","Clabe Interbancaria": "124180553522369174","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"2038d2d99ae543f3b56f1ae54f4cc82b","name":"Maria Gricelda López Avalos","phoneNumber":"5214181817609","avatarUrl":null,"createdAt":"2024-01-26T18:16:09Z","closedAt":"2025-02-17T19:00:45Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/2038d2d99ae543f3b56f1ae54f4cc82b","conversationHref":"https://dash.callbell.eu/chat/90611886ac204c56a75240f951c53874","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","user name":"Grisel","Estado":"🟢 Activo ","Cliente":"156","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Clabe Interbancaria":"124180553522369174","Domicilio":"📍 Yucatán 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 17/01/2025 14:52 con Tarjeta de crédito Stripe 💳","Monto Ultimo Pago":"💲 300","Nombre":"👤 Maria Gricelda López Avalos","Resumen":"{\"Cliente\": \"156\",\"Domicilio\": \"\"Nombre\": \"Maria Gricelda López Avalos\",\"URL\": \"https://sistema.siip.mx/crm/client/156\",\"Saldo Actual\": \"💲1246.67 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 17/01/2025 14:52 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"124180553522369174\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Saldo Actual":"💲1246.67 a favor","URL":"🌐 https://sistema.siip.mx/crm/client/156"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"2038d2d99ae543f3b56f1ae54f4cc82b","name":"Maria Gricelda López Avalos","phoneNumber":"5214181817609","avatarUrl":null,"createdAt":"2024-01-26T18:16:09Z","closedAt":"2025-02-17T19:00:45Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/2038d2d99ae543f3b56f1ae54f4cc82b","conversationHref":"https://dash.callbell.eu/chat/90611886ac204c56a75240f951c53874","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","user name":"Grisel","Estado":"🟢 Activo ","Cliente":"156","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Clabe Interbancaria":"124180553522369174","Domicilio":"📍 Yucatán 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 17/01/2025 14:52 con Tarjeta de crédito Stripe 💳","Monto Ultimo Pago":"💲 300","Nombre":"👤 Maria Gricelda López Avalos","Resumen":"{\"Cliente\": \"156\",\"Domicilio\": \"\"Nombre\": \"Maria Gricelda López Avalos\",\"URL\": \"https://sistema.siip.mx/crm/client/156\",\"Saldo Actual\": \"💲1246.67 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 17/01/2025 14:52 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"124180553522369174\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Saldo Actual":"💲1246.67 a favor","URL":"🌐 https://sistema.siip.mx/crm/client/156"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-21 16:00:47.271476] [notice] Logging level set to:debug -[2025-04-21 16:00:47.430135] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-21 16:00:47.430188] [debug] Valor de JSON: {"uuid":"8d004f12-1f91-4ca0-8455-af327d24b5a3","changeType":"insert","entity":"invoice","entityId":"1831","eventName":"invoice.add_draft","extraData":{"entity":{"id":1831,"clientId":133,"number":"001781","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-20T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1834,"type":"service","label":"INTERMEDIO 21\/03\/2025 \u2013 20\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":114,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Los Amigos","clientLastName":"Invisibles","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-21 16:00:47.430296] [debug] Adición de borrador de Factura - -[2025-04-21 16:00:47.430342] [debug] {"uuid":"8d004f12-1f91-4ca0-8455-af327d24b5a3","changeType":"insert","entity":"invoice","entityId":1831,"message":null,"clientId":133,"eventName":"invoice.add_draft","clientData":{"id":133,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 34, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Los Amigos","lastName":"Invisibles","username":null,"contacts":[{"id":137,"clientId":133,"email":"amigosinvisibles@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":135,"clientId":133,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJjZqeaZSSPwcT","clientZoneVisible":true},{"id":136,"clientId":133,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180822750421052","clientZoneVisible":true}],"accountBalance":-4833.33,"accountCredit":0,"accountOutstanding":4833.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1568888,"addressGpsLon":-100.9275759,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1831,"clientId":133,"number":"001781","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-04-21T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1834,"type":"service","label":"INTERMEDIO 21\/03\/2025 \u2013 20\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":114,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Los Amigos","clientLastName":"Invisibles","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-21 16:00:47.430387] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-21 16:00:47.430397] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"8d004f12-1f91-4ca0-8455-af327d24b5a3","changeType":"insert","entity":"invoice","entityId":1831,"message":null,"clientId":133,"eventName":"invoice.add_draft","clientData":{"id":133,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 34, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Los Amigos","lastName":"Invisibles","username":null,"contacts":[{"id":137,"clientId":133,"email":"amigosinvisibles@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":135,"clientId":133,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJjZqeaZSSPwcT","clientZoneVisible":true},{"id":136,"clientId":133,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180822750421052","clientZoneVisible":true}],"accountBalance":-4833.33,"accountCredit":0,"accountOutstanding":4833.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1568888,"addressGpsLon":-100.9275759,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1831,"clientId":133,"number":"001781","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-04-21T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1834,"type":"service","label":"INTERMEDIO 21\/03\/2025 \u2013 20\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":114,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Los Amigos","clientLastName":"Invisibles","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Los Amigos Invisibles - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Los Amigos Invisibles","custom_fields":{"Cliente":133,"Domicilio":"\ud83d\udccd Calle Colima 34, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Los Amigos Invisibles","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/133","Saldo Actual":"\ud83d\udcb24833.33 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"133\",\"Domicilio\": \"\"Nombre\": \"Los Amigos Invisibles\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/133\",\"Saldo Actual\": \"\ud83d\udcb24833.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21\/04\/2025 10:00\",\"Clabe Interbancaria\": \"002180822750421052\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 21\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2025 10:00","Clabe Interbancaria":"002180822750421052","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "133","Domicilio": ""Nombre": "Los Amigos Invisibles","URL": "https://sistema.siip.mx/crm/client/133","Saldo Actual": "💲4833.33 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "21/04/2025 10:00","Clabe Interbancaria": "002180822750421052","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Los Amigos Invisibles","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲4833.33 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Calle Colima 34, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"133\",\"Domicilio\": \"\"Nombre\": \"Los Amigos Invisibles\",\"URL\": \"https://sistema.siip.mx/crm/client/133\",\"Saldo Actual\": \"💲4833.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"002180822750421052\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"002180822750421052","Cliente":"133","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Nombre":"👤 Los Amigos Invisibles","URL":"🌐 https://sistema.siip.mx/crm/client/133"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Los Amigos Invisibles","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲4833.33 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Calle Colima 34, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"133\",\"Domicilio\": \"\"Nombre\": \"Los Amigos Invisibles\",\"URL\": \"https://sistema.siip.mx/crm/client/133\",\"Saldo Actual\": \"💲4833.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"002180822750421052\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"002180822750421052","Cliente":"133","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Nombre":"👤 Los Amigos Invisibles","URL":"🌐 https://sistema.siip.mx/crm/client/133"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-21 16:00:50.138226] [notice] Logging level set to:debug -[2025-04-21 16:00:50.287873] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-21 16:00:50.287926] [debug] Valor de JSON: {"uuid":"40466e80-15bf-4601-90d2-2310ba21f1ff","changeType":"draft_approved","entity":"invoice","entityId":"1831","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1831,"clientId":133,"number":"001781","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-20T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1834,"type":"service","label":"INTERMEDIO 21\/03\/2025 \u2013 20\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":114,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Los Amigos","clientLastName":"Invisibles","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-21 16:00:50.288036] [debug] Aprobación de Factura - -[2025-04-21 16:00:50.288081] [debug] {"uuid":"40466e80-15bf-4601-90d2-2310ba21f1ff","changeType":"draft_approved","entity":"invoice","entityId":1831,"message":null,"clientId":133,"eventName":"invoice.draft_approved","clientData":{"id":133,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 34, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Los Amigos","lastName":"Invisibles","username":null,"contacts":[{"id":137,"clientId":133,"email":"amigosinvisibles@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":135,"clientId":133,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJjZqeaZSSPwcT","clientZoneVisible":true},{"id":136,"clientId":133,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180822750421052","clientZoneVisible":true}],"accountBalance":-4833.33,"accountCredit":0,"accountOutstanding":4833.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1568888,"addressGpsLon":-100.9275759,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1831,"clientId":133,"number":"001781","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-04-21T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1834,"type":"service","label":"INTERMEDIO 21\/03\/2025 \u2013 20\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":114,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Los Amigos","clientLastName":"Invisibles","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-21 16:00:50.288126] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-21 16:00:50.288136] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"40466e80-15bf-4601-90d2-2310ba21f1ff","changeType":"draft_approved","entity":"invoice","entityId":1831,"message":null,"clientId":133,"eventName":"invoice.draft_approved","clientData":{"id":133,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 34, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Los Amigos","lastName":"Invisibles","username":null,"contacts":[{"id":137,"clientId":133,"email":"amigosinvisibles@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":135,"clientId":133,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJjZqeaZSSPwcT","clientZoneVisible":true},{"id":136,"clientId":133,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180822750421052","clientZoneVisible":true}],"accountBalance":-4833.33,"accountCredit":0,"accountOutstanding":4833.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1568888,"addressGpsLon":-100.9275759,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1831,"clientId":133,"number":"001781","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-04-21T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1834,"type":"service","label":"INTERMEDIO 21\/03\/2025 \u2013 20\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":114,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Los Amigos","clientLastName":"Invisibles","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Los Amigos Invisibles - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Los Amigos Invisibles","custom_fields":{"Cliente":133,"Domicilio":"\ud83d\udccd Calle Colima 34, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Los Amigos Invisibles","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/133","Saldo Actual":"\ud83d\udcb24833.33 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"133\",\"Domicilio\": \"\"Nombre\": \"Los Amigos Invisibles\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/133\",\"Saldo Actual\": \"\ud83d\udcb24833.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21\/04\/2025 10:00\",\"Clabe Interbancaria\": \"002180822750421052\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 21\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2025 10:00","Clabe Interbancaria":"002180822750421052","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "133","Domicilio": ""Nombre": "Los Amigos Invisibles","URL": "https://sistema.siip.mx/crm/client/133","Saldo Actual": "💲4833.33 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "21/04/2025 10:00","Clabe Interbancaria": "002180822750421052","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Los Amigos Invisibles","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲4833.33 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Calle Colima 34, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"133\",\"Domicilio\": \"\"Nombre\": \"Los Amigos Invisibles\",\"URL\": \"https://sistema.siip.mx/crm/client/133\",\"Saldo Actual\": \"💲4833.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"002180822750421052\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"002180822750421052","Cliente":"133","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Nombre":"👤 Los Amigos Invisibles","URL":"🌐 https://sistema.siip.mx/crm/client/133"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Los Amigos Invisibles","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲4833.33 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Calle Colima 34, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"133\",\"Domicilio\": \"\"Nombre\": \"Los Amigos Invisibles\",\"URL\": \"https://sistema.siip.mx/crm/client/133\",\"Saldo Actual\": \"💲4833.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"002180822750421052\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"002180822750421052","Cliente":"133","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Nombre":"👤 Los Amigos Invisibles","URL":"🌐 https://sistema.siip.mx/crm/client/133"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-21 16:00:52.296063] [notice] Logging level set to:debug -[2025-04-21 16:00:52.435950] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-21 16:00:52.436006] [debug] Valor de JSON: {"uuid":"22089168-3906-47e7-95a3-276a631e72c8","changeType":"insert","entity":"invoice","entityId":"1832","eventName":"invoice.add_draft","extraData":{"entity":{"id":1832,"clientId":112,"number":"001782","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1835,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":153,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Do\u00f1a petra","clientLastName":"Gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Tamaulipas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-21 16:00:52.436105] [debug] Adición de borrador de Factura - -[2025-04-21 16:00:52.436153] [debug] {"uuid":"22089168-3906-47e7-95a3-276a631e72c8","changeType":"insert","entity":"invoice","entityId":1832,"message":null,"clientId":112,"eventName":"invoice.add_draft","clientData":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}],"accountBalance":-510,"accountCredit":0,"accountOutstanding":510,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1832,"clientId":112,"number":"001782","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-04-21T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1835,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":153,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Do\u00f1a petra","clientLastName":"Gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Tamaulipas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-21 16:00:52.436189] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-21 16:00:52.436199] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"22089168-3906-47e7-95a3-276a631e72c8","changeType":"insert","entity":"invoice","entityId":1832,"message":null,"clientId":112,"eventName":"invoice.add_draft","clientData":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}],"accountBalance":-510,"accountCredit":0,"accountOutstanding":510,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1832,"clientId":112,"number":"001782","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-04-21T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1835,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":153,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Do\u00f1a petra","clientLastName":"Gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Tamaulipas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Doña petra Gonzalez - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Do\u00f1a petra Gonzalez","custom_fields":{"Cliente":112,"Domicilio":"\ud83d\udccd Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Do\u00f1a petra Gonzalez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/112","Saldo Actual":"\ud83d\udcb2510 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"112\",\"Domicilio\": \"\"Nombre\": \"Do\u00f1a petra Gonzalez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/112\",\"Saldo Actual\": \"\ud83d\udcb2510 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 21\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21\/04\/2025 10:00\",\"Clabe Interbancaria\": \"124180438425083672\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 21\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2025 10:00","Clabe Interbancaria":"124180438425083672","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "112","Domicilio": ""Nombre": "Doña petra Gonzalez","URL": "https://sistema.siip.mx/crm/client/112","Saldo Actual": "💲510 pendientes","Monto Ultimo Pago": "$ ","Estado": "Activo","Fecha Ultimo Pago": " 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "21/04/2025 10:00","Clabe Interbancaria": "124180438425083672","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Doña petra Gonzalez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲510 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"112\",\"Domicilio\": \"\"Nombre\": \"Doña petra Gonzalez\",\"URL\": \"https://sistema.siip.mx/crm/client/112\",\"Saldo Actual\": \"💲510 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"124180438425083672\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"124180438425083672","Cliente":"112","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Nombre":"👤 Doña petra Gonzalez","URL":"🌐 https://sistema.siip.mx/crm/client/112"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Doña petra Gonzalez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲510 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"112\",\"Domicilio\": \"\"Nombre\": \"Doña petra Gonzalez\",\"URL\": \"https://sistema.siip.mx/crm/client/112\",\"Saldo Actual\": \"💲510 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"124180438425083672\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"124180438425083672","Cliente":"112","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Nombre":"👤 Doña petra Gonzalez","URL":"🌐 https://sistema.siip.mx/crm/client/112"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-21 16:00:53.980212] [notice] Logging level set to:debug -[2025-04-21 16:00:54.124774] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-21 16:00:54.124834] [debug] Valor de JSON: {"uuid":"974d67c8-238f-4cab-9f23-787666fa3888","changeType":"draft_approved","entity":"invoice","entityId":"1832","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1832,"clientId":112,"number":"001782","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1835,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":153,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Do\u00f1a petra","clientLastName":"Gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Tamaulipas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-21 16:00:54.124947] [debug] Aprobación de Factura - -[2025-04-21 16:00:54.124993] [debug] {"uuid":"974d67c8-238f-4cab-9f23-787666fa3888","changeType":"draft_approved","entity":"invoice","entityId":1832,"message":null,"clientId":112,"eventName":"invoice.draft_approved","clientData":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}],"accountBalance":-510,"accountCredit":0,"accountOutstanding":510,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1832,"clientId":112,"number":"001782","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-04-21T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1835,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":153,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Do\u00f1a petra","clientLastName":"Gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Tamaulipas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-21 16:00:54.125041] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-21 16:00:54.125051] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"974d67c8-238f-4cab-9f23-787666fa3888","changeType":"draft_approved","entity":"invoice","entityId":1832,"message":null,"clientId":112,"eventName":"invoice.draft_approved","clientData":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}],"accountBalance":-510,"accountCredit":0,"accountOutstanding":510,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1832,"clientId":112,"number":"001782","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-04-21T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1835,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":153,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Do\u00f1a petra","clientLastName":"Gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Tamaulipas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Doña petra Gonzalez - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Do\u00f1a petra Gonzalez","custom_fields":{"Cliente":112,"Domicilio":"\ud83d\udccd Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Do\u00f1a petra Gonzalez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/112","Saldo Actual":"\ud83d\udcb2510 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"112\",\"Domicilio\": \"\"Nombre\": \"Do\u00f1a petra Gonzalez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/112\",\"Saldo Actual\": \"\ud83d\udcb2510 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 21\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21\/04\/2025 10:00\",\"Clabe Interbancaria\": \"124180438425083672\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 21\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2025 10:00","Clabe Interbancaria":"124180438425083672","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "112","Domicilio": ""Nombre": "Doña petra Gonzalez","URL": "https://sistema.siip.mx/crm/client/112","Saldo Actual": "💲510 pendientes","Monto Ultimo Pago": "$ ","Estado": "Activo","Fecha Ultimo Pago": " 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "21/04/2025 10:00","Clabe Interbancaria": "124180438425083672","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Doña petra Gonzalez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲510 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"112\",\"Domicilio\": \"\"Nombre\": \"Doña petra Gonzalez\",\"URL\": \"https://sistema.siip.mx/crm/client/112\",\"Saldo Actual\": \"💲510 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"124180438425083672\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"124180438425083672","Cliente":"112","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Nombre":"👤 Doña petra Gonzalez","URL":"🌐 https://sistema.siip.mx/crm/client/112"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Doña petra Gonzalez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲510 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Monto Ultimo Pago":"💲 ","Resumen":"{\"Cliente\": \"112\",\"Domicilio\": \"\"Nombre\": \"Doña petra Gonzalez\",\"URL\": \"https://sistema.siip.mx/crm/client/112\",\"Saldo Actual\": \"💲510 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"124180438425083672\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"124180438425083672","Cliente":"112","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 21/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Nombre":"👤 Doña petra Gonzalez","URL":"🌐 https://sistema.siip.mx/crm/client/112"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-21 16:00:56.009684] [notice] Logging level set to:debug -[2025-04-21 16:00:56.154768] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-21 16:00:56.154825] [debug] Valor de JSON: {"uuid":"ecdc9e02-0ff0-46e5-bec8-0b4302e14d20","changeType":"insert","entity":"invoice","entityId":"1833","eventName":"invoice.add_draft","extraData":{"entity":{"id":1833,"clientId":141,"number":"001783","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1836,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":135,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Caim\u00e1n","clientLastName":"Dorado","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-21 16:00:56.154942] [debug] Adición de borrador de Factura - -[2025-04-21 16:00:56.154987] [debug] {"uuid":"ecdc9e02-0ff0-46e5-bec8-0b4302e14d20","changeType":"insert","entity":"invoice","entityId":1833,"message":null,"clientId":141,"eventName":"invoice.add_draft","clientData":{"id":141,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Caim\u00e1n","lastName":"Dorado","username":null,"contacts":[{"id":145,"clientId":141,"email":"caimangolden@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-870,"accountCredit":0,"accountOutstanding":870,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#43a047","addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1833,"clientId":141,"number":"001783","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-04-21T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1836,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":135,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Caim\u00e1n","clientLastName":"Dorado","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-21 16:00:56.155034] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-21 16:00:56.155049] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"ecdc9e02-0ff0-46e5-bec8-0b4302e14d20","changeType":"insert","entity":"invoice","entityId":1833,"message":null,"clientId":141,"eventName":"invoice.add_draft","clientData":{"id":141,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Caim\u00e1n","lastName":"Dorado","username":null,"contacts":[{"id":145,"clientId":141,"email":"caimangolden@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-870,"accountCredit":0,"accountOutstanding":870,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#43a047","addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1833,"clientId":141,"number":"001783","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-04-21T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1836,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":135,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Caim\u00e1n","clientLastName":"Dorado","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":337,"clientId":141,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2024-06-28T14:08:58-0600","amount":30,"currencyCode":"MXN","note":null,"receiptSentDate":"2024-06-28T14:09:40-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":674,"invoiceId":1696,"paymentId":337,"creditNoteId":null,"refundId":null,"amount":30}],"creditAmount":0,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: El Caimán Dorado - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"El Caim\u00e1n Dorado","custom_fields":{"Cliente":141,"Domicilio":"\ud83d\udccd Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 El Caim\u00e1n Dorado","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/141","Saldo Actual":"\ud83d\udcb2870 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 30","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"141\",\"Domicilio\": \"\"Nombre\": \"El Caim\u00e1n Dorado\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/141\",\"Saldo Actual\": \"\ud83d\udcb2870 pendientes\",\"Monto Ultimo Pago\": \"$ 30\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28\/06\/2024 14:08 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"21\/04\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 28\/06\/2024 14:08 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "141","Domicilio": ""Nombre": "El Caimán Dorado","URL": "https://sistema.siip.mx/crm/client/141","Saldo Actual": "💲870 pendientes","Monto Ultimo Pago": "$ 30","Estado": "Suspendido","Fecha Ultimo Pago": " 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "21/04/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Caimán Dorado","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲870 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Monto Ultimo Pago":"💲 30","Resumen":"{\"Cliente\": \"141\",\"Domicilio\": \"\"Nombre\": \"El Caimán Dorado\",\"URL\": \"https://sistema.siip.mx/crm/client/141\",\"Saldo Actual\": \"💲870 pendientes\",\"Monto Ultimo Pago\": \"$ 30\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"124180438425083672","Cliente":"141","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳","Nombre":"👤 El Caimán Dorado","URL":"🌐 https://sistema.siip.mx/crm/client/141"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Caimán Dorado","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲870 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Monto Ultimo Pago":"💲 30","Resumen":"{\"Cliente\": \"141\",\"Domicilio\": \"\"Nombre\": \"El Caimán Dorado\",\"URL\": \"https://sistema.siip.mx/crm/client/141\",\"Saldo Actual\": \"💲870 pendientes\",\"Monto Ultimo Pago\": \"$ 30\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"124180438425083672","Cliente":"141","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳","Nombre":"👤 El Caimán Dorado","URL":"🌐 https://sistema.siip.mx/crm/client/141"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-21 16:00:57.907064] [notice] Logging level set to:debug -[2025-04-21 16:00:58.068870] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-21 16:00:58.068919] [debug] Valor de JSON: {"uuid":"86a9b3f2-10c8-4352-b427-dd9b04fdb774","changeType":"draft_approved","entity":"invoice","entityId":"1833","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1833,"clientId":141,"number":"001783","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1836,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":135,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Caim\u00e1n","clientLastName":"Dorado","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-21 16:00:58.069017] [debug] Aprobación de Factura - -[2025-04-21 16:00:58.069061] [debug] {"uuid":"86a9b3f2-10c8-4352-b427-dd9b04fdb774","changeType":"draft_approved","entity":"invoice","entityId":1833,"message":null,"clientId":141,"eventName":"invoice.draft_approved","clientData":{"id":141,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Caim\u00e1n","lastName":"Dorado","username":null,"contacts":[{"id":145,"clientId":141,"email":"caimangolden@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-870,"accountCredit":0,"accountOutstanding":870,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#43a047","addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1833,"clientId":141,"number":"001783","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-04-21T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1836,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":135,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Caim\u00e1n","clientLastName":"Dorado","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-21 16:00:58.069091] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-21 16:00:58.069101] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"86a9b3f2-10c8-4352-b427-dd9b04fdb774","changeType":"draft_approved","entity":"invoice","entityId":1833,"message":null,"clientId":141,"eventName":"invoice.draft_approved","clientData":{"id":141,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Caim\u00e1n","lastName":"Dorado","username":null,"contacts":[{"id":145,"clientId":141,"email":"caimangolden@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-870,"accountCredit":0,"accountOutstanding":870,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#43a047","addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1833,"clientId":141,"number":"001783","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-04-21T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1836,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":135,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Caim\u00e1n","clientLastName":"Dorado","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":337,"clientId":141,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2024-06-28T14:08:58-0600","amount":30,"currencyCode":"MXN","note":null,"receiptSentDate":"2024-06-28T14:09:40-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":674,"invoiceId":1696,"paymentId":337,"creditNoteId":null,"refundId":null,"amount":30}],"creditAmount":0,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: El Caimán Dorado - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"El Caim\u00e1n Dorado","custom_fields":{"Cliente":141,"Domicilio":"\ud83d\udccd Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 El Caim\u00e1n Dorado","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/141","Saldo Actual":"\ud83d\udcb2870 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 30","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"141\",\"Domicilio\": \"\"Nombre\": \"El Caim\u00e1n Dorado\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/141\",\"Saldo Actual\": \"\ud83d\udcb2870 pendientes\",\"Monto Ultimo Pago\": \"$ 30\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28\/06\/2024 14:08 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"21\/04\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 28\/06\/2024 14:08 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "141","Domicilio": ""Nombre": "El Caimán Dorado","URL": "https://sistema.siip.mx/crm/client/141","Saldo Actual": "💲870 pendientes","Monto Ultimo Pago": "$ 30","Estado": "Suspendido","Fecha Ultimo Pago": " 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "21/04/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Caimán Dorado","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲870 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Monto Ultimo Pago":"💲 30","Resumen":"{\"Cliente\": \"141\",\"Domicilio\": \"\"Nombre\": \"El Caimán Dorado\",\"URL\": \"https://sistema.siip.mx/crm/client/141\",\"Saldo Actual\": \"💲870 pendientes\",\"Monto Ultimo Pago\": \"$ 30\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"124180438425083672","Cliente":"141","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳","Nombre":"👤 El Caimán Dorado","URL":"🌐 https://sistema.siip.mx/crm/client/141"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"El Caimán Dorado","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲870 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2025 10:00","Monto Ultimo Pago":"💲 30","Resumen":"{\"Cliente\": \"141\",\"Domicilio\": \"\"Nombre\": \"El Caimán Dorado\",\"URL\": \"https://sistema.siip.mx/crm/client/141\",\"Saldo Actual\": \"💲870 pendientes\",\"Monto Ultimo Pago\": \"$ 30\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"21/04/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Clabe Interbancaria":"124180438425083672","Cliente":"141","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 28/06/2024 14:08 con Tarjeta de crédito Stripe 💳","Nombre":"👤 El Caimán Dorado","URL":"🌐 https://sistema.siip.mx/crm/client/141"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-21 16:00:59.627597] [notice] Logging level set to:debug -[2025-04-21 16:00:59.778105] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-21 16:00:59.778167] [debug] Valor de JSON: {"uuid":"6f615c1a-07e9-47ec-b278-95a80046231b","changeType":"insert","entity":"invoice","entityId":"1834","eventName":"invoice.add_draft","extraData":{"entity":{"id":1834,"clientId":105,"number":"001784","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-20T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1837,"type":"service","label":"plan300 21\/03\/2025 \u2013 20\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":111,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"jota","clientLastName":"serpiente","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":null,"clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-21 16:00:59.778290] [debug] Adición de borrador de Factura - -[2025-04-21 16:00:59.778331] [debug] {"uuid":"6f615c1a-07e9-47ec-b278-95a80046231b","changeType":"insert","entity":"invoice","entityId":1834,"message":null,"clientId":105,"eventName":"invoice.add_draft","clientData":{"id":105,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":null,"countryId":173,"stateId":null,"zipCode":null,"fullAddress":null,"invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-02-17T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"jota","lastName":"serpiente","username":null,"contacts":[{"id":109,"clientId":105,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3200,"accountCredit":0,"accountOutstanding":3200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4527a0","addressGpsLat":null,"addressGpsLon":null,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1834,"clientId":105,"number":"001784","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1837,"type":"service","label":"plan300 21\/03\/2025 \u2013 20\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":111,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"jota","clientLastName":"serpiente","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":null,"clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-21 16:00:59.899811] [notice] Logging level set to:debug -[2025-04-21 16:01:00.047991] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-21 16:01:00.048046] [debug] Valor de JSON: {"uuid":"add6866e-0c5b-4e6f-83da-9bef3d3c0f87","changeType":"draft_approved","entity":"invoice","entityId":"1834","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1834,"clientId":105,"number":"001784","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-20T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1837,"type":"service","label":"plan300 21\/03\/2025 \u2013 20\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":111,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"jota","clientLastName":"serpiente","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":null,"clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-21 16:01:00.048144] [debug] Aprobación de Factura - -[2025-04-21 16:01:00.048183] [debug] {"uuid":"add6866e-0c5b-4e6f-83da-9bef3d3c0f87","changeType":"draft_approved","entity":"invoice","entityId":1834,"message":null,"clientId":105,"eventName":"invoice.draft_approved","clientData":{"id":105,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":null,"countryId":173,"stateId":null,"zipCode":null,"fullAddress":null,"invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-02-17T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"jota","lastName":"serpiente","username":null,"contacts":[{"id":109,"clientId":105,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3200,"accountCredit":0,"accountOutstanding":3200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4527a0","addressGpsLat":null,"addressGpsLon":null,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1834,"clientId":105,"number":"001784","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1837,"type":"service","label":"plan300 21\/03\/2025 \u2013 20\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":111,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"jota","clientLastName":"serpiente","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":null,"clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-21 16:01:00.161463] [notice] Logging level set to:debug -[2025-04-21 16:01:00.409383] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-21 16:01:00.409440] [debug] Valor de JSON: {"uuid":"d835a1e4-d96d-4535-9545-045cbfa51e1a","changeType":"insert","entity":"invoice","entityId":"1835","eventName":"invoice.add_draft","extraData":{"entity":{"id":1835,"clientId":148,"number":"001785","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1838,"type":"service","label":"plan300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-21 16:01:00.409543] [debug] Adición de borrador de Factura - -[2025-04-21 16:01:00.409590] [debug] {"uuid":"d835a1e4-d96d-4535-9545-045cbfa51e1a","changeType":"insert","entity":"invoice","entityId":1835,"message":null,"clientId":148,"eventName":"invoice.add_draft","clientData":{"id":148,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"24 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-08-19T00:00:00-0600","leadConvertedAt":"2024-08-19T15:08:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El AR","lastName":"Real 3D","username":null,"contacts":[{"id":152,"clientId":148,"email":"elarquijuve@gmail.com","phone":"41818781806","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":147,"clientId":148,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Qh0pTQM9a96D8B","clientZoneVisible":true},{"id":148,"clientId":148,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180834778043086","clientZoneVisible":true},{"id":151,"clientId":148,"customAttributeId":8,"name":"conekta","key":"conekta","value":"aasdad","clientZoneVisible":true}],"accountBalance":-900,"accountCredit":0,"accountOutstanding":900,"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":1835,"clientId":148,"number":"001785","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-04-21T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1838,"type":"service","label":"plan300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-21 16:01:00.409634] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-21 16:01:00.409643] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"d835a1e4-d96d-4535-9545-045cbfa51e1a","changeType":"insert","entity":"invoice","entityId":1835,"message":null,"clientId":148,"eventName":"invoice.add_draft","clientData":{"id":148,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"24 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-08-19T00:00:00-0600","leadConvertedAt":"2024-08-19T15:08:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El AR","lastName":"Real 3D","username":null,"contacts":[{"id":152,"clientId":148,"email":"elarquijuve@gmail.com","phone":"41818781806","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":147,"clientId":148,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Qh0pTQM9a96D8B","clientZoneVisible":true},{"id":148,"clientId":148,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180834778043086","clientZoneVisible":true},{"id":151,"clientId":148,"customAttributeId":8,"name":"conekta","key":"conekta","value":"aasdad","clientZoneVisible":true}],"accountBalance":-900,"accountCredit":0,"accountOutstanding":900,"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":1835,"clientId":148,"number":"001785","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-04-21T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1838,"type":"service","label":"plan300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -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":{"Cliente":148,"Domicilio":"\ud83d\udccd Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 El AR Real 3D","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/148","Saldo Actual":"\ud83d\udcb2900 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 3500","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"148\",\"Domicilio\": \"\"Nombre\": \"El AR Real 3D\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/148\",\"Saldo Actual\": \"\ud83d\udcb2900 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 19\/08\/2024 15:10 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"21\/04\/2025 10:01\",\"Clabe Interbancaria\": \"002180834778043086\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 19\/08\/2024 15:10 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2025 10:01","Clabe Interbancaria":"002180834778043086","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "148","Domicilio": ""Nombre": "El AR Real 3D","URL": "https://sistema.siip.mx/crm/client/148","Saldo Actual": "💲900 pendientes","Monto Ultimo Pago": "$ 3500","Estado": "Suspendido","Fecha Ultimo Pago": " 19/08/2024 15:10 con Efectivo 💵","Fecha Ultima Actualizacion": "21/04/2025 10:01","Clabe Interbancaria": "002180834778043086","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: - -Response 2 Patch CallBell: - -[2025-04-21 16:01:02.083869] [notice] Logging level set to:debug -[2025-04-21 16:01:02.226043] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-21 16:01:02.226104] [debug] Valor de JSON: {"uuid":"43f25c0c-ca6a-46e0-8d87-8cdb5df9c22f","changeType":"draft_approved","entity":"invoice","entityId":"1835","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1835,"clientId":148,"number":"001785","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1838,"type":"service","label":"plan300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-21 16:01:02.226233] [debug] Aprobación de Factura - -[2025-04-21 16:01:02.226283] [debug] {"uuid":"43f25c0c-ca6a-46e0-8d87-8cdb5df9c22f","changeType":"draft_approved","entity":"invoice","entityId":1835,"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":151,"clientId":148,"customAttributeId":8,"name":"conekta","key":"conekta","value":"aasdad","clientZoneVisible":true}],"accountBalance":-900,"accountCredit":0,"accountOutstanding":900,"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":1835,"clientId":148,"number":"001785","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-04-21T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1838,"type":"service","label":"plan300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-21 16:01:02.226325] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-21 16:01:02.226340] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"43f25c0c-ca6a-46e0-8d87-8cdb5df9c22f","changeType":"draft_approved","entity":"invoice","entityId":1835,"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":151,"clientId":148,"customAttributeId":8,"name":"conekta","key":"conekta","value":"aasdad","clientZoneVisible":true}],"accountBalance":-900,"accountCredit":0,"accountOutstanding":900,"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":1835,"clientId":148,"number":"001785","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-04-21T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1838,"type":"service","label":"plan300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -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":{"Cliente":148,"Domicilio":"\ud83d\udccd Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 El AR Real 3D","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/148","Saldo Actual":"\ud83d\udcb2900 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 3500","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"148\",\"Domicilio\": \"\"Nombre\": \"El AR Real 3D\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/148\",\"Saldo Actual\": \"\ud83d\udcb2900 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 19\/08\/2024 15:10 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"21\/04\/2025 10:01\",\"Clabe Interbancaria\": \"002180834778043086\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 19\/08\/2024 15:10 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2025 10:01","Clabe Interbancaria":"002180834778043086","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "148","Domicilio": ""Nombre": "El AR Real 3D","URL": "https://sistema.siip.mx/crm/client/148","Saldo Actual": "💲900 pendientes","Monto Ultimo Pago": "$ 3500","Estado": "Suspendido","Fecha Ultimo Pago": " 19/08/2024 15:10 con Efectivo 💵","Fecha Ultima Actualizacion": "21/04/2025 10:01","Clabe Interbancaria": "002180834778043086","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: - -Response 2 Patch CallBell: - -[2025-04-22 6:25:02.059271] [notice] Logging level set to:debug -[2025-04-22 6:25:02.219793] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-22 6:25:02.219849] [debug] Valor de JSON: {"uuid":"26ecf399-16ff-4909-b33c-e056d387fd30","changeType":"overdue","entity":"invoice","entityId":"1813","eventName":"invoice.overdue","extraData":{"entity":{"id":1813,"clientId":116,"number":"001763","createdDate":"2025-04-07T10:00:01-0600","dueDate":"2025-04-21T10:00:01-0600","emailSentDate":"2025-04-22T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1816,"type":"service","label":"PREMIUM 07\/03\/2025 \u2013 06\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":110,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jos\u00e9 Humberto","clientLastName":"Rodr\u00edguez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"28 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-22 6:25:02.220062] [debug] Factura vencida - -[2025-04-22 6:25:02.220104] [debug] datos del notification para el invoice overdue:{"uuid":"26ecf399-16ff-4909-b33c-e056d387fd30","changeType":"overdue","entity":"invoice","entityId":1813,"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":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-7000,"accountCredit":0,"accountOutstanding":7000,"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":1813,"clientId":116,"number":"001763","createdDate":"2025-04-07T10:00:01-0600","dueDate":"2025-04-21T10:00:01-0600","emailSentDate":"2025-04-22T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1816,"type":"service","label":"PREMIUM 07\/03\/2025 \u2013 06\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":110,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jos\u00e9 Humberto","clientLastName":"Rodr\u00edguez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"28 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-22 6:25:02.220125] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-22 6:25:02.220236] [debug] Numero de cel obtenido - -[2025-04-22 6:25:02.220247] [warning] No se encontró un teléfono celular válido para el cliente: 116 -[2025-04-24 5:50:50.048763] [notice] Logging level set to:debug -[2025-04-24 5:50:50.048871] [debug] valor del webhook: {"type":"paperless.update"} - -[2025-04-24 5:50:50.048898] [info] No UUID found in the webhook data -[2025-04-24 5:50:50.048914] [debug] HTTP request processing ended. -[2025-04-24 5:50:50.927829] [notice] Logging level set to:debug -[2025-04-24 5:50:50.927915] [debug] valor del webhook: {"type":"paperless.update"} - -[2025-04-24 5:50:50.927934] [info] No UUID found in the webhook data -[2025-04-24 5:50:50.927947] [debug] HTTP request processing ended. -[2025-04-24 5:51:00.569614] [notice] Logging level set to:debug -[2025-04-24 5:51:00.569726] [debug] valor del webhook: {"type":"paperless.update"} - -[2025-04-24 5:51:00.569765] [info] No UUID found in the webhook data -[2025-04-24 5:51:00.569789] [debug] HTTP request processing ended. -[2025-04-24 5:51:05.802479] [notice] Logging level set to:debug -[2025-04-24 5:51:05.802566] [debug] valor del webhook: {"type":"paperless.update"} - -[2025-04-24 5:51:05.802592] [info] No UUID found in the webhook data -[2025-04-24 5:51:05.802608] [debug] HTTP request processing ended. -[2025-04-24 5:51:16.269740] [notice] Logging level set to:debug -[2025-04-24 5:51:16.269821] [debug] valor del webhook: {"type":"paperless.update"} - -[2025-04-24 5:51:16.269845] [info] No UUID found in the webhook data -[2025-04-24 5:51:16.269861] [debug] HTTP request processing ended. -[2025-04-24 5:51:21.565725] [notice] Logging level set to:debug -[2025-04-24 5:51:21.565814] [debug] valor del webhook: {"type":"paperless.update"} - -[2025-04-24 5:51:21.565838] [info] No UUID found in the webhook data -[2025-04-24 5:51:21.565854] [debug] HTTP request processing ended. -[2025-04-24 5:51:26.814512] [notice] Logging level set to:debug -[2025-04-24 5:51:26.814623] [debug] valor del webhook: {"type":"paperless.update"} - -[2025-04-24 5:51:26.814660] [info] No UUID found in the webhook data -[2025-04-24 5:51:26.814685] [debug] HTTP request processing ended. -[2025-04-24 5:51:32.070537] [notice] Logging level set to:debug -[2025-04-24 5:51:32.070643] [debug] valor del webhook: {"type":"paperless.update"} - -[2025-04-24 5:51:32.070678] [info] No UUID found in the webhook data -[2025-04-24 5:51:32.070703] [debug] HTTP request processing ended. -[2025-04-24 5:51:32.841634] [notice] Logging level set to:debug -[2025-04-24 5:51:32.841738] [debug] valor del webhook: {"filename":"Contratos de Clientes_101"} - - -[2025-04-24 9:03:41.017019] [info] No UUID found in the webhook data -[2025-04-24 9:03:41.017040] [debug] HTTP request processing ended. -[2025-04-24 16:00:04.185081] [notice] Logging level set to:debug -[2025-04-24 16:00:04.185167] [debug] valor del webhook: {"uuid":"f6cd4463-69dd-41c3-a040-7e6a6ddbea61","changeType":"insert","entity":"invoice","entityId":"1836","eventName":"invoice.add_draft","extraData":{"entity":{"id":1836,"clientId":126,"number":"001786","createdDate":"2025-04-24T10:00:01-0600","dueDate":"2025-05-08T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-23T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1839,"type":"service","label":"PREMIUM 24\/03\/2025 \u2013 23\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":108,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL INNU","clientLastName":"RATA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-24 16:00:04.371628] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-24 16:00:04.371695] [debug] Valor de JSON: {"uuid":"f6cd4463-69dd-41c3-a040-7e6a6ddbea61","changeType":"insert","entity":"invoice","entityId":"1836","eventName":"invoice.add_draft","extraData":{"entity":{"id":1836,"clientId":126,"number":"001786","createdDate":"2025-04-24T10:00:01-0600","dueDate":"2025-05-08T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-23T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1839,"type":"service","label":"PREMIUM 24\/03\/2025 \u2013 23\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":108,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL INNU","clientLastName":"RATA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-24 16:00:04.371932] [debug] Adición de borrador de Factura - -[2025-04-24 16:00:04.375185] [debug] {"uuid":"f6cd4463-69dd-41c3-a040-7e6a6ddbea61","changeType":"insert","entity":"invoice","entityId":1836,"message":null,"clientId":126,"eventName":"invoice.add_draft","clientData":{"id":126,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-05-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DANIEL INNU","lastName":"RATA","username":"dhsv.141089@gmail.com","contacts":[{"id":130,"clientId":126,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":127,"clientId":126,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QASKG6Z0Hree1h","clientZoneVisible":true},{"id":128,"clientId":126,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180704572078989","clientZoneVisible":true}],"accountBalance":-3500,"accountCredit":0,"accountOutstanding":3500,"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":1836,"clientId":126,"number":"001786","createdDate":"2025-04-24T10:00:01-0600","dueDate":"2025-05-08T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-22T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1839,"type":"service","label":"PREMIUM 24\/03\/2025 \u2013 23\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":108,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL INNU","clientLastName":"RATA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-24 16:00:04.375308] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-24 16:00:04.375320] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"f6cd4463-69dd-41c3-a040-7e6a6ddbea61","changeType":"insert","entity":"invoice","entityId":1836,"message":null,"clientId":126,"eventName":"invoice.add_draft","clientData":{"id":126,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-05-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DANIEL INNU","lastName":"RATA","username":"dhsv.141089@gmail.com","contacts":[{"id":130,"clientId":126,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":127,"clientId":126,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QASKG6Z0Hree1h","clientZoneVisible":true},{"id":128,"clientId":126,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180704572078989","clientZoneVisible":true}],"accountBalance":-3500,"accountCredit":0,"accountOutstanding":3500,"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":1836,"clientId":126,"number":"001786","createdDate":"2025-04-24T10:00:01-0600","dueDate":"2025-05-08T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-22T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1839,"type":"service","label":"PREMIUM 24\/03\/2025 \u2013 23\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":108,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL INNU","clientLastName":"RATA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":296,"clientId":126,"methodId":"78e84000-9b5b-44a4-8367-da43df86ce34","checkNumber":null,"createdDate":"2024-06-07T13:36:46-0600","amount":2100,"currencyCode":"MXN","note":null,"receiptSentDate":"2024-06-07T13:37:23-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":337,"invoiceId":495,"paymentId":296,"creditNoteId":null,"refundId":null,"amount":700},{"id":338,"invoiceId":613,"paymentId":296,"creditNoteId":null,"refundId":null,"amount":700},{"id":339,"invoiceId":614,"paymentId":296,"creditNoteId":null,"refundId":null,"amount":700}],"creditAmount":0,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: DANIEL INNU RATA - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"DANIEL INNU RATA","custom_fields":{"Cliente":126,"Domicilio":"\ud83d\udccd Chiapas, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 DANIEL INNU RATA","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/126","Saldo Actual":"\ud83d\udcb23500 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 2100","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"126\",\"Domicilio\": \"\"Nombre\": \"DANIEL INNU RATA\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/126\",\"Saldo Actual\": \"\ud83d\udcb23500 pendientes\",\"Monto Ultimo Pago\": \"$ 2100\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07\/06\/2024 13:36 con PayPal \ud83c\udf10\ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"24\/04\/2025 10:00\",\"Clabe Interbancaria\": \"002180704572078989\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/06\/2024 13:36 con PayPal \ud83c\udf10\ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/04\/2025 10:00","Clabe Interbancaria":"002180704572078989","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "126","Domicilio": ""Nombre": "DANIEL INNU RATA","URL": "https://sistema.siip.mx/crm/client/126","Saldo Actual": "💲3500 pendientes","Monto Ultimo Pago": "$ 2100","Estado": "Suspendido","Fecha Ultimo Pago": " 07/06/2024 13:36 con PayPal 🌐💳","Fecha Ultima Actualizacion": "24/04/2025 10:00","Clabe Interbancaria": "002180704572078989","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"DANIEL INNU RATA","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Resumen":"{\"Cliente\": \"126\",\"Domicilio\": \"\"Nombre\": \"DANIEL INNU RATA\",\"URL\": \"https://sistema.siip.mx/crm/client/126\",\"Saldo Actual\": \"💲3500 pendientes\",\"Monto Ultimo Pago\": \"$ 2100\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/06/2024 13:36 con PayPal 🌐💳\",\"Fecha Ultima Actualizacion\": \"24/04/2025 10:00\",\"Clabe Interbancaria\": \"002180704572078989\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Saldo Actual":"💲3500 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 24/04/2025 10:00","Monto Ultimo Pago":"💲 2100","URL":"🌐 https://sistema.siip.mx/crm/client/126","Clabe Interbancaria":"002180704572078989","Cliente":"126","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 07/06/2024 13:36 con PayPal 🌐💳","Nombre":"👤 DANIEL INNU RATA"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"DANIEL INNU RATA","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Resumen":"{\"Cliente\": \"126\",\"Domicilio\": \"\"Nombre\": \"DANIEL INNU RATA\",\"URL\": \"https://sistema.siip.mx/crm/client/126\",\"Saldo Actual\": \"💲3500 pendientes\",\"Monto Ultimo Pago\": \"$ 2100\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/06/2024 13:36 con PayPal 🌐💳\",\"Fecha Ultima Actualizacion\": \"24/04/2025 10:00\",\"Clabe Interbancaria\": \"002180704572078989\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Saldo Actual":"💲3500 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 24/04/2025 10:00","Monto Ultimo Pago":"💲 2100","URL":"🌐 https://sistema.siip.mx/crm/client/126","Clabe Interbancaria":"002180704572078989","Cliente":"126","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 07/06/2024 13:36 con PayPal 🌐💳","Nombre":"👤 DANIEL INNU RATA"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-24 16:00:07.326858] [debug] HTTP request processing ended. -[2025-04-24 16:00:07.486388] [notice] Logging level set to:debug -[2025-04-24 16:00:07.486501] [debug] valor del webhook: {"uuid":"1872cdee-68b4-4af1-9426-b111e627243a","changeType":"draft_approved","entity":"invoice","entityId":"1836","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1836,"clientId":126,"number":"001786","createdDate":"2025-04-24T10:00:01-0600","dueDate":"2025-05-08T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-23T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1839,"type":"service","label":"PREMIUM 24\/03\/2025 \u2013 23\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":108,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL INNU","clientLastName":"RATA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-24 16:00:07.658246] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-24 16:00:07.658303] [debug] Valor de JSON: {"uuid":"1872cdee-68b4-4af1-9426-b111e627243a","changeType":"draft_approved","entity":"invoice","entityId":"1836","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1836,"clientId":126,"number":"001786","createdDate":"2025-04-24T10:00:01-0600","dueDate":"2025-05-08T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-23T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1839,"type":"service","label":"PREMIUM 24\/03\/2025 \u2013 23\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":108,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL INNU","clientLastName":"RATA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-24 16:00:07.658432] [debug] Aprobación de Factura - -[2025-04-24 16:00:07.658479] [debug] {"uuid":"1872cdee-68b4-4af1-9426-b111e627243a","changeType":"draft_approved","entity":"invoice","entityId":1836,"message":null,"clientId":126,"eventName":"invoice.draft_approved","clientData":{"id":126,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-05-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DANIEL INNU","lastName":"RATA","username":"dhsv.141089@gmail.com","contacts":[{"id":130,"clientId":126,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":127,"clientId":126,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QASKG6Z0Hree1h","clientZoneVisible":true},{"id":128,"clientId":126,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180704572078989","clientZoneVisible":true}],"accountBalance":-3500,"accountCredit":0,"accountOutstanding":3500,"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":1836,"clientId":126,"number":"001786","createdDate":"2025-04-24T10:00:01-0600","dueDate":"2025-05-08T10:00:01-0600","emailSentDate":"2025-04-24T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-22T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1839,"type":"service","label":"PREMIUM 24\/03\/2025 \u2013 23\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":108,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL INNU","clientLastName":"RATA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-24 16:00:07.658521] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-24 16:00:07.658533] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"1872cdee-68b4-4af1-9426-b111e627243a","changeType":"draft_approved","entity":"invoice","entityId":1836,"message":null,"clientId":126,"eventName":"invoice.draft_approved","clientData":{"id":126,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-05-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DANIEL INNU","lastName":"RATA","username":"dhsv.141089@gmail.com","contacts":[{"id":130,"clientId":126,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":127,"clientId":126,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QASKG6Z0Hree1h","clientZoneVisible":true},{"id":128,"clientId":126,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180704572078989","clientZoneVisible":true}],"accountBalance":-3500,"accountCredit":0,"accountOutstanding":3500,"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":1836,"clientId":126,"number":"001786","createdDate":"2025-04-24T10:00:01-0600","dueDate":"2025-05-08T10:00:01-0600","emailSentDate":"2025-04-24T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-22T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1839,"type":"service","label":"PREMIUM 24\/03\/2025 \u2013 23\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":108,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL INNU","clientLastName":"RATA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":296,"clientId":126,"methodId":"78e84000-9b5b-44a4-8367-da43df86ce34","checkNumber":null,"createdDate":"2024-06-07T13:36:46-0600","amount":2100,"currencyCode":"MXN","note":null,"receiptSentDate":"2024-06-07T13:37:23-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":337,"invoiceId":495,"paymentId":296,"creditNoteId":null,"refundId":null,"amount":700},{"id":338,"invoiceId":613,"paymentId":296,"creditNoteId":null,"refundId":null,"amount":700},{"id":339,"invoiceId":614,"paymentId":296,"creditNoteId":null,"refundId":null,"amount":700}],"creditAmount":0,"userId":1015,"attributes":[]}] - -Nombre del cliente que se va a actualizar: DANIEL INNU RATA - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"DANIEL INNU RATA","custom_fields":{"Cliente":126,"Domicilio":"\ud83d\udccd Chiapas, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 DANIEL INNU RATA","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/126","Saldo Actual":"\ud83d\udcb23500 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 2100","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"126\",\"Domicilio\": \"\"Nombre\": \"DANIEL INNU RATA\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/126\",\"Saldo Actual\": \"\ud83d\udcb23500 pendientes\",\"Monto Ultimo Pago\": \"$ 2100\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07\/06\/2024 13:36 con PayPal \ud83c\udf10\ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"24\/04\/2025 10:00\",\"Clabe Interbancaria\": \"002180704572078989\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/06\/2024 13:36 con PayPal \ud83c\udf10\ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 24\/04\/2025 10:00","Clabe Interbancaria":"002180704572078989","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "126","Domicilio": ""Nombre": "DANIEL INNU RATA","URL": "https://sistema.siip.mx/crm/client/126","Saldo Actual": "💲3500 pendientes","Monto Ultimo Pago": "$ 2100","Estado": "Suspendido","Fecha Ultimo Pago": " 07/06/2024 13:36 con PayPal 🌐💳","Fecha Ultima Actualizacion": "24/04/2025 10:00","Clabe Interbancaria": "002180704572078989","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"DANIEL INNU RATA","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Resumen":"{\"Cliente\": \"126\",\"Domicilio\": \"\"Nombre\": \"DANIEL INNU RATA\",\"URL\": \"https://sistema.siip.mx/crm/client/126\",\"Saldo Actual\": \"💲3500 pendientes\",\"Monto Ultimo Pago\": \"$ 2100\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/06/2024 13:36 con PayPal 🌐💳\",\"Fecha Ultima Actualizacion\": \"24/04/2025 10:00\",\"Clabe Interbancaria\": \"002180704572078989\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Saldo Actual":"💲3500 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 24/04/2025 10:00","Monto Ultimo Pago":"💲 2100","URL":"🌐 https://sistema.siip.mx/crm/client/126","Clabe Interbancaria":"002180704572078989","Cliente":"126","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 07/06/2024 13:36 con PayPal 🌐💳","Nombre":"👤 DANIEL INNU RATA"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"DANIEL INNU RATA","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Resumen":"{\"Cliente\": \"126\",\"Domicilio\": \"\"Nombre\": \"DANIEL INNU RATA\",\"URL\": \"https://sistema.siip.mx/crm/client/126\",\"Saldo Actual\": \"💲3500 pendientes\",\"Monto Ultimo Pago\": \"$ 2100\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/06/2024 13:36 con PayPal 🌐💳\",\"Fecha Ultima Actualizacion\": \"24/04/2025 10:00\",\"Clabe Interbancaria\": \"002180704572078989\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Saldo Actual":"💲3500 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 24/04/2025 10:00","Monto Ultimo Pago":"💲 2100","URL":"🌐 https://sistema.siip.mx/crm/client/126","Clabe Interbancaria":"002180704572078989","Cliente":"126","Estado":"🔴 Suspendido","Fecha Ultimo Pago":"📆💸 07/06/2024 13:36 con PayPal 🌐💳","Nombre":"👤 DANIEL INNU RATA"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-24 16:00:10.432005] [debug] HTTP request processing ended. -[2025-04-24 16:37:03.422277] [notice] Logging level set to:debug -[2025-04-24 16:37:03.422652] [debug] valor del webhook: filename=Contratos+de+Clientes_103 - -[2025-04-24 16:37:03.423171] [info] No UUID found in the webhook data -[2025-04-24 16:37:03.423310] [debug] HTTP request processing ended. -[2025-04-25 6:25:02.064189] [notice] Logging level set to:debug -[2025-04-25 6:25:02.064486] [debug] valor del webhook: {"uuid":"00cf585a-6a08-465a-81a6-68e1ba7a6d13","changeType":"overdue","entity":"invoice","entityId":"1815","eventName":"invoice.overdue","extraData":{"entity":{"id":1815,"clientId":112,"number":"001765","createdDate":"2025-04-10T14:21:45-0600","dueDate":"2025-04-24T14:21:45-0600","emailSentDate":"2025-04-25T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-10T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1818,"type":"service","label":"Basico 300 10\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":0.7,"total":210,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":153,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":210,"discount":null,"discountLabel":"Descuento","taxes":[],"total":210,"amountPaid":0,"totalUntaxed":210,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":210,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Do\u00f1a petra","clientLastName":"Gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Tamaulipas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-25 6:25:02.229429] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-25 6:25:02.229487] [debug] Valor de JSON: {"uuid":"00cf585a-6a08-465a-81a6-68e1ba7a6d13","changeType":"overdue","entity":"invoice","entityId":"1815","eventName":"invoice.overdue","extraData":{"entity":{"id":1815,"clientId":112,"number":"001765","createdDate":"2025-04-10T14:21:45-0600","dueDate":"2025-04-24T14:21:45-0600","emailSentDate":"2025-04-25T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-10T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1818,"type":"service","label":"Basico 300 10\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":0.7,"total":210,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":153,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":210,"discount":null,"discountLabel":"Descuento","taxes":[],"total":210,"amountPaid":0,"totalUntaxed":210,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":210,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Do\u00f1a petra","clientLastName":"Gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Tamaulipas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-25 6:25:02.229690] [debug] Factura vencida - -[2025-04-25 6:25:02.229737] [debug] datos del notification para el invoice overdue:{"uuid":"00cf585a-6a08-465a-81a6-68e1ba7a6d13","changeType":"overdue","entity":"invoice","entityId":1815,"message":null,"clientId":112,"eventName":"invoice.overdue","clientData":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}],"accountBalance":-510,"accountCredit":0,"accountOutstanding":510,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1815,"clientId":112,"number":"001765","createdDate":"2025-04-10T14:21:45-0600","dueDate":"2025-04-24T14:21:45-0600","emailSentDate":"2025-04-25T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-10T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1818,"type":"service","label":"Basico 300 10\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":0.7,"total":210,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":153,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":210,"discount":null,"discountLabel":"Descuento","taxes":[],"total":210,"amountPaid":0,"totalUntaxed":210,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":210,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Do\u00f1a petra","clientLastName":"Gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Tamaulipas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-25 6:25:02.229768] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-25 6:25:02.229875] [debug] Numero de cel obtenido - -[2025-04-25 6:25:02.229887] [warning] No se encontró un teléfono celular válido para el cliente: 112 -[2025-04-25 16:00:03.978315] [notice] Logging level set to:debug -[2025-04-25 16:00:03.978485] [debug] valor del webhook: {"uuid":"e24fd11a-0f4e-4b51-a19e-3c8371753610","changeType":"insert","entity":"invoice","entityId":"1837","eventName":"invoice.add_draft","extraData":{"entity":{"id":1837,"clientId":1,"number":"001787","createdDate":"2025-04-25T10:00:01-0600","dueDate":"2025-05-09T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-24T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1840,"type":"service","label":"PREMIUM 25\/03\/2025 \u2013 24\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":132,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":700.0000000000001,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":724,"invoiceId":1837,"paymentId":582,"creditNoteId":null,"refundId":null,"amount":286.67},{"id":725,"invoiceId":1837,"paymentId":585,"creditNoteId":null,"refundId":null,"amount":300},{"id":726,"invoiceId":1837,"paymentId":608,"creditNoteId":null,"refundId":null,"amount":113.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":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-25 16:00:04.121138] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-25 16:00:04.121345] [debug] Valor de JSON: {"uuid":"e24fd11a-0f4e-4b51-a19e-3c8371753610","changeType":"insert","entity":"invoice","entityId":"1837","eventName":"invoice.add_draft","extraData":{"entity":{"id":1837,"clientId":1,"number":"001787","createdDate":"2025-04-25T10:00:01-0600","dueDate":"2025-05-09T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-24T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1840,"type":"service","label":"PREMIUM 25\/03\/2025 \u2013 24\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":132,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":700.0000000000001,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":724,"invoiceId":1837,"paymentId":582,"creditNoteId":null,"refundId":null,"amount":286.67},{"id":725,"invoiceId":1837,"paymentId":585,"creditNoteId":null,"refundId":null,"amount":300},{"id":726,"invoiceId":1837,"paymentId":608,"creditNoteId":null,"refundId":null,"amount":113.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":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-25 16:00:04.121643] [debug] Adición de borrador de Factura - -[2025-04-25 16:00:04.121745] [debug] {"uuid":"e24fd11a-0f4e-4b51-a19e-3c8371753610","changeType":"insert","entity":"invoice","entityId":1837,"message":null,"clientId":1,"eventName":"invoice.add_draft","clientData":{"id":1,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true}],"accountBalance":76.67,"accountCredit":76.67,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1837,"clientId":1,"number":"001787","createdDate":"2025-04-25T10:00:01-0600","dueDate":"2025-05-09T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-23T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1840,"type":"service","label":"PREMIUM 25\/03\/2025 \u2013 24\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":132,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":700,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":724,"invoiceId":1837,"paymentId":582,"creditNoteId":null,"refundId":null,"amount":286.67},{"id":725,"invoiceId":1837,"paymentId":585,"creditNoteId":null,"refundId":null,"amount":300},{"id":726,"invoiceId":1837,"paymentId":608,"creditNoteId":null,"refundId":null,"amount":113.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":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-25 16:00:04.121857] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-25 16:00:04.121902] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-04-25 16:00:14.141412] [notice] Logging level set to:debug -[2025-04-25 16:00:14.141741] [debug] valor del webhook: {"uuid":"1045e0c8-d619-49db-9fbb-a866b882c342","changeType":"draft_approved","entity":"invoice","entityId":"1837","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1837,"clientId":1,"number":"001787","createdDate":"2025-04-25T10:00:01-0600","dueDate":"2025-05-09T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-24T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1840,"type":"service","label":"PREMIUM 25\/03\/2025 \u2013 24\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":132,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":700.0000000000001,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":724,"invoiceId":1837,"paymentId":582,"creditNoteId":null,"refundId":null,"amount":286.67},{"id":725,"invoiceId":1837,"paymentId":585,"creditNoteId":null,"refundId":null,"amount":300},{"id":726,"invoiceId":1837,"paymentId":608,"creditNoteId":null,"refundId":null,"amount":113.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":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-25 16:00:14.290178] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-25 16:00:14.290374] [debug] Valor de JSON: {"uuid":"1045e0c8-d619-49db-9fbb-a866b882c342","changeType":"draft_approved","entity":"invoice","entityId":"1837","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1837,"clientId":1,"number":"001787","createdDate":"2025-04-25T10:00:01-0600","dueDate":"2025-05-09T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-24T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1840,"type":"service","label":"PREMIUM 25\/03\/2025 \u2013 24\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":132,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":700.0000000000001,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":724,"invoiceId":1837,"paymentId":582,"creditNoteId":null,"refundId":null,"amount":286.67},{"id":725,"invoiceId":1837,"paymentId":585,"creditNoteId":null,"refundId":null,"amount":300},{"id":726,"invoiceId":1837,"paymentId":608,"creditNoteId":null,"refundId":null,"amount":113.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":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-25 16:00:14.290648] [debug] Aprobación de Factura - -[2025-04-25 16:00:14.290749] [debug] {"uuid":"1045e0c8-d619-49db-9fbb-a866b882c342","changeType":"draft_approved","entity":"invoice","entityId":1837,"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":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true}],"accountBalance":76.67,"accountCredit":76.67,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1837,"clientId":1,"number":"001787","createdDate":"2025-04-25T10:00:01-0600","dueDate":"2025-05-09T10:00:01-0600","emailSentDate":"2025-04-25T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-23T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1840,"type":"service","label":"PREMIUM 25\/03\/2025 \u2013 24\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":132,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":700,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":724,"invoiceId":1837,"paymentId":582,"creditNoteId":null,"refundId":null,"amount":286.67},{"id":725,"invoiceId":1837,"paymentId":585,"creditNoteId":null,"refundId":null,"amount":300},{"id":726,"invoiceId":1837,"paymentId":608,"creditNoteId":null,"refundId":null,"amount":113.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":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-25 16:00:14.290858] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-25 16:00:14.290899] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"1045e0c8-d619-49db-9fbb-a866b882c342","changeType":"draft_approved","entity":"invoice","entityId":1837,"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":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true}],"accountBalance":76.67,"accountCredit":76.67,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1837,"clientId":1,"number":"001787","createdDate":"2025-04-25T10:00:01-0600","dueDate":"2025-05-09T10:00:01-0600","emailSentDate":"2025-04-25T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-23T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1840,"type":"service","label":"PREMIUM 25\/03\/2025 \u2013 24\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":132,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":700,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":724,"invoiceId":1837,"paymentId":582,"creditNoteId":null,"refundId":null,"amount":286.67},{"id":725,"invoiceId":1837,"paymentId":585,"creditNoteId":null,"refundId":null,"amount":300},{"id":726,"invoiceId":1837,"paymentId":608,"creditNoteId":null,"refundId":null,"amount":113.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":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":608,"clientId":1,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T23:51:02-0600","amount":190,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":726,"invoiceId":1837,"paymentId":608,"creditNoteId":null,"refundId":null,"amount":113.33}],"creditAmount":76.67,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Don Miguel Ángel Guerrero González - -UUID: 0e53e926ce424db5b9284a75915d24fe - -JSON con los datos a actualizar: {"name":"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","custom_fields":{"Cliente":1,"Domicilio":"\ud83d\udccd Calle Morelos 34, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/1","Saldo Actual":"\ud83d\udcb276.67 a favor","Monto Ultimo Pago":"\ud83d\udcb2 190","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\"Nombre\": \"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/1\",\"Saldo Actual\": \"\ud83d\udcb276.67 a favor\",\"Monto Ultimo Pago\": \"$ 190\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 07\/03\/2025 23:51 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"25\/04\/2025 10:00\",\"Clabe Interbancaria\": \"002180697144444854\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/03\/2025 23:51 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 25\/04\/2025 10:00","Clabe Interbancaria":"002180697144444854","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "1","Domicilio": ""Nombre": "Don Miguel Ángel Guerrero González","URL": "https://sistema.siip.mx/crm/client/1","Saldo Actual": "💲76.67 a favor","Monto Ultimo Pago": "$ 190","Estado": "Activo","Fecha Ultimo Pago": " 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "25/04/2025 10:00","Clabe Interbancaria": "002180697144444854","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"0e53e926ce424db5b9284a75915d24fe","name":"Don Miguel Ángel Guerrero González","phoneNumber":"5214181148554","avatarUrl":null,"createdAt":"2024-01-26T17:29:28Z","closedAt":"2025-03-18T17:21:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https://dash.callbell.eu/chat/f017e454a6b94ab297509274216c6795","tags":["SIIP"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clientes Relacionados":"oxxo","Antena/Sectorial":"1","Nombre":"👤 Don Miguel Ángel Guerrero González","Clabe Interbancaria":"002180697144444854","Acciones":"1","Domicilio":"📍 Calle Morelos 34, Dolores Hidalgo, 37800","Estado":"🟢 Activo ","Saldo Actual":"💲76.67 a favor","URL":"🌐 https://sistema.siip.mx/crm/client/1","Cliente":"1","user name":"Angel","Monto Ultimo Pago":"💲 190","Fecha Ultimo Pago":"📆💸 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 25/04/2025 10:00","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\"Nombre\": \"Don Miguel Ángel Guerrero González\",\"URL\": \"https://sistema.siip.mx/crm/client/1\",\"Saldo Actual\": \"💲76.67 a favor\",\"Monto Ultimo Pago\": \"$ 190\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"25/04/2025 10:00\",\"Clabe Interbancaria\": \"002180697144444854\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"0e53e926ce424db5b9284a75915d24fe","name":"Don Miguel Ángel Guerrero González","phoneNumber":"5214181148554","avatarUrl":null,"createdAt":"2024-01-26T17:29:28Z","closedAt":"2025-03-18T17:21:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https://dash.callbell.eu/chat/f017e454a6b94ab297509274216c6795","tags":["SIIP"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clientes Relacionados":"oxxo","Antena/Sectorial":"1","Nombre":"👤 Don Miguel Ángel Guerrero González","Clabe Interbancaria":"002180697144444854","Acciones":"1","Domicilio":"📍 Calle Morelos 34, Dolores Hidalgo, 37800","Estado":"🟢 Activo ","Saldo Actual":"💲76.67 a favor","URL":"🌐 https://sistema.siip.mx/crm/client/1","Cliente":"1","user name":"Angel","Monto Ultimo Pago":"💲 190","Fecha Ultimo Pago":"📆💸 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 25/04/2025 10:00","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\"Nombre\": \"Don Miguel Ángel Guerrero González\",\"URL\": \"https://sistema.siip.mx/crm/client/1\",\"Saldo Actual\": \"💲76.67 a favor\",\"Monto Ultimo Pago\": \"$ 190\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"25/04/2025 10:00\",\"Clabe Interbancaria\": \"002180697144444854\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-25 18:13:17.067687] [notice] Logging level set to:debug -[2025-04-25 18:13:17.067821] [debug] valor del webhook: filename=Contratos+de+Clientes - -[2025-04-25 18:13:17.067858] [info] No UUID found in the webhook data -[2025-04-25 18:13:22.744986] [notice] Logging level set to:debug -[2025-04-25 18:13:22.745085] [debug] valor del webhook: filename=Contratos+de+Clientes_01 - -[2025-04-25 18:13:22.745107] [info] No UUID found in the webhook data -[2025-04-25 18:13:28.101948] [notice] Logging level set to:debug -[2025-04-25 18:13:28.102081] [debug] valor del webhook: filename=Contratos+de+Clientes - -[2025-04-25 18:13:28.102113] [info] No UUID found in the webhook data -[2025-04-25 18:13:33.409549] [notice] Logging level set to:debug -[2025-04-25 18:13:33.409962] [debug] valor del webhook: filename=Contratos+de+Clientes_764 - -[2025-04-25 18:13:33.410070] [info] No UUID found in the webhook data -[2025-04-25 18:30:03.088129] [notice] Logging level set to:debug -[2025-04-25 18:30:03.088550] [debug] valor del webhook: {"uuid":"146ca1e6-0481-4bc7-8eab-7bd5b49c80be","changeType":"suspend","entity":"service","entityId":"153","eventName":"service.suspend","extraData":{"entity":{"id":153,"prepaid":false,"clientId":112,"status":3,"name":"Basico 300","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-04-10T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-04-10T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"8c07e2eb-b218-48eb-9007-970d2fe16f1c","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":161,"startDate":"2025-04-25T12:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":153,"prepaid":false,"clientId":112,"status":1,"name":"Basico 300","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-04-10T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-04-10T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"8c07e2eb-b218-48eb-9007-970d2fe16f1c","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":161,"startDate":"2025-04-25T12:30:02-0600","endDate":null}],"surcharges":[]}}} - -[2025-04-25 18:30:03.344604] [debug] valor el evento recibido por webhook: service.suspend - -[2025-04-25 18:30:03.344805] [debug] Valor de JSON: {"uuid":"146ca1e6-0481-4bc7-8eab-7bd5b49c80be","changeType":"suspend","entity":"service","entityId":"153","eventName":"service.suspend","extraData":{"entity":{"id":153,"prepaid":false,"clientId":112,"status":3,"name":"Basico 300","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-04-10T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-04-10T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"8c07e2eb-b218-48eb-9007-970d2fe16f1c","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":161,"startDate":"2025-04-25T12:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":153,"prepaid":false,"clientId":112,"status":1,"name":"Basico 300","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-04-10T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-04-10T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"8c07e2eb-b218-48eb-9007-970d2fe16f1c","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":161,"startDate":"2025-04-25T12:30:02-0600","endDate":null}],"surcharges":[]}}} - -[2025-04-25 18:30:03.345143] [debug] Se suspendió el servicio a un cliente - -[2025-04-25 18:30:03.345262] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-25 18:30:03.345307] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-04-25 18:30:03.345380] [info] {"uuid":"146ca1e6-0481-4bc7-8eab-7bd5b49c80be","changeType":"suspend","entity":"service","entityId":153,"message":null,"clientId":112,"eventName":"service.suspend","clientData":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}],"accountBalance":-510,"accountCredit":0,"accountOutstanding":510,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":153,"prepaid":false,"clientId":112,"status":3,"name":"Basico 300","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-04-10T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-04-10T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"8c07e2eb-b218-48eb-9007-970d2fe16f1c","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":161,"startDate":"2025-04-25T00:00:00-0600","endDate":null}],"surcharges":[],"stopReason":"Payments overdue"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Doña petra Gonzalez - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Do\u00f1a petra Gonzalez","custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 25\/04\/2025 12:30"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Doña petra Gonzalez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Domicilio":"📍 CALLE CHIAPAS #31, ZONA CENTRO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Fecha Ultima Actualizacion":"📆🔄️ 25/04/2025 12:30","Fecha Ultimo Pago":"📆💸 25/04/2025 00:11 con Desconocido, revisar metodos de pago no contemplados","Monto Ultimo Pago":"💲 ","URL":"🌐 https://sistema.siip.mx/crm/client/3201","Clabe Interbancaria":"124180650741646979","Cliente":"3201","Estado":"🟠 Suspendido","Nombre":"👤 DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY","Resumen":"{\"Cliente\": \"3201\",\"Domicilio\": \"\"Nombre\": \"DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY\",\"URL\": \"https://sistema.siip.mx/crm/client/3201\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 25/04/2025 00:11 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"24/04/2025 18:11\",\"Clabe Interbancaria\": \"124180650741646979\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-25 18:30:05.750967] [notice] Logging level set to:debug -[2025-04-25 18:30:05.751274] [debug] valor del webhook: {"uuid":"8af35331-a3d9-47ef-bdb9-b3baaeaaebb6","changeType":"edit","entity":"service","entityId":"153","eventName":"service.edit","extraData":{"entity":{"id":153,"prepaid":false,"clientId":112,"status":3,"name":"Basico 300","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-04-10T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-04-10T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"8c07e2eb-b218-48eb-9007-970d2fe16f1c","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":161,"startDate":"2025-04-25T12:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":153,"prepaid":false,"clientId":112,"status":1,"name":"Basico 300","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-04-10T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-04-10T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"8c07e2eb-b218-48eb-9007-970d2fe16f1c","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":161,"startDate":"2025-04-25T12:30:02-0600","endDate":null}],"surcharges":[]}}} - -[2025-04-25 18:30:05.915337] [debug] valor el evento recibido por webhook: service.edit - -[2025-04-25 18:30:05.915513] [debug] Valor de JSON: {"uuid":"8af35331-a3d9-47ef-bdb9-b3baaeaaebb6","changeType":"edit","entity":"service","entityId":"153","eventName":"service.edit","extraData":{"entity":{"id":153,"prepaid":false,"clientId":112,"status":3,"name":"Basico 300","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-04-10T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-04-10T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"8c07e2eb-b218-48eb-9007-970d2fe16f1c","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":161,"startDate":"2025-04-25T12:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":153,"prepaid":false,"clientId":112,"status":1,"name":"Basico 300","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-04-10T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-04-10T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"8c07e2eb-b218-48eb-9007-970d2fe16f1c","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":161,"startDate":"2025-04-25T12:30:02-0600","endDate":null}],"surcharges":[]}}} - -[2025-04-25 18:30:05.915663] [debug] Se editó el servicio a un cliente - -[2025-04-25 18:30:05.916331] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-25 18:30:05.916367] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-04-25 18:30:05.916412] [info] {"uuid":"8af35331-a3d9-47ef-bdb9-b3baaeaaebb6","changeType":"edit","entity":"service","entityId":153,"message":null,"clientId":112,"eventName":"service.edit","clientData":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}],"accountBalance":-510,"accountCredit":0,"accountOutstanding":510,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":153,"prepaid":false,"clientId":112,"status":3,"name":"Basico 300","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-04-10T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-04-10T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"8c07e2eb-b218-48eb-9007-970d2fe16f1c","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":161,"startDate":"2025-04-25T00:00:00-0600","endDate":null}],"surcharges":[],"stopReason":"Payments overdue"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Doña petra Gonzalez - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Do\u00f1a petra Gonzalez","custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 25\/04\/2025 12:30"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Doña petra Gonzalez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Domicilio":"📍 CALLE CHIAPAS #31, ZONA CENTRO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Fecha Ultima Actualizacion":"📆🔄️ 25/04/2025 12:30","Fecha Ultimo Pago":"📆💸 25/04/2025 00:11 con Desconocido, revisar metodos de pago no contemplados","Monto Ultimo Pago":"💲 ","URL":"🌐 https://sistema.siip.mx/crm/client/3201","Clabe Interbancaria":"124180650741646979","Cliente":"3201","Estado":"🟠 Suspendido","Nombre":"👤 DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY","Resumen":"{\"Cliente\": \"3201\",\"Domicilio\": \"\"Nombre\": \"DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY\",\"URL\": \"https://sistema.siip.mx/crm/client/3201\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 25/04/2025 00:11 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"24/04/2025 18:11\",\"Clabe Interbancaria\": \"124180650741646979\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-25 18:53:31.707765] [notice] Logging level set to:debug -[2025-04-25 18:53:31.707896] [debug] valor del webhook: filename=Contratos+de+Clientes_468 - -[2025-04-25 18:53:31.707928] [info] No UUID found in the webhook data -[2025-04-25 18:53:37.053392] [notice] Logging level set to:debug -[2025-04-25 18:53:37.053491] [debug] valor del webhook: filename=Contratos+de+Clientes_466 - -[2025-04-25 18:53:37.053513] [info] No UUID found in the webhook data -[2025-04-25 18:53:41.849585] [notice] Logging level set to:debug -[2025-04-25 18:53:41.849664] [debug] valor del webhook: filename=Contratos+de+Clientes_465 - -[2025-04-25 18:53:41.849680] [info] No UUID found in the webhook data -[2025-04-25 18:53:42.735683] [notice] Logging level set to:debug -[2025-04-25 18:53:42.736094] [debug] valor del webhook: filename=Contratos+de+Clientes_455 - -[2025-04-25 18:53:42.736197] [info] No UUID found in the webhook data -[2025-04-25 18:53:43.609225] [notice] Logging level set to:debug -[2025-04-25 18:53:43.609802] [debug] valor del webhook: filename=Contratos+de+Clientes_459 - -[2025-04-25 18:53:43.609992] [info] No UUID found in the webhook data -[2025-04-25 18:53:48.458617] [notice] Logging level set to:debug -[2025-04-25 18:53:48.459201] [debug] valor del webhook: filename=Contratos+de+Clientes_454 - -[2025-04-25 18:53:48.459382] [info] No UUID found in the webhook data -[2025-04-25 18:53:50.117552] [notice] Logging level set to:debug -[2025-04-25 18:53:50.118215] [debug] valor del webhook: filename=Contratos+de+Clientes_451 - -[2025-04-25 18:53:50.118390] [info] No UUID found in the webhook data -[2025-04-25 18:53:53.538736] [notice] Logging level set to:debug -[2025-04-25 18:53:53.540458] [debug] valor del webhook: filename=Contratos+de+Clientes_447 - -[2025-04-25 18:53:53.540651] [info] No UUID found in the webhook data -[2025-04-25 18:53:58.397908] [notice] Logging level set to:debug -[2025-04-25 18:53:58.398458] [debug] valor del webhook: filename=Contratos+de+Clientes_446 - -[2025-04-25 18:53:58.398627] [info] No UUID found in the webhook data -[2025-04-25 18:54:05.317979] [notice] Logging level set to:debug -[2025-04-25 18:54:05.318563] [debug] valor del webhook: filename=Contratos+de+Clientes_443 - -[2025-04-25 18:54:05.318742] [info] No UUID found in the webhook data -[2025-04-25 18:54:11.491612] [notice] Logging level set to:debug -[2025-04-25 18:54:11.491974] [debug] valor del webhook: filename=Contratos+de+Clientes_455 - -[2025-04-25 18:54:11.492059] [info] No UUID found in the webhook data -[2025-04-25 18:54:15.366920] [notice] Logging level set to:debug -[2025-04-25 18:54:15.367599] [debug] valor del webhook: filename=Contratos+de+Clientes_426 - -[2025-04-25 18:54:15.367834] [info] No UUID found in the webhook data -[2025-04-25 18:54:18.250626] [notice] Logging level set to:debug -[2025-04-25 18:54:18.250761] [debug] valor del webhook: filename=Contratos+de+Clientes_468 - -[2025-04-25 18:54:18.250809] [info] No UUID found in the webhook data -[2025-04-25 18:54:20.204351] [notice] Logging level set to:debug -[2025-04-25 18:54:20.204731] [debug] valor del webhook: filename=Contratos+de+Clientes_426 - -[2025-04-25 18:54:20.204829] [info] No UUID found in the webhook data -[2025-04-25 18:54:22.443850] [notice] Logging level set to:debug -[2025-04-25 18:54:22.443996] [debug] valor del webhook: filename=Contratos+de+Clientes_441 - -[2025-04-25 18:54:22.444039] [info] No UUID found in the webhook data -[2025-04-25 18:54:26.417748] [notice] Logging level set to:debug -[2025-04-25 18:54:26.418327] [debug] valor del webhook: filename=Contratos+de+Clientes_437 - -[2025-04-25 18:54:26.418502] [info] No UUID found in the webhook data -[2025-04-25 18:54:28.190356] [notice] Logging level set to:debug -[2025-04-25 18:54:28.190500] [debug] valor del webhook: filename=Contratos+de+Clientes_426 - -[2025-04-25 18:54:28.190541] [info] No UUID found in the webhook data -[2025-04-25 18:54:31.906311] [notice] Logging level set to:debug -[2025-04-25 18:54:31.906867] [debug] valor del webhook: filename=Contratos+de+Clientes_430 - -[2025-04-25 18:54:31.907044] [info] No UUID found in the webhook data -[2025-04-25 18:54:33.640398] [notice] Logging level set to:debug -[2025-04-25 18:54:33.640959] [debug] valor del webhook: filename=Contratos+de+Clientes_426 - -[2025-04-25 18:54:33.641153] [info] No UUID found in the webhook data -[2025-04-25 18:54:35.544424] [notice] Logging level set to:debug -[2025-04-25 18:54:35.544992] [debug] valor del webhook: filename=Contratos+de+Clientes_459 - -[2025-04-25 18:54:35.545162] [info] No UUID found in the webhook data -[2025-04-25 18:54:42.350390] [notice] Logging level set to:debug -[2025-04-25 18:54:42.350697] [debug] valor del webhook: filename=Contratos+de+Clientes_425 - -[2025-04-25 18:54:42.350764] [info] No UUID found in the webhook data -[2025-04-25 18:54:47.887854] [notice] Logging level set to:debug -[2025-04-25 18:54:47.888315] [debug] valor del webhook: filename=Contratos+de+Clientes_465 - -[2025-04-25 18:54:47.888453] [info] No UUID found in the webhook data -[2025-04-25 18:54:50.032864] [notice] Logging level set to:debug -[2025-04-25 18:54:50.033512] [debug] valor del webhook: filename=Contratos+de+Clientes_451 - -[2025-04-25 18:54:50.033688] [info] No UUID found in the webhook data -[2025-04-25 18:54:53.635447] [notice] Logging level set to:debug -[2025-04-25 18:54:53.636034] [debug] valor del webhook: filename=Contratos+de+Clientes_466 - -[2025-04-25 18:54:53.636219] [info] No UUID found in the webhook data -[2025-04-25 18:54:55.397349] [notice] Logging level set to:debug -[2025-04-25 18:54:55.397912] [debug] valor del webhook: filename=Contratos+de+Clientes_454 - -[2025-04-25 18:54:55.398088] [info] No UUID found in the webhook data -[2025-04-25 18:54:59.189335] [notice] Logging level set to:debug -[2025-04-25 18:54:59.189872] [debug] valor del webhook: filename=Contratos+de+Clientes_420 - -[2025-04-25 18:54:59.190041] [info] No UUID found in the webhook data -[2025-04-25 18:55:01.463586] [notice] Logging level set to:debug -[2025-04-25 18:55:01.463959] [debug] valor del webhook: filename=Contratos+de+Clientes_413 - -[2025-04-25 18:55:01.464037] [info] No UUID found in the webhook data -[2025-04-25 18:55:06.405268] [notice] Logging level set to:debug -[2025-04-25 18:55:06.407767] [debug] valor del webhook: filename=Contratos+de+Clientes_366 - -[2025-04-25 18:55:06.407958] [info] No UUID found in the webhook data -[2025-04-25 18:55:10.903253] [notice] Logging level set to:debug -[2025-04-25 18:55:10.903800] [debug] valor del webhook: filename=Contratos+de+Clientes_354 - -[2025-04-25 18:55:10.903971] [info] No UUID found in the webhook data -[2025-04-25 18:55:16.890181] [notice] Logging level set to:debug -[2025-04-25 18:55:16.890511] [debug] valor del webhook: filename=Contratos+de+Clientes_412 - -[2025-04-25 18:55:16.890583] [info] No UUID found in the webhook data -[2025-04-25 18:55:22.698749] [notice] Logging level set to:debug -[2025-04-25 18:55:22.699063] [debug] valor del webhook: filename=Contratos+de+Clientes_405 - -[2025-04-25 18:55:22.699147] [info] No UUID found in the webhook data -[2025-04-25 18:55:27.357067] [notice] Logging level set to:debug -[2025-04-25 18:55:27.357193] [debug] valor del webhook: filename=Contratos+de+Clientes_446 - -[2025-04-25 18:55:27.357233] [info] No UUID found in the webhook data -[2025-04-25 18:55:29.014193] [notice] Logging level set to:debug -[2025-04-25 18:55:29.014265] [debug] valor del webhook: filename=Contratos+de+Clientes_443 - -[2025-04-25 18:55:29.014280] [info] No UUID found in the webhook data -[2025-04-25 18:55:33.302309] [notice] Logging level set to:debug -[2025-04-25 18:55:33.302386] [debug] valor del webhook: filename=Contratos+de+Clientes_409 - -[2025-04-25 18:55:33.302402] [info] No UUID found in the webhook data -[2025-04-25 18:55:35.065315] [notice] Logging level set to:debug -[2025-04-25 18:55:35.065445] [debug] valor del webhook: filename=Contratos+de+Clientes_406 - -[2025-04-25 18:55:35.065493] [info] No UUID found in the webhook data -[2025-04-25 18:55:38.950153] [notice] Logging level set to:debug -[2025-04-25 18:55:38.950284] [debug] valor del webhook: filename=Contratos+de+Clientes_407 - -[2025-04-25 18:55:38.950325] [info] No UUID found in the webhook data -[2025-04-25 18:55:41.251066] [notice] Logging level set to:debug -[2025-04-25 18:55:41.251501] [debug] valor del webhook: filename=Contratos+de+Clientes_402 - -[2025-04-25 18:55:41.251619] [info] No UUID found in the webhook data -[2025-04-25 18:55:44.419410] [notice] Logging level set to:debug -[2025-04-25 18:55:44.419816] [debug] valor del webhook: filename=Contratos+de+Clientes_437 - -[2025-04-25 18:55:44.419919] [info] No UUID found in the webhook data -[2025-04-25 18:55:49.217271] [notice] Logging level set to:debug -[2025-04-25 18:55:49.217804] [debug] valor del webhook: filename=Contratos+de+Clientes_437 - -[2025-04-25 18:55:49.217977] [info] No UUID found in the webhook data -[2025-04-25 18:55:50.510493] [notice] Logging level set to:debug -[2025-04-25 18:55:50.511193] [debug] valor del webhook: filename=Contratos+de+Clientes_360 - -[2025-04-25 18:55:50.511379] [info] No UUID found in the webhook data -[2025-04-25 18:55:52.763257] [notice] Logging level set to:debug -[2025-04-25 18:55:52.763803] [debug] valor del webhook: filename=Contratos+de+Clientes_360 - -[2025-04-25 18:55:52.763967] [info] No UUID found in the webhook data -[2025-04-25 18:55:55.326518] [notice] Logging level set to:debug -[2025-04-25 18:55:55.327066] [debug] valor del webhook: filename=Contratos+de+Clientes_400 - -[2025-04-25 18:55:55.327236] [info] No UUID found in the webhook data -[2025-04-25 18:55:57.103568] [notice] Logging level set to:debug -[2025-04-25 18:55:57.104099] [debug] valor del webhook: filename=Contratos+de+Clientes_348 - -[2025-04-25 18:55:57.104217] [info] No UUID found in the webhook data -[2025-04-25 18:55:59.198740] [notice] Logging level set to:debug -[2025-04-25 18:55:59.199297] [debug] valor del webhook: filename=Contratos+de+Clientes_403 - -[2025-04-25 18:55:59.199470] [info] No UUID found in the webhook data -[2025-04-25 18:56:06.661304] [notice] Logging level set to:debug -[2025-04-25 18:56:06.661933] [debug] valor del webhook: filename=Contratos+de+Clientes_393 - -[2025-04-25 18:56:06.662122] [info] No UUID found in the webhook data -[2025-04-25 18:56:09.812223] [notice] Logging level set to:debug -[2025-04-25 18:56:09.812844] [debug] valor del webhook: filename=Contratos+de+Clientes_441 - -[2025-04-25 18:56:09.813019] [info] No UUID found in the webhook data -[2025-04-25 18:56:12.403529] [notice] Logging level set to:debug -[2025-04-25 18:56:12.403626] [debug] valor del webhook: filename=Contratos+de+Clientes_430 - -[2025-04-25 18:56:12.403650] [info] No UUID found in the webhook data -[2025-04-25 18:56:15.071767] [notice] Logging level set to:debug -[2025-04-25 18:56:15.071865] [debug] valor del webhook: filename=Contratos+de+Clientes_394 - -[2025-04-25 18:56:15.071886] [info] No UUID found in the webhook data -[2025-04-25 18:56:18.646361] [notice] Logging level set to:debug -[2025-04-25 18:56:18.646500] [debug] valor del webhook: filename=Contratos+de+Clientes_348 - -[2025-04-25 18:56:18.646555] [info] No UUID found in the webhook data -[2025-04-25 18:56:20.162334] [notice] Logging level set to:debug -[2025-04-25 18:56:20.162475] [debug] valor del webhook: filename=Contratos+de+Clientes_447 - -[2025-04-25 18:56:20.162516] [info] No UUID found in the webhook data -[2025-04-25 18:56:21.696451] [notice] Logging level set to:debug -[2025-04-25 18:56:21.696592] [debug] valor del webhook: filename=Contratos+de+Clientes_425 - -[2025-04-25 18:56:21.696633] [info] No UUID found in the webhook data -[2025-04-25 18:56:23.341636] [notice] Logging level set to:debug -[2025-04-25 18:56:23.341777] [debug] valor del webhook: filename=Contratos+de+Clientes_395 - -[2025-04-25 18:56:23.341820] [info] No UUID found in the webhook data -[2025-04-25 18:56:28.911441] [notice] Logging level set to:debug -[2025-04-25 18:56:28.911581] [debug] valor del webhook: filename=Contratos+de+Clientes_389 - -[2025-04-25 18:56:28.911622] [info] No UUID found in the webhook data -[2025-04-25 18:56:29.761090] [notice] Logging level set to:debug -[2025-04-25 18:56:29.761677] [debug] valor del webhook: filename=Contratos+de+Clientes_420 - -[2025-04-25 18:56:29.761847] [info] No UUID found in the webhook data -[2025-04-25 18:56:31.155587] [notice] Logging level set to:debug -[2025-04-25 18:56:31.155953] [debug] valor del webhook: filename=Contratos+de+Clientes_412 - -[2025-04-25 18:56:31.156042] [info] No UUID found in the webhook data -[2025-04-25 18:56:34.355936] [notice] Logging level set to:debug -[2025-04-25 18:56:34.356074] [debug] valor del webhook: filename=Contratos+de+Clientes_390 - -[2025-04-25 18:56:34.356113] [info] No UUID found in the webhook data -[2025-04-25 18:56:36.568809] [notice] Logging level set to:debug -[2025-04-25 18:56:36.568948] [debug] valor del webhook: filename=Contratos+de+Clientes_413 - -[2025-04-25 18:56:36.568989] [info] No UUID found in the webhook data -[2025-04-25 18:56:39.877484] [notice] Logging level set to:debug -[2025-04-25 18:56:39.877608] [debug] valor del webhook: filename=Contratos+de+Clientes_392 - -[2025-04-25 18:56:39.877640] [info] No UUID found in the webhook data -[2025-04-25 18:56:42.126640] [notice] Logging level set to:debug -[2025-04-25 18:56:42.126775] [debug] valor del webhook: filename=Contratos+de+Clientes_405 - -[2025-04-25 18:56:42.126816] [info] No UUID found in the webhook data -[2025-04-25 18:56:44.722249] [notice] Logging level set to:debug -[2025-04-25 18:56:44.722412] [debug] valor del webhook: filename=Contratos+de+Clientes_388 - -[2025-04-25 18:56:44.722455] [info] No UUID found in the webhook data -[2025-04-25 18:56:45.512044] [notice] Logging level set to:debug -[2025-04-25 18:56:45.512181] [debug] valor del webhook: filename=Contratos+de+Clientes_441 - -[2025-04-25 18:56:45.512223] [info] No UUID found in the webhook data -[2025-04-25 18:56:50.602539] [notice] Logging level set to:debug -[2025-04-25 18:56:50.602684] [debug] valor del webhook: filename=Contratos+de+Clientes_387 - -[2025-04-25 18:56:50.602739] [info] No UUID found in the webhook data -[2025-04-25 18:56:56.291455] [notice] Logging level set to:debug -[2025-04-25 18:56:56.291594] [debug] valor del webhook: filename=Contratos+de+Clientes_391 - -[2025-04-25 18:56:56.291634] [info] No UUID found in the webhook data -[2025-04-25 18:56:57.918329] [notice] Logging level set to:debug -[2025-04-25 18:56:57.918487] [debug] valor del webhook: filename=Contratos+de+Clientes_382 - -[2025-04-25 18:56:57.918528] [info] No UUID found in the webhook data -[2025-04-25 18:57:01.511113] [notice] Logging level set to:debug -[2025-04-25 18:57:01.511379] [debug] valor del webhook: filename=Contratos+de+Clientes_384 - -[2025-04-25 18:57:01.511487] [info] No UUID found in the webhook data -[2025-04-25 18:57:02.862895] [notice] Logging level set to:debug -[2025-04-25 18:57:02.863300] [debug] valor del webhook: filename=Contratos+de+Clientes_383 - -[2025-04-25 18:57:02.863413] [info] No UUID found in the webhook data -[2025-04-25 18:57:04.435496] [notice] Logging level set to:debug -[2025-04-25 18:57:04.436069] [debug] valor del webhook: filename=Contratos+de+Clientes_381 - -[2025-04-25 18:57:04.436319] [info] No UUID found in the webhook data -[2025-04-25 18:57:08.055651] [notice] Logging level set to:debug -[2025-04-25 18:57:08.056107] [debug] valor del webhook: filename=Contratos+de+Clientes_377 - -[2025-04-25 18:57:08.056240] [info] No UUID found in the webhook data -[2025-04-25 18:57:10.814799] [notice] Logging level set to:debug -[2025-04-25 18:57:10.815370] [debug] valor del webhook: filename=Contratos+de+Clientes_374 - -[2025-04-25 18:57:10.815541] [info] No UUID found in the webhook data -[2025-04-25 18:57:13.455630] [notice] Logging level set to:debug -[2025-04-25 18:57:13.456173] [debug] valor del webhook: filename=Contratos+de+Clientes_373 - -[2025-04-25 18:57:13.456393] [info] No UUID found in the webhook data -[2025-04-25 18:57:16.570545] [notice] Logging level set to:debug -[2025-04-25 18:57:16.571147] [debug] valor del webhook: filename=Contratos+de+Clientes_378 - -[2025-04-25 18:57:16.571326] [info] No UUID found in the webhook data -[2025-04-25 18:57:19.400506] [notice] Logging level set to:debug -[2025-04-25 18:57:19.401108] [debug] valor del webhook: filename=Contratos+de+Clientes_380 - -[2025-04-25 18:57:19.401285] [info] No UUID found in the webhook data -[2025-04-25 18:57:22.586081] [notice] Logging level set to:debug -[2025-04-25 18:57:22.586431] [debug] valor del webhook: filename=Contratos+de+Clientes_375 - -[2025-04-25 18:57:22.586522] [info] No UUID found in the webhook data -[2025-04-25 18:57:31.880808] [notice] Logging level set to:debug -[2025-04-25 18:57:31.881160] [debug] valor del webhook: filename=Contratos+de+Clientes_379 - -[2025-04-25 18:57:31.882400] [info] No UUID found in the webhook data -[2025-04-25 18:57:37.784245] [notice] Logging level set to:debug -[2025-04-25 18:57:37.784877] [debug] valor del webhook: filename=Contratos+de+Clientes_370 - -[2025-04-25 18:57:37.785053] [info] No UUID found in the webhook data -[2025-04-25 18:57:40.101175] [notice] Logging level set to:debug -[2025-04-25 18:57:40.101710] [debug] valor del webhook: filename=Contratos+de+Clientes_369 - -[2025-04-25 18:57:40.101871] [info] No UUID found in the webhook data -[2025-04-25 18:57:43.480292] [notice] Logging level set to:debug -[2025-04-25 18:57:43.480381] [debug] valor del webhook: filename=Contratos+de+Clientes_367 - -[2025-04-25 18:57:43.480402] [info] No UUID found in the webhook data -[2025-04-25 18:57:48.322765] [notice] Logging level set to:debug -[2025-04-25 18:57:48.323132] [debug] valor del webhook: filename=Contratos+de+Clientes_368 - -[2025-04-25 18:57:48.323223] [info] No UUID found in the webhook data -[2025-04-25 18:57:54.204696] [notice] Logging level set to:debug -[2025-04-25 18:57:54.205106] [debug] valor del webhook: filename=Contratos+de+Clientes_372 - -[2025-04-25 18:57:54.205209] [info] No UUID found in the webhook data -[2025-04-25 18:57:55.810534] [notice] Logging level set to:debug -[2025-04-25 18:57:55.811135] [debug] valor del webhook: filename=Contratos+de+Clientes_365 - -[2025-04-25 18:57:55.811311] [info] No UUID found in the webhook data -[2025-04-25 18:57:57.847738] [notice] Logging level set to:debug -[2025-04-25 18:57:57.848401] [debug] valor del webhook: filename=Contratos+de+Clientes_364 - -[2025-04-25 18:57:57.848587] [info] No UUID found in the webhook data -[2025-04-25 18:58:00.423907] [notice] Logging level set to:debug -[2025-04-25 18:58:00.424228] [debug] valor del webhook: filename=Contratos+de+Clientes_362 - -[2025-04-25 18:58:00.424318] [info] No UUID found in the webhook data -[2025-04-25 18:58:07.683204] [notice] Logging level set to:debug -[2025-04-25 18:58:07.683782] [debug] valor del webhook: filename=Contratos+de+Clientes_363 - -[2025-04-25 18:58:07.683953] [info] No UUID found in the webhook data -[2025-04-25 18:58:11.672549] [notice] Logging level set to:debug -[2025-04-25 18:58:11.673129] [debug] valor del webhook: filename=Contratos+de+Clientes_361 - -[2025-04-25 18:58:11.673304] [info] No UUID found in the webhook data -[2025-04-25 18:58:15.220207] [notice] Logging level set to:debug -[2025-04-25 18:58:15.220298] [debug] valor del webhook: filename=Contratos+de+Clientes_366 - -[2025-04-25 18:58:15.220331] [info] No UUID found in the webhook data -[2025-04-25 18:58:16.680457] [notice] Logging level set to:debug -[2025-04-25 18:58:16.680552] [debug] valor del webhook: filename=Contratos+de+Clientes_360 - -[2025-04-25 18:58:16.680573] [info] No UUID found in the webhook data -[2025-04-25 18:58:17.516148] [notice] Logging level set to:debug -[2025-04-25 18:58:17.516360] [debug] valor del webhook: filename=Contratos+de+Clientes_354 - -[2025-04-25 18:58:17.516411] [info] No UUID found in the webhook data -[2025-04-25 18:58:21.059895] [notice] Logging level set to:debug -[2025-04-25 18:58:21.059998] [debug] valor del webhook: filename=Contratos+de+Clientes_358 - -[2025-04-25 18:58:21.060026] [info] No UUID found in the webhook data -[2025-04-25 18:58:26.413028] [notice] Logging level set to:debug -[2025-04-25 18:58:26.413167] [debug] valor del webhook: filename=Contratos+de+Clientes_359 - -[2025-04-25 18:58:26.413208] [info] No UUID found in the webhook data -[2025-04-25 18:58:31.585503] [notice] Logging level set to:debug -[2025-04-25 18:58:31.585629] [debug] valor del webhook: filename=Contratos+de+Clientes_355 - -[2025-04-25 18:58:31.585658] [info] No UUID found in the webhook data -[2025-04-25 18:58:32.473566] [notice] Logging level set to:debug -[2025-04-25 18:58:32.473717] [debug] valor del webhook: filename=Contratos+de+Clientes_353 - -[2025-04-25 18:58:32.473758] [info] No UUID found in the webhook data -[2025-04-25 18:58:33.369867] [notice] Logging level set to:debug -[2025-04-25 18:58:33.369987] [debug] valor del webhook: filename=Contratos+de+Clientes_356 - -[2025-04-25 18:58:33.370022] [info] No UUID found in the webhook data -[2025-04-25 18:58:34.254247] [notice] Logging level set to:debug -[2025-04-25 18:58:34.254390] [debug] valor del webhook: filename=Contratos+de+Clientes_357 - -[2025-04-25 18:58:34.254431] [info] No UUID found in the webhook data -[2025-04-25 18:58:36.864795] [notice] Logging level set to:debug -[2025-04-25 18:58:36.864928] [debug] valor del webhook: filename=Contratos+de+Clientes_352 - -[2025-04-25 18:58:36.864968] [info] No UUID found in the webhook data -[2025-04-25 18:58:42.118510] [notice] Logging level set to:debug -[2025-04-25 18:58:42.118654] [debug] valor del webhook: filename=Contratos+de+Clientes_347 - -[2025-04-25 18:58:42.118695] [info] No UUID found in the webhook data -[2025-04-25 18:58:42.950462] [notice] Logging level set to:debug -[2025-04-25 18:58:42.950611] [debug] valor del webhook: filename=Contratos+de+Clientes_351 - -[2025-04-25 18:58:42.950653] [info] No UUID found in the webhook data -[2025-04-25 18:58:43.846098] [notice] Logging level set to:debug -[2025-04-25 18:58:43.846237] [debug] valor del webhook: filename=Contratos+de+Clientes_350 - -[2025-04-25 18:58:43.846278] [info] No UUID found in the webhook data -[2025-04-25 18:58:44.792459] [notice] Logging level set to:debug -[2025-04-25 18:58:44.792596] [debug] valor del webhook: filename=Contratos+de+Clientes_349 - -[2025-04-25 18:58:44.792635] [info] No UUID found in the webhook data -[2025-04-25 18:58:47.417406] [notice] Logging level set to:debug -[2025-04-25 18:58:47.417972] [debug] valor del webhook: filename=Contratos+de+Clientes_348 - -[2025-04-25 18:58:47.418148] [info] No UUID found in the webhook data -[2025-04-25 18:58:48.378536] [notice] Logging level set to:debug -[2025-04-25 18:58:48.379122] [debug] valor del webhook: filename=Contratos+de+Clientes_346 - -[2025-04-25 18:58:48.379297] [info] No UUID found in the webhook data -[2025-04-25 18:58:52.818474] [notice] Logging level set to:debug -[2025-04-25 18:58:52.819071] [debug] valor del webhook: filename=Contratos+de+Clientes_342 - -[2025-04-25 18:58:52.819247] [info] No UUID found in the webhook data -[2025-04-25 18:58:53.689069] [notice] Logging level set to:debug -[2025-04-25 18:58:53.690486] [debug] valor del webhook: filename=Contratos+de+Clientes_344 - -[2025-04-25 18:58:53.690627] [info] No UUID found in the webhook data -[2025-04-25 18:58:58.023140] [notice] Logging level set to:debug -[2025-04-25 18:58:58.023613] [debug] valor del webhook: filename=Contratos+de+Clientes_341 - -[2025-04-25 18:58:58.023749] [info] No UUID found in the webhook data -[2025-04-25 18:59:03.813705] [notice] Logging level set to:debug -[2025-04-25 18:59:03.814199] [debug] valor del webhook: filename=Contratos+de+Clientes_343 - -[2025-04-25 18:59:03.814347] [info] No UUID found in the webhook data -[2025-04-25 18:59:05.274409] [notice] Logging level set to:debug -[2025-04-25 18:59:05.274771] [debug] valor del webhook: filename=Contratos+de+Clientes_406 - -[2025-04-25 18:59:05.274857] [info] No UUID found in the webhook data -[2025-04-25 18:59:06.740463] [notice] Logging level set to:debug -[2025-04-25 18:59:06.741064] [debug] valor del webhook: filename=Contratos+de+Clientes_407 - -[2025-04-25 18:59:06.741240] [info] No UUID found in the webhook data -[2025-04-25 18:59:09.380419] [notice] Logging level set to:debug -[2025-04-25 18:59:09.380987] [debug] valor del webhook: filename=Contratos+de+Clientes_345 - -[2025-04-25 18:59:09.381161] [info] No UUID found in the webhook data -[2025-04-25 18:59:10.895960] [notice] Logging level set to:debug -[2025-04-25 18:59:10.896632] [debug] valor del webhook: filename=Contratos+de+Clientes_339 - -[2025-04-25 18:59:10.896825] [info] No UUID found in the webhook data -[2025-04-25 18:59:12.342101] [notice] Logging level set to:debug -[2025-04-25 18:59:12.342272] [debug] valor del webhook: filename=Contratos+de+Clientes_338 - -[2025-04-25 18:59:12.342308] [info] No UUID found in the webhook data -[2025-04-25 18:59:13.678026] [notice] Logging level set to:debug -[2025-04-25 18:59:13.678579] [debug] valor del webhook: filename=Contratos+de+Clientes_409 - -[2025-04-25 18:59:13.678775] [info] No UUID found in the webhook data -[2025-04-25 18:59:14.606483] [notice] Logging level set to:debug -[2025-04-25 18:59:14.607043] [debug] valor del webhook: filename=Contratos+de+Clientes_335 - -[2025-04-25 18:59:14.607218] [info] No UUID found in the webhook data -[2025-04-25 18:59:19.239969] [notice] Logging level set to:debug -[2025-04-25 18:59:19.240309] [debug] valor del webhook: filename=Contratos+de+Clientes_337 - -[2025-04-25 18:59:19.240381] [info] No UUID found in the webhook data -[2025-04-25 18:59:20.107628] [notice] Logging level set to:debug -[2025-04-25 18:59:20.107927] [debug] valor del webhook: filename=Contratos+de+Clientes_409 - -[2025-04-25 18:59:20.107995] [info] No UUID found in the webhook data -[2025-04-25 18:59:24.518902] [notice] Logging level set to:debug -[2025-04-25 18:59:24.519385] [debug] valor del webhook: filename=Contratos+de+Clientes_336 - -[2025-04-25 18:59:24.519512] [info] No UUID found in the webhook data -[2025-04-25 18:59:29.827447] [notice] Logging level set to:debug -[2025-04-25 18:59:29.827586] [debug] valor del webhook: filename=Contratos+de+Clientes_402 - -[2025-04-25 18:59:29.827627] [info] No UUID found in the webhook data -[2025-04-25 18:59:35.065519] [notice] Logging level set to:debug -[2025-04-25 18:59:35.066073] [debug] valor del webhook: filename=Contratos+de+Clientes_403 - -[2025-04-25 18:59:35.066246] [info] No UUID found in the webhook data -[2025-04-25 18:59:40.360099] [notice] Logging level set to:debug -[2025-04-25 18:59:40.360498] [debug] valor del webhook: filename=Contratos+de+Clientes_340 - -[2025-04-25 18:59:40.360580] [info] No UUID found in the webhook data -[2025-04-25 18:59:45.593692] [notice] Logging level set to:debug -[2025-04-25 18:59:45.593837] [debug] valor del webhook: filename=Contratos+de+Clientes_333 - -[2025-04-25 18:59:45.593878] [info] No UUID found in the webhook data -[2025-04-25 18:59:46.364203] [notice] Logging level set to:debug -[2025-04-25 18:59:46.364579] [debug] valor del webhook: filename=Contratos+de+Clientes_334 - -[2025-04-25 18:59:46.364717] [info] No UUID found in the webhook data -[2025-04-25 18:59:50.871994] [notice] Logging level set to:debug -[2025-04-25 18:59:50.872375] [debug] valor del webhook: filename=Contratos+de+Clientes_329 - -[2025-04-25 18:59:50.872555] [info] No UUID found in the webhook data -[2025-04-25 18:59:51.765688] [notice] Logging level set to:debug -[2025-04-25 18:59:51.766010] [debug] valor del webhook: filename=Contratos+de+Clientes_332 - -[2025-04-25 18:59:51.766151] [info] No UUID found in the webhook data -[2025-04-25 18:59:52.773425] [notice] Logging level set to:debug -[2025-04-25 18:59:52.773627] [debug] valor del webhook: filename=Contratos+de+Clientes_331 - -[2025-04-25 18:59:52.773683] [info] No UUID found in the webhook data -[2025-04-25 18:59:53.678503] [notice] Logging level set to:debug -[2025-04-25 18:59:53.680026] [debug] valor del webhook: filename=Contratos+de+Clientes_324 - -[2025-04-25 18:59:53.680190] [info] No UUID found in the webhook data -[2025-04-25 18:59:54.748668] [notice] Logging level set to:debug -[2025-04-25 18:59:54.749001] [debug] valor del webhook: filename=Contratos+de+Clientes_323 - -[2025-04-25 18:59:54.749167] [info] No UUID found in the webhook data -[2025-04-25 18:59:56.121282] [notice] Logging level set to:debug -[2025-04-25 18:59:56.121602] [debug] valor del webhook: filename=Contratos+de+Clientes_327 - -[2025-04-25 18:59:56.121746] [info] No UUID found in the webhook data -[2025-04-25 18:59:57.121525] [notice] Logging level set to:debug -[2025-04-25 18:59:57.121973] [debug] valor del webhook: filename=Contratos+de+Clientes_326 - -[2025-04-25 18:59:57.122133] [info] No UUID found in the webhook data -[2025-04-25 19:00:02.311574] [notice] Logging level set to:debug -[2025-04-25 19:00:02.311882] [debug] valor del webhook: filename=Contratos+de+Clientes_325 - -[2025-04-25 19:00:02.311959] [info] No UUID found in the webhook data -[2025-04-25 19:00:04.131367] [notice] Logging level set to:debug -[2025-04-25 19:00:04.131689] [debug] valor del webhook: filename=Contratos+de+Clientes_322 - -[2025-04-25 19:00:04.131763] [info] No UUID found in the webhook data -[2025-04-25 19:00:06.509238] [notice] Logging level set to:debug -[2025-04-25 19:00:06.509560] [debug] valor del webhook: filename=Contratos+de+Clientes_328 - -[2025-04-25 19:00:06.509697] [info] No UUID found in the webhook data -[2025-04-25 19:00:13.763875] [notice] Logging level set to:debug -[2025-04-25 19:00:13.764229] [debug] valor del webhook: filename=Contratos+de+Clientes_317 - -[2025-04-25 19:00:13.764427] [info] No UUID found in the webhook data -[2025-04-25 19:00:17.562935] [notice] Logging level set to:debug -[2025-04-25 19:00:17.563553] [debug] valor del webhook: filename=Contratos+de+Clientes_319 - -[2025-04-25 19:00:17.563739] [info] No UUID found in the webhook data -[2025-04-25 19:00:24.053694] [notice] Logging level set to:debug -[2025-04-25 19:00:24.054301] [debug] valor del webhook: filename=Contratos+de+Clientes_320 - -[2025-04-25 19:00:24.054490] [info] No UUID found in the webhook data -[2025-04-25 19:00:25.912197] [notice] Logging level set to:debug -[2025-04-25 19:00:25.912357] [debug] valor del webhook: filename=Contratos+de+Clientes_318 - -[2025-04-25 19:00:25.912378] [info] No UUID found in the webhook data -[2025-04-25 19:00:27.779956] [notice] Logging level set to:debug -[2025-04-25 19:00:27.780492] [debug] valor del webhook: filename=Contratos+de+Clientes_321 - -[2025-04-25 19:00:27.780642] [info] No UUID found in the webhook data -[2025-04-25 19:00:34.734075] [notice] Logging level set to:debug -[2025-04-25 19:00:34.734651] [debug] valor del webhook: filename=Contratos+de+Clientes_393 - -[2025-04-25 19:00:34.734826] [info] No UUID found in the webhook data -[2025-04-25 19:00:39.998630] [notice] Logging level set to:debug -[2025-04-25 19:00:39.999212] [debug] valor del webhook: filename=Contratos+de+Clientes_316 - -[2025-04-25 19:00:39.999382] [info] No UUID found in the webhook data -[2025-04-25 19:00:45.366708] [notice] Logging level set to:debug -[2025-04-25 19:00:45.367279] [debug] valor del webhook: filename=Contratos+de+Clientes_313 - -[2025-04-25 19:00:45.367451] [info] No UUID found in the webhook data -[2025-04-25 19:00:47.100011] [notice] Logging level set to:debug -[2025-04-25 19:00:47.100346] [debug] valor del webhook: filename=Contratos+de+Clientes_394 - -[2025-04-25 19:00:47.100814] [info] No UUID found in the webhook data -[2025-04-25 19:00:48.112380] [notice] Logging level set to:debug -[2025-04-25 19:00:48.112474] [debug] valor del webhook: filename=Contratos+de+Clientes_311 - -[2025-04-25 19:00:48.112498] [info] No UUID found in the webhook data -[2025-04-25 19:00:48.999526] [notice] Logging level set to:debug -[2025-04-25 19:00:48.999610] [debug] valor del webhook: filename=Contratos+de+Clientes_315 - -[2025-04-25 19:00:48.999631] [info] No UUID found in the webhook data -[2025-04-25 19:00:49.896125] [notice] Logging level set to:debug -[2025-04-25 19:00:49.896239] [debug] valor del webhook: filename=Contratos+de+Clientes_312 - -[2025-04-25 19:00:49.896313] [info] No UUID found in the webhook data -[2025-04-25 19:00:55.900904] [notice] Logging level set to:debug -[2025-04-25 19:00:55.901055] [debug] valor del webhook: filename=Contratos+de+Clientes_395 - -[2025-04-25 19:00:55.901096] [info] No UUID found in the webhook data -[2025-04-25 19:01:02.409868] [notice] Logging level set to:debug -[2025-04-25 19:01:02.410008] [debug] valor del webhook: filename=Contratos+de+Clientes_387 - -[2025-04-25 19:01:02.410048] [info] No UUID found in the webhook data -[2025-04-25 19:01:05.211689] [notice] Logging level set to:debug -[2025-04-25 19:01:05.212234] [debug] valor del webhook: filename=Contratos+de+Clientes_309 - -[2025-04-25 19:01:05.212658] [info] No UUID found in the webhook data -[2025-04-25 19:01:08.146728] [notice] Logging level set to:debug -[2025-04-25 19:01:08.147242] [debug] valor del webhook: filename=Contratos+de+Clientes_310 - -[2025-04-25 19:01:08.147398] [info] No UUID found in the webhook data -[2025-04-25 19:01:12.181116] [notice] Logging level set to:debug -[2025-04-25 19:01:12.181430] [debug] valor del webhook: filename=Contratos+de+Clientes_389 - -[2025-04-25 19:01:12.181503] [info] No UUID found in the webhook data -[2025-04-25 19:01:15.671344] [notice] Logging level set to:debug -[2025-04-25 19:01:15.671865] [debug] valor del webhook: filename=Contratos+de+Clientes_314 - -[2025-04-25 19:01:15.672010] [info] No UUID found in the webhook data -[2025-04-25 19:01:17.684053] [notice] Logging level set to:debug -[2025-04-25 19:01:17.684732] [debug] valor del webhook: filename=Contratos+de+Clientes_391 - -[2025-04-25 19:01:17.684915] [info] No UUID found in the webhook data -[2025-04-25 19:01:25.215831] [notice] Logging level set to:debug -[2025-04-25 19:01:25.216523] [debug] valor del webhook: filename=Contratos+de+Clientes_390 - -[2025-04-25 19:01:25.216641] [info] No UUID found in the webhook data -[2025-04-25 19:01:30.683860] [notice] Logging level set to:debug -[2025-04-25 19:01:30.683940] [debug] valor del webhook: filename=Contratos+de+Clientes_392 - -[2025-04-25 19:01:30.683957] [info] No UUID found in the webhook data -[2025-04-25 19:01:33.099459] [notice] Logging level set to:debug -[2025-04-25 19:01:33.099556] [debug] valor del webhook: filename=Contratos+de+Clientes_388 - -[2025-04-25 19:01:33.099579] [info] No UUID found in the webhook data -[2025-04-25 19:01:36.618416] [notice] Logging level set to:debug -[2025-04-25 19:01:36.618547] [debug] valor del webhook: filename=Contratos+de+Clientes_305 - -[2025-04-25 19:01:36.618593] [info] No UUID found in the webhook data -[2025-04-25 19:01:40.051709] [notice] Logging level set to:debug -[2025-04-25 19:01:40.051847] [debug] valor del webhook: filename=Contratos+de+Clientes_303 - -[2025-04-25 19:01:40.051888] [info] No UUID found in the webhook data -[2025-04-25 19:01:42.952971] [notice] Logging level set to:debug -[2025-04-25 19:01:42.953322] [debug] valor del webhook: filename=Contratos+de+Clientes_381 - -[2025-04-25 19:01:42.953396] [info] No UUID found in the webhook data -[2025-04-25 19:01:48.164470] [notice] Logging level set to:debug -[2025-04-25 19:01:48.164990] [debug] valor del webhook: filename=Contratos+de+Clientes_306 - -[2025-04-25 19:01:48.165144] [info] No UUID found in the webhook data -[2025-04-25 19:01:51.313117] [notice] Logging level set to:debug -[2025-04-25 19:01:51.313817] [debug] valor del webhook: filename=Contratos+de+Clientes_304 - -[2025-04-25 19:01:51.314040] [info] No UUID found in the webhook data -[2025-04-25 19:01:54.988744] [notice] Logging level set to:debug -[2025-04-25 19:01:54.989224] [debug] valor del webhook: filename=Contratos+de+Clientes_383 - -[2025-04-25 19:01:54.989331] [info] No UUID found in the webhook data -[2025-04-25 19:01:58.977958] [notice] Logging level set to:debug -[2025-04-25 19:01:58.978276] [debug] valor del webhook: filename=Contratos+de+Clientes_302 - -[2025-04-25 19:01:58.978349] [info] No UUID found in the webhook data -[2025-04-25 19:02:06.953093] [notice] Logging level set to:debug -[2025-04-25 19:02:06.953567] [debug] valor del webhook: filename=Contratos+de+Clientes_308 - -[2025-04-25 19:02:06.953702] [info] No UUID found in the webhook data -[2025-04-25 19:02:12.471699] [notice] Logging level set to:debug -[2025-04-25 19:02:12.472316] [debug] valor del webhook: filename=Contratos+de+Clientes_384 - -[2025-04-25 19:02:12.472546] [info] No UUID found in the webhook data -[2025-04-25 19:02:15.982255] [notice] Logging level set to:debug -[2025-04-25 19:02:15.982868] [debug] valor del webhook: filename=Contratos+de+Clientes_307 - -[2025-04-25 19:02:15.983045] [info] No UUID found in the webhook data -[2025-04-25 19:02:19.907193] [notice] Logging level set to:debug -[2025-04-25 19:02:19.907773] [debug] valor del webhook: filename=Contratos+de+Clientes_382 - -[2025-04-25 19:02:19.907949] [info] No UUID found in the webhook data -[2025-04-25 19:02:26.620980] [notice] Logging level set to:debug -[2025-04-25 19:02:26.621537] [debug] valor del webhook: filename=Contratos+de+Clientes_299 - -[2025-04-25 19:02:26.621720] [info] No UUID found in the webhook data -[2025-04-25 19:02:29.754826] [notice] Logging level set to:debug -[2025-04-25 19:02:29.755240] [debug] valor del webhook: filename=Contratos+de+Clientes_298 - -[2025-04-25 19:02:29.755378] [info] No UUID found in the webhook data -[2025-04-25 19:02:32.522121] [notice] Logging level set to:debug -[2025-04-25 19:02:32.524108] [debug] valor del webhook: filename=Contratos+de+Clientes_296 - -[2025-04-25 19:02:32.524362] [info] No UUID found in the webhook data -[2025-04-25 19:02:35.565570] [notice] Logging level set to:debug -[2025-04-25 19:02:35.566174] [debug] valor del webhook: filename=Contratos+de+Clientes_297 - -[2025-04-25 19:02:35.566391] [info] No UUID found in the webhook data -[2025-04-25 19:02:37.569777] [notice] Logging level set to:debug -[2025-04-25 19:02:37.570355] [debug] valor del webhook: filename=Contratos+de+Clientes_295 - -[2025-04-25 19:02:37.571126] [info] No UUID found in the webhook data -[2025-04-25 19:02:40.569344] [notice] Logging level set to:debug -[2025-04-25 19:02:40.569660] [debug] valor del webhook: filename=Contratos+de+Clientes_373 - -[2025-04-25 19:02:40.569854] [info] No UUID found in the webhook data -[2025-04-25 19:02:43.717828] [notice] Logging level set to:debug -[2025-04-25 19:02:43.718379] [debug] valor del webhook: filename=Contratos+de+Clientes_301 - -[2025-04-25 19:02:43.718550] [info] No UUID found in the webhook data -[2025-04-25 19:02:49.629636] [notice] Logging level set to:debug -[2025-04-25 19:02:49.630026] [debug] valor del webhook: filename=Contratos+de+Clientes_289 - -[2025-04-25 19:02:49.630141] [info] No UUID found in the webhook data -[2025-04-25 19:02:51.737910] [notice] Logging level set to:debug -[2025-04-25 19:02:51.738497] [debug] valor del webhook: filename=Contratos+de+Clientes_290 - -[2025-04-25 19:02:51.738663] [info] No UUID found in the webhook data -[2025-04-25 19:02:54.545730] [notice] Logging level set to:debug -[2025-04-25 19:02:54.546154] [debug] valor del webhook: filename=Contratos+de+Clientes_374 - -[2025-04-25 19:02:54.546264] [info] No UUID found in the webhook data -[2025-04-25 19:03:01.649907] [notice] Logging level set to:debug -[2025-04-25 19:03:01.650213] [debug] valor del webhook: filename=Contratos+de+Clientes_292 - -[2025-04-25 19:03:01.650283] [info] No UUID found in the webhook data -[2025-04-25 19:03:07.705486] [notice] Logging level set to:debug -[2025-04-25 19:03:07.705907] [debug] valor del webhook: filename=Contratos+de+Clientes_375 - -[2025-04-25 19:03:07.706022] [info] No UUID found in the webhook data -[2025-04-25 19:03:09.658606] [notice] Logging level set to:debug -[2025-04-25 19:03:09.658750] [debug] valor del webhook: filename=Contratos+de+Clientes_293 - -[2025-04-25 19:03:09.658790] [info] No UUID found in the webhook data -[2025-04-25 19:03:12.167819] [notice] Logging level set to:debug -[2025-04-25 19:03:12.167958] [debug] valor del webhook: filename=Contratos+de+Clientes_288 - -[2025-04-25 19:03:12.168000] [info] No UUID found in the webhook data -[2025-04-25 19:03:15.099776] [notice] Logging level set to:debug -[2025-04-25 19:03:15.099914] [debug] valor del webhook: filename=Contratos+de+Clientes_378 - -[2025-04-25 19:03:15.099953] [info] No UUID found in the webhook data -[2025-04-25 19:03:16.770539] [notice] Logging level set to:debug -[2025-04-25 19:03:16.770678] [debug] valor del webhook: filename=Contratos+de+Clientes_377 - -[2025-04-25 19:03:16.770720] [info] No UUID found in the webhook data -[2025-04-25 19:03:17.591684] [notice] Logging level set to:debug -[2025-04-25 19:03:17.591886] [debug] valor del webhook: filename=Contratos+de+Clientes_294 - -[2025-04-25 19:03:17.591931] [info] No UUID found in the webhook data -[2025-04-25 19:03:22.001990] [notice] Logging level set to:debug -[2025-04-25 19:03:22.002130] [debug] valor del webhook: filename=Contratos+de+Clientes_291 - -[2025-04-25 19:03:22.002170] [info] No UUID found in the webhook data -[2025-04-25 19:03:22.911454] [notice] Logging level set to:debug -[2025-04-25 19:03:22.911607] [debug] valor del webhook: filename=Contratos+de+Clientes_379 - -[2025-04-25 19:03:22.911647] [info] No UUID found in the webhook data -[2025-04-25 19:03:27.284395] [notice] Logging level set to:debug -[2025-04-25 19:03:27.284535] [debug] valor del webhook: filename=Contratos+de+Clientes_287 - -[2025-04-25 19:03:27.284576] [info] No UUID found in the webhook data -[2025-04-25 19:03:32.303654] [notice] Logging level set to:debug -[2025-04-25 19:03:32.303796] [debug] valor del webhook: filename=Contratos+de+Clientes_286 - -[2025-04-25 19:03:32.303836] [info] No UUID found in the webhook data -[2025-04-25 19:03:38.320578] [notice] Logging level set to:debug -[2025-04-25 19:03:38.320719] [debug] valor del webhook: filename=Contratos+de+Clientes_281 - -[2025-04-25 19:03:38.320760] [info] No UUID found in the webhook data -[2025-04-25 19:03:42.820825] [notice] Logging level set to:debug -[2025-04-25 19:03:42.820962] [debug] valor del webhook: filename=Contratos+de+Clientes_285 - -[2025-04-25 19:03:42.821003] [info] No UUID found in the webhook data -[2025-04-25 19:03:48.070297] [notice] Logging level set to:debug -[2025-04-25 19:03:48.070422] [debug] valor del webhook: filename=Contratos+de+Clientes_282 - -[2025-04-25 19:03:48.070458] [info] No UUID found in the webhook data -[2025-04-25 19:03:48.848771] [notice] Logging level set to:debug -[2025-04-25 19:03:48.848906] [debug] valor del webhook: filename=Contratos+de+Clientes_284 - -[2025-04-25 19:03:48.848946] [info] No UUID found in the webhook data -[2025-04-25 19:03:49.962929] [notice] Logging level set to:debug -[2025-04-25 19:03:49.963332] [debug] valor del webhook: filename=Contratos+de+Clientes_283 - -[2025-04-25 19:03:49.963447] [info] No UUID found in the webhook data -[2025-04-25 19:03:51.978549] [notice] Logging level set to:debug -[2025-04-25 19:03:51.979100] [debug] valor del webhook: filename=Contratos+de+Clientes_280 - -[2025-04-25 19:03:51.979255] [info] No UUID found in the webhook data -[2025-04-25 19:03:54.223079] [notice] Logging level set to:debug -[2025-04-25 19:03:54.223560] [debug] valor del webhook: filename=Contratos+de+Clientes_275 - -[2025-04-25 19:03:54.223687] [info] No UUID found in the webhook data -[2025-04-25 19:04:00.163866] [notice] Logging level set to:debug -[2025-04-25 19:04:00.164612] [debug] valor del webhook: filename=Contratos+de+Clientes_279 - -[2025-04-25 19:04:00.164835] [info] No UUID found in the webhook data -[2025-04-25 19:04:04.772891] [notice] Logging level set to:debug -[2025-04-25 19:04:04.773468] [debug] valor del webhook: filename=Contratos+de+Clientes_380 - -[2025-04-25 19:04:04.773646] [info] No UUID found in the webhook data -[2025-04-25 19:04:10.204658] [notice] Logging level set to:debug -[2025-04-25 19:04:10.205292] [debug] valor del webhook: filename=Contratos+de+Clientes_277 - -[2025-04-25 19:04:10.205471] [info] No UUID found in the webhook data -[2025-04-25 19:04:11.633807] [notice] Logging level set to:debug -[2025-04-25 19:04:11.634378] [debug] valor del webhook: filename=Contratos+de+Clientes_367 - -[2025-04-25 19:04:11.634557] [info] No UUID found in the webhook data -[2025-04-25 19:04:15.861790] [notice] Logging level set to:debug -[2025-04-25 19:04:15.862394] [debug] valor del webhook: filename=Contratos+de+Clientes_276 - -[2025-04-25 19:04:15.862577] [info] No UUID found in the webhook data -[2025-04-25 19:04:21.324556] [notice] Logging level set to:debug -[2025-04-25 19:04:21.325136] [debug] valor del webhook: filename=Contratos+de+Clientes_274 - -[2025-04-25 19:04:21.325318] [info] No UUID found in the webhook data -[2025-04-25 19:04:27.250071] [notice] Logging level set to:debug -[2025-04-25 19:04:27.250647] [debug] valor del webhook: filename=Contratos+de+Clientes_270 - -[2025-04-25 19:04:27.250823] [info] No UUID found in the webhook data -[2025-04-25 19:04:28.222929] [notice] Logging level set to:debug -[2025-04-25 19:04:28.223303] [debug] valor del webhook: filename=Contratos+de+Clientes_368 - -[2025-04-25 19:04:28.223396] [info] No UUID found in the webhook data -[2025-04-25 19:04:29.151561] [notice] Logging level set to:debug -[2025-04-25 19:04:29.151638] [debug] valor del webhook: filename=Contratos+de+Clientes_273 - -[2025-04-25 19:04:29.151654] [info] No UUID found in the webhook data -[2025-04-25 19:04:29.990103] [notice] Logging level set to:debug -[2025-04-25 19:04:29.990187] [debug] valor del webhook: filename=Contratos+de+Clientes_368 - -[2025-04-25 19:04:29.990209] [info] No UUID found in the webhook data -[2025-04-25 19:04:31.853044] [notice] Logging level set to:debug -[2025-04-25 19:04:31.853189] [debug] valor del webhook: filename=Contratos+de+Clientes_272 - -[2025-04-25 19:04:31.853249] [info] No UUID found in the webhook data -[2025-04-25 19:04:32.644068] [notice] Logging level set to:debug -[2025-04-25 19:04:32.644515] [debug] valor del webhook: filename=Contratos+de+Clientes_271 - -[2025-04-25 19:04:32.644620] [info] No UUID found in the webhook data -[2025-04-25 19:04:33.536897] [notice] Logging level set to:debug -[2025-04-25 19:04:33.537518] [debug] valor del webhook: filename=Contratos+de+Clientes_369 - -[2025-04-25 19:04:33.537700] [info] No UUID found in the webhook data -[2025-04-25 19:04:34.572853] [notice] Logging level set to:debug -[2025-04-25 19:04:34.573148] [debug] valor del webhook: filename=Contratos+de+Clientes_269 - -[2025-04-25 19:04:34.573215] [info] No UUID found in the webhook data -[2025-04-25 19:04:37.097549] [notice] Logging level set to:debug -[2025-04-25 19:04:37.098098] [debug] valor del webhook: filename=Contratos+de+Clientes_265 - -[2025-04-25 19:04:37.098277] [info] No UUID found in the webhook data -[2025-04-25 19:04:42.424212] [notice] Logging level set to:debug -[2025-04-25 19:04:42.424882] [debug] valor del webhook: filename=Contratos+de+Clientes_370 - -[2025-04-25 19:04:42.425132] [info] No UUID found in the webhook data -[2025-04-25 19:04:43.318883] [notice] Logging level set to:debug -[2025-04-25 19:04:43.319633] [debug] valor del webhook: filename=Contratos+de+Clientes_267 - -[2025-04-25 19:04:43.319791] [info] No UUID found in the webhook data -[2025-04-25 19:04:44.114768] [notice] Logging level set to:debug -[2025-04-25 19:04:44.115323] [debug] valor del webhook: filename=Contratos+de+Clientes_372 - -[2025-04-25 19:04:44.115495] [info] No UUID found in the webhook data -[2025-04-25 19:04:45.046582] [notice] Logging level set to:debug -[2025-04-25 19:04:45.047139] [debug] valor del webhook: filename=Contratos+de+Clientes_263 - -[2025-04-25 19:04:45.047301] [info] No UUID found in the webhook data -[2025-04-25 19:04:45.953807] [notice] Logging level set to:debug -[2025-04-25 19:04:45.954360] [debug] valor del webhook: filename=Contratos+de+Clientes_266 - -[2025-04-25 19:04:45.954554] [info] No UUID found in the webhook data -[2025-04-25 19:04:48.569351] [notice] Logging level set to:debug -[2025-04-25 19:04:48.569951] [debug] valor del webhook: filename=Contratos+de+Clientes_268 - -[2025-04-25 19:04:48.570148] [info] No UUID found in the webhook data -[2025-04-25 19:04:53.350985] [notice] Logging level set to:debug -[2025-04-25 19:04:53.351130] [debug] valor del webhook: filename=Contratos+de+Clientes_361 - -[2025-04-25 19:04:53.351171] [info] No UUID found in the webhook data -[2025-04-25 19:04:58.666282] [notice] Logging level set to:debug -[2025-04-25 19:04:58.666439] [debug] valor del webhook: filename=Contratos+de+Clientes_260 - -[2025-04-25 19:04:58.666481] [info] No UUID found in the webhook data -[2025-04-25 19:05:04.982131] [notice] Logging level set to:debug -[2025-04-25 19:05:04.982253] [debug] valor del webhook: filename=Contratos+de+Clientes_257 - -[2025-04-25 19:05:04.982281] [info] No UUID found in the webhook data -[2025-04-25 19:05:06.445900] [notice] Logging level set to:debug -[2025-04-25 19:05:06.446046] [debug] valor del webhook: filename=Contratos+de+Clientes_261 - -[2025-04-25 19:05:06.446086] [info] No UUID found in the webhook data -[2025-04-25 19:05:10.355948] [notice] Logging level set to:debug -[2025-04-25 19:05:10.356051] [debug] valor del webhook: filename=Contratos+de+Clientes_259 - -[2025-04-25 19:05:10.356076] [info] No UUID found in the webhook data -[2025-04-25 19:05:11.868573] [notice] Logging level set to:debug -[2025-04-25 19:05:11.868710] [debug] valor del webhook: filename=Contratos+de+Clientes_362 - -[2025-04-25 19:05:11.868752] [info] No UUID found in the webhook data -[2025-04-25 19:05:13.309325] [notice] Logging level set to:debug -[2025-04-25 19:05:13.309412] [debug] valor del webhook: filename=Contratos+de+Clientes_363 - -[2025-04-25 19:05:13.309432] [info] No UUID found in the webhook data -[2025-04-25 19:05:14.766329] [notice] Logging level set to:debug -[2025-04-25 19:05:14.766469] [debug] valor del webhook: filename=Contratos+de+Clientes_364 - -[2025-04-25 19:05:14.766511] [info] No UUID found in the webhook data -[2025-04-25 19:05:20.250300] [notice] Logging level set to:debug -[2025-04-25 19:05:20.250392] [debug] valor del webhook: filename=Contratos+de+Clientes_365 - -[2025-04-25 19:05:20.250420] [info] No UUID found in the webhook data -[2025-04-25 19:05:21.147864] [notice] Logging level set to:debug -[2025-04-25 19:05:21.148025] [debug] valor del webhook: filename=Contratos+de+Clientes_353 - -[2025-04-25 19:05:21.148077] [info] No UUID found in the webhook data -[2025-04-25 19:05:21.939682] [notice] Logging level set to:debug -[2025-04-25 19:05:21.939820] [debug] valor del webhook: filename=Contratos+de+Clientes_355 - -[2025-04-25 19:05:21.939862] [info] No UUID found in the webhook data -[2025-04-25 19:05:25.513844] [notice] Logging level set to:debug -[2025-04-25 19:05:25.513993] [debug] valor del webhook: filename=Contratos+de+Clientes_356 - -[2025-04-25 19:05:25.514034] [info] No UUID found in the webhook data -[2025-04-25 19:05:26.308142] [notice] Logging level set to:debug -[2025-04-25 19:05:26.308319] [debug] valor del webhook: filename=Contratos+de+Clientes_357 - -[2025-04-25 19:05:26.308365] [info] No UUID found in the webhook data -[2025-04-25 19:05:27.199728] [notice] Logging level set to:debug -[2025-04-25 19:05:27.200109] [debug] valor del webhook: filename=Contratos+de+Clientes_358 - -[2025-04-25 19:05:27.200211] [info] No UUID found in the webhook data -[2025-04-25 19:05:28.073672] [notice] Logging level set to:debug -[2025-04-25 19:05:28.074006] [debug] valor del webhook: filename=Contratos+de+Clientes_359 - -[2025-04-25 19:05:28.074080] [info] No UUID found in the webhook data -[2025-04-25 19:05:29.012182] [notice] Logging level set to:debug -[2025-04-25 19:05:29.012547] [debug] valor del webhook: filename=Contratos+de+Clientes_347 - -[2025-04-25 19:05:29.012625] [info] No UUID found in the webhook data -[2025-04-25 19:05:29.923711] [notice] Logging level set to:debug -[2025-04-25 19:05:29.924321] [debug] valor del webhook: filename=Contratos+de+Clientes_349 - -[2025-04-25 19:05:29.924503] [info] No UUID found in the webhook data -[2025-04-25 19:05:30.852412] [notice] Logging level set to:debug -[2025-04-25 19:05:30.852511] [debug] valor del webhook: filename=Contratos+de+Clientes_350 - -[2025-04-25 19:05:30.852538] [info] No UUID found in the webhook data -[2025-04-25 19:05:31.644762] [notice] Logging level set to:debug -[2025-04-25 19:05:31.644932] [debug] valor del webhook: filename=Contratos+de+Clientes_351 - -[2025-04-25 19:05:31.644975] [info] No UUID found in the webhook data -[2025-04-25 19:05:32.515731] [notice] Logging level set to:debug -[2025-04-25 19:05:32.515846] [debug] valor del webhook: filename=Contratos+de+Clientes_352 - -[2025-04-25 19:05:32.515880] [info] No UUID found in the webhook data -[2025-04-25 19:05:33.515168] [notice] Logging level set to:debug -[2025-04-25 19:05:33.515311] [debug] valor del webhook: filename=Contratos+de+Clientes_341 - -[2025-04-25 19:05:33.515356] [info] No UUID found in the webhook data -[2025-04-25 19:05:35.560559] [notice] Logging level set to:debug -[2025-04-25 19:05:35.560710] [debug] valor del webhook: filename=Contratos+de+Clientes_342 - -[2025-04-25 19:05:35.560766] [info] No UUID found in the webhook data -[2025-04-25 19:05:37.207710] [notice] Logging level set to:debug -[2025-04-25 19:05:37.207873] [debug] valor del webhook: filename=Contratos+de+Clientes_343 - -[2025-04-25 19:05:37.207914] [info] No UUID found in the webhook data -[2025-04-25 19:05:39.422887] [notice] Logging level set to:debug -[2025-04-25 19:05:39.423026] [debug] valor del webhook: filename=Contratos+de+Clientes_290 - -[2025-04-25 19:05:39.423065] [info] No UUID found in the webhook data -[2025-04-25 19:05:41.607053] [notice] Logging level set to:debug -[2025-04-25 19:05:41.607121] [debug] valor del webhook: filename=Contratos+de+Clientes_291 - -[2025-04-25 19:05:41.607137] [info] No UUID found in the webhook data -[2025-04-25 19:05:43.480840] [notice] Logging level set to:debug -[2025-04-25 19:05:43.480993] [debug] valor del webhook: filename=Contratos+de+Clientes_292 - -[2025-04-25 19:05:43.481035] [info] No UUID found in the webhook data -[2025-04-25 19:05:45.246337] [notice] Logging level set to:debug -[2025-04-25 19:05:45.246503] [debug] valor del webhook: filename=Contratos+de+Clientes_293 - -[2025-04-25 19:05:45.246546] [info] No UUID found in the webhook data -[2025-04-25 19:05:46.741111] [notice] Logging level set to:debug -[2025-04-25 19:05:46.741249] [debug] valor del webhook: filename=Contratos+de+Clientes_294 - -[2025-04-25 19:05:46.741288] [info] No UUID found in the webhook data -[2025-04-25 19:05:51.816459] [notice] Logging level set to:debug -[2025-04-25 19:05:51.816580] [debug] valor del webhook: filename=Contratos+de+Clientes_281 - -[2025-04-25 19:05:51.816612] [info] No UUID found in the webhook data -[2025-04-25 19:05:57.482470] [notice] Logging level set to:debug -[2025-04-25 19:05:57.482661] [debug] valor del webhook: filename=Contratos+de+Clientes_282 - -[2025-04-25 19:05:57.482717] [info] No UUID found in the webhook data -[2025-04-25 19:06:02.857038] [notice] Logging level set to:debug -[2025-04-25 19:06:02.857153] [debug] valor del webhook: filename=Contratos+de+Clientes_283 - -[2025-04-25 19:06:02.857182] [info] No UUID found in the webhook data -[2025-04-25 19:06:04.333735] [notice] Logging level set to:debug -[2025-04-25 19:06:04.334294] [debug] valor del webhook: filename=Contratos+de+Clientes_284 - -[2025-04-25 19:06:04.334487] [info] No UUID found in the webhook data -[2025-04-25 19:06:16.265950] [notice] Logging level set to:debug -[2025-04-25 19:06:16.266150] [debug] valor del webhook: filename=Contratos+de+Clientes_285 - -[2025-04-25 19:06:16.266211] [info] No UUID found in the webhook data -[2025-04-25 19:06:18.756865] [notice] Logging level set to:debug -[2025-04-25 19:06:18.757450] [debug] valor del webhook: filename=Contratos+de+Clientes_286 - -[2025-04-25 19:06:18.757646] [info] No UUID found in the webhook data -[2025-04-25 19:06:25.103765] [notice] Logging level set to:debug -[2025-04-25 19:06:25.104384] [debug] valor del webhook: filename=Contratos+de+Clientes_287 - -[2025-04-25 19:06:25.104568] [info] No UUID found in the webhook data -[2025-04-25 19:06:32.757402] [notice] Logging level set to:debug -[2025-04-25 19:06:32.757987] [debug] valor del webhook: filename=Contratos+de+Clientes_275 - -[2025-04-25 19:06:32.758158] [info] No UUID found in the webhook data -[2025-04-25 19:06:51.707423] [notice] Logging level set to:debug -[2025-04-25 19:06:51.707694] [debug] valor del webhook: filename=Contratos+de+Clientes_276 - -[2025-04-25 19:06:51.707750] [info] No UUID found in the webhook data -[2025-04-25 19:07:12.338992] [notice] Logging level set to:debug -[2025-04-25 19:07:12.339327] [debug] valor del webhook: filename=Contratos+de+Clientes_277 - -[2025-04-25 19:07:12.339406] [info] No UUID found in the webhook data -[2025-04-25 19:07:23.772974] [notice] Logging level set to:debug -[2025-04-25 19:07:23.773376] [debug] valor del webhook: filename=Contratos+de+Clientes_279 - -[2025-04-25 19:07:23.773483] [info] No UUID found in the webhook data -[2025-04-25 19:07:32.829724] [notice] Logging level set to:debug -[2025-04-25 19:07:32.830271] [debug] valor del webhook: filename=Contratos+de+Clientes_280 - -[2025-04-25 19:07:32.830445] [info] No UUID found in the webhook data -[2025-04-25 19:07:43.538551] [notice] Logging level set to:debug -[2025-04-25 19:07:43.539119] [debug] valor del webhook: filename=Contratos+de+Clientes_269 - -[2025-04-25 19:07:43.539303] [info] No UUID found in the webhook data -[2025-04-25 19:08:02.289860] [notice] Logging level set to:debug -[2025-04-25 19:08:02.290066] [debug] valor del webhook: filename=Contratos+de+Clientes_270 - -[2025-04-25 19:08:02.290122] [info] No UUID found in the webhook data -[2025-04-25 19:08:26.493263] [notice] Logging level set to:debug -[2025-04-25 19:08:26.493657] [debug] valor del webhook: filename=Contratos+de+Clientes_271 - -[2025-04-25 19:08:26.493761] [info] No UUID found in the webhook data -[2025-04-25 19:08:51.959650] [notice] Logging level set to:debug -[2025-04-25 19:08:51.960287] [debug] valor del webhook: filename=Contratos+de+Clientes_272 - -[2025-04-25 19:08:51.960477] [info] No UUID found in the webhook data -[2025-04-25 19:09:11.188774] [notice] Logging level set to:debug -[2025-04-25 19:09:11.189182] [debug] valor del webhook: filename=Contratos+de+Clientes_273 - -[2025-04-25 19:09:11.189299] [info] No UUID found in the webhook data -[2025-04-25 19:09:23.965090] [notice] Logging level set to:debug -[2025-04-25 19:09:23.965229] [debug] valor del webhook: filename=Contratos+de+Clientes_274 - -[2025-04-25 19:09:23.965270] [info] No UUID found in the webhook data -[2025-04-25 19:09:42.811398] [notice] Logging level set to:debug -[2025-04-25 19:09:42.812366] [debug] valor del webhook: filename=Contratos+de+Clientes_263 - -[2025-04-25 19:09:42.812836] [info] No UUID found in the webhook data -[2025-04-25 19:09:59.683943] [notice] Logging level set to:debug -[2025-04-25 19:09:59.684509] [debug] valor del webhook: filename=Contratos+de+Clientes_265 - -[2025-04-25 19:09:59.684662] [info] No UUID found in the webhook data -[2025-04-25 19:10:18.920186] [notice] Logging level set to:debug -[2025-04-25 19:10:18.920792] [debug] valor del webhook: filename=Contratos+de+Clientes_266 - -[2025-04-25 19:10:18.920965] [info] No UUID found in the webhook data -[2025-04-25 19:10:30.789545] [notice] Logging level set to:debug -[2025-04-25 19:10:30.790064] [debug] valor del webhook: filename=Contratos+de+Clientes_267 - -[2025-04-25 19:10:30.790210] [info] No UUID found in the webhook data -[2025-04-25 19:12:28.570012] [notice] Logging level set to:debug -[2025-04-25 19:12:28.570683] [debug] valor del webhook: filename=Contratos+de+Clientes_268 - -[2025-04-25 19:12:28.570883] [info] No UUID found in the webhook data -[2025-04-25 19:13:17.371570] [notice] Logging level set to:debug -[2025-04-25 19:13:17.371664] [debug] valor del webhook: filename=Contratos+de+Clientes_257 - -[2025-04-25 19:13:17.371685] [info] No UUID found in the webhook data -[2025-04-25 19:13:24.653086] [notice] Logging level set to:debug -[2025-04-25 19:13:24.653446] [debug] valor del webhook: filename=Contratos+de+Clientes_258 - -[2025-04-25 19:13:24.653534] [info] No UUID found in the webhook data -[2025-04-25 19:13:44.566131] [notice] Logging level set to:debug -[2025-04-25 19:13:44.566569] [debug] valor del webhook: filename=Contratos+de+Clientes_259 - -[2025-04-25 19:13:44.566694] [info] No UUID found in the webhook data -[2025-04-25 19:13:59.528043] [notice] Logging level set to:debug -[2025-04-25 19:13:59.528160] [debug] valor del webhook: filename=Contratos+de+Clientes_260 - -[2025-04-25 19:13:59.528187] [info] No UUID found in the webhook data -[2025-04-25 19:14:20.963238] [notice] Logging level set to:debug -[2025-04-25 19:14:20.963360] [debug] valor del webhook: filename=Contratos+de+Clientes_261 - -[2025-04-25 19:14:20.963388] [info] No UUID found in the webhook data -[2025-04-25 19:14:39.584233] [notice] Logging level set to:debug -[2025-04-25 19:14:39.584407] [debug] valor del webhook: filename=Contratos+de+Clientes_262 - -[2025-04-25 19:14:39.584446] [info] No UUID found in the webhook data -[2025-04-25 19:14:59.668334] [notice] Logging level set to:debug -[2025-04-25 19:14:59.668735] [debug] valor del webhook: filename=Contratos+de+Clientes_249 - -[2025-04-25 19:14:59.668855] [info] No UUID found in the webhook data -[2025-04-25 19:15:19.311141] [notice] Logging level set to:debug -[2025-04-25 19:15:19.311486] [debug] valor del webhook: filename=Contratos+de+Clientes_250 - -[2025-04-25 19:15:19.311569] [info] No UUID found in the webhook data -[2025-04-25 19:15:51.565073] [notice] Logging level set to:debug -[2025-04-25 19:15:51.565263] [debug] valor del webhook: filename=Contratos+de+Clientes_251 - -[2025-04-25 19:15:51.565321] [info] No UUID found in the webhook data -[2025-04-25 19:16:15.781939] [notice] Logging level set to:debug -[2025-04-25 19:16:15.782092] [debug] valor del webhook: filename=Contratos+de+Clientes_252 - -[2025-04-25 19:16:15.782133] [info] No UUID found in the webhook data -[2025-04-25 19:16:26.715866] [notice] Logging level set to:debug -[2025-04-25 19:16:26.716293] [debug] valor del webhook: filename=Contratos+de+Clientes_253 - -[2025-04-25 19:16:26.716411] [info] No UUID found in the webhook data -[2025-04-25 19:16:43.758646] [notice] Logging level set to:debug -[2025-04-25 19:16:43.758757] [debug] valor del webhook: filename=Contratos+de+Clientes_254 - -[2025-04-25 19:16:43.758785] [info] No UUID found in the webhook data -[2025-04-25 19:16:53.546547] [notice] Logging level set to:debug -[2025-04-25 19:16:53.547158] [debug] valor del webhook: filename=Contratos+de+Clientes_255 - -[2025-04-25 19:16:53.547328] [info] No UUID found in the webhook data -[2025-04-25 19:17:30.473625] [notice] Logging level set to:debug -[2025-04-25 19:17:30.473824] [debug] valor del webhook: filename=Contratos+de+Clientes_256 - -[2025-04-25 19:17:30.473885] [info] No UUID found in the webhook data -[2025-04-25 19:17:47.967081] [notice] Logging level set to:debug -[2025-04-25 19:17:47.967554] [debug] valor del webhook: filename=Contratos+de+Clientes_243 - -[2025-04-25 19:17:47.967694] [info] No UUID found in the webhook data -[2025-04-25 19:18:07.732336] [notice] Logging level set to:debug -[2025-04-25 19:18:07.732582] [debug] valor del webhook: filename=Contratos+de+Clientes_244 - -[2025-04-25 19:18:07.732657] [info] No UUID found in the webhook data -[2025-04-25 19:18:22.040659] [notice] Logging level set to:debug -[2025-04-25 19:18:22.040864] [debug] valor del webhook: filename=Contratos+de+Clientes_245 - -[2025-04-25 19:18:22.040923] [info] No UUID found in the webhook data -[2025-04-25 19:18:36.836205] [notice] Logging level set to:debug -[2025-04-25 19:18:36.837080] [debug] valor del webhook: filename=Contratos+de+Clientes_246 - -[2025-04-25 19:18:36.837171] [info] No UUID found in the webhook data -[2025-04-25 19:18:50.894778] [notice] Logging level set to:debug -[2025-04-25 19:18:50.894920] [debug] valor del webhook: filename=Contratos+de+Clientes_248 - -[2025-04-25 19:18:50.894959] [info] No UUID found in the webhook data -[2025-04-25 19:19:16.800545] [notice] Logging level set to:debug -[2025-04-25 19:19:16.801083] [debug] valor del webhook: filename=Contratos+de+Clientes_236 - -[2025-04-25 19:19:16.801229] [info] No UUID found in the webhook data -[2025-04-25 19:19:44.573890] [notice] Logging level set to:debug -[2025-04-25 19:19:44.574207] [debug] valor del webhook: filename=Contratos+de+Clientes_238 - -[2025-04-25 19:19:44.574284] [info] No UUID found in the webhook data -[2025-04-25 19:19:58.321182] [notice] Logging level set to:debug -[2025-04-25 19:19:58.321645] [debug] valor del webhook: filename=Contratos+de+Clientes_240 - -[2025-04-25 19:19:58.321782] [info] No UUID found in the webhook data -[2025-04-25 19:20:20.194813] [notice] Logging level set to:debug -[2025-04-25 19:20:20.195313] [debug] valor del webhook: filename=Contratos+de+Clientes_188 - -[2025-04-25 19:20:20.195456] [info] No UUID found in the webhook data -[2025-04-25 19:20:41.544009] [notice] Logging level set to:debug -[2025-04-25 19:20:41.544509] [debug] valor del webhook: filename=Contratos+de+Clientes_189 - -[2025-04-25 19:20:41.544653] [info] No UUID found in the webhook data -[2025-04-25 19:20:57.573606] [notice] Logging level set to:debug -[2025-04-25 19:20:57.573827] [debug] valor del webhook: filename=Contratos+de+Clientes_190 - -[2025-04-25 19:20:57.573899] [info] No UUID found in the webhook data -[2025-04-25 19:22:02.104969] [notice] Logging level set to:debug -[2025-04-25 19:22:02.105319] [debug] valor del webhook: filename=Contratos+de+Clientes_179 - -[2025-04-25 19:22:02.105478] [info] No UUID found in the webhook data -[2025-04-25 19:22:16.129277] [notice] Logging level set to:debug -[2025-04-25 19:22:16.129393] [debug] valor del webhook: filename=Contratos+de+Clientes_180 - -[2025-04-25 19:22:16.129426] [info] No UUID found in the webhook data -[2025-04-25 19:22:33.263618] [notice] Logging level set to:debug -[2025-04-25 19:22:33.263770] [debug] valor del webhook: filename=Contratos+de+Clientes_181 - -[2025-04-25 19:22:33.263813] [info] No UUID found in the webhook data -[2025-04-25 19:22:49.924437] [notice] Logging level set to:debug -[2025-04-25 19:22:49.924977] [debug] valor del webhook: filename=Contratos+de+Clientes_182 - -[2025-04-25 19:22:49.925173] [info] No UUID found in the webhook data -[2025-04-25 19:23:04.950110] [notice] Logging level set to:debug -[2025-04-25 19:23:04.950299] [debug] valor del webhook: filename=Contratos+de+Clientes_183 - -[2025-04-25 19:23:04.950355] [info] No UUID found in the webhook data -[2025-04-25 19:23:19.615516] [notice] Logging level set to:debug -[2025-04-25 19:23:19.615720] [debug] valor del webhook: filename=Contratos+de+Clientes_184 - -[2025-04-25 19:23:19.615777] [info] No UUID found in the webhook data -[2025-04-25 19:23:32.119546] [notice] Logging level set to:debug -[2025-04-25 19:23:32.119961] [debug] valor del webhook: filename=Contratos+de+Clientes_173 - -[2025-04-25 19:23:32.120084] [info] No UUID found in the webhook data -[2025-04-25 19:23:53.137931] [notice] Logging level set to:debug -[2025-04-25 19:23:53.138354] [debug] valor del webhook: filename=Contratos+de+Clientes_174 - -[2025-04-25 19:23:53.138463] [info] No UUID found in the webhook data -[2025-04-25 19:24:14.266752] [notice] Logging level set to:debug -[2025-04-25 19:24:14.267246] [debug] valor del webhook: filename=Contratos+de+Clientes_175 - -[2025-04-25 19:24:14.267394] [info] No UUID found in the webhook data -[2025-04-25 19:24:32.418914] [notice] Logging level set to:debug -[2025-04-25 19:24:32.419365] [debug] valor del webhook: filename=Contratos+de+Clientes_176 - -[2025-04-25 19:24:32.419488] [info] No UUID found in the webhook data -[2025-04-25 19:25:02.597677] [notice] Logging level set to:debug -[2025-04-25 19:25:02.598289] [debug] valor del webhook: filename=Contratos+de+Clientes_177 - -[2025-04-25 19:25:02.598372] [info] No UUID found in the webhook data -[2025-04-25 19:25:16.355220] [notice] Logging level set to:debug -[2025-04-25 19:25:16.355354] [debug] valor del webhook: filename=Contratos+de+Clientes_178 - -[2025-04-25 19:25:16.355387] [info] No UUID found in the webhook data -[2025-04-25 19:25:29.142299] [notice] Logging level set to:debug -[2025-04-25 19:25:29.142827] [debug] valor del webhook: filename=Contratos+de+Clientes_167 - -[2025-04-25 19:25:29.143001] [info] No UUID found in the webhook data -[2025-04-25 19:25:43.841134] [notice] Logging level set to:debug -[2025-04-25 19:25:43.841269] [debug] valor del webhook: filename=Contratos+de+Clientes_168 - -[2025-04-25 19:25:43.841305] [info] No UUID found in the webhook data -[2025-04-25 19:26:03.019321] [notice] Logging level set to:debug -[2025-04-25 19:26:03.019855] [debug] valor del webhook: filename=Contratos+de+Clientes_170 - -[2025-04-25 19:26:03.019995] [info] No UUID found in the webhook data -[2025-04-25 19:26:16.727843] [notice] Logging level set to:debug -[2025-04-25 19:26:16.728014] [debug] valor del webhook: filename=Contratos+de+Clientes_171 - -[2025-04-25 19:26:16.728068] [info] No UUID found in the webhook data -[2025-04-25 19:26:30.998809] [notice] Logging level set to:debug -[2025-04-25 19:26:30.998930] [debug] valor del webhook: filename=Contratos+de+Clientes_172 - -[2025-04-25 19:26:30.998964] [info] No UUID found in the webhook data -[2025-04-25 19:26:59.746828] [notice] Logging level set to:debug -[2025-04-25 19:26:59.746961] [debug] valor del webhook: filename=Contratos+de+Clientes_160 - -[2025-04-25 19:26:59.746995] [info] No UUID found in the webhook data -[2025-04-25 19:27:15.208811] [notice] Logging level set to:debug -[2025-04-25 19:27:15.208919] [debug] valor del webhook: filename=Contratos+de+Clientes_161 - -[2025-04-25 19:27:15.208941] [info] No UUID found in the webhook data -[2025-04-25 19:27:29.308482] [notice] Logging level set to:debug -[2025-04-25 19:27:29.308592] [debug] valor del webhook: filename=Contratos+de+Clientes_162 - -[2025-04-25 19:27:29.308619] [info] No UUID found in the webhook data -[2025-04-25 19:27:52.028851] [notice] Logging level set to:debug -[2025-04-25 19:27:52.029272] [debug] valor del webhook: filename=Contratos+de+Clientes_163 - -[2025-04-25 19:27:52.029397] [info] No UUID found in the webhook data -[2025-04-25 19:28:18.435302] [notice] Logging level set to:debug -[2025-04-25 19:28:18.435707] [debug] valor del webhook: filename=Contratos+de+Clientes_164 - -[2025-04-25 19:28:18.435801] [info] No UUID found in the webhook data -[2025-04-25 19:28:35.313627] [notice] Logging level set to:debug -[2025-04-25 19:28:35.314016] [debug] valor del webhook: filename=Contratos+de+Clientes_165 - -[2025-04-25 19:28:35.314125] [info] No UUID found in the webhook data -[2025-04-25 19:28:50.410506] [notice] Logging level set to:debug -[2025-04-25 19:28:50.410641] [debug] valor del webhook: filename=Contratos+de+Clientes_166 - -[2025-04-25 19:28:50.410679] [info] No UUID found in the webhook data -[2025-04-25 19:29:06.617889] [notice] Logging level set to:debug -[2025-04-25 19:29:06.618083] [debug] valor del webhook: filename=Contratos+de+Clientes_153 - -[2025-04-25 19:29:06.618144] [info] No UUID found in the webhook data -[2025-04-25 19:30:15.299205] [notice] Logging level set to:debug -[2025-04-25 19:30:15.299604] [debug] valor del webhook: filename=Contratos+de+Clientes_154 - -[2025-04-25 19:30:15.299719] [info] No UUID found in the webhook data -[2025-04-25 19:30:32.307648] [notice] Logging level set to:debug -[2025-04-25 19:30:32.307768] [debug] valor del webhook: filename=Contratos+de+Clientes_155 - -[2025-04-25 19:30:32.307797] [info] No UUID found in the webhook data -[2025-04-25 19:31:15.156230] [notice] Logging level set to:debug -[2025-04-25 19:31:15.156352] [debug] valor del webhook: filename=Contratos+de+Clientes_156 - -[2025-04-25 19:31:15.156377] [info] No UUID found in the webhook data -[2025-04-25 19:31:35.423146] [notice] Logging level set to:debug -[2025-04-25 19:31:35.423293] [debug] valor del webhook: filename=Contratos+de+Clientes_157 - -[2025-04-25 19:31:35.423331] [info] No UUID found in the webhook data -[2025-04-25 19:32:01.156737] [notice] Logging level set to:debug -[2025-04-25 19:32:01.157134] [debug] valor del webhook: filename=Contratos+de+Clientes_158 - -[2025-04-25 19:32:01.157218] [info] No UUID found in the webhook data -[2025-04-25 19:32:15.885126] [notice] Logging level set to:debug -[2025-04-25 19:32:15.885554] [debug] valor del webhook: filename=Contratos+de+Clientes_159 - -[2025-04-25 19:32:15.885668] [info] No UUID found in the webhook data -[2025-04-25 19:32:54.197545] [notice] Logging level set to:debug -[2025-04-25 19:32:54.198154] [debug] valor del webhook: filename=Contratos+de+Clientes_144 - -[2025-04-25 19:32:54.198303] [info] No UUID found in the webhook data -[2025-04-25 19:33:11.142955] [notice] Logging level set to:debug -[2025-04-25 19:33:11.143095] [debug] valor del webhook: filename=Contratos+de+Clientes_145 - -[2025-04-25 19:33:11.143127] [info] No UUID found in the webhook data -[2025-04-25 19:33:23.219937] [notice] Logging level set to:debug -[2025-04-25 19:33:23.220439] [debug] valor del webhook: filename=Contratos+de+Clientes_146 - -[2025-04-25 19:33:23.220578] [info] No UUID found in the webhook data -[2025-04-25 19:33:40.700875] [notice] Logging level set to:debug -[2025-04-25 19:33:40.701263] [debug] valor del webhook: filename=Contratos+de+Clientes_147 - -[2025-04-25 19:33:40.701370] [info] No UUID found in the webhook data -[2025-04-25 19:34:25.123785] [notice] Logging level set to:debug -[2025-04-25 19:34:25.123929] [debug] valor del webhook: filename=Contratos+de+Clientes_148 - -[2025-04-25 19:34:25.123966] [info] No UUID found in the webhook data -[2025-04-25 19:34:40.759547] [notice] Logging level set to:debug -[2025-04-25 19:34:40.759676] [debug] valor del webhook: filename=Contratos+de+Clientes_149 - -[2025-04-25 19:34:40.759721] [info] No UUID found in the webhook data -[2025-04-25 19:35:23.769532] [notice] Logging level set to:debug -[2025-04-25 19:35:23.769730] [debug] valor del webhook: filename=Contratos+de+Clientes_150 - -[2025-04-25 19:35:23.769810] [info] No UUID found in the webhook data -[2025-04-25 19:35:40.423381] [notice] Logging level set to:debug -[2025-04-25 19:35:40.423562] [debug] valor del webhook: filename=Contratos+de+Clientes_151 - -[2025-04-25 19:35:40.423616] [info] No UUID found in the webhook data -[2025-04-25 19:36:08.123768] [notice] Logging level set to:debug -[2025-04-25 19:36:08.125396] [debug] valor del webhook: filename=Contratos+de+Clientes_152 - -[2025-04-25 19:36:08.125552] [info] No UUID found in the webhook data -[2025-04-25 19:36:27.160358] [notice] Logging level set to:debug -[2025-04-25 19:36:27.160449] [debug] valor del webhook: filename=Contratos+de+Clientes_140 - -[2025-04-25 19:36:27.160473] [info] No UUID found in the webhook data -[2025-04-25 19:36:42.114625] [notice] Logging level set to:debug -[2025-04-25 19:36:42.114782] [debug] valor del webhook: filename=Contratos+de+Clientes_141 - -[2025-04-25 19:36:42.114828] [info] No UUID found in the webhook data -[2025-04-25 19:37:01.690975] [notice] Logging level set to:debug -[2025-04-25 19:37:01.696316] [debug] valor del webhook: filename=Contratos+de+Clientes_142 - -[2025-04-25 19:37:01.696463] [info] No UUID found in the webhook data -[2025-04-25 19:37:40.668137] [notice] Logging level set to:debug -[2025-04-25 19:37:40.668292] [debug] valor del webhook: filename=Contratos+de+Clientes_143 - -[2025-04-25 19:37:40.668332] [info] No UUID found in the webhook data -[2025-04-25 19:37:59.876250] [notice] Logging level set to:debug -[2025-04-25 19:37:59.876441] [debug] valor del webhook: filename=Contratos+de+Clientes_119 - -[2025-04-25 19:37:59.876487] [info] No UUID found in the webhook data -[2025-04-25 19:38:19.889089] [notice] Logging level set to:debug -[2025-04-25 19:38:19.889193] [debug] valor del webhook: filename=Contratos+de+Clientes_124 - -[2025-04-25 19:38:19.889215] [info] No UUID found in the webhook data -[2025-04-25 19:38:32.985945] [notice] Logging level set to:debug -[2025-04-25 19:38:32.986346] [debug] valor del webhook: filename=Contratos+de+Clientes_125 - -[2025-04-25 19:38:32.986459] [info] No UUID found in the webhook data -[2025-04-25 19:46:20.663839] [notice] Logging level set to:debug -[2025-04-25 19:46:20.663985] [debug] valor del webhook: filename=Contratos+de+Clientes_400 - -[2025-04-25 19:46:20.664022] [info] No UUID found in the webhook data -[2025-04-25 19:46:31.997637] [notice] Logging level set to:debug -[2025-04-25 19:46:31.998219] [debug] valor del webhook: filename=Contratos+de+Clientes_344 - -[2025-04-25 19:46:31.998394] [info] No UUID found in the webhook data -[2025-04-25 19:46:51.681147] [notice] Logging level set to:debug -[2025-04-25 19:46:51.681329] [debug] valor del webhook: filename=Contratos+de+Clientes_345 - -[2025-04-25 19:46:51.681387] [info] No UUID found in the webhook data -[2025-04-25 19:47:21.414525] [notice] Logging level set to:debug -[2025-04-25 19:47:21.414724] [debug] valor del webhook: filename=Contratos+de+Clientes_346 - -[2025-04-25 19:47:21.414802] [info] No UUID found in the webhook data -[2025-04-25 19:47:57.770991] [notice] Logging level set to:debug -[2025-04-25 19:47:57.771506] [debug] valor del webhook: filename=Contratos+de+Clientes_335 - -[2025-04-25 19:47:57.771648] [info] No UUID found in the webhook data -[2025-04-25 19:48:18.838532] [notice] Logging level set to:debug -[2025-04-25 19:48:18.838937] [debug] valor del webhook: filename=Contratos+de+Clientes_336 - -[2025-04-25 19:48:18.839035] [info] No UUID found in the webhook data -[2025-04-25 19:48:38.511389] [notice] Logging level set to:debug -[2025-04-25 19:48:38.511579] [debug] valor del webhook: filename=Contratos+de+Clientes_337 - -[2025-04-25 19:48:38.511639] [info] No UUID found in the webhook data -[2025-04-25 19:49:15.598654] [notice] Logging level set to:debug -[2025-04-25 19:49:15.599170] [debug] valor del webhook: filename=Contratos+de+Clientes_338 - -[2025-04-25 19:49:15.599307] [info] No UUID found in the webhook data -[2025-04-25 19:49:25.417869] [notice] Logging level set to:debug -[2025-04-25 19:49:25.418272] [debug] valor del webhook: filename=Contratos+de+Clientes_339 - -[2025-04-25 19:49:25.418401] [info] No UUID found in the webhook data -[2025-04-25 19:49:40.478811] [notice] Logging level set to:debug -[2025-04-25 19:49:40.478962] [debug] valor del webhook: filename=Contratos+de+Clientes_340 - -[2025-04-25 19:49:40.479005] [info] No UUID found in the webhook data -[2025-04-25 19:50:05.574516] [notice] Logging level set to:debug -[2025-04-25 19:50:05.574678] [debug] valor del webhook: filename=Contratos+de+Clientes_329 - -[2025-04-25 19:50:05.574726] [info] No UUID found in the webhook data -[2025-04-25 19:53:34.644052] [notice] Logging level set to:debug -[2025-04-25 19:53:34.644638] [debug] valor del webhook: filename=Contratos+de+Clientes_331 - -[2025-04-25 19:53:34.644742] [info] No UUID found in the webhook data -[2025-04-25 19:57:12.817461] [notice] Logging level set to:debug -[2025-04-25 19:57:12.817581] [debug] valor del webhook: filename=Contratos+de+Clientes_332 - -[2025-04-25 19:57:12.817611] [info] No UUID found in the webhook data -[2025-04-25 19:57:22.484962] [notice] Logging level set to:debug -[2025-04-25 19:57:22.485110] [debug] valor del webhook: filename=Contratos+de+Clientes_333 - -[2025-04-25 19:57:22.485152] [info] No UUID found in the webhook data -[2025-04-25 19:57:39.733149] [notice] Logging level set to:debug -[2025-04-25 19:57:39.733551] [debug] valor del webhook: filename=Contratos+de+Clientes_334 - -[2025-04-25 19:57:39.733670] [info] No UUID found in the webhook data -[2025-04-25 19:58:35.669774] [notice] Logging level set to:debug -[2025-04-25 19:58:35.670171] [debug] valor del webhook: filename=Contratos+de+Clientes_322 - -[2025-04-25 19:58:35.670315] [info] No UUID found in the webhook data -[2025-04-25 21:17:21.588156] [notice] Logging level set to:debug -[2025-04-25 21:17:21.588452] [debug] valor del webhook: filename=Contratos+de+Clientes_323 - -[2025-04-25 21:17:21.588574] [info] No UUID found in the webhook data -[2025-04-25 21:18:19.601572] [notice] Logging level set to:debug -[2025-04-25 21:18:19.601759] [debug] valor del webhook: filename=Contratos+de+Clientes_324 - -[2025-04-25 21:18:19.601819] [info] No UUID found in the webhook data -[2025-04-25 21:18:55.271001] [notice] Logging level set to:debug -[2025-04-25 21:18:55.271202] [debug] valor del webhook: filename=Contratos+de+Clientes_325 - -[2025-04-25 21:18:55.271261] [info] No UUID found in the webhook data -[2025-04-25 21:19:16.204857] [notice] Logging level set to:debug -[2025-04-25 21:19:16.205568] [debug] valor del webhook: filename=Contratos+de+Clientes_326 - -[2025-04-25 21:19:16.205811] [info] No UUID found in the webhook data -[2025-04-25 21:19:29.127887] [notice] Logging level set to:debug -[2025-04-25 21:19:29.128375] [debug] valor del webhook: filename=Contratos+de+Clientes_327 - -[2025-04-25 21:19:29.128518] [info] No UUID found in the webhook data -[2025-04-25 21:19:50.798218] [notice] Logging level set to:debug -[2025-04-25 21:19:50.798553] [debug] valor del webhook: filename=Contratos+de+Clientes_328 - -[2025-04-25 21:19:50.798667] [info] No UUID found in the webhook data -[2025-04-25 21:20:10.388149] [notice] Logging level set to:debug -[2025-04-25 21:20:10.388883] [debug] valor del webhook: filename=Contratos+de+Clientes_316 - -[2025-04-25 21:20:10.390239] [info] No UUID found in the webhook data -[2025-04-25 21:20:32.928133] [notice] Logging level set to:debug -[2025-04-25 21:20:32.928807] [debug] valor del webhook: filename=Contratos+de+Clientes_317 - -[2025-04-25 21:20:32.929003] [info] No UUID found in the webhook data -[2025-04-25 21:20:44.259057] [notice] Logging level set to:debug -[2025-04-25 21:20:44.259179] [debug] valor del webhook: filename=Contratos+de+Clientes_318 - -[2025-04-25 21:20:44.259211] [info] No UUID found in the webhook data -[2025-04-25 21:22:13.136670] [notice] Logging level set to:debug -[2025-04-25 21:22:13.136810] [debug] valor del webhook: filename=Contratos+de+Clientes_319 - -[2025-04-25 21:22:13.136845] [info] No UUID found in the webhook data -[2025-04-25 21:22:24.544472] [notice] Logging level set to:debug -[2025-04-25 21:22:24.544605] [debug] valor del webhook: filename=Contratos+de+Clientes_320 - -[2025-04-25 21:22:24.544640] [info] No UUID found in the webhook data -[2025-04-25 21:22:47.708343] [notice] Logging level set to:debug -[2025-04-25 21:22:47.708528] [debug] valor del webhook: filename=Contratos+de+Clientes_321 - -[2025-04-25 21:22:47.708580] [info] No UUID found in the webhook data -[2025-04-25 21:23:14.973613] [notice] Logging level set to:debug -[2025-04-25 21:23:14.973767] [debug] valor del webhook: filename=Contratos+de+Clientes_309 - -[2025-04-25 21:23:14.973809] [info] No UUID found in the webhook data -[2025-04-25 21:24:56.175765] [notice] Logging level set to:debug -[2025-04-25 21:24:56.175968] [debug] valor del webhook: filename=Contratos+de+Clientes_310 - -[2025-04-25 21:24:56.176028] [info] No UUID found in the webhook data -[2025-04-25 21:25:15.150135] [notice] Logging level set to:debug -[2025-04-25 21:25:15.156313] [debug] valor del webhook: filename=Contratos+de+Clientes_311 - -[2025-04-25 21:25:15.156464] [info] No UUID found in the webhook data -[2025-04-25 21:26:16.811676] [notice] Logging level set to:debug -[2025-04-25 21:26:16.812129] [debug] valor del webhook: filename=Contratos+de+Clientes_312 - -[2025-04-25 21:26:16.812237] [info] No UUID found in the webhook data -[2025-04-25 22:01:43.545758] [notice] Logging level set to:debug -[2025-04-25 22:01:43.546329] [debug] valor del webhook: filename=Contratos+de+Clientes_315 - -[2025-04-25 22:01:43.546638] [info] No UUID found in the webhook data -[2025-04-25 22:02:04.582060] [notice] Logging level set to:debug -[2025-04-25 22:02:04.582250] [debug] valor del webhook: filename=Contratos+de+Clientes_302 - -[2025-04-25 22:02:04.582309] [info] No UUID found in the webhook data -[2025-04-25 22:04:36.235775] [notice] Logging level set to:debug -[2025-04-25 22:04:36.235984] [debug] valor del webhook: filename=Contratos+de+Clientes_303 - -[2025-04-25 22:04:36.236042] [info] No UUID found in the webhook data -[2025-04-25 22:05:21.189014] [notice] Logging level set to:debug -[2025-04-25 22:05:21.189191] [debug] valor del webhook: filename=Contratos+de+Clientes_304 - -[2025-04-25 22:05:21.189241] [info] No UUID found in the webhook data -[2025-04-25 22:05:42.107022] [notice] Logging level set to:debug -[2025-04-25 22:05:42.107208] [debug] valor del webhook: filename=Contratos+de+Clientes_305 - -[2025-04-25 22:05:42.107268] [info] No UUID found in the webhook data -[2025-04-25 22:06:11.803020] [notice] Logging level set to:debug -[2025-04-25 22:06:11.803229] [debug] valor del webhook: filename=Contratos+de+Clientes_306 - -[2025-04-25 22:06:11.803283] [info] No UUID found in the webhook data -[2025-04-25 22:06:30.415851] [notice] Logging level set to:debug -[2025-04-25 22:06:30.416379] [debug] valor del webhook: filename=Contratos+de+Clientes_307 - -[2025-04-25 22:06:30.416546] [info] No UUID found in the webhook data -[2025-04-25 22:06:44.336427] [notice] Logging level set to:debug -[2025-04-25 22:06:44.336548] [debug] valor del webhook: filename=Contratos+de+Clientes_308 - -[2025-04-25 22:06:44.336595] [info] No UUID found in the webhook data -[2025-04-25 22:06:58.750371] [notice] Logging level set to:debug -[2025-04-25 22:06:58.750560] [debug] valor del webhook: filename=Contratos+de+Clientes_295 - -[2025-04-25 22:06:58.750627] [info] No UUID found in the webhook data -[2025-04-25 22:08:43.828982] [notice] Logging level set to:debug -[2025-04-25 22:08:43.829123] [debug] valor del webhook: filename=Contratos+de+Clientes_296 - -[2025-04-25 22:08:43.829163] [info] No UUID found in the webhook data -[2025-04-25 22:08:57.311448] [notice] Logging level set to:debug -[2025-04-25 22:08:57.311559] [debug] valor del webhook: filename=Contratos+de+Clientes_297 - -[2025-04-25 22:08:57.311589] [info] No UUID found in the webhook data -[2025-04-25 22:09:18.524194] [notice] Logging level set to:debug -[2025-04-25 22:09:18.524560] [debug] valor del webhook: filename=Contratos+de+Clientes_298 - -[2025-04-25 22:09:18.524641] [info] No UUID found in the webhook data -[2025-04-25 22:09:31.591372] [notice] Logging level set to:debug -[2025-04-25 22:09:31.591512] [debug] valor del webhook: filename=Contratos+de+Clientes_299 - -[2025-04-25 22:09:31.591578] [info] No UUID found in the webhook data -[2025-04-25 22:09:43.561012] [notice] Logging level set to:debug -[2025-04-25 22:09:43.561188] [debug] valor del webhook: filename=Contratos+de+Clientes_301 - -[2025-04-25 22:09:43.561235] [info] No UUID found in the webhook data -[2025-04-25 22:10:13.569803] [notice] Logging level set to:debug -[2025-04-25 22:10:13.570312] [debug] valor del webhook: filename=Contratos+de+Clientes_288 - -[2025-04-25 22:10:13.570398] [info] No UUID found in the webhook data -[2025-04-25 22:10:22.975908] [notice] Logging level set to:debug -[2025-04-25 22:10:22.976051] [debug] valor del webhook: filename=Contratos+de+Clientes_289 - -[2025-04-25 22:10:22.976092] [info] No UUID found in the webhook data -[2025-04-25 22:10:38.275919] [notice] Logging level set to:debug -[2025-04-25 22:10:38.276050] [debug] valor del webhook: filename=Contratos+de+Clientes_241 - -[2025-04-25 22:10:38.276087] [info] No UUID found in the webhook data -[2025-04-25 22:11:45.580723] [notice] Logging level set to:debug -[2025-04-25 22:11:45.580877] [debug] valor del webhook: filename=Contratos+de+Clientes_242 - -[2025-04-25 22:11:45.580921] [info] No UUID found in the webhook data -[2025-04-25 22:12:02.633939] [notice] Logging level set to:debug -[2025-04-25 22:12:02.634107] [debug] valor del webhook: filename=Contratos+de+Clientes_231 - -[2025-04-25 22:12:02.634156] [info] No UUID found in the webhook data -[2025-04-25 22:12:19.233344] [notice] Logging level set to:debug -[2025-04-25 22:12:19.233508] [debug] valor del webhook: filename=Contratos+de+Clientes_231 - -[2025-04-25 22:12:19.233551] [info] No UUID found in the webhook data -[2025-04-25 22:12:36.474354] [notice] Logging level set to:debug -[2025-04-25 22:12:36.474483] [debug] valor del webhook: filename=Contratos+de+Clientes_231 - -[2025-04-25 22:12:36.474515] [info] No UUID found in the webhook data -[2025-04-25 22:12:54.021763] [notice] Logging level set to:debug -[2025-04-25 22:12:54.022142] [debug] valor del webhook: filename=Contratos+de+Clientes_232 - -[2025-04-25 22:12:54.022252] [info] No UUID found in the webhook data -[2025-04-25 22:13:09.634469] [notice] Logging level set to:debug -[2025-04-25 22:13:09.634632] [debug] valor del webhook: filename=Contratos+de+Clientes_233 - -[2025-04-25 22:13:09.634680] [info] No UUID found in the webhook data -[2025-04-25 22:14:04.520004] [notice] Logging level set to:debug -[2025-04-25 22:14:04.520569] [debug] valor del webhook: filename=Contratos+de+Clientes_234 - -[2025-04-25 22:14:04.520718] [info] No UUID found in the webhook data -[2025-04-25 22:14:16.040138] [notice] Logging level set to:debug -[2025-04-25 22:14:16.040384] [debug] valor del webhook: filename=Contratos+de+Clientes_235 - -[2025-04-25 22:14:16.040435] [info] No UUID found in the webhook data -[2025-04-25 22:14:27.595966] [notice] Logging level set to:debug -[2025-04-25 22:14:27.596292] [debug] valor del webhook: filename=Contratos+de+Clientes_226 - -[2025-04-25 22:14:27.596379] [info] No UUID found in the webhook data -[2025-04-25 22:15:28.801862] [notice] Logging level set to:debug -[2025-04-25 22:15:28.802011] [debug] valor del webhook: filename=Contratos+de+Clientes_227 - -[2025-04-25 22:15:28.802051] [info] No UUID found in the webhook data -[2025-04-25 22:15:36.416970] [notice] Logging level set to:debug -[2025-04-25 22:15:36.417069] [debug] valor del webhook: filename=Contratos+de+Clientes_228 - -[2025-04-25 22:15:36.417092] [info] No UUID found in the webhook data -[2025-04-25 22:15:54.390855] [notice] Logging level set to:debug -[2025-04-25 22:15:54.391210] [debug] valor del webhook: filename=Contratos+de+Clientes_229 - -[2025-04-25 22:15:54.391303] [info] No UUID found in the webhook data -[2025-04-25 22:16:18.545877] [notice] Logging level set to:debug -[2025-04-25 22:16:18.546266] [debug] valor del webhook: filename=Contratos+de+Clientes_230 - -[2025-04-25 22:16:18.546353] [info] No UUID found in the webhook data -[2025-04-25 22:16:27.961132] [notice] Logging level set to:debug -[2025-04-25 22:16:27.961555] [debug] valor del webhook: filename=Contratos+de+Clientes_218 - -[2025-04-25 22:16:27.961699] [info] No UUID found in the webhook data -[2025-04-25 22:16:46.985754] [notice] Logging level set to:debug -[2025-04-25 22:16:46.985860] [debug] valor del webhook: filename=Contratos+de+Clientes_219 - -[2025-04-25 22:16:46.985888] [info] No UUID found in the webhook data -[2025-04-25 22:17:07.236445] [notice] Logging level set to:debug -[2025-04-25 22:17:07.236783] [debug] valor del webhook: filename=Contratos+de+Clientes_220 - -[2025-04-25 22:17:07.236938] [info] No UUID found in the webhook data -[2025-04-25 22:17:19.592294] [notice] Logging level set to:debug -[2025-04-25 22:17:19.592705] [debug] valor del webhook: filename=Contratos+de+Clientes_221 - -[2025-04-25 22:17:19.592864] [info] No UUID found in the webhook data -[2025-04-25 22:19:42.217518] [notice] Logging level set to:debug -[2025-04-25 22:19:42.218127] [debug] valor del webhook: filename=Contratos+de+Clientes_222 - -[2025-04-25 22:19:42.218300] [info] No UUID found in the webhook data -[2025-04-25 22:19:55.433645] [notice] Logging level set to:debug -[2025-04-25 22:19:55.434098] [debug] valor del webhook: filename=Contratos+de+Clientes_225 - -[2025-04-25 22:19:55.434236] [info] No UUID found in the webhook data -[2025-04-25 22:20:15.699587] [notice] Logging level set to:debug -[2025-04-25 22:20:15.703210] [debug] valor del webhook: filename=Contratos+de+Clientes_224 - -[2025-04-25 22:20:15.703402] [info] No UUID found in the webhook data -[2025-04-25 22:21:03.083422] [notice] Logging level set to:debug -[2025-04-25 22:21:03.083520] [debug] valor del webhook: filename=Contratos+de+Clientes_211 - -[2025-04-25 22:21:03.083544] [info] No UUID found in the webhook data -[2025-04-25 22:21:20.470750] [notice] Logging level set to:debug -[2025-04-25 22:21:20.471364] [debug] valor del webhook: filename=Contratos+de+Clientes_212 - -[2025-04-25 22:21:20.471560] [info] No UUID found in the webhook data -[2025-04-25 22:22:38.839612] [notice] Logging level set to:debug -[2025-04-25 22:22:38.839813] [debug] valor del webhook: filename=Contratos+de+Clientes_216 - -[2025-04-25 22:22:38.839889] [info] No UUID found in the webhook data -[2025-04-25 22:22:53.982541] [notice] Logging level set to:debug -[2025-04-25 22:22:53.982858] [debug] valor del webhook: filename=Contratos+de+Clientes_215 - -[2025-04-25 22:22:53.983001] [info] No UUID found in the webhook data -[2025-04-25 22:23:14.828511] [notice] Logging level set to:debug -[2025-04-25 22:23:14.828840] [debug] valor del webhook: filename=Contratos+de+Clientes_214 - -[2025-04-25 22:23:14.828984] [info] No UUID found in the webhook data -[2025-04-25 22:23:39.490096] [notice] Logging level set to:debug -[2025-04-25 22:23:39.490400] [debug] valor del webhook: filename=Contratos+de+Clientes_213 - -[2025-04-25 22:23:39.490535] [info] No UUID found in the webhook data -[2025-04-25 22:24:17.875705] [notice] Logging level set to:debug -[2025-04-25 22:24:17.876168] [debug] valor del webhook: filename=Contratos+de+Clientes_206 - -[2025-04-25 22:24:17.876427] [info] No UUID found in the webhook data -[2025-04-25 22:24:32.050683] [notice] Logging level set to:debug -[2025-04-25 22:24:32.050821] [debug] valor del webhook: filename=Contratos+de+Clientes_205 - -[2025-04-25 22:24:32.050858] [info] No UUID found in the webhook data -[2025-04-25 22:24:47.543505] [notice] Logging level set to:debug -[2025-04-25 22:24:47.543661] [debug] valor del webhook: filename=Contratos+de+Clientes_204 - -[2025-04-25 22:24:47.543700] [info] No UUID found in the webhook data -[2025-04-25 22:25:04.148443] [notice] Logging level set to:debug -[2025-04-25 22:25:04.148601] [debug] valor del webhook: filename=Contratos+de+Clientes_207 - -[2025-04-25 22:25:04.148644] [info] No UUID found in the webhook data -[2025-04-25 22:25:26.498256] [notice] Logging level set to:debug -[2025-04-25 22:25:26.498409] [debug] valor del webhook: filename=Contratos+de+Clientes_210 - -[2025-04-25 22:25:26.498445] [info] No UUID found in the webhook data -[2025-04-25 22:26:36.186510] [notice] Logging level set to:debug -[2025-04-25 22:26:36.187012] [debug] valor del webhook: filename=Contratos+de+Clientes_208 - -[2025-04-25 22:26:36.187159] [info] No UUID found in the webhook data -[2025-04-25 22:27:28.439920] [notice] Logging level set to:debug -[2025-04-25 22:27:28.440478] [debug] valor del webhook: filename=Contratos+de+Clientes_197 - -[2025-04-25 22:27:28.440572] [info] No UUID found in the webhook data -[2025-04-25 22:27:47.280776] [notice] Logging level set to:debug -[2025-04-25 22:27:47.280965] [debug] valor del webhook: filename=Contratos+de+Clientes_201 - -[2025-04-25 22:27:47.281021] [info] No UUID found in the webhook data -[2025-04-25 22:28:45.805258] [notice] Logging level set to:debug -[2025-04-25 22:28:45.805454] [debug] valor del webhook: filename=Contratos+de+Clientes_200 - -[2025-04-25 22:28:45.805510] [info] No UUID found in the webhook data -[2025-04-25 22:29:19.107988] [notice] Logging level set to:debug -[2025-04-25 22:29:19.108081] [debug] valor del webhook: filename=Contratos+de+Clientes_199 - -[2025-04-25 22:29:19.108103] [info] No UUID found in the webhook data -[2025-04-25 22:29:36.144777] [notice] Logging level set to:debug -[2025-04-25 22:29:36.144907] [debug] valor del webhook: filename=Contratos+de+Clientes_198 - -[2025-04-25 22:29:36.144958] [info] No UUID found in the webhook data -[2025-04-25 22:29:48.046822] [notice] Logging level set to:debug -[2025-04-25 22:29:48.047178] [debug] valor del webhook: filename=Contratos+de+Clientes_202 - -[2025-04-25 22:29:48.047285] [info] No UUID found in the webhook data -[2025-04-25 22:29:58.911289] [notice] Logging level set to:debug -[2025-04-25 22:29:58.911477] [debug] valor del webhook: filename=Contratos+de+Clientes_203 - -[2025-04-25 22:29:58.911533] [info] No UUID found in the webhook data -[2025-04-25 22:32:03.394927] [notice] Logging level set to:debug -[2025-04-25 22:32:03.395039] [debug] valor del webhook: filename=Contratos+de+Clientes_191 - -[2025-04-25 22:32:03.395064] [info] No UUID found in the webhook data -[2025-04-25 22:32:15.893469] [notice] Logging level set to:debug -[2025-04-25 22:32:15.893954] [debug] valor del webhook: filename=Contratos+de+Clientes_192 - -[2025-04-25 22:32:15.894095] [info] No UUID found in the webhook data -[2025-04-25 22:32:29.352166] [notice] Logging level set to:debug -[2025-04-25 22:32:29.352672] [debug] valor del webhook: filename=Contratos+de+Clientes_196 - -[2025-04-25 22:32:29.352817] [info] No UUID found in the webhook data -[2025-04-25 22:32:40.550026] [notice] Logging level set to:debug -[2025-04-25 22:32:40.550465] [debug] valor del webhook: filename=Contratos+de+Clientes_195 - -[2025-04-25 22:32:40.550584] [info] No UUID found in the webhook data -[2025-04-25 22:32:56.256057] [notice] Logging level set to:debug -[2025-04-25 22:32:56.256328] [debug] valor del webhook: filename=Contratos+de+Clientes_194 - -[2025-04-25 22:32:56.256409] [info] No UUID found in the webhook data -[2025-04-25 22:33:16.703694] [notice] Logging level set to:debug -[2025-04-25 22:33:16.703804] [debug] valor del webhook: filename=Contratos+de+Clientes_193 - -[2025-04-25 22:33:16.703845] [info] No UUID found in the webhook data -[2025-04-25 22:33:27.277422] [notice] Logging level set to:debug -[2025-04-25 22:33:27.277551] [debug] valor del webhook: filename=Contratos+de+Clientes_186 - -[2025-04-25 22:33:27.277586] [info] No UUID found in the webhook data -[2025-04-25 22:33:51.116879] [notice] Logging level set to:debug -[2025-04-25 22:33:51.117495] [debug] valor del webhook: filename=Contratos+de+Clientes_185 - -[2025-04-25 22:33:51.117691] [info] No UUID found in the webhook data -[2025-04-25 22:34:01.198623] [notice] Logging level set to:debug -[2025-04-25 22:34:01.198949] [debug] valor del webhook: filename=Contratos+de+Clientes_187 - -[2025-04-25 22:34:01.199016] [info] No UUID found in the webhook data -[2025-04-25 22:34:30.075026] [notice] Logging level set to:debug -[2025-04-25 22:34:30.075216] [debug] valor del webhook: filename=Contratos+de+Clientes_126 - -[2025-04-25 22:34:30.075273] [info] No UUID found in the webhook data -[2025-04-25 22:34:44.204325] [notice] Logging level set to:debug -[2025-04-25 22:34:44.204524] [debug] valor del webhook: filename=Contratos+de+Clientes_129 - -[2025-04-25 22:34:44.204581] [info] No UUID found in the webhook data -[2025-04-25 22:35:04.955816] [notice] Logging level set to:debug -[2025-04-25 22:35:04.956193] [debug] valor del webhook: filename=Contratos+de+Clientes_133 - -[2025-04-25 22:35:04.956326] [info] No UUID found in the webhook data -[2025-04-25 22:35:27.818695] [notice] Logging level set to:debug -[2025-04-25 22:35:27.818892] [debug] valor del webhook: filename=Contratos+de+Clientes_136 - -[2025-04-25 22:35:27.818950] [info] No UUID found in the webhook data -[2025-04-25 22:36:36.363894] [notice] Logging level set to:debug -[2025-04-25 22:36:36.364543] [debug] valor del webhook: filename=Contratos+de+Clientes_139 - -[2025-04-25 22:36:36.364783] [info] No UUID found in the webhook data -[2025-04-25 22:39:17.498682] [notice] Logging level set to:debug -[2025-04-25 22:39:17.498821] [debug] valor del webhook: filename=Contratos+de+Clientes_105 - -[2025-04-25 22:39:17.498856] [info] No UUID found in the webhook data -[2025-04-25 22:39:34.631212] [notice] Logging level set to:debug -[2025-04-25 22:39:34.631620] [debug] valor del webhook: filename=Contratos+de+Clientes_104 - -[2025-04-25 22:39:34.631741] [info] No UUID found in the webhook data -[2025-04-25 22:39:42.047698] [notice] Logging level set to:debug -[2025-04-25 22:39:42.048168] [debug] valor del webhook: filename=Contratos+de+Clientes_107 - -[2025-04-25 22:39:42.048372] [info] No UUID found in the webhook data -[2025-04-25 22:42:31.624171] [notice] Logging level set to:debug -[2025-04-25 22:42:31.624489] [debug] valor del webhook: filename=Contratos+de+Clientes_106 - -[2025-04-25 22:42:31.624519] [info] No UUID found in the webhook data -[2025-04-25 22:42:47.889698] [notice] Logging level set to:debug -[2025-04-25 22:42:47.890326] [debug] valor del webhook: filename=Contratos+de+Clientes_113 - -[2025-04-25 22:42:47.890496] [info] No UUID found in the webhook data -[2025-04-25 22:44:33.803940] [notice] Logging level set to:debug -[2025-04-25 22:44:33.804395] [debug] valor del webhook: filename=Contratos+de+Clientes_117 - -[2025-04-25 22:44:33.804501] [info] No UUID found in the webhook data -[2025-04-25 22:45:08.298146] [notice] Logging level set to:debug -[2025-04-25 22:45:08.298273] [debug] valor del webhook: filename=Contratos+de+Clientes_91 - -[2025-04-25 22:45:08.298300] [info] No UUID found in the webhook data -[2025-04-25 22:45:26.812406] [notice] Logging level set to:debug -[2025-04-25 22:45:26.812535] [debug] valor del webhook: filename=Contratos+de+Clientes_88 - -[2025-04-25 22:45:26.812568] [info] No UUID found in the webhook data -[2025-04-25 22:58:14.699968] [notice] Logging level set to:debug -[2025-04-25 22:58:14.700217] [debug] valor del webhook: filename=Contratos+de+Clientes_95 - -[2025-04-25 22:58:14.700326] [info] No UUID found in the webhook data -[2025-04-26 0:53:56.867347] [notice] Logging level set to:debug -[2025-04-26 0:53:56.867448] [debug] valor del webhook: filename=Contratos+de+Clientes_904 - -[2025-04-26 0:53:56.867482] [info] No UUID found in the webhook data -[2025-04-26 0:53:57.881053] [notice] Logging level set to:debug -[2025-04-26 0:53:57.881128] [debug] valor del webhook: filename=Contratos+de+Clientes_914 - -[2025-04-26 0:53:57.881143] [info] No UUID found in the webhook data -[2025-04-26 0:54:01.415286] [notice] Logging level set to:debug -[2025-04-26 0:54:01.415472] [debug] valor del webhook: filename=Contratos+de+Clientes_912 - -[2025-04-26 0:54:01.415554] [info] No UUID found in the webhook data -[2025-04-26 0:54:02.208172] [notice] Logging level set to:debug -[2025-04-26 0:54:02.208353] [debug] valor del webhook: filename=Contratos+de+Clientes_911 - -[2025-04-26 0:54:02.208400] [info] No UUID found in the webhook data -[2025-04-26 0:54:06.681771] [notice] Logging level set to:debug -[2025-04-26 0:54:06.682287] [debug] valor del webhook: filename=Contratos+de+Clientes_909 - -[2025-04-26 0:54:06.683345] [info] No UUID found in the webhook data -[2025-04-26 0:54:11.972515] [notice] Logging level set to:debug -[2025-04-26 0:54:11.972613] [debug] valor del webhook: filename=Contratos+de+Clientes_910 - -[2025-04-26 0:54:11.972637] [info] No UUID found in the webhook data -[2025-04-26 0:54:12.902012] [notice] Logging level set to:debug -[2025-04-26 0:54:12.902515] [debug] valor del webhook: filename=Contratos+de+Clientes_906 - -[2025-04-26 0:54:12.902684] [info] No UUID found in the webhook data -[2025-04-26 0:54:13.760807] [notice] Logging level set to:debug -[2025-04-26 0:54:13.761311] [debug] valor del webhook: filename=Contratos+de+Clientes_903 - -[2025-04-26 0:54:13.761473] [info] No UUID found in the webhook data -[2025-04-26 0:54:17.236799] [notice] Logging level set to:debug -[2025-04-26 0:54:17.237426] [debug] valor del webhook: filename=Contratos+de+Clientes_902 - -[2025-04-26 0:54:17.237596] [info] No UUID found in the webhook data -[2025-04-26 0:54:18.217109] [notice] Logging level set to:debug -[2025-04-26 0:54:18.217573] [debug] valor del webhook: filename=Contratos+de+Clientes_900 - -[2025-04-26 0:54:18.217715] [info] No UUID found in the webhook data -[2025-04-26 0:54:22.476811] [notice] Logging level set to:debug -[2025-04-26 0:54:22.477261] [debug] valor del webhook: filename=Contratos+de+Clientes_901 - -[2025-04-26 0:54:22.477394] [info] No UUID found in the webhook data -[2025-04-26 0:54:23.353023] [notice] Logging level set to:debug -[2025-04-26 0:54:23.353404] [debug] valor del webhook: filename=Contratos+de+Clientes_899 - -[2025-04-26 0:54:23.353502] [info] No UUID found in the webhook data -[2025-04-26 0:54:24.256851] [notice] Logging level set to:debug -[2025-04-26 0:54:24.257350] [debug] valor del webhook: filename=Contratos+de+Clientes_897 - -[2025-04-26 0:54:24.257515] [info] No UUID found in the webhook data -[2025-04-26 0:54:25.139406] [notice] Logging level set to:debug -[2025-04-26 0:54:25.139919] [debug] valor del webhook: filename=Contratos+de+Clientes_896 - -[2025-04-26 0:54:25.140080] [info] No UUID found in the webhook data -[2025-04-26 0:54:25.952824] [notice] Logging level set to:debug -[2025-04-26 0:54:25.953350] [debug] valor del webhook: filename=Contratos+de+Clientes_895 - -[2025-04-26 0:54:25.953520] [info] No UUID found in the webhook data -[2025-04-26 0:54:26.840193] [notice] Logging level set to:debug -[2025-04-26 0:54:26.840497] [debug] valor del webhook: filename=Contratos+de+Clientes_898 - -[2025-04-26 0:54:26.840564] [info] No UUID found in the webhook data -[2025-04-26 0:54:27.719358] [notice] Logging level set to:debug -[2025-04-26 0:54:27.719640] [debug] valor del webhook: filename=Contratos+de+Clientes_894 - -[2025-04-26 0:54:27.719707] [info] No UUID found in the webhook data -[2025-04-26 0:54:28.604759] [notice] Logging level set to:debug -[2025-04-26 0:54:28.605283] [debug] valor del webhook: filename=Contratos+de+Clientes_893 - -[2025-04-26 0:54:28.605448] [info] No UUID found in the webhook data -[2025-04-26 0:54:33.009365] [notice] Logging level set to:debug -[2025-04-26 0:54:33.010009] [debug] valor del webhook: filename=Contratos+de+Clientes_890 - -[2025-04-26 0:54:33.010184] [info] No UUID found in the webhook data -[2025-04-26 0:54:33.886701] [notice] Logging level set to:debug -[2025-04-26 0:54:33.887149] [debug] valor del webhook: filename=Contratos+de+Clientes_891 - -[2025-04-26 0:54:33.887288] [info] No UUID found in the webhook data -[2025-04-26 0:54:38.276213] [notice] Logging level set to:debug -[2025-04-26 0:54:38.276829] [debug] valor del webhook: filename=Contratos+de+Clientes_889 - -[2025-04-26 0:54:38.277054] [info] No UUID found in the webhook data -[2025-04-26 0:54:39.090744] [notice] Logging level set to:debug -[2025-04-26 0:54:39.091229] [debug] valor del webhook: filename=Contratos+de+Clientes_887 - -[2025-04-26 0:54:39.091387] [info] No UUID found in the webhook data -[2025-04-26 0:54:39.959902] [notice] Logging level set to:debug -[2025-04-26 0:54:39.960521] [debug] valor del webhook: filename=Contratos+de+Clientes_888 - -[2025-04-26 0:54:39.960706] [info] No UUID found in the webhook data -[2025-04-26 0:54:40.836939] [notice] Logging level set to:debug -[2025-04-26 0:54:40.837451] [debug] valor del webhook: filename=Contratos+de+Clientes_885 - -[2025-04-26 0:54:40.837635] [info] No UUID found in the webhook data -[2025-04-26 0:54:43.525659] [notice] Logging level set to:debug -[2025-04-26 0:54:43.526166] [debug] valor del webhook: filename=Contratos+de+Clientes_884 - -[2025-04-26 0:54:43.526329] [info] No UUID found in the webhook data -[2025-04-26 0:54:44.402256] [notice] Logging level set to:debug -[2025-04-26 0:54:44.402390] [debug] valor del webhook: filename=Contratos+de+Clientes_880 - -[2025-04-26 0:54:44.402430] [info] No UUID found in the webhook data -[2025-04-26 0:54:45.318981] [notice] Logging level set to:debug -[2025-04-26 0:54:45.319133] [debug] valor del webhook: filename=Contratos+de+Clientes_882 - -[2025-04-26 0:54:45.319179] [info] No UUID found in the webhook data -[2025-04-26 0:54:46.226018] [notice] Logging level set to:debug -[2025-04-26 0:54:46.226156] [debug] valor del webhook: filename=Contratos+de+Clientes_883 - -[2025-04-26 0:54:46.226198] [info] No UUID found in the webhook data -[2025-04-26 0:54:47.105997] [notice] Logging level set to:debug -[2025-04-26 0:54:47.106128] [debug] valor del webhook: filename=Contratos+de+Clientes_878 - -[2025-04-26 0:54:47.106169] [info] No UUID found in the webhook data -[2025-04-26 0:54:48.801656] [notice] Logging level set to:debug -[2025-04-26 0:54:48.801768] [debug] valor del webhook: filename=Contratos+de+Clientes_879 - -[2025-04-26 0:54:48.801800] [info] No UUID found in the webhook data -[2025-04-26 0:54:54.062470] [notice] Logging level set to:debug -[2025-04-26 0:54:54.062762] [debug] valor del webhook: filename=Contratos+de+Clientes_874 - -[2025-04-26 0:54:54.062920] [info] No UUID found in the webhook data -[2025-04-26 0:54:59.386707] [notice] Logging level set to:debug -[2025-04-26 0:54:59.387043] [debug] valor del webhook: filename=Contratos+de+Clientes_875 - -[2025-04-26 0:54:59.387188] [info] No UUID found in the webhook data -[2025-04-26 0:55:04.601918] [notice] Logging level set to:debug -[2025-04-26 0:55:04.601990] [debug] valor del webhook: filename=Contratos+de+Clientes_876 - -[2025-04-26 0:55:04.602006] [info] No UUID found in the webhook data -[2025-04-26 0:55:09.864308] [notice] Logging level set to:debug -[2025-04-26 0:55:09.864383] [debug] valor del webhook: filename=Contratos+de+Clientes_868 - -[2025-04-26 0:55:09.864398] [info] No UUID found in the webhook data -[2025-04-26 0:55:15.144071] [notice] Logging level set to:debug -[2025-04-26 0:55:15.144201] [debug] valor del webhook: filename=Contratos+de+Clientes_873 - -[2025-04-26 0:55:15.144239] [info] No UUID found in the webhook data -[2025-04-26 0:55:20.399092] [notice] Logging level set to:debug -[2025-04-26 0:55:20.399230] [debug] valor del webhook: filename=Contratos+de+Clientes_870 - -[2025-04-26 0:55:20.399269] [info] No UUID found in the webhook data -[2025-04-26 0:55:21.171948] [notice] Logging level set to:debug -[2025-04-26 0:55:21.172087] [debug] valor del webhook: filename=Contratos+de+Clientes_871 - -[2025-04-26 0:55:21.172130] [info] No UUID found in the webhook data -[2025-04-26 0:55:26.039287] [notice] Logging level set to:debug -[2025-04-26 0:55:26.039446] [debug] valor del webhook: filename=Contratos+de+Clientes_872 - -[2025-04-26 0:55:26.039485] [info] No UUID found in the webhook data -[2025-04-26 0:55:27.107033] [notice] Logging level set to:debug -[2025-04-26 0:55:27.107171] [debug] valor del webhook: filename=Contratos+de+Clientes_867 - -[2025-04-26 0:55:27.107211] [info] No UUID found in the webhook data -[2025-04-26 0:55:27.970890] [notice] Logging level set to:debug -[2025-04-26 0:55:27.970963] [debug] valor del webhook: filename=Contratos+de+Clientes_862 - -[2025-04-26 0:55:27.970978] [info] No UUID found in the webhook data -[2025-04-26 0:55:30.674012] [notice] Logging level set to:debug -[2025-04-26 0:55:30.674120] [debug] valor del webhook: filename=Contratos+de+Clientes_864 - -[2025-04-26 0:55:30.674145] [info] No UUID found in the webhook data -[2025-04-26 0:55:35.920182] [notice] Logging level set to:debug -[2025-04-26 0:55:35.920402] [debug] valor del webhook: filename=Contratos+de+Clientes_866 - -[2025-04-26 0:55:35.920449] [info] No UUID found in the webhook data -[2025-04-26 0:55:41.205153] [notice] Logging level set to:debug -[2025-04-26 0:55:41.205302] [debug] valor del webhook: filename=Contratos+de+Clientes_858 - -[2025-04-26 0:55:41.205343] [info] No UUID found in the webhook data -[2025-04-26 0:55:42.011128] [notice] Logging level set to:debug -[2025-04-26 0:55:42.011456] [debug] valor del webhook: filename=Contratos+de+Clientes_861 - -[2025-04-26 0:55:42.011538] [info] No UUID found in the webhook data -[2025-04-26 0:55:42.887707] [notice] Logging level set to:debug -[2025-04-26 0:55:42.887780] [debug] valor del webhook: filename=Contratos+de+Clientes_860 - -[2025-04-26 0:55:42.887795] [info] No UUID found in the webhook data -[2025-04-26 0:55:43.738560] [notice] Logging level set to:debug -[2025-04-26 0:55:43.738692] [debug] valor del webhook: filename=Contratos+de+Clientes_857 - -[2025-04-26 0:55:43.738729] [info] No UUID found in the webhook data -[2025-04-26 0:55:44.605731] [notice] Logging level set to:debug -[2025-04-26 0:55:44.606013] [debug] valor del webhook: filename=Contratos+de+Clientes_852 - -[2025-04-26 0:55:44.606076] [info] No UUID found in the webhook data -[2025-04-26 0:55:46.495126] [notice] Logging level set to:debug -[2025-04-26 0:55:46.495274] [debug] valor del webhook: filename=Contratos+de+Clientes_851 - -[2025-04-26 0:55:46.495313] [info] No UUID found in the webhook data -[2025-04-26 0:55:47.370042] [notice] Logging level set to:debug -[2025-04-26 0:55:47.370174] [debug] valor del webhook: filename=Contratos+de+Clientes_846 - -[2025-04-26 0:55:47.370214] [info] No UUID found in the webhook data -[2025-04-26 0:55:51.737567] [notice] Logging level set to:debug -[2025-04-26 0:55:51.737705] [debug] valor del webhook: filename=Contratos+de+Clientes_849 - -[2025-04-26 0:55:51.737746] [info] No UUID found in the webhook data -[2025-04-26 0:55:52.631299] [notice] Logging level set to:debug -[2025-04-26 0:55:52.631450] [debug] valor del webhook: filename=Contratos+de+Clientes_845 - -[2025-04-26 0:55:52.631498] [info] No UUID found in the webhook data -[2025-04-26 0:55:57.008898] [notice] Logging level set to:debug -[2025-04-26 0:55:57.009042] [debug] valor del webhook: filename=Contratos+de+Clientes_841 - -[2025-04-26 0:55:57.009083] [info] No UUID found in the webhook data -[2025-04-26 0:55:57.896440] [notice] Logging level set to:debug -[2025-04-26 0:55:57.896578] [debug] valor del webhook: filename=Contratos+de+Clientes_840 - -[2025-04-26 0:55:57.896619] [info] No UUID found in the webhook data -[2025-04-26 0:56:02.240698] [notice] Logging level set to:debug -[2025-04-26 0:56:02.241198] [debug] valor del webhook: filename=Contratos+de+Clientes_839 - -[2025-04-26 0:56:02.241363] [info] No UUID found in the webhook data -[2025-04-26 0:56:07.497319] [notice] Logging level set to:debug -[2025-04-26 0:56:07.497817] [debug] valor del webhook: filename=Contratos+de+Clientes_836 - -[2025-04-26 0:56:07.497980] [info] No UUID found in the webhook data -[2025-04-26 0:56:12.765840] [notice] Logging level set to:debug -[2025-04-26 0:56:12.766189] [debug] valor del webhook: filename=Contratos+de+Clientes_834 - -[2025-04-26 0:56:12.766319] [info] No UUID found in the webhook data -[2025-04-26 0:56:13.515259] [notice] Logging level set to:debug -[2025-04-26 0:56:13.515755] [debug] valor del webhook: filename=Contratos+de+Clientes_830 - -[2025-04-26 0:56:13.515916] [info] No UUID found in the webhook data -[2025-04-26 0:56:18.024308] [notice] Logging level set to:debug -[2025-04-26 0:56:18.024811] [debug] valor del webhook: filename=Contratos+de+Clientes_829 - -[2025-04-26 0:56:18.024970] [info] No UUID found in the webhook data -[2025-04-26 0:56:19.006743] [notice] Logging level set to:debug -[2025-04-26 0:56:19.006846] [debug] valor del webhook: filename=Contratos+de+Clientes_826 - -[2025-04-26 0:56:19.006874] [info] No UUID found in the webhook data -[2025-04-26 0:56:19.887712] [notice] Logging level set to:debug -[2025-04-26 0:56:19.887810] [debug] valor del webhook: filename=Contratos+de+Clientes_821 - -[2025-04-26 0:56:19.887835] [info] No UUID found in the webhook data -[2025-04-26 0:56:20.757986] [notice] Logging level set to:debug -[2025-04-26 0:56:20.758055] [debug] valor del webhook: filename=Contratos+de+Clientes_823 - -[2025-04-26 0:56:20.758070] [info] No UUID found in the webhook data -[2025-04-26 0:56:21.536734] [notice] Logging level set to:debug -[2025-04-26 0:56:21.536892] [debug] valor del webhook: filename=Contratos+de+Clientes_824 - -[2025-04-26 0:56:21.536938] [info] No UUID found in the webhook data -[2025-04-26 0:56:22.307425] [notice] Logging level set to:debug -[2025-04-26 0:56:22.307554] [debug] valor del webhook: filename=Contratos+de+Clientes_825 - -[2025-04-26 0:56:22.307594] [info] No UUID found in the webhook data -[2025-04-26 0:56:23.188095] [notice] Logging level set to:debug -[2025-04-26 0:56:23.188174] [debug] valor del webhook: filename=Contratos+de+Clientes_820 - -[2025-04-26 0:56:23.188195] [info] No UUID found in the webhook data -[2025-04-26 0:56:24.049916] [notice] Logging level set to:debug -[2025-04-26 0:56:24.050060] [debug] valor del webhook: filename=Contratos+de+Clientes_818 - -[2025-04-26 0:56:24.050101] [info] No UUID found in the webhook data -[2025-04-26 0:56:24.912863] [notice] Logging level set to:debug -[2025-04-26 0:56:24.912997] [debug] valor del webhook: filename=Contratos+de+Clientes_817 - -[2025-04-26 0:56:24.913038] [info] No UUID found in the webhook data -[2025-04-26 0:56:25.688160] [notice] Logging level set to:debug -[2025-04-26 0:56:25.688359] [debug] valor del webhook: filename=Contratos+de+Clientes_816 - -[2025-04-26 0:56:25.688406] [info] No UUID found in the webhook data -[2025-04-26 0:56:26.566461] [notice] Logging level set to:debug -[2025-04-26 0:56:26.566593] [debug] valor del webhook: filename=Contratos+de+Clientes_764 - -[2025-04-26 0:56:26.566632] [info] No UUID found in the webhook data -[2025-04-26 0:56:27.445385] [notice] Logging level set to:debug -[2025-04-26 0:56:27.445523] [debug] valor del webhook: filename=Contratos+de+Clientes_886 - -[2025-04-26 0:56:27.445564] [info] No UUID found in the webhook data -[2025-04-26 0:56:28.238034] [notice] Logging level set to:debug -[2025-04-26 0:56:28.238162] [debug] valor del webhook: filename=Contratos+de+Clientes_842 - -[2025-04-26 0:56:28.238198] [info] No UUID found in the webhook data -[2025-04-26 0:56:29.132461] [notice] Logging level set to:debug -[2025-04-26 0:56:29.134305] [debug] valor del webhook: filename=Contratos+de+Clientes_828 - -[2025-04-26 0:56:29.134380] [info] No UUID found in the webhook data -[2025-04-26 0:56:29.931548] [notice] Logging level set to:debug -[2025-04-26 0:56:29.931691] [debug] valor del webhook: filename=Contratos+de+Clientes_819 - -[2025-04-26 0:56:29.931734] [info] No UUID found in the webhook data -[2025-04-26 0:56:33.481273] [notice] Logging level set to:debug -[2025-04-26 0:56:33.481436] [debug] valor del webhook: filename=Contratos+de+Clientes_822 - -[2025-04-26 0:56:33.481479] [info] No UUID found in the webhook data -[2025-04-26 0:56:34.355490] [notice] Logging level set to:debug -[2025-04-26 0:56:34.355954] [debug] valor del webhook: filename=Contratos+de+Clientes_855 - -[2025-04-26 0:56:34.356105] [info] No UUID found in the webhook data -[2025-04-26 0:56:38.766541] [notice] Logging level set to:debug -[2025-04-26 0:56:38.766973] [debug] valor del webhook: filename=Contratos+de+Clientes_835 - -[2025-04-26 0:56:38.767096] [info] No UUID found in the webhook data -[2025-04-26 0:56:39.571214] [notice] Logging level set to:debug -[2025-04-26 0:56:39.571584] [debug] valor del webhook: filename=Contratos+de+Clientes_847 - -[2025-04-26 0:56:39.571683] [info] No UUID found in the webhook data -[2025-04-26 0:56:40.439001] [notice] Logging level set to:debug -[2025-04-26 0:56:40.439419] [debug] valor del webhook: filename=Contratos+de+Clientes_869 - -[2025-04-26 0:56:40.439527] [info] No UUID found in the webhook data -[2025-04-26 0:56:41.306864] [notice] Logging level set to:debug -[2025-04-26 0:56:41.306978] [debug] valor del webhook: filename=Contratos+de+Clientes_850 - -[2025-04-26 0:56:41.307010] [info] No UUID found in the webhook data -[2025-04-26 0:56:42.092437] [notice] Logging level set to:debug -[2025-04-26 0:56:42.092932] [debug] valor del webhook: filename=Contratos+de+Clientes_854 - -[2025-04-26 0:56:42.093099] [info] No UUID found in the webhook data -[2025-04-26 0:56:43.987453] [notice] Logging level set to:debug -[2025-04-26 0:56:43.987971] [debug] valor del webhook: filename=Contratos+de+Clientes_907 - -[2025-04-26 0:56:43.988141] [info] No UUID found in the webhook data -[2025-04-26 0:56:44.755249] [notice] Logging level set to:debug -[2025-04-26 0:56:44.755589] [debug] valor del webhook: filename=Contratos+de+Clientes_892 - -[2025-04-26 0:56:44.755681] [info] No UUID found in the webhook data -[2025-04-26 0:56:45.639578] [notice] Logging level set to:debug -[2025-04-26 0:56:45.640119] [debug] valor del webhook: filename=Contratos+de+Clientes_863 - -[2025-04-26 0:56:45.640357] [info] No UUID found in the webhook data -[2025-04-26 0:56:46.418826] [notice] Logging level set to:debug -[2025-04-26 0:56:46.419341] [debug] valor del webhook: filename=Contratos+de+Clientes_833 - -[2025-04-26 0:56:46.419506] [info] No UUID found in the webhook data -[2025-04-26 0:56:47.231363] [notice] Logging level set to:debug -[2025-04-26 0:56:47.231646] [debug] valor del webhook: filename=Contratos+de+Clientes_837 - -[2025-04-26 0:56:47.231714] [info] No UUID found in the webhook data -[2025-04-26 0:56:48.123462] [notice] Logging level set to:debug -[2025-04-26 0:56:48.124079] [debug] valor del webhook: filename=Contratos+de+Clientes_831 - -[2025-04-26 0:56:48.124252] [info] No UUID found in the webhook data -[2025-04-26 0:56:53.209016] [notice] Logging level set to:debug -[2025-04-26 0:56:53.209464] [debug] valor del webhook: filename=Contratos+de+Clientes_848 - -[2025-04-26 0:56:53.209595] [info] No UUID found in the webhook data -[2025-04-26 0:56:54.419758] [notice] Logging level set to:debug -[2025-04-26 0:56:54.420042] [debug] valor del webhook: filename=Contratos+de+Clientes_844 - -[2025-04-26 0:56:54.420109] [info] No UUID found in the webhook data -[2025-04-26 0:56:59.627926] [notice] Logging level set to:debug -[2025-04-26 0:56:59.628441] [debug] valor del webhook: filename=Contratos+de+Clientes_856 - -[2025-04-26 0:56:59.628609] [info] No UUID found in the webhook data -[2025-04-26 0:57:00.546137] [notice] Logging level set to:debug -[2025-04-26 0:57:00.546426] [debug] valor del webhook: filename=Contratos+de+Clientes_843 - -[2025-04-26 0:57:00.546494] [info] No UUID found in the webhook data -[2025-04-26 0:57:01.420299] [notice] Logging level set to:debug -[2025-04-26 0:57:01.420656] [debug] valor del webhook: filename=Contratos+de+Clientes_832 - -[2025-04-26 0:57:01.420777] [info] No UUID found in the webhook data -[2025-04-26 0:57:04.858407] [notice] Logging level set to:debug -[2025-04-26 0:57:04.858938] [debug] valor del webhook: filename=Contratos+de+Clientes_905 - -[2025-04-26 0:57:04.859103] [info] No UUID found in the webhook data -[2025-04-26 0:57:10.120703] [notice] Logging level set to:debug -[2025-04-26 0:57:10.121175] [debug] valor del webhook: filename=Contratos+de+Clientes_827 - -[2025-04-26 0:57:10.121335] [info] No UUID found in the webhook data -[2025-04-26 0:57:10.905251] [notice] Logging level set to:debug -[2025-04-26 0:57:10.905761] [debug] valor del webhook: filename=Contratos+de+Clientes_913 - -[2025-04-26 0:57:10.905922] [info] No UUID found in the webhook data -[2025-04-26 0:57:15.380899] [notice] Logging level set to:debug -[2025-04-26 0:57:15.381551] [debug] valor del webhook: filename=Contratos+de+Clientes_853 - -[2025-04-26 0:57:15.381814] [info] No UUID found in the webhook data -[2025-04-26 0:57:20.660701] [notice] Logging level set to:debug -[2025-04-26 0:57:20.661201] [debug] valor del webhook: filename=Contratos+de+Clientes_838 - -[2025-04-26 0:57:20.661362] [info] No UUID found in the webhook data -[2025-04-26 0:57:21.549777] [notice] Logging level set to:debug -[2025-04-26 0:57:21.550298] [debug] valor del webhook: filename=Contratos+de+Clientes_877 - -[2025-04-26 0:57:21.550460] [info] No UUID found in the webhook data -[2025-04-26 0:57:22.423594] [notice] Logging level set to:debug -[2025-04-26 0:57:22.424115] [debug] valor del webhook: filename=Contratos+de+Clientes_881 - -[2025-04-26 0:57:22.424359] [info] No UUID found in the webhook data -[2025-04-26 0:57:23.300287] [notice] Logging level set to:debug -[2025-04-26 0:57:23.300554] [debug] valor del webhook: filename=Contratos+de+Clientes_859 - -[2025-04-26 0:57:23.300616] [info] No UUID found in the webhook data -[2025-04-26 0:57:24.171466] [notice] Logging level set to:debug -[2025-04-26 0:57:24.171967] [debug] valor del webhook: filename=Contratos+de+Clientes_908 - -[2025-04-26 0:57:24.172151] [info] No UUID found in the webhook data -[2025-04-26 0:57:25.038414] [notice] Logging level set to:debug -[2025-04-26 0:57:25.038911] [debug] valor del webhook: filename=Contratos+de+Clientes_865 - -[2025-04-26 0:57:25.039074] [info] No UUID found in the webhook data -[2025-04-26 0:57:25.932107] [notice] Logging level set to:debug -[2025-04-26 0:57:25.932682] [debug] valor del webhook: filename=Contratos+de+Clientes_893 - -[2025-04-26 0:57:25.932851] [info] No UUID found in the webhook data -[2025-04-26 0:57:26.749737] [notice] Logging level set to:debug -[2025-04-26 0:57:26.750228] [debug] valor del webhook: filename=Contratos+de+Clientes_891 - -[2025-04-26 0:57:26.750390] [info] No UUID found in the webhook data -[2025-04-26 0:57:30.906183] [notice] Logging level set to:debug -[2025-04-26 0:57:30.906867] [debug] valor del webhook: filename=Contratos+de+Clientes_889 - -[2025-04-26 0:57:30.907047] [info] No UUID found in the webhook data -[2025-04-26 0:57:36.168167] [notice] Logging level set to:debug -[2025-04-26 0:57:36.168549] [debug] valor del webhook: filename=Contratos+de+Clientes_890 - -[2025-04-26 0:57:36.168642] [info] No UUID found in the webhook data -[2025-04-26 0:57:41.409182] [notice] Logging level set to:debug -[2025-04-26 0:57:41.409693] [debug] valor del webhook: filename=Contratos+de+Clientes_888 - -[2025-04-26 0:57:41.409856] [info] No UUID found in the webhook data -[2025-04-26 0:57:42.194701] [notice] Logging level set to:debug -[2025-04-26 0:57:42.195241] [debug] valor del webhook: filename=Contratos+de+Clientes_887 - -[2025-04-26 0:57:42.195488] [info] No UUID found in the webhook data -[2025-04-26 0:57:43.072954] [notice] Logging level set to:debug -[2025-04-26 0:57:43.073461] [debug] valor del webhook: filename=Contratos+de+Clientes_885 - -[2025-04-26 0:57:43.073626] [info] No UUID found in the webhook data -[2025-04-26 0:57:46.676944] [notice] Logging level set to:debug -[2025-04-26 0:57:46.677460] [debug] valor del webhook: filename=Contratos+de+Clientes_883 - -[2025-04-26 0:57:46.677628] [info] No UUID found in the webhook data -[2025-04-26 0:57:51.944833] [notice] Logging level set to:debug -[2025-04-26 0:57:51.945344] [debug] valor del webhook: filename=Contratos+de+Clientes_880 - -[2025-04-26 0:57:51.945508] [info] No UUID found in the webhook data -[2025-04-26 0:57:52.725106] [notice] Logging level set to:debug -[2025-04-26 0:57:52.725776] [debug] valor del webhook: filename=Contratos+de+Clientes_882 - -[2025-04-26 0:57:52.725963] [info] No UUID found in the webhook data -[2025-04-26 0:57:53.601895] [notice] Logging level set to:debug -[2025-04-26 0:57:53.602193] [debug] valor del webhook: filename=Contratos+de+Clientes_884 - -[2025-04-26 0:57:53.602284] [info] No UUID found in the webhook data -[2025-04-26 0:57:54.397716] [notice] Logging level set to:debug -[2025-04-26 0:57:54.398063] [debug] valor del webhook: filename=Contratos+de+Clientes_878 - -[2025-04-26 0:57:54.398161] [info] No UUID found in the webhook data -[2025-04-26 0:57:55.277077] [notice] Logging level set to:debug -[2025-04-26 0:57:55.277581] [debug] valor del webhook: filename=Contratos+de+Clientes_876 - -[2025-04-26 0:57:55.277741] [info] No UUID found in the webhook data -[2025-04-26 0:57:57.217984] [notice] Logging level set to:debug -[2025-04-26 0:57:57.218264] [debug] valor del webhook: filename=Contratos+de+Clientes_879 - -[2025-04-26 0:57:57.218527] [info] No UUID found in the webhook data -[2025-04-26 0:58:02.478648] [notice] Logging level set to:debug -[2025-04-26 0:58:02.479156] [debug] valor del webhook: filename=Contratos+de+Clientes_874 - -[2025-04-26 0:58:02.479321] [info] No UUID found in the webhook data -[2025-04-26 0:58:03.361766] [notice] Logging level set to:debug -[2025-04-26 0:58:03.362263] [debug] valor del webhook: filename=Contratos+de+Clientes_875 - -[2025-04-26 0:58:03.362426] [info] No UUID found in the webhook data -[2025-04-26 0:58:04.243460] [notice] Logging level set to:debug -[2025-04-26 0:58:04.243891] [debug] valor del webhook: filename=Contratos+de+Clientes_868 - -[2025-04-26 0:58:04.244020] [info] No UUID found in the webhook data -[2025-04-26 0:58:05.137629] [notice] Logging level set to:debug -[2025-04-26 0:58:05.138185] [debug] valor del webhook: filename=Contratos+de+Clientes_873 - -[2025-04-26 0:58:05.138338] [info] No UUID found in the webhook data -[2025-04-26 0:58:05.956603] [notice] Logging level set to:debug -[2025-04-26 0:58:05.957241] [debug] valor del webhook: filename=Contratos+de+Clientes_872 - -[2025-04-26 0:58:05.957500] [info] No UUID found in the webhook data -[2025-04-26 0:58:07.704828] [notice] Logging level set to:debug -[2025-04-26 0:58:07.705319] [debug] valor del webhook: filename=Contratos+de+Clientes_871 - -[2025-04-26 0:58:07.705502] [info] No UUID found in the webhook data -[2025-04-26 0:58:08.606781] [notice] Logging level set to:debug -[2025-04-26 0:58:08.607326] [debug] valor del webhook: filename=Contratos+de+Clientes_870 - -[2025-04-26 0:58:08.607501] [info] No UUID found in the webhook data -[2025-04-26 0:58:12.960911] [notice] Logging level set to:debug -[2025-04-26 0:58:12.960994] [debug] valor del webhook: filename=Contratos+de+Clientes_866 - -[2025-04-26 0:58:12.961011] [info] No UUID found in the webhook data -[2025-04-26 0:58:18.210781] [notice] Logging level set to:debug -[2025-04-26 0:58:18.210880] [debug] valor del webhook: filename=Contratos+de+Clientes_862 - -[2025-04-26 0:58:18.210906] [info] No UUID found in the webhook data -[2025-04-26 0:58:23.467448] [notice] Logging level set to:debug -[2025-04-26 0:58:23.467591] [debug] valor del webhook: filename=Contratos+de+Clientes_864 - -[2025-04-26 0:58:23.467631] [info] No UUID found in the webhook data -[2025-04-26 0:58:28.738066] [notice] Logging level set to:debug -[2025-04-26 0:58:28.738600] [debug] valor del webhook: filename=Contratos+de+Clientes_867 - -[2025-04-26 0:58:28.739847] [info] No UUID found in the webhook data -[2025-04-26 0:58:29.650392] [notice] Logging level set to:debug -[2025-04-26 0:58:29.650830] [debug] valor del webhook: filename=Contratos+de+Clientes_858 - -[2025-04-26 0:58:29.650960] [info] No UUID found in the webhook data -[2025-04-26 0:58:30.463273] [notice] Logging level set to:debug -[2025-04-26 0:58:30.463696] [debug] valor del webhook: filename=Contratos+de+Clientes_861 - -[2025-04-26 0:58:30.463840] [info] No UUID found in the webhook data -[2025-04-26 0:58:33.990540] [notice] Logging level set to:debug -[2025-04-26 0:58:33.990921] [debug] valor del webhook: filename=Contratos+de+Clientes_860 - -[2025-04-26 0:58:33.991854] [info] No UUID found in the webhook data -[2025-04-26 0:58:34.872941] [notice] Logging level set to:debug -[2025-04-26 0:58:34.873245] [debug] valor del webhook: filename=Contratos+de+Clientes_857 - -[2025-04-26 0:58:34.873331] [info] No UUID found in the webhook data -[2025-04-26 0:58:35.811970] [notice] Logging level set to:debug -[2025-04-26 0:58:35.812585] [debug] valor del webhook: filename=Contratos+de+Clientes_852 - -[2025-04-26 0:58:35.812786] [info] No UUID found in the webhook data -[2025-04-26 0:58:39.285114] [notice] Logging level set to:debug -[2025-04-26 0:58:39.285624] [debug] valor del webhook: filename=Contratos+de+Clientes_851 - -[2025-04-26 0:58:39.285789] [info] No UUID found in the webhook data -[2025-04-26 0:58:44.503609] [notice] Logging level set to:debug -[2025-04-26 0:58:44.504117] [debug] valor del webhook: filename=Contratos+de+Clientes_846 - -[2025-04-26 0:58:44.504328] [info] No UUID found in the webhook data -[2025-04-26 0:58:49.907114] [notice] Logging level set to:debug -[2025-04-26 0:58:49.907257] [debug] valor del webhook: filename=Contratos+de+Clientes_849 - -[2025-04-26 0:58:49.907298] [info] No UUID found in the webhook data -[2025-04-26 0:58:55.171798] [notice] Logging level set to:debug -[2025-04-26 0:58:55.171930] [debug] valor del webhook: filename=Contratos+de+Clientes_845 - -[2025-04-26 0:58:55.171967] [info] No UUID found in the webhook data -[2025-04-26 0:58:56.049580] [notice] Logging level set to:debug -[2025-04-26 0:58:56.049751] [debug] valor del webhook: filename=Contratos+de+Clientes_840 - -[2025-04-26 0:58:56.049796] [info] No UUID found in the webhook data -[2025-04-26 0:58:56.867985] [notice] Logging level set to:debug -[2025-04-26 0:58:56.868122] [debug] valor del webhook: filename=Contratos+de+Clientes_841 - -[2025-04-26 0:58:56.868164] [info] No UUID found in the webhook data -[2025-04-26 0:58:57.703413] [notice] Logging level set to:debug -[2025-04-26 0:58:57.703504] [debug] valor del webhook: filename=Contratos+de+Clientes_839 - -[2025-04-26 0:58:57.703527] [info] No UUID found in the webhook data -[2025-04-26 0:59:00.485457] [notice] Logging level set to:debug -[2025-04-26 0:59:00.485532] [debug] valor del webhook: filename=Contratos+de+Clientes_836 - -[2025-04-26 0:59:00.485549] [info] No UUID found in the webhook data -[2025-04-26 0:59:05.704818] [notice] Logging level set to:debug -[2025-04-26 0:59:05.704961] [debug] valor del webhook: filename=Contratos+de+Clientes_834 - -[2025-04-26 0:59:05.705001] [info] No UUID found in the webhook data -[2025-04-26 0:59:06.646300] [notice] Logging level set to:debug -[2025-04-26 0:59:06.646610] [debug] valor del webhook: filename=Contratos+de+Clientes_826 - -[2025-04-26 0:59:06.646672] [info] No UUID found in the webhook data -[2025-04-26 0:59:07.552196] [notice] Logging level set to:debug -[2025-04-26 0:59:07.552704] [debug] valor del webhook: filename=Contratos+de+Clientes_830 - -[2025-04-26 0:59:07.552839] [info] No UUID found in the webhook data -[2025-04-26 0:59:08.437191] [notice] Logging level set to:debug -[2025-04-26 0:59:08.437680] [debug] valor del webhook: filename=Contratos+de+Clientes_829 - -[2025-04-26 0:59:08.437844] [info] No UUID found in the webhook data -[2025-04-26 0:59:09.221218] [notice] Logging level set to:debug -[2025-04-26 0:59:09.221733] [debug] valor del webhook: filename=Contratos+de+Clientes_825 - -[2025-04-26 0:59:09.221918] [info] No UUID found in the webhook data -[2025-04-26 0:59:10.116080] [notice] Logging level set to:debug -[2025-04-26 0:59:10.116641] [debug] valor del webhook: filename=Contratos+de+Clientes_823 - -[2025-04-26 0:59:10.116812] [info] No UUID found in the webhook data -[2025-04-26 0:59:10.934151] [notice] Logging level set to:debug -[2025-04-26 0:59:10.934655] [debug] valor del webhook: filename=Contratos+de+Clientes_820 - -[2025-04-26 0:59:10.934820] [info] No UUID found in the webhook data -[2025-04-26 0:59:11.740852] [notice] Logging level set to:debug -[2025-04-26 0:59:11.741183] [debug] valor del webhook: filename=Contratos+de+Clientes_824 - -[2025-04-26 0:59:11.741264] [info] No UUID found in the webhook data -[2025-04-26 0:59:12.587102] [notice] Logging level set to:debug -[2025-04-26 0:59:12.587603] [debug] valor del webhook: filename=Contratos+de+Clientes_821 - -[2025-04-26 0:59:12.587794] [info] No UUID found in the webhook data -[2025-04-26 0:59:13.469244] [notice] Logging level set to:debug -[2025-04-26 0:59:13.469728] [debug] valor del webhook: filename=Contratos+de+Clientes_764 - -[2025-04-26 0:59:13.469894] [info] No UUID found in the webhook data -[2025-04-26 0:59:14.382260] [notice] Logging level set to:debug -[2025-04-26 0:59:14.382400] [debug] valor del webhook: filename=Contratos+de+Clientes_816 - -[2025-04-26 0:59:14.382442] [info] No UUID found in the webhook data -[2025-04-26 0:59:16.165221] [notice] Logging level set to:debug -[2025-04-26 0:59:16.165714] [debug] valor del webhook: filename=Contratos+de+Clientes_818 - -[2025-04-26 0:59:16.165879] [info] No UUID found in the webhook data -[2025-04-26 0:59:17.072179] [notice] Logging level set to:debug -[2025-04-26 0:59:17.072609] [debug] valor del webhook: filename=Contratos+de+Clientes_817 - -[2025-04-26 0:59:17.072757] [info] No UUID found in the webhook data -[2025-04-26 0:59:17.978020] [notice] Logging level set to:debug -[2025-04-26 0:59:17.978527] [debug] valor del webhook: filename=Contratos+de+Clientes_886 - -[2025-04-26 0:59:17.978691] [info] No UUID found in the webhook data -[2025-04-26 0:59:18.864161] [notice] Logging level set to:debug -[2025-04-26 0:59:18.864547] [debug] valor del webhook: filename=Contratos+de+Clientes_877 - -[2025-04-26 0:59:18.864651] [info] No UUID found in the webhook data -[2025-04-26 0:59:21.434217] [notice] Logging level set to:debug -[2025-04-26 0:59:21.434365] [debug] valor del webhook: filename=Contratos+de+Clientes_869 - -[2025-04-26 0:59:21.434406] [info] No UUID found in the webhook data -[2025-04-26 0:59:26.676943] [notice] Logging level set to:debug -[2025-04-26 0:59:26.677150] [debug] valor del webhook: filename=Contratos+de+Clientes_819 - -[2025-04-26 0:59:26.677222] [info] No UUID found in the webhook data -[2025-04-26 0:59:27.572700] [notice] Logging level set to:debug -[2025-04-26 0:59:27.572874] [debug] valor del webhook: filename=Contratos+de+Clientes_827 - -[2025-04-26 0:59:27.572926] [info] No UUID found in the webhook data -[2025-04-26 0:59:28.466150] [notice] Logging level set to:debug -[2025-04-26 0:59:28.466481] [debug] valor del webhook: filename=Contratos+de+Clientes_835 - -[2025-04-26 0:59:28.466574] [info] No UUID found in the webhook data -[2025-04-26 0:59:31.948386] [notice] Logging level set to:debug -[2025-04-26 0:59:31.948918] [debug] valor del webhook: filename=Contratos+de+Clientes_838 - -[2025-04-26 0:59:31.949093] [info] No UUID found in the webhook data -[2025-04-26 0:59:37.194750] [notice] Logging level set to:debug -[2025-04-26 0:59:37.195266] [debug] valor del webhook: filename=Contratos+de+Clientes_822 - -[2025-04-26 0:59:37.195436] [info] No UUID found in the webhook data -[2025-04-26 0:59:38.098984] [notice] Logging level set to:debug -[2025-04-26 0:59:38.099271] [debug] valor del webhook: filename=Contratos+de+Clientes_854 - -[2025-04-26 0:59:38.099338] [info] No UUID found in the webhook data -[2025-04-26 0:59:42.469322] [notice] Logging level set to:debug -[2025-04-26 0:59:42.469841] [debug] valor del webhook: filename=Contratos+de+Clientes_892 - -[2025-04-26 0:59:42.470007] [info] No UUID found in the webhook data -[2025-04-26 0:59:43.362359] [notice] Logging level set to:debug -[2025-04-26 0:59:43.362503] [debug] valor del webhook: filename=Contratos+de+Clientes_863 - -[2025-04-26 0:59:43.362544] [info] No UUID found in the webhook data -[2025-04-26 0:59:44.159070] [notice] Logging level set to:debug -[2025-04-26 0:59:44.159209] [debug] valor del webhook: filename=Contratos+de+Clientes_833 - -[2025-04-26 0:59:44.159250] [info] No UUID found in the webhook data -[2025-04-26 0:59:45.044533] [notice] Logging level set to:debug -[2025-04-26 0:59:45.044671] [debug] valor del webhook: filename=Contratos+de+Clientes_855 - -[2025-04-26 0:59:45.044711] [info] No UUID found in the webhook data -[2025-04-26 0:59:47.752109] [notice] Logging level set to:debug -[2025-04-26 0:59:47.752242] [debug] valor del webhook: filename=Contratos+de+Clientes_837 - -[2025-04-26 0:59:47.752325] [info] No UUID found in the webhook data -[2025-04-26 0:59:48.551565] [notice] Logging level set to:debug -[2025-04-26 0:59:48.551724] [debug] valor del webhook: filename=Contratos+de+Clientes_848 - -[2025-04-26 0:59:48.551768] [info] No UUID found in the webhook data -[2025-04-26 0:59:52.967536] [notice] Logging level set to:debug -[2025-04-26 0:59:52.967689] [debug] valor del webhook: filename=Contratos+de+Clientes_842 - -[2025-04-26 0:59:52.967730] [info] No UUID found in the webhook data -[2025-04-26 0:59:53.743052] [notice] Logging level set to:debug -[2025-04-26 0:59:53.743336] [debug] valor del webhook: filename=Contratos+de+Clientes_856 - -[2025-04-26 0:59:53.743403] [info] No UUID found in the webhook data -[2025-04-26 0:59:54.614095] [notice] Logging level set to:debug -[2025-04-26 0:59:54.614245] [debug] valor del webhook: filename=Contratos+de+Clientes_843 - -[2025-04-26 0:59:54.614281] [info] No UUID found in the webhook data -[2025-04-26 0:59:55.582173] [notice] Logging level set to:debug -[2025-04-26 0:59:55.582328] [debug] valor del webhook: filename=Contratos+de+Clientes_832 - -[2025-04-26 0:59:55.582369] [info] No UUID found in the webhook data -[2025-04-26 0:59:58.271892] [notice] Logging level set to:debug -[2025-04-26 0:59:58.272037] [debug] valor del webhook: filename=Contratos+de+Clientes_844 - -[2025-04-26 0:59:58.272119] [info] No UUID found in the webhook data -[2025-04-26 1:00:03.547960] [notice] Logging level set to:debug -[2025-04-26 1:00:03.548325] [debug] valor del webhook: filename=Contratos+de+Clientes_853 - -[2025-04-26 1:00:03.548433] [info] No UUID found in the webhook data -[2025-04-26 1:00:08.869064] [notice] Logging level set to:debug -[2025-04-26 1:00:08.869597] [debug] valor del webhook: filename=Contratos+de+Clientes_847 - -[2025-04-26 1:00:08.869776] [info] No UUID found in the webhook data -[2025-04-26 1:00:14.091976] [notice] Logging level set to:debug -[2025-04-26 1:00:14.092175] [debug] valor del webhook: filename=Contratos+de+Clientes_850 - -[2025-04-26 1:00:14.092248] [info] No UUID found in the webhook data -[2025-04-26 1:00:14.981924] [notice] Logging level set to:debug -[2025-04-26 1:00:14.982536] [debug] valor del webhook: filename=Contratos+de+Clientes_828 - -[2025-04-26 1:00:14.982738] [info] No UUID found in the webhook data -[2025-04-26 1:00:15.876534] [notice] Logging level set to:debug -[2025-04-26 1:00:15.876636] [debug] valor del webhook: filename=Contratos+de+Clientes_831 - -[2025-04-26 1:00:15.876662] [info] No UUID found in the webhook data -[2025-04-26 1:00:19.345278] [notice] Logging level set to:debug -[2025-04-26 1:00:19.345402] [debug] valor del webhook: filename=Contratos+de+Clientes_881 - -[2025-04-26 1:00:19.345438] [info] No UUID found in the webhook data -[2025-04-26 1:00:20.403461] [notice] Logging level set to:debug -[2025-04-26 1:00:20.403609] [debug] valor del webhook: filename=Contratos+de+Clientes_859 - -[2025-04-26 1:00:20.403650] [info] No UUID found in the webhook data -[2025-04-26 1:00:24.608685] [notice] Logging level set to:debug -[2025-04-26 1:00:24.609054] [debug] valor del webhook: filename=Contratos+de+Clientes_865 - -[2025-04-26 1:00:24.609158] [info] No UUID found in the webhook data -[2025-04-26 6:25:02.946912] [notice] Logging level set to:debug -[2025-04-26 6:25:02.946991] [debug] valor del webhook: {"uuid":"feed8890-6aa8-42ad-aa6b-74fc5c24943a","changeType":"overdue","entity":"invoice","entityId":"1818","eventName":"invoice.overdue","extraData":{"entity":{"id":1818,"clientId":2,"number":"001768","createdDate":"2025-04-11T14:48:08-0600","dueDate":"2025-04-25T14:48:08-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-11T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1821,"type":"service","label":"Basico 300 01\/06\/2025 \u2013 30\/06\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":152,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-26 6:25:03.098186] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-04-26 6:25:03.098239] [debug] Valor de JSON: {"uuid":"feed8890-6aa8-42ad-aa6b-74fc5c24943a","changeType":"overdue","entity":"invoice","entityId":"1818","eventName":"invoice.overdue","extraData":{"entity":{"id":1818,"clientId":2,"number":"001768","createdDate":"2025-04-11T14:48:08-0600","dueDate":"2025-04-25T14:48:08-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-11T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1821,"type":"service","label":"Basico 300 01\/06\/2025 \u2013 30\/06\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":152,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-26 6:25:03.098454] [debug] Factura vencida - -[2025-04-26 6:25:03.098505] [debug] datos del notification para el invoice overdue:{"uuid":"feed8890-6aa8-42ad-aa6b-74fc5c24943a","changeType":"overdue","entity":"invoice","entityId":1818,"message":null,"clientId":2,"eventName":"invoice.overdue","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1818,"clientId":2,"number":"001768","createdDate":"2025-04-11T14:48:08-0600","dueDate":"2025-04-25T14:48:08-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-11T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1821,"type":"service","label":"Basico 300 01\/06\/2025 \u2013 30\/06\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":152,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas pollerias","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-26 6:25:03.098536] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-04-26 6:25:03.103698] [debug] Numero de cel obtenido - -[2025-04-26 6:25:03.103732] [warning] No se encontró un teléfono celular válido para el cliente: 2 -[2025-04-26 17:53:14.541383] [notice] Logging level set to:debug -[2025-04-26 17:53:14.541655] [debug] valor del webhook: filename=Contratos+de+Clientes_881 - -[2025-04-26 17:53:14.541713] [info] No UUID found in the webhook data -[2025-04-26 17:54:08.182228] [notice] Logging level set to:debug -[2025-04-26 17:54:08.182385] [debug] valor del webhook: filename=Contratos+de+Clientes_859 - -[2025-04-26 17:54:08.182431] [info] No UUID found in the webhook data -[2025-04-26 17:54:21.395879] [notice] Logging level set to:debug -[2025-04-26 17:54:21.396029] [debug] valor del webhook: filename=Contratos+de+Clientes_859 - -[2025-04-26 17:54:21.396071] [info] No UUID found in the webhook data -[2025-04-26 17:54:30.813510] [notice] Logging level set to:debug -[2025-04-26 17:54:30.813652] [debug] valor del webhook: filename=Contratos+de+Clientes_865 - -[2025-04-26 17:54:30.813689] [info] No UUID found in the webhook data -[2025-04-26 17:56:30.905910] [notice] Logging level set to:debug -[2025-04-26 17:56:30.906270] [debug] valor del webhook: filename=Contratos+de+Clientes_893 - -[2025-04-26 17:56:30.906354] [info] No UUID found in the webhook data -[2025-04-26 17:57:28.300097] [notice] Logging level set to:debug -[2025-04-26 17:57:28.300282] [debug] valor del webhook: filename=Contratos+de+Clientes_889 - -[2025-04-26 17:57:28.300333] [info] No UUID found in the webhook data -[2025-04-26 17:58:14.223917] [notice] Logging level set to:debug -[2025-04-26 17:58:14.224278] [debug] valor del webhook: filename=Contratos+de+Clientes_885 - -[2025-04-26 17:58:14.224443] [info] No UUID found in the webhook data -[2025-04-26 17:58:30.893141] [notice] Logging level set to:debug -[2025-04-26 17:58:30.893421] [debug] valor del webhook: filename=Contratos+de+Clientes_887 - -[2025-04-26 17:58:30.893517] [info] No UUID found in the webhook data -[2025-04-26 17:58:44.370426] [notice] Logging level set to:debug -[2025-04-26 17:58:44.370659] [debug] valor del webhook: filename=Contratos+de+Clientes_891 - -[2025-04-26 17:58:44.370748] [info] No UUID found in the webhook data -[2025-04-26 17:58:57.547072] [notice] Logging level set to:debug -[2025-04-26 17:58:57.547363] [debug] valor del webhook: filename=Contratos+de+Clientes_890 - -[2025-04-26 17:58:57.547430] [info] No UUID found in the webhook data -[2025-04-26 17:59:35.733093] [notice] Logging level set to:debug -[2025-04-26 17:59:35.733232] [debug] valor del webhook: filename=Contratos+de+Clientes_888 - -[2025-04-26 17:59:35.733267] [info] No UUID found in the webhook data -[2025-04-26 18:00:27.332726] [notice] Logging level set to:debug -[2025-04-26 18:00:27.333164] [debug] valor del webhook: filename=Contratos+de+Clientes_884 - -[2025-04-26 18:00:27.333266] [info] No UUID found in the webhook data -[2025-04-26 18:01:02.622315] [notice] Logging level set to:debug -[2025-04-26 18:01:02.622917] [debug] valor del webhook: filename=Contratos+de+Clientes_882 - -[2025-04-26 18:01:02.623102] [info] No UUID found in the webhook data -[2025-04-26 18:01:53.704627] [notice] Logging level set to:debug -[2025-04-26 18:01:53.704760] [debug] valor del webhook: filename=Contratos+de+Clientes_880 - -[2025-04-26 18:01:53.704792] [info] No UUID found in the webhook data -[2025-04-26 18:02:21.108578] [notice] Logging level set to:debug -[2025-04-26 18:02:21.108750] [debug] valor del webhook: filename=Contratos+de+Clientes_883 - -[2025-04-26 18:02:21.108798] [info] No UUID found in the webhook data -[2025-04-26 18:02:44.386847] [notice] Logging level set to:debug -[2025-04-26 18:02:44.386970] [debug] valor del webhook: filename=Contratos+de+Clientes_878 - -[2025-04-26 18:02:44.386997] [info] No UUID found in the webhook data -[2025-04-26 18:03:02.006030] [notice] Logging level set to:debug -[2025-04-26 18:03:02.006172] [debug] valor del webhook: filename=Contratos+de+Clientes_875 - -[2025-04-26 18:03:02.006215] [info] No UUID found in the webhook data -[2025-04-26 18:04:04.377949] [notice] Logging level set to:debug -[2025-04-26 18:04:04.378117] [debug] valor del webhook: filename=Contratos+de+Clientes_874 - -[2025-04-26 18:04:04.378163] [info] No UUID found in the webhook data -[2025-04-26 18:04:30.701484] [notice] Logging level set to:debug -[2025-04-26 18:04:30.702095] [debug] valor del webhook: filename=Contratos+de+Clientes_879 - -[2025-04-26 18:04:30.702285] [info] No UUID found in the webhook data -[2025-04-26 18:05:57.577321] [notice] Logging level set to:debug -[2025-04-26 18:05:57.577632] [debug] valor del webhook: filename=Contratos+de+Clientes_876 - -[2025-04-26 18:05:57.577774] [info] No UUID found in the webhook data -[2025-04-26 18:06:11.677908] [notice] Logging level set to:debug -[2025-04-26 18:06:11.678270] [debug] valor del webhook: filename=Contratos+de+Clientes_870 - -[2025-04-26 18:06:11.678426] [info] No UUID found in the webhook data -[2025-04-26 18:07:05.204494] [notice] Logging level set to:debug -[2025-04-26 18:07:05.204773] [debug] valor del webhook: filename=Contratos+de+Clientes_872 - -[2025-04-26 18:07:05.204869] [info] No UUID found in the webhook data -[2025-04-26 18:07:23.675827] [notice] Logging level set to:debug -[2025-04-26 18:07:23.675981] [debug] valor del webhook: filename=Contratos+de+Clientes_873 - -[2025-04-26 18:07:23.676023] [info] No UUID found in the webhook data -[2025-04-26 18:07:34.332827] [notice] Logging level set to:debug -[2025-04-26 18:07:34.332993] [debug] valor del webhook: filename=Contratos+de+Clientes_871 - -[2025-04-26 18:07:34.333053] [info] No UUID found in the webhook data -[2025-04-26 18:08:10.404706] [notice] Logging level set to:debug -[2025-04-26 18:08:10.404819] [debug] valor del webhook: filename=Contratos+de+Clientes_867 - -[2025-04-26 18:08:10.404844] [info] No UUID found in the webhook data -[2025-04-26 18:08:52.213352] [notice] Logging level set to:debug -[2025-04-26 18:08:52.213524] [debug] valor del webhook: filename=Contratos+de+Clientes_866 - -[2025-04-26 18:08:52.213582] [info] No UUID found in the webhook data -[2025-04-26 18:09:29.795644] [notice] Logging level set to:debug -[2025-04-26 18:09:29.795942] [debug] valor del webhook: filename=Contratos+de+Clientes_868 - -[2025-04-26 18:09:29.796063] [info] No UUID found in the webhook data -[2025-04-26 18:09:58.033663] [notice] Logging level set to:debug -[2025-04-26 18:09:58.033757] [debug] valor del webhook: filename=Contratos+de+Clientes_862 - -[2025-04-26 18:09:58.033778] [info] No UUID found in the webhook data -[2025-04-26 18:10:23.423247] [notice] Logging level set to:debug -[2025-04-26 18:10:23.423363] [debug] valor del webhook: filename=Contratos+de+Clientes_864 - -[2025-04-26 18:10:23.423393] [info] No UUID found in the webhook data -[2025-04-26 18:10:44.493237] [notice] Logging level set to:debug -[2025-04-26 18:10:44.493375] [debug] valor del webhook: filename=Contratos+de+Clientes_857 - -[2025-04-26 18:10:44.493413] [info] No UUID found in the webhook data -[2025-04-26 18:11:04.449943] [notice] Logging level set to:debug -[2025-04-26 18:11:04.450417] [debug] valor del webhook: filename=Contratos+de+Clientes_866 - -[2025-04-26 18:11:04.450542] [info] No UUID found in the webhook data -[2025-04-26 18:11:53.709371] [notice] Logging level set to:debug -[2025-04-26 18:11:53.709517] [debug] valor del webhook: filename=Contratos+de+Clientes_860 - -[2025-04-26 18:11:53.709554] [info] No UUID found in the webhook data -[2025-04-26 18:12:40.015440] [notice] Logging level set to:debug -[2025-04-26 18:12:40.015539] [debug] valor del webhook: filename=Contratos+de+Clientes_860 - -[2025-04-26 18:12:40.015563] [info] No UUID found in the webhook data -[2025-04-26 18:12:52.136428] [notice] Logging level set to:debug -[2025-04-26 18:12:52.136601] [debug] valor del webhook: filename=Contratos+de+Clientes_861 - -[2025-04-26 18:12:52.136652] [info] No UUID found in the webhook data -[2025-04-26 18:13:05.501614] [notice] Logging level set to:debug -[2025-04-26 18:13:05.501708] [debug] valor del webhook: filename=Contratos+de+Clientes_858 - -[2025-04-26 18:13:05.501729] [info] No UUID found in the webhook data -[2025-04-26 18:28:45.185209] [notice] Logging level set to:debug -[2025-04-26 18:28:45.185337] [debug] valor del webhook: filename=Contratos+de+Clientes_851 - -[2025-04-26 18:28:45.185365] [info] No UUID found in the webhook data -[2025-04-26 18:29:04.030738] [notice] Logging level set to:debug -[2025-04-26 18:29:04.030853] [debug] valor del webhook: filename=Contratos+de+Clientes_852 - -[2025-04-26 18:29:04.030881] [info] No UUID found in the webhook data -[2025-04-26 18:30:03.018332] [notice] Logging level set to:debug -[2025-04-26 18:30:03.018693] [debug] valor del webhook: {"uuid":"b4a09ca6-c2c4-4ed9-b48d-8ccd03943f56","changeType":"suspend","entity":"service","entityId":"152","eventName":"service.suspend","extraData":{"entity":{"id":152,"prepaid":false,"clientId":2,"status":3,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":"el may","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":154,"startDate":"2025-03-26T00:00:00-0600","endDate":"2025-04-11T00:00:00-0600"},{"id":162,"startDate":"2025-04-26T12:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":152,"prepaid":false,"clientId":2,"status":1,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":"el may","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":154,"startDate":"2025-03-26T00:00:00-0600","endDate":"2025-04-11T00:00:00-0600"},{"id":162,"startDate":"2025-04-26T12:30:02-0600","endDate":null}],"surcharges":[]}}} - -[2025-04-26 18:30:03.294017] [debug] valor el evento recibido por webhook: service.suspend - -[2025-04-26 18:30:03.294202] [debug] Valor de JSON: {"uuid":"b4a09ca6-c2c4-4ed9-b48d-8ccd03943f56","changeType":"suspend","entity":"service","entityId":"152","eventName":"service.suspend","extraData":{"entity":{"id":152,"prepaid":false,"clientId":2,"status":3,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":"el may","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":154,"startDate":"2025-03-26T00:00:00-0600","endDate":"2025-04-11T00:00:00-0600"},{"id":162,"startDate":"2025-04-26T12:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":152,"prepaid":false,"clientId":2,"status":1,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":"el may","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":154,"startDate":"2025-03-26T00:00:00-0600","endDate":"2025-04-11T00:00:00-0600"},{"id":162,"startDate":"2025-04-26T12:30:02-0600","endDate":null}],"surcharges":[]}}} - -[2025-04-26 18:30:03.294466] [debug] Se suspendió el servicio a un cliente - -[2025-04-26 18:30:03.300029] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-26 18:30:03.300106] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-04-26 18:30:03.300205] [info] {"uuid":"b4a09ca6-c2c4-4ed9-b48d-8ccd03943f56","changeType":"suspend","entity":"service","entityId":152,"message":null,"clientId":2,"eventName":"service.suspend","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":152,"prepaid":false,"clientId":2,"status":3,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":"el may","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":154,"startDate":"2025-03-26T00:00:00-0600","endDate":"2025-04-11T00:00:00-0600"},{"id":162,"startDate":"2025-04-26T00:00:00-0600","endDate":null}],"surcharges":[],"stopReason":"Payments overdue"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 26\/04\/2025 12:30"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Domicilio":"📍 CALLE CHIAPAS #31, ZONA CENTRO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Fecha Ultima Actualizacion":"📆🔄️ 26/04/2025 12:30","Monto Ultimo Pago":"💲 ","URL":"🌐 https://sistema.siip.mx/crm/client/3201","Clabe Interbancaria":"124180650741646979","Cliente":"3201","Estado":"🟠 Suspendido","Nombre":"👤 DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY","Resumen":"{\"Cliente\": \"3201\",\"Domicilio\": \"\"Nombre\": \"DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY\",\"URL\": \"https://sistema.siip.mx/crm/client/3201\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 26/04/2025 16:55 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"26/04/2025 10:55\",\"Clabe Interbancaria\": \"124180650741646979\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Fecha Ultimo Pago":"📆💸 26/04/2025 16:55 con Desconocido, revisar metodos de pago no contemplados"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-26 18:30:05.614059] [notice] Logging level set to:debug -[2025-04-26 18:30:05.614258] [debug] valor del webhook: {"uuid":"e0b52b4d-3500-45f1-ad2d-e79e4916336a","changeType":"edit","entity":"service","entityId":"152","eventName":"service.edit","extraData":{"entity":{"id":152,"prepaid":false,"clientId":2,"status":3,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":"el may","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":154,"startDate":"2025-03-26T00:00:00-0600","endDate":"2025-04-11T00:00:00-0600"},{"id":162,"startDate":"2025-04-26T12:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":152,"prepaid":false,"clientId":2,"status":1,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":"el may","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":154,"startDate":"2025-03-26T00:00:00-0600","endDate":"2025-04-11T00:00:00-0600"},{"id":162,"startDate":"2025-04-26T12:30:02-0600","endDate":null}],"surcharges":[]}}} - -[2025-04-26 18:30:05.782177] [debug] valor el evento recibido por webhook: service.edit - -[2025-04-26 18:30:05.782299] [debug] Valor de JSON: {"uuid":"e0b52b4d-3500-45f1-ad2d-e79e4916336a","changeType":"edit","entity":"service","entityId":"152","eventName":"service.edit","extraData":{"entity":{"id":152,"prepaid":false,"clientId":2,"status":3,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":"el may","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":154,"startDate":"2025-03-26T00:00:00-0600","endDate":"2025-04-11T00:00:00-0600"},{"id":162,"startDate":"2025-04-26T12:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":152,"prepaid":false,"clientId":2,"status":1,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":"el may","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":154,"startDate":"2025-03-26T00:00:00-0600","endDate":"2025-04-11T00:00:00-0600"},{"id":162,"startDate":"2025-04-26T12:30:02-0600","endDate":null}],"surcharges":[]}}} - -[2025-04-26 18:30:05.782597] [debug] Se editó el servicio a un cliente - -[2025-04-26 18:30:05.782649] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-26 18:30:05.782664] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-04-26 18:30:05.782736] [info] {"uuid":"e0b52b4d-3500-45f1-ad2d-e79e4916336a","changeType":"edit","entity":"service","entityId":152,"message":null,"clientId":2,"eventName":"service.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":152,"prepaid":false,"clientId":2,"status":3,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":"el may","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":154,"startDate":"2025-03-26T00:00:00-0600","endDate":"2025-04-11T00:00:00-0600"},{"id":162,"startDate":"2025-04-26T00:00:00-0600","endDate":null}],"surcharges":[],"stopReason":"Payments overdue"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas pollerias - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas pollerias","custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 26\/04\/2025 12:30"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas pollerias","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Domicilio":"📍 CALLE CHIAPAS #31, ZONA CENTRO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Fecha Ultima Actualizacion":"📆🔄️ 26/04/2025 12:30","Monto Ultimo Pago":"💲 ","URL":"🌐 https://sistema.siip.mx/crm/client/3201","Clabe Interbancaria":"124180650741646979","Cliente":"3201","Estado":"🟠 Suspendido","Nombre":"👤 DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY","Resumen":"{\"Cliente\": \"3201\",\"Domicilio\": \"\"Nombre\": \"DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY\",\"URL\": \"https://sistema.siip.mx/crm/client/3201\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 26/04/2025 16:55 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"26/04/2025 10:55\",\"Clabe Interbancaria\": \"124180650741646979\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Fecha Ultimo Pago":"📆💸 26/04/2025 16:55 con Desconocido, revisar metodos de pago no contemplados"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-26 18:31:32.858048] [notice] Logging level set to:debug -[2025-04-26 18:31:32.858313] [debug] valor del webhook: filename=Contratos+de+Clientes_849 - -[2025-04-26 18:31:32.858412] [info] No UUID found in the webhook data -[2025-04-26 18:31:59.532902] [notice] Logging level set to:debug -[2025-04-26 18:31:59.533226] [debug] valor del webhook: filename=Contratos+de+Clientes_846 - -[2025-04-26 18:31:59.533360] [info] No UUID found in the webhook data -[2025-04-26 18:32:38.414314] [notice] Logging level set to:debug -[2025-04-26 18:32:38.414556] [debug] valor del webhook: filename=Contratos+de+Clientes_845 - -[2025-04-26 18:32:38.414640] [info] No UUID found in the webhook data -[2025-04-26 18:32:54.321892] [notice] Logging level set to:debug -[2025-04-26 18:32:54.322103] [debug] valor del webhook: filename=Contratos+de+Clientes_839 - -[2025-04-26 18:32:54.322165] [info] No UUID found in the webhook data -[2025-04-26 18:33:00.374949] [notice] Logging level set to:debug -[2025-04-26 18:33:00.375333] [debug] valor del webhook: filename=Contratos+de+Clientes_841 - -[2025-04-26 18:33:00.375432] [info] No UUID found in the webhook data -[2025-04-26 18:34:20.019458] [notice] Logging level set to:debug -[2025-04-26 18:34:20.019727] [debug] valor del webhook: filename=Contratos+de+Clientes_834 - -[2025-04-26 18:34:20.019829] [info] No UUID found in the webhook data -[2025-04-26 18:34:27.213059] [notice] Logging level set to:debug -[2025-04-26 18:34:27.213347] [debug] valor del webhook: filename=Contratos+de+Clientes_836 - -[2025-04-26 18:34:27.213499] [info] No UUID found in the webhook data -[2025-04-26 18:34:50.480966] [notice] Logging level set to:debug -[2025-04-26 18:34:50.481082] [debug] valor del webhook: filename=Contratos+de+Clientes_840 - -[2025-04-26 18:34:50.481112] [info] No UUID found in the webhook data -[2025-04-26 18:34:58.320337] [notice] Logging level set to:debug -[2025-04-26 18:34:58.320544] [debug] valor del webhook: filename=Contratos+de+Clientes_836 - -[2025-04-26 18:34:58.320631] [info] No UUID found in the webhook data -[2025-04-26 18:35:15.484632] [notice] Logging level set to:debug -[2025-04-26 18:35:15.484733] [debug] valor del webhook: filename=Contratos+de+Clientes_829 - -[2025-04-26 18:35:15.484757] [info] No UUID found in the webhook data -[2025-04-26 18:36:03.359874] [notice] Logging level set to:debug -[2025-04-26 18:36:03.360050] [debug] valor del webhook: filename=Contratos+de+Clientes_830 - -[2025-04-26 18:36:03.360105] [info] No UUID found in the webhook data -[2025-04-26 18:36:33.549910] [notice] Logging level set to:debug -[2025-04-26 18:36:33.550352] [debug] valor del webhook: filename=Contratos+de+Clientes_830 - -[2025-04-26 18:36:33.550457] [info] No UUID found in the webhook data -[2025-04-26 18:36:53.918822] [notice] Logging level set to:debug -[2025-04-26 18:36:53.919313] [debug] valor del webhook: filename=Contratos+de+Clientes_826 - -[2025-04-26 18:36:53.919459] [info] No UUID found in the webhook data -[2025-04-26 18:37:29.993859] [notice] Logging level set to:debug -[2025-04-26 18:37:29.994076] [debug] valor del webhook: filename=Contratos+de+Clientes_821 - -[2025-04-26 18:37:29.994134] [info] No UUID found in the webhook data -[2025-04-26 18:37:56.867953] [notice] Logging level set to:debug -[2025-04-26 18:37:56.868423] [debug] valor del webhook: filename=Contratos+de+Clientes_824 - -[2025-04-26 18:37:56.868550] [info] No UUID found in the webhook data -[2025-04-26 18:42:35.020843] [notice] Logging level set to:debug -[2025-04-26 18:42:35.021044] [debug] valor del webhook: filename=Contratos+de+Clientes_820 - -[2025-04-26 18:42:35.021105] [info] No UUID found in the webhook data -[2025-04-26 18:42:56.069334] [notice] Logging level set to:debug -[2025-04-26 18:42:56.069454] [debug] valor del webhook: filename=Contratos+de+Clientes_823 - -[2025-04-26 18:42:56.069483] [info] No UUID found in the webhook data -[2025-04-26 18:43:24.362284] [notice] Logging level set to:debug -[2025-04-26 18:43:24.362848] [debug] valor del webhook: filename=Contratos+de+Clientes_825 - -[2025-04-26 18:43:24.362947] [info] No UUID found in the webhook data -[2025-04-26 18:43:54.295975] [notice] Logging level set to:debug -[2025-04-26 18:43:54.296668] [debug] valor del webhook: filename=Contratos+de+Clientes_817 - -[2025-04-26 18:43:54.296930] [info] No UUID found in the webhook data -[2025-04-26 18:44:41.209665] [notice] Logging level set to:debug -[2025-04-26 18:44:41.210324] [debug] valor del webhook: filename=Contratos+de+Clientes_818 - -[2025-04-26 18:44:41.210519] [info] No UUID found in the webhook data -[2025-04-26 18:45:49.624613] [notice] Logging level set to:debug -[2025-04-26 18:45:49.624716] [debug] valor del webhook: filename=Contratos+de+Clientes_816 - -[2025-04-26 18:45:49.624744] [info] No UUID found in the webhook data -[2025-04-26 18:51:58.347456] [notice] Logging level set to:debug -[2025-04-26 18:51:58.347614] [debug] valor del webhook: filename=Contratos+de+Clientes_209 - -[2025-04-26 18:51:58.347657] [info] No UUID found in the webhook data -[2025-04-26 18:52:14.949866] [notice] Logging level set to:debug -[2025-04-26 18:52:14.950021] [debug] valor del webhook: filename=Contratos+de+Clientes_93 - -[2025-04-26 18:52:14.950063] [info] No UUID found in the webhook data -[2025-04-26 18:53:59.879525] [notice] Logging level set to:debug -[2025-04-26 18:53:59.879967] [debug] valor del webhook: filename=Contratos+de+Clientes_99 - -[2025-04-26 18:53:59.880108] [info] No UUID found in the webhook data -[2025-04-26 18:54:17.786678] [notice] Logging level set to:debug -[2025-04-26 18:54:17.787347] [debug] valor del webhook: filename=Contratos+de+Clientes_87 - -[2025-04-26 18:54:17.787535] [info] No UUID found in the webhook data -[2025-04-26 18:54:31.857733] [notice] Logging level set to:debug -[2025-04-26 18:54:31.857841] [debug] valor del webhook: filename=Contratos+de+Clientes_76 - -[2025-04-26 18:54:31.857868] [info] No UUID found in the webhook data -[2025-04-26 18:54:49.747876] [notice] Logging level set to:debug -[2025-04-26 18:54:49.748087] [debug] valor del webhook: filename=Contratos+de+Clientes_77 - -[2025-04-26 18:54:49.748162] [info] No UUID found in the webhook data -[2025-04-26 18:55:07.836143] [notice] Logging level set to:debug -[2025-04-26 18:55:07.836325] [debug] valor del webhook: filename=Contratos+de+Clientes_82 - -[2025-04-26 18:55:07.836385] [info] No UUID found in the webhook data -[2025-04-26 18:55:47.662902] [notice] Logging level set to:debug -[2025-04-26 18:55:47.663049] [debug] valor del webhook: filename=Contratos+de+Clientes_86 - -[2025-04-26 18:55:47.663093] [info] No UUID found in the webhook data -[2025-04-26 18:56:21.781022] [notice] Logging level set to:debug -[2025-04-26 18:56:21.781333] [debug] valor del webhook: filename=Contratos+de+Clientes_54 - -[2025-04-26 18:56:21.781459] [info] No UUID found in the webhook data -[2025-04-26 18:56:44.435386] [notice] Logging level set to:debug -[2025-04-26 18:56:44.435575] [debug] valor del webhook: filename=Contratos+de+Clientes_57 - -[2025-04-26 18:56:44.435632] [info] No UUID found in the webhook data -[2025-04-26 18:57:02.101176] [notice] Logging level set to:debug -[2025-04-26 18:57:02.101782] [debug] valor del webhook: filename=Contratos+de+Clientes_65 - -[2025-04-26 18:57:02.101970] [info] No UUID found in the webhook data -[2025-04-26 18:57:28.975972] [notice] Logging level set to:debug -[2025-04-26 18:57:28.976104] [debug] valor del webhook: filename=Contratos+de+Clientes_72 - -[2025-04-26 18:57:28.976133] [info] No UUID found in the webhook data -[2025-04-26 18:57:46.746140] [notice] Logging level set to:debug -[2025-04-26 18:57:46.746290] [debug] valor del webhook: filename=Contratos+de+Clientes_75 - -[2025-04-26 18:57:46.746331] [info] No UUID found in the webhook data -[2025-04-26 18:58:16.898279] [notice] Logging level set to:debug -[2025-04-26 18:58:16.898696] [debug] valor del webhook: filename=Contratos+de+Clientes_74 - -[2025-04-26 18:58:16.898802] [info] No UUID found in the webhook data -[2025-04-26 18:58:38.502764] [notice] Logging level set to:debug -[2025-04-26 18:58:38.502928] [debug] valor del webhook: filename=Contratos+de+Clientes_49 - -[2025-04-26 18:58:38.502975] [info] No UUID found in the webhook data -[2025-04-26 18:59:26.548691] [notice] Logging level set to:debug -[2025-04-26 18:59:26.548819] [debug] valor del webhook: filename=Contratos+de+Clientes_48 - -[2025-04-26 18:59:26.548852] [info] No UUID found in the webhook data -[2025-04-26 18:59:42.569612] [notice] Logging level set to:debug -[2025-04-26 18:59:42.569725] [debug] valor del webhook: filename=Contratos+de+Clientes_47 - -[2025-04-26 18:59:42.569757] [info] No UUID found in the webhook data -[2025-04-26 19:00:24.841598] [notice] Logging level set to:debug -[2025-04-26 19:00:24.842061] [debug] valor del webhook: filename=Contratos+de+Clientes_50 - -[2025-04-26 19:00:24.842176] [info] No UUID found in the webhook data -[2025-04-26 19:00:43.430322] [notice] Logging level set to:debug -[2025-04-26 19:00:43.430469] [debug] valor del webhook: filename=Contratos+de+Clientes_53 - -[2025-04-26 19:00:43.430512] [info] No UUID found in the webhook data -[2025-04-26 19:00:58.464426] [notice] Logging level set to:debug -[2025-04-26 19:00:58.464539] [debug] valor del webhook: filename=Contratos+de+Clientes_52 - -[2025-04-26 19:00:58.464569] [info] No UUID found in the webhook data -[2025-04-26 19:01:14.028739] [notice] Logging level set to:debug -[2025-04-26 19:01:14.029397] [debug] valor del webhook: filename=Contratos+de+Clientes_46 - -[2025-04-26 19:01:14.029498] [info] No UUID found in the webhook data -[2025-04-26 19:01:26.335202] [notice] Logging level set to:debug -[2025-04-26 19:01:26.335329] [debug] valor del webhook: filename=Contratos+de+Clientes_23 - -[2025-04-26 19:01:26.335361] [info] No UUID found in the webhook data -[2025-04-26 19:01:41.240379] [notice] Logging level set to:debug -[2025-04-26 19:01:41.240806] [debug] valor del webhook: filename=Contratos+de+Clientes_22 - -[2025-04-26 19:01:41.240922] [info] No UUID found in the webhook data -[2025-04-26 19:02:00.582737] [notice] Logging level set to:debug -[2025-04-26 19:02:00.588349] [debug] valor del webhook: filename=Contratos+de+Clientes_25 - -[2025-04-26 19:02:00.588500] [info] No UUID found in the webhook data -[2025-04-26 19:02:18.382436] [notice] Logging level set to:debug -[2025-04-26 19:02:18.382586] [debug] valor del webhook: filename=Contratos+de+Clientes_26 - -[2025-04-26 19:02:18.382627] [info] No UUID found in the webhook data -[2025-04-26 19:02:41.619004] [notice] Logging level set to:debug -[2025-04-26 19:02:41.619601] [debug] valor del webhook: filename=Contratos+de+Clientes_18 - -[2025-04-26 19:02:41.619787] [info] No UUID found in the webhook data -[2025-04-26 19:22:37.027941] [notice] Logging level set to:debug -[2025-04-26 19:22:37.028573] [debug] valor del webhook: filename=Contratos+de+Clientes_330 - -[2025-04-26 19:22:37.028754] [info] No UUID found in the webhook data -[2025-04-26 19:25:00.703618] [notice] Logging level set to:debug -[2025-04-26 19:25:00.703716] [debug] valor del webhook: filename=Contratos+de+Clientes_886 - -[2025-04-26 19:25:00.703738] [info] No UUID found in the webhook data -[2025-04-26 19:25:34.135584] [notice] Logging level set to:debug -[2025-04-26 19:25:34.135756] [debug] valor del webhook: filename=Contratos+de+Clientes_831 - -[2025-04-26 19:25:34.135803] [info] No UUID found in the webhook data -[2025-04-26 19:28:15.533101] [notice] Logging level set to:debug -[2025-04-26 19:28:15.533309] [debug] valor del webhook: filename=Contratos+de+Clientes_828 - -[2025-04-26 19:28:15.533376] [info] No UUID found in the webhook data -[2025-04-26 19:29:07.569283] [notice] Logging level set to:debug -[2025-04-26 19:29:07.569463] [debug] valor del webhook: filename=Contratos+de+Clientes_850 - -[2025-04-26 19:29:07.569510] [info] No UUID found in the webhook data -[2025-04-26 19:29:50.006565] [notice] Logging level set to:debug -[2025-04-26 19:29:50.006690] [debug] valor del webhook: filename=Contratos+de+Clientes_844 - -[2025-04-26 19:29:50.006726] [info] No UUID found in the webhook data -[2025-04-26 19:30:53.189166] [notice] Logging level set to:debug -[2025-04-26 19:30:53.189799] [debug] valor del webhook: filename=Contratos+de+Clientes_853 - -[2025-04-26 19:30:53.189995] [info] No UUID found in the webhook data -[2025-04-26 19:31:09.911705] [notice] Logging level set to:debug -[2025-04-26 19:31:09.911838] [debug] valor del webhook: filename=Contratos+de+Clientes_847 - -[2025-04-26 19:31:09.911873] [info] No UUID found in the webhook data -[2025-04-26 19:31:24.835978] [notice] Logging level set to:debug -[2025-04-26 19:31:24.836548] [debug] valor del webhook: filename=Contratos+de+Clientes_843 - -[2025-04-26 19:31:24.836688] [info] No UUID found in the webhook data -[2025-04-26 19:31:38.535963] [notice] Logging level set to:debug -[2025-04-26 19:31:38.536166] [debug] valor del webhook: filename=Contratos+de+Clientes_832 - -[2025-04-26 19:31:38.536212] [info] No UUID found in the webhook data -[2025-04-26 19:33:01.647443] [notice] Logging level set to:debug -[2025-04-26 19:33:01.647850] [debug] valor del webhook: filename=Contratos+de+Clientes_856 - -[2025-04-26 19:33:01.648020] [info] No UUID found in the webhook data -[2025-04-26 19:33:24.764040] [notice] Logging level set to:debug -[2025-04-26 19:33:24.764254] [debug] valor del webhook: filename=Contratos+de+Clientes_842 - -[2025-04-26 19:33:24.764348] [info] No UUID found in the webhook data -[2025-04-26 19:38:42.678769] [notice] Logging level set to:debug -[2025-04-26 19:38:42.678934] [debug] valor del webhook: filename=Contratos+de+Clientes_837 - -[2025-04-26 19:38:42.678972] [info] No UUID found in the webhook data -[2025-04-27 16:00:03.957741] [notice] Logging level set to:debug -[2025-04-27 16:00:03.957825] [debug] valor del webhook: {"uuid":"1a1da51c-0a51-4b7e-af98-47825e2764bc","changeType":"insert","entity":"invoice","entityId":"1838","eventName":"invoice.add_draft","extraData":{"entity":{"id":1838,"clientId":4,"number":"001788","createdDate":"2025-04-27T10:00:01-0600","dueDate":"2025-05-11T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-26T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1841,"type":"service","label":"plan300 27\/03\/2025 \u2013 26\/04\/2025","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},"entityBeforeEdit":null}} - -[2025-04-27 16:00:04.123266] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-27 16:00:04.123322] [debug] Valor de JSON: {"uuid":"1a1da51c-0a51-4b7e-af98-47825e2764bc","changeType":"insert","entity":"invoice","entityId":"1838","eventName":"invoice.add_draft","extraData":{"entity":{"id":1838,"clientId":4,"number":"001788","createdDate":"2025-04-27T10:00:01-0600","dueDate":"2025-05-11T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-26T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1841,"type":"service","label":"plan300 27\/03\/2025 \u2013 26\/04\/2025","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},"entityBeforeEdit":null}} - -[2025-04-27 16:00:04.123534] [debug] Adición de borrador de Factura - -[2025-04-27 16:00:04.123584] [debug] {"uuid":"1a1da51c-0a51-4b7e-af98-47825e2764bc","changeType":"insert","entity":"invoice","entityId":1838,"message":null,"clientId":4,"eventName":"invoice.add_draft","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":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"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":1838,"clientId":4,"number":"001788","createdDate":"2025-04-27T10:00:01-0600","dueDate":"2025-05-11T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1841,"type":"service","label":"plan300 27\/03\/2025 \u2013 26\/04\/2025","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},"paymentData":null} - -[2025-04-27 16:00:04.123656] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-27 16:00:04.123668] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"1a1da51c-0a51-4b7e-af98-47825e2764bc","changeType":"insert","entity":"invoice","entityId":1838,"message":null,"clientId":4,"eventName":"invoice.add_draft","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":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"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":1838,"clientId":4,"number":"001788","createdDate":"2025-04-27T10:00:01-0600","dueDate":"2025-05-11T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1841,"type":"service","label":"plan300 27\/03\/2025 \u2013 26\/04\/2025","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},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Griselda Avalos - -UUID: 6620b434a8594fc489e18e90363d59bd - -JSON con los datos a actualizar: {"name":"Griselda Avalos","custom_fields":{"Cliente":4,"Domicilio":"\ud83d\udccd Yucat\u00e1n 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Griselda Avalos","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/4","Saldo Actual":"\ud83d\udcb24800 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"4\",\"Domicilio\": \"\"Nombre\": \"Griselda Avalos\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/4\",\"Saldo Actual\": \"\ud83d\udcb24800 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 27\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"27\/04\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 27\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 27\/04\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "4","Domicilio": ""Nombre": "Griselda Avalos","URL": "https://sistema.siip.mx/crm/client/4","Saldo Actual": "💲4800 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 27/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "27/04/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -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","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","Estado":"🔴 Suspendido","Monto Ultimo Pago":"💲 ","Nombre":"👤 Griselda Avalos","Cliente":"4","URL":"🌐 https://sistema.siip.mx/crm/client/4","Saldo Actual":"💲4800 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 27/04/2025 10:00","Fecha Ultimo Pago":"📆💸 27/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Resumen":"{\"Cliente\": \"4\",\"Domicilio\": \"\"Nombre\": \"Griselda Avalos\",\"URL\": \"https://sistema.siip.mx/crm/client/4\",\"Saldo Actual\": \"💲4800 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 27/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"27/04/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"6620b434a8594fc489e18e90363d59bd","name":"Griselda Avalos","phoneNumber":"5214181156999","avatarUrl":null,"createdAt":"2025-01-28T20:37:36Z","closedAt":"2025-01-28T22:38:41Z","source":"whatsapp","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","Estado":"🔴 Suspendido","Monto Ultimo Pago":"💲 ","Nombre":"👤 Griselda Avalos","Cliente":"4","URL":"🌐 https://sistema.siip.mx/crm/client/4","Saldo Actual":"💲4800 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 27/04/2025 10:00","Fecha Ultimo Pago":"📆💸 27/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Resumen":"{\"Cliente\": \"4\",\"Domicilio\": \"\"Nombre\": \"Griselda Avalos\",\"URL\": \"https://sistema.siip.mx/crm/client/4\",\"Saldo Actual\": \"💲4800 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 27/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"27/04/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-27 16:00:06.640461] [notice] Logging level set to:debug -[2025-04-27 16:00:06.640523] [debug] valor del webhook: {"uuid":"041fe956-0bee-4e28-8760-2edbacfdc48a","changeType":"draft_approved","entity":"invoice","entityId":"1838","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1838,"clientId":4,"number":"001788","createdDate":"2025-04-27T10:00:01-0600","dueDate":"2025-05-11T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-26T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1841,"type":"service","label":"plan300 27\/03\/2025 \u2013 26\/04\/2025","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},"entityBeforeEdit":null}} - -[2025-04-27 16:00:06.792232] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-27 16:00:06.792309] [debug] Valor de JSON: {"uuid":"041fe956-0bee-4e28-8760-2edbacfdc48a","changeType":"draft_approved","entity":"invoice","entityId":"1838","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1838,"clientId":4,"number":"001788","createdDate":"2025-04-27T10:00:01-0600","dueDate":"2025-05-11T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-26T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1841,"type":"service","label":"plan300 27\/03\/2025 \u2013 26\/04\/2025","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},"entityBeforeEdit":null}} - -[2025-04-27 16:00:06.792426] [debug] Aprobación de Factura - -[2025-04-27 16:00:06.792470] [debug] {"uuid":"041fe956-0bee-4e28-8760-2edbacfdc48a","changeType":"draft_approved","entity":"invoice","entityId":1838,"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":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"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":1838,"clientId":4,"number":"001788","createdDate":"2025-04-27T10:00:01-0600","dueDate":"2025-05-11T10:00:01-0600","emailSentDate":"2025-04-27T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1841,"type":"service","label":"plan300 27\/03\/2025 \u2013 26\/04\/2025","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},"paymentData":null} - -[2025-04-27 16:00:06.792515] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-27 16:00:06.792526] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"041fe956-0bee-4e28-8760-2edbacfdc48a","changeType":"draft_approved","entity":"invoice","entityId":1838,"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":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"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":1838,"clientId":4,"number":"001788","createdDate":"2025-04-27T10:00:01-0600","dueDate":"2025-05-11T10:00:01-0600","emailSentDate":"2025-04-27T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1841,"type":"service","label":"plan300 27\/03\/2025 \u2013 26\/04\/2025","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},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Griselda Avalos - -UUID: 6620b434a8594fc489e18e90363d59bd - -JSON con los datos a actualizar: {"name":"Griselda Avalos","custom_fields":{"Cliente":4,"Domicilio":"\ud83d\udccd Yucat\u00e1n 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Griselda Avalos","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/4","Saldo Actual":"\ud83d\udcb24800 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"4\",\"Domicilio\": \"\"Nombre\": \"Griselda Avalos\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/4\",\"Saldo Actual\": \"\ud83d\udcb24800 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 27\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"27\/04\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 27\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 27\/04\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "4","Domicilio": ""Nombre": "Griselda Avalos","URL": "https://sistema.siip.mx/crm/client/4","Saldo Actual": "💲4800 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 27/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "27/04/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -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","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","Estado":"🔴 Suspendido","Monto Ultimo Pago":"💲 ","Nombre":"👤 Griselda Avalos","Cliente":"4","URL":"🌐 https://sistema.siip.mx/crm/client/4","Saldo Actual":"💲4800 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 27/04/2025 10:00","Fecha Ultimo Pago":"📆💸 27/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Resumen":"{\"Cliente\": \"4\",\"Domicilio\": \"\"Nombre\": \"Griselda Avalos\",\"URL\": \"https://sistema.siip.mx/crm/client/4\",\"Saldo Actual\": \"💲4800 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 27/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"27/04/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"6620b434a8594fc489e18e90363d59bd","name":"Griselda Avalos","phoneNumber":"5214181156999","avatarUrl":null,"createdAt":"2025-01-28T20:37:36Z","closedAt":"2025-01-28T22:38:41Z","source":"whatsapp","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","Estado":"🔴 Suspendido","Monto Ultimo Pago":"💲 ","Nombre":"👤 Griselda Avalos","Cliente":"4","URL":"🌐 https://sistema.siip.mx/crm/client/4","Saldo Actual":"💲4800 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 27/04/2025 10:00","Fecha Ultimo Pago":"📆💸 27/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Resumen":"{\"Cliente\": \"4\",\"Domicilio\": \"\"Nombre\": \"Griselda Avalos\",\"URL\": \"https://sistema.siip.mx/crm/client/4\",\"Saldo Actual\": \"💲4800 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 27/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"27/04/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-27 16:00:09.336679] [notice] Logging level set to:debug -[2025-04-27 16:00:09.336733] [debug] valor del webhook: {"uuid":"d0fabbbb-c73b-4aaf-8449-c971da5dd3c2","changeType":"insert","entity":"invoice","entityId":"1839","eventName":"invoice.add_draft","extraData":{"entity":{"id":1839,"clientId":1,"number":"001789","createdDate":"2025-04-27T10:00:01-0600","dueDate":"2025-05-11T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-26T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1842,"type":"service","label":"plan300 27\/03\/2025 \u2013 26\/04\/2025","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":76.67,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":223.33,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":727,"invoiceId":1839,"paymentId":608,"creditNoteId":null,"refundId":null,"amount":76.67}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-27 16:00:09.472871] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-27 16:00:09.472927] [debug] Valor de JSON: {"uuid":"d0fabbbb-c73b-4aaf-8449-c971da5dd3c2","changeType":"insert","entity":"invoice","entityId":"1839","eventName":"invoice.add_draft","extraData":{"entity":{"id":1839,"clientId":1,"number":"001789","createdDate":"2025-04-27T10:00:01-0600","dueDate":"2025-05-11T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-26T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1842,"type":"service","label":"plan300 27\/03\/2025 \u2013 26\/04\/2025","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":76.67,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":223.33,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":727,"invoiceId":1839,"paymentId":608,"creditNoteId":null,"refundId":null,"amount":76.67}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-27 16:00:09.473041] [debug] Adición de borrador de Factura - -[2025-04-27 16:00:09.473088] [debug] {"uuid":"d0fabbbb-c73b-4aaf-8449-c971da5dd3c2","changeType":"insert","entity":"invoice","entityId":1839,"message":null,"clientId":1,"eventName":"invoice.add_draft","clientData":{"id":1,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true}],"accountBalance":-223.33,"accountCredit":0,"accountOutstanding":223.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1839,"clientId":1,"number":"001789","createdDate":"2025-04-27T10:00:01-0600","dueDate":"2025-05-11T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1842,"type":"service","label":"plan300 27\/03\/2025 \u2013 26\/04\/2025","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":76.67,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":223.33,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":727,"invoiceId":1839,"paymentId":608,"creditNoteId":null,"refundId":null,"amount":76.67}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-27 16:00:09.473136] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-27 16:00:09.473146] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"d0fabbbb-c73b-4aaf-8449-c971da5dd3c2","changeType":"insert","entity":"invoice","entityId":1839,"message":null,"clientId":1,"eventName":"invoice.add_draft","clientData":{"id":1,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true}],"accountBalance":-223.33,"accountCredit":0,"accountOutstanding":223.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1839,"clientId":1,"number":"001789","createdDate":"2025-04-27T10:00:01-0600","dueDate":"2025-05-11T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1842,"type":"service","label":"plan300 27\/03\/2025 \u2013 26\/04\/2025","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":76.67,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":223.33,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":727,"invoiceId":1839,"paymentId":608,"creditNoteId":null,"refundId":null,"amount":76.67}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":608,"clientId":1,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T23:51:02-0600","amount":190,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":726,"invoiceId":1837,"paymentId":608,"creditNoteId":null,"refundId":null,"amount":113.33},{"id":727,"invoiceId":1839,"paymentId":608,"creditNoteId":null,"refundId":null,"amount":76.67}],"creditAmount":0,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Don Miguel Ángel Guerrero González - -UUID: 0e53e926ce424db5b9284a75915d24fe - -JSON con los datos a actualizar: {"name":"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","custom_fields":{"Cliente":1,"Domicilio":"\ud83d\udccd Calle Morelos 34, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/1","Saldo Actual":"\ud83d\udcb2223.33 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 190","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\"Nombre\": \"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/1\",\"Saldo Actual\": \"\ud83d\udcb2223.33 pendientes\",\"Monto Ultimo Pago\": \"$ 190\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 07\/03\/2025 23:51 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"27\/04\/2025 10:00\",\"Clabe Interbancaria\": \"002180697144444854\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/03\/2025 23:51 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 27\/04\/2025 10:00","Clabe Interbancaria":"002180697144444854","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "1","Domicilio": ""Nombre": "Don Miguel Ángel Guerrero González","URL": "https://sistema.siip.mx/crm/client/1","Saldo Actual": "💲223.33 pendientes","Monto Ultimo Pago": "$ 190","Estado": "Activo","Fecha Ultimo Pago": " 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "27/04/2025 10:00","Clabe Interbancaria": "002180697144444854","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"0e53e926ce424db5b9284a75915d24fe","name":"Don Miguel Ángel Guerrero González","phoneNumber":"5214181148554","avatarUrl":null,"createdAt":"2024-01-26T17:29:28Z","closedAt":"2025-03-18T17:21:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https://dash.callbell.eu/chat/f017e454a6b94ab297509274216c6795","tags":["SIIP"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clientes Relacionados":"oxxo","Antena/Sectorial":"1","Nombre":"👤 Don Miguel Ángel Guerrero González","Clabe Interbancaria":"002180697144444854","Acciones":"1","Domicilio":"📍 Calle Morelos 34, Dolores Hidalgo, 37800","Estado":"🟢 Activo ","Saldo Actual":"💲223.33 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/1","Cliente":"1","user name":"Angel","Monto Ultimo Pago":"💲 190","Fecha Ultimo Pago":"📆💸 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 27/04/2025 10:00","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\"Nombre\": \"Don Miguel Ángel Guerrero González\",\"URL\": \"https://sistema.siip.mx/crm/client/1\",\"Saldo Actual\": \"💲223.33 pendientes\",\"Monto Ultimo Pago\": \"$ 190\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"27/04/2025 10:00\",\"Clabe Interbancaria\": \"002180697144444854\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"0e53e926ce424db5b9284a75915d24fe","name":"Don Miguel Ángel Guerrero González","phoneNumber":"5214181148554","avatarUrl":null,"createdAt":"2024-01-26T17:29:28Z","closedAt":"2025-03-18T17:21:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https://dash.callbell.eu/chat/f017e454a6b94ab297509274216c6795","tags":["SIIP"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clientes Relacionados":"oxxo","Antena/Sectorial":"1","Nombre":"👤 Don Miguel Ángel Guerrero González","Clabe Interbancaria":"002180697144444854","Acciones":"1","Domicilio":"📍 Calle Morelos 34, Dolores Hidalgo, 37800","Estado":"🟢 Activo ","Saldo Actual":"💲223.33 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/1","Cliente":"1","user name":"Angel","Monto Ultimo Pago":"💲 190","Fecha Ultimo Pago":"📆💸 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 27/04/2025 10:00","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\"Nombre\": \"Don Miguel Ángel Guerrero González\",\"URL\": \"https://sistema.siip.mx/crm/client/1\",\"Saldo Actual\": \"💲223.33 pendientes\",\"Monto Ultimo Pago\": \"$ 190\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"27/04/2025 10:00\",\"Clabe Interbancaria\": \"002180697144444854\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-27 16:00:11.023526] [notice] Logging level set to:debug -[2025-04-27 16:00:11.023586] [debug] valor del webhook: {"uuid":"7d2a6129-4eb4-4902-baf4-d994e27fa441","changeType":"draft_approved","entity":"invoice","entityId":"1839","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1839,"clientId":1,"number":"001789","createdDate":"2025-04-27T10:00:01-0600","dueDate":"2025-05-11T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-26T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1842,"type":"service","label":"plan300 27\/03\/2025 \u2013 26\/04\/2025","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":76.67,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":223.33,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":727,"invoiceId":1839,"paymentId":608,"creditNoteId":null,"refundId":null,"amount":76.67}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-27 16:00:11.147752] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-27 16:00:11.147805] [debug] Valor de JSON: {"uuid":"7d2a6129-4eb4-4902-baf4-d994e27fa441","changeType":"draft_approved","entity":"invoice","entityId":"1839","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1839,"clientId":1,"number":"001789","createdDate":"2025-04-27T10:00:01-0600","dueDate":"2025-05-11T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-26T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1842,"type":"service","label":"plan300 27\/03\/2025 \u2013 26\/04\/2025","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":76.67,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":223.33,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":727,"invoiceId":1839,"paymentId":608,"creditNoteId":null,"refundId":null,"amount":76.67}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-27 16:00:11.147911] [debug] Aprobación de Factura - -[2025-04-27 16:00:11.147958] [debug] {"uuid":"7d2a6129-4eb4-4902-baf4-d994e27fa441","changeType":"draft_approved","entity":"invoice","entityId":1839,"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":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true}],"accountBalance":-223.33,"accountCredit":0,"accountOutstanding":223.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1839,"clientId":1,"number":"001789","createdDate":"2025-04-27T10:00:01-0600","dueDate":"2025-05-11T10:00:01-0600","emailSentDate":"2025-04-27T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1842,"type":"service","label":"plan300 27\/03\/2025 \u2013 26\/04\/2025","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":76.67,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":223.33,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":727,"invoiceId":1839,"paymentId":608,"creditNoteId":null,"refundId":null,"amount":76.67}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-27 16:00:11.147989] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-27 16:00:11.147998] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"7d2a6129-4eb4-4902-baf4-d994e27fa441","changeType":"draft_approved","entity":"invoice","entityId":1839,"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":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true}],"accountBalance":-223.33,"accountCredit":0,"accountOutstanding":223.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1839,"clientId":1,"number":"001789","createdDate":"2025-04-27T10:00:01-0600","dueDate":"2025-05-11T10:00:01-0600","emailSentDate":"2025-04-27T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1842,"type":"service","label":"plan300 27\/03\/2025 \u2013 26\/04\/2025","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":76.67,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":223.33,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":727,"invoiceId":1839,"paymentId":608,"creditNoteId":null,"refundId":null,"amount":76.67}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":608,"clientId":1,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T23:51:02-0600","amount":190,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":726,"invoiceId":1837,"paymentId":608,"creditNoteId":null,"refundId":null,"amount":113.33},{"id":727,"invoiceId":1839,"paymentId":608,"creditNoteId":null,"refundId":null,"amount":76.67}],"creditAmount":0,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Don Miguel Ángel Guerrero González - -UUID: 0e53e926ce424db5b9284a75915d24fe - -JSON con los datos a actualizar: {"name":"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","custom_fields":{"Cliente":1,"Domicilio":"\ud83d\udccd Calle Morelos 34, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/1","Saldo Actual":"\ud83d\udcb2223.33 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 190","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\"Nombre\": \"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/1\",\"Saldo Actual\": \"\ud83d\udcb2223.33 pendientes\",\"Monto Ultimo Pago\": \"$ 190\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 07\/03\/2025 23:51 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"27\/04\/2025 10:00\",\"Clabe Interbancaria\": \"002180697144444854\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/03\/2025 23:51 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 27\/04\/2025 10:00","Clabe Interbancaria":"002180697144444854","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "1","Domicilio": ""Nombre": "Don Miguel Ángel Guerrero González","URL": "https://sistema.siip.mx/crm/client/1","Saldo Actual": "💲223.33 pendientes","Monto Ultimo Pago": "$ 190","Estado": "Activo","Fecha Ultimo Pago": " 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "27/04/2025 10:00","Clabe Interbancaria": "002180697144444854","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"0e53e926ce424db5b9284a75915d24fe","name":"Don Miguel Ángel Guerrero González","phoneNumber":"5214181148554","avatarUrl":null,"createdAt":"2024-01-26T17:29:28Z","closedAt":"2025-03-18T17:21:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https://dash.callbell.eu/chat/f017e454a6b94ab297509274216c6795","tags":["SIIP"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clientes Relacionados":"oxxo","Antena/Sectorial":"1","Nombre":"👤 Don Miguel Ángel Guerrero González","Clabe Interbancaria":"002180697144444854","Acciones":"1","Domicilio":"📍 Calle Morelos 34, Dolores Hidalgo, 37800","Estado":"🟢 Activo ","Saldo Actual":"💲223.33 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/1","Cliente":"1","user name":"Angel","Monto Ultimo Pago":"💲 190","Fecha Ultimo Pago":"📆💸 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 27/04/2025 10:00","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\"Nombre\": \"Don Miguel Ángel Guerrero González\",\"URL\": \"https://sistema.siip.mx/crm/client/1\",\"Saldo Actual\": \"💲223.33 pendientes\",\"Monto Ultimo Pago\": \"$ 190\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"27/04/2025 10:00\",\"Clabe Interbancaria\": \"002180697144444854\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"0e53e926ce424db5b9284a75915d24fe","name":"Don Miguel Ángel Guerrero González","phoneNumber":"5214181148554","avatarUrl":null,"createdAt":"2024-01-26T17:29:28Z","closedAt":"2025-03-18T17:21:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https://dash.callbell.eu/chat/f017e454a6b94ab297509274216c6795","tags":["SIIP"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clientes Relacionados":"oxxo","Antena/Sectorial":"1","Nombre":"👤 Don Miguel Ángel Guerrero González","Clabe Interbancaria":"002180697144444854","Acciones":"1","Domicilio":"📍 Calle Morelos 34, Dolores Hidalgo, 37800","Estado":"🟢 Activo ","Saldo Actual":"💲223.33 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/1","Cliente":"1","user name":"Angel","Monto Ultimo Pago":"💲 190","Fecha Ultimo Pago":"📆💸 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion":"📆🔄️ 27/04/2025 10:00","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\"Nombre\": \"Don Miguel Ángel Guerrero González\",\"URL\": \"https://sistema.siip.mx/crm/client/1\",\"Saldo Actual\": \"💲223.33 pendientes\",\"Monto Ultimo Pago\": \"$ 190\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"27/04/2025 10:00\",\"Clabe Interbancaria\": \"002180697144444854\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-27 16:00:13.480765] [notice] Logging level set to:debug -[2025-04-27 16:00:13.480835] [debug] valor del webhook: {"uuid":"58350a83-d2ac-4c48-b5de-ca87a8c7e613","changeType":"insert","entity":"invoice","entityId":"1840","eventName":"invoice.add_draft","extraData":{"entity":{"id":1840,"clientId":3,"number":"001790","createdDate":"2025-04-27T10:00:01-0600","dueDate":"2025-05-11T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-26T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1843,"type":"service","label":"plan300 27\/03\/2025 \u2013 26\/04\/2025","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},"entityBeforeEdit":null}} - -[2025-04-27 16:00:13.601337] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-27 16:00:13.601392] [debug] Valor de JSON: {"uuid":"58350a83-d2ac-4c48-b5de-ca87a8c7e613","changeType":"insert","entity":"invoice","entityId":"1840","eventName":"invoice.add_draft","extraData":{"entity":{"id":1840,"clientId":3,"number":"001790","createdDate":"2025-04-27T10:00:01-0600","dueDate":"2025-05-11T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-26T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1843,"type":"service","label":"plan300 27\/03\/2025 \u2013 26\/04\/2025","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},"entityBeforeEdit":null}} - -[2025-04-27 16:00:13.601506] [debug] Adición de borrador de Factura - -[2025-04-27 16:00:13.601552] [debug] {"uuid":"58350a83-d2ac-4c48-b5de-ca87a8c7e613","changeType":"insert","entity":"invoice","entityId":1840,"message":null,"clientId":3,"eventName":"invoice.add_draft","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}],"accountBalance":-1500,"accountCredit":0,"accountOutstanding":1500,"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":1840,"clientId":3,"number":"001790","createdDate":"2025-04-27T10:00:01-0600","dueDate":"2025-05-11T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1843,"type":"service","label":"plan300 27\/03\/2025 \u2013 26\/04\/2025","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},"paymentData":null} - -[2025-04-27 16:00:13.715580] [notice] Logging level set to:debug -[2025-04-27 16:00:13.715684] [debug] valor del webhook: {"uuid":"bfea72b2-0e7b-4da3-910c-5a566fef02cd","changeType":"draft_approved","entity":"invoice","entityId":"1840","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1840,"clientId":3,"number":"001790","createdDate":"2025-04-27T10:00:01-0600","dueDate":"2025-05-11T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-26T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1843,"type":"service","label":"plan300 27\/03\/2025 \u2013 26\/04\/2025","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},"entityBeforeEdit":null}} - -[2025-04-27 16:00:13.853451] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-27 16:00:13.853506] [debug] Valor de JSON: {"uuid":"bfea72b2-0e7b-4da3-910c-5a566fef02cd","changeType":"draft_approved","entity":"invoice","entityId":"1840","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1840,"clientId":3,"number":"001790","createdDate":"2025-04-27T10:00:01-0600","dueDate":"2025-05-11T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-26T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1843,"type":"service","label":"plan300 27\/03\/2025 \u2013 26\/04\/2025","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},"entityBeforeEdit":null}} - -[2025-04-27 16:00:13.853602] [debug] Aprobación de Factura - -[2025-04-27 16:00:13.853646] [debug] {"uuid":"bfea72b2-0e7b-4da3-910c-5a566fef02cd","changeType":"draft_approved","entity":"invoice","entityId":1840,"message":null,"clientId":3,"eventName":"invoice.draft_approved","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}],"accountBalance":-1500,"accountCredit":0,"accountOutstanding":1500,"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":1840,"clientId":3,"number":"001790","createdDate":"2025-04-27T10:00:01-0600","dueDate":"2025-05-11T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1843,"type":"service","label":"plan300 27\/03\/2025 \u2013 26\/04\/2025","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},"paymentData":null} - -[2025-04-28 16:30:41.672457] [notice] Logging level set to:debug -[2025-04-28 16:30:41.672665] [debug] valor del webhook: filename=Contratos+de+Clientes_822 - -[2025-04-28 16:30:41.672734] [info] No UUID found in the webhook data -[2025-04-28 16:30:54.297925] [notice] Logging level set to:debug -[2025-04-28 16:30:54.298074] [debug] valor del webhook: filename=Contratos+de+Clientes_827 - -[2025-04-28 16:30:54.298125] [info] No UUID found in the webhook data -[2025-04-28 16:31:23.182861] [notice] Logging level set to:debug -[2025-04-28 16:31:23.183248] [debug] valor del webhook: filename=Contratos+de+Clientes_819 - -[2025-04-28 16:31:23.183352] [info] No UUID found in the webhook data -[2025-04-28 16:34:41.753736] [notice] Logging level set to:debug -[2025-04-28 16:34:41.753861] [debug] valor del webhook: filename=Contratos+de+Clientes_854 - -[2025-04-28 16:34:41.753901] [info] No UUID found in the webhook data -[2025-04-28 16:36:35.624243] [notice] Logging level set to:debug -[2025-04-28 16:36:35.624377] [debug] valor del webhook: filename=Contratos+de+Clientes_764 - -[2025-04-28 16:36:35.624406] [info] No UUID found in the webhook data -[2025-04-28 16:38:50.038660] [notice] Logging level set to:debug -[2025-04-28 16:38:50.038817] [debug] valor del webhook: filename=Contratos+de+Clientes_904 - -[2025-04-28 16:38:50.038861] [info] No UUID found in the webhook data -[2025-04-28 16:40:35.194456] [notice] Logging level set to:debug -[2025-04-28 16:40:35.194883] [debug] valor del webhook: filename=Contratos+de+Clientes_914 - -[2025-04-28 16:40:35.195015] [info] No UUID found in the webhook data -[2025-04-28 16:41:16.289582] [notice] Logging level set to:debug -[2025-04-28 16:41:16.289783] [debug] valor del webhook: filename=Contratos+de+Clientes_912 - -[2025-04-28 16:41:16.289848] [info] No UUID found in the webhook data -[2025-04-28 16:45:18.251509] [notice] Logging level set to:debug -[2025-04-28 16:45:18.251818] [debug] valor del webhook: filename=Contratos+de+Clientes_911 - -[2025-04-28 16:45:18.251903] [info] No UUID found in the webhook data -[2025-04-28 16:45:25.214683] [notice] Logging level set to:debug -[2025-04-28 16:45:25.215101] [debug] valor del webhook: filename=Contratos+de+Clientes_911 - -[2025-04-28 16:45:25.215245] [info] No UUID found in the webhook data -[2025-04-28 16:45:48.554172] [notice] Logging level set to:debug -[2025-04-28 16:45:48.554312] [debug] valor del webhook: filename=Contratos+de+Clientes_909 - -[2025-04-28 16:45:48.554351] [info] No UUID found in the webhook data -[2025-04-28 16:46:36.643416] [notice] Logging level set to:debug -[2025-04-28 16:46:36.643524] [debug] valor del webhook: filename=Contratos+de+Clientes_85 - -[2025-04-28 16:46:36.643551] [info] No UUID found in the webhook data -[2025-04-28 16:49:15.512757] [notice] Logging level set to:debug -[2025-04-28 16:49:15.512854] [debug] valor del webhook: filename=Contratos+de+Clientes_910 - -[2025-04-28 16:49:15.512876] [info] No UUID found in the webhook data -[2025-04-28 16:49:45.068144] [notice] Logging level set to:debug -[2025-04-28 16:49:45.068562] [debug] valor del webhook: filename=Contratos+de+Clientes_910 - -[2025-04-28 16:49:45.068628] [info] No UUID found in the webhook data -[2025-04-28 16:50:13.066385] [notice] Logging level set to:debug -[2025-04-28 16:50:13.066760] [debug] valor del webhook: filename=Contratos+de+Clientes_910 - -[2025-04-28 16:50:13.066874] [info] No UUID found in the webhook data -[2025-04-28 16:52:04.805068] [notice] Logging level set to:debug -[2025-04-28 16:52:04.805351] [debug] valor del webhook: filename=Contratos+de+Clientes_894 - -[2025-04-28 16:52:04.805449] [info] No UUID found in the webhook data -[2025-04-28 16:52:34.402024] [notice] Logging level set to:debug -[2025-04-28 16:52:34.402206] [debug] valor del webhook: filename=Contratos+de+Clientes_833 - -[2025-04-28 16:52:34.402262] [info] No UUID found in the webhook data -[2025-04-28 16:52:40.909035] [notice] Logging level set to:debug -[2025-04-28 16:52:40.909128] [debug] valor del webhook: filename=Contratos+de+Clientes_835 - -[2025-04-28 16:52:40.909149] [info] No UUID found in the webhook data -[2025-04-28 16:53:32.298727] [notice] Logging level set to:debug -[2025-04-28 16:53:32.298887] [debug] valor del webhook: filename=Contratos+de+Clientes_896 - -[2025-04-28 16:53:32.298934] [info] No UUID found in the webhook data -[2025-04-28 16:55:16.329252] [notice] Logging level set to:debug -[2025-04-28 16:55:16.329694] [debug] valor del webhook: filename=Contratos+de+Clientes_848 - -[2025-04-28 16:55:16.329830] [info] No UUID found in the webhook data -[2025-04-28 16:58:15.383702] [notice] Logging level set to:debug -[2025-04-28 16:58:15.384072] [debug] valor del webhook: filename=Contratos+de+Clientes_903 - -[2025-04-28 16:58:15.384210] [info] No UUID found in the webhook data -[2025-04-28 16:58:22.027080] [notice] Logging level set to:debug -[2025-04-28 16:58:22.027436] [debug] valor del webhook: filename=Contratos+de+Clientes_896 - -[2025-04-28 16:58:22.027584] [info] No UUID found in the webhook data -[2025-04-28 16:58:34.624936] [notice] Logging level set to:debug -[2025-04-28 16:58:34.625211] [debug] valor del webhook: filename=Contratos+de+Clientes_838 - -[2025-04-28 16:58:34.625315] [info] No UUID found in the webhook data -[2025-04-28 16:58:47.367574] [notice] Logging level set to:debug -[2025-04-28 16:58:47.367953] [debug] valor del webhook: filename=Contratos+de+Clientes_848 - -[2025-04-28 16:58:47.368113] [info] No UUID found in the webhook data -[2025-04-28 16:59:14.731501] [notice] Logging level set to:debug -[2025-04-28 16:59:14.731693] [debug] valor del webhook: filename=Contratos+de+Clientes_906 - -[2025-04-28 16:59:14.731754] [info] No UUID found in the webhook data -[2025-04-28 16:59:41.094242] [notice] Logging level set to:debug -[2025-04-28 16:59:41.094438] [debug] valor del webhook: filename=Contratos+de+Clientes_869 - -[2025-04-28 16:59:41.094497] [info] No UUID found in the webhook data -[2025-04-28 16:59:47.616492] [notice] Logging level set to:debug -[2025-04-28 16:59:47.616633] [debug] valor del webhook: filename=Contratos+de+Clientes_906 - -[2025-04-28 16:59:47.616674] [info] No UUID found in the webhook data -[2025-04-28 16:59:54.269645] [notice] Logging level set to:debug -[2025-04-28 16:59:54.269793] [debug] valor del webhook: filename=Contratos+de+Clientes_877 - -[2025-04-28 16:59:54.269833] [info] No UUID found in the webhook data -[2025-04-28 17:00:28.323340] [notice] Logging level set to:debug -[2025-04-28 17:00:28.323808] [debug] valor del webhook: filename=Contratos+de+Clientes_902 - -[2025-04-28 17:00:28.323945] [info] No UUID found in the webhook data -[2025-04-28 17:00:39.998836] [notice] Logging level set to:debug -[2025-04-28 17:00:39.999310] [debug] valor del webhook: filename=Contratos+de+Clientes_855 - -[2025-04-28 17:00:39.999450] [info] No UUID found in the webhook data -[2025-04-28 17:01:12.355544] [notice] Logging level set to:debug -[2025-04-28 17:01:12.355660] [debug] valor del webhook: filename=Contratos+de+Clientes_892 - -[2025-04-28 17:01:12.355693] [info] No UUID found in the webhook data -[2025-04-28 17:01:34.265541] [notice] Logging level set to:debug -[2025-04-28 17:01:34.265670] [debug] valor del webhook: filename=Contratos+de+Clientes_863 - -[2025-04-28 17:01:34.265706] [info] No UUID found in the webhook data -[2025-04-28 17:08:32.488496] [notice] Logging level set to:debug -[2025-04-28 17:08:32.488794] [debug] valor del webhook: filename=Contratos+de+Clientes_587 - -[2025-04-28 17:08:32.488912] [info] No UUID found in the webhook data -[2025-04-28 18:35:14.042660] [notice] Logging level set to:debug -[2025-04-28 18:35:14.042754] [debug] valor del webhook: filename=Contratos+de+Clientes_314 - -[2025-04-28 18:35:14.042777] [info] No UUID found in the webhook data -[2025-04-28 18:35:22.796566] [notice] Logging level set to:debug -[2025-04-28 18:35:22.797136] [debug] valor del webhook: filename=Contratos+de+Clientes_223 - -[2025-04-28 18:35:22.797322] [info] No UUID found in the webhook data -[2025-04-28 18:35:34.185434] [notice] Logging level set to:debug -[2025-04-28 18:35:34.185596] [debug] valor del webhook: filename=Contratos+de+Clientes_217 - -[2025-04-28 18:35:34.185638] [info] No UUID found in the webhook data -[2025-04-28 18:36:23.455883] [notice] Logging level set to:debug -[2025-04-28 18:36:23.456063] [debug] valor del webhook: filename=Contratos+de+Clientes_313 - -[2025-04-28 18:36:23.456118] [info] No UUID found in the webhook data -[2025-04-28 22:27:51.305484] [notice] Logging level set to:debug -[2025-04-28 22:27:51.305749] [debug] valor del webhook: filename=Contratos+de+Clientes_376 - -[2025-04-28 22:27:51.305804] [info] No UUID found in the webhook data -[2025-04-28 22:29:16.210676] [notice] Logging level set to:debug -[2025-04-28 22:29:16.210895] [debug] valor del webhook: filename=Contratos+de+Clientes_109 - -[2025-04-28 22:29:16.210968] [info] No UUID found in the webhook data -[2025-04-28 22:29:50.076668] [notice] Logging level set to:debug -[2025-04-28 22:29:50.076858] [debug] valor del webhook: filename=Contratos+de+Clientes_278 - -[2025-04-28 22:29:50.076917] [info] No UUID found in the webhook data -[2025-04-28 22:30:40.281940] [notice] Logging level set to:debug -[2025-04-28 22:30:40.282115] [debug] valor del webhook: filename=Contratos+de+Clientes_908 - -[2025-04-28 22:30:40.282161] [info] No UUID found in the webhook data -[2025-04-28 22:31:14.275912] [notice] Logging level set to:debug -[2025-04-28 22:31:14.276173] [debug] valor del webhook: filename=Contratos+de+Clientes_396 - -[2025-04-28 22:31:14.276308] [info] No UUID found in the webhook data -[2025-04-28 22:31:40.703409] [notice] Logging level set to:debug -[2025-04-28 22:31:40.703610] [debug] valor del webhook: filename=Contratos+de+Clientes_169 - -[2025-04-28 22:31:40.703668] [info] No UUID found in the webhook data -[2025-04-28 22:32:06.972121] [notice] Logging level set to:debug -[2025-04-28 22:32:06.972353] [debug] valor del webhook: filename=Contratos+de+Clientes_51 - -[2025-04-28 22:32:06.972418] [info] No UUID found in the webhook data -[2025-04-28 22:32:32.944046] [notice] Logging level set to:debug -[2025-04-28 22:32:32.944161] [debug] valor del webhook: filename=Contratos+de+Clientes_371 - -[2025-04-28 22:32:32.944192] [info] No UUID found in the webhook data -[2025-04-28 22:33:29.547732] [notice] Logging level set to:debug -[2025-04-28 22:33:29.548099] [debug] valor del webhook: filename=Contratos+de+Clientes_239 - -[2025-04-28 22:33:29.548212] [info] No UUID found in the webhook data -[2025-04-28 22:34:25.234417] [notice] Logging level set to:debug -[2025-04-28 22:34:25.234539] [debug] valor del webhook: filename=Contratos+de+Clientes_432 - -[2025-04-28 22:34:25.234570] [info] No UUID found in the webhook data -[2025-04-28 22:34:55.569209] [notice] Logging level set to:debug -[2025-04-28 22:34:55.569341] [debug] valor del webhook: filename=Contratos+de+Clientes_433 - -[2025-04-28 22:34:55.569380] [info] No UUID found in the webhook data -[2025-04-28 22:35:31.215631] [notice] Logging level set to:debug -[2025-04-28 22:35:31.216065] [debug] valor del webhook: filename=Contratos+de+Clientes_434 - -[2025-04-28 22:35:31.216181] [info] No UUID found in the webhook data -[2025-04-28 22:36:32.308564] [notice] Logging level set to:debug -[2025-04-28 22:36:32.308924] [debug] valor del webhook: filename=Contratos+de+Clientes_435 - -[2025-04-28 22:36:32.309020] [info] No UUID found in the webhook data -[2025-04-28 22:37:04.470643] [notice] Logging level set to:debug -[2025-04-28 22:37:04.470849] [debug] valor del webhook: filename=Contratos+de+Clientes_417 - -[2025-04-28 22:37:04.470913] [info] No UUID found in the webhook data -[2025-04-28 22:37:34.537722] [notice] Logging level set to:debug -[2025-04-28 22:37:34.537861] [debug] valor del webhook: filename=Contratos+de+Clientes_418 - -[2025-04-28 22:37:34.537894] [info] No UUID found in the webhook data -[2025-04-28 22:38:03.248795] [notice] Logging level set to:debug -[2025-04-28 22:38:03.249059] [debug] valor del webhook: filename=Contratos+de+Clientes_421 - -[2025-04-28 22:38:03.249174] [info] No UUID found in the webhook data -[2025-04-28 22:38:32.177231] [notice] Logging level set to:debug -[2025-04-28 22:38:32.177366] [debug] valor del webhook: filename=Contratos+de+Clientes_427 - -[2025-04-28 22:38:32.177405] [info] No UUID found in the webhook data -[2025-04-28 22:38:54.220673] [notice] Logging level set to:debug -[2025-04-28 22:38:54.220813] [debug] valor del webhook: filename=Contratos+de+Clientes_431 - -[2025-04-28 22:38:54.220853] [info] No UUID found in the webhook data -[2025-04-28 22:39:26.506081] [notice] Logging level set to:debug -[2025-04-28 22:39:26.506661] [debug] valor del webhook: filename=Contratos+de+Clientes_436 - -[2025-04-28 22:39:26.506845] [info] No UUID found in the webhook data -[2025-04-28 22:39:48.133563] [notice] Logging level set to:debug -[2025-04-28 22:39:48.133950] [debug] valor del webhook: filename=Contratos+de+Clientes_440 - -[2025-04-28 22:39:48.134042] [info] No UUID found in the webhook data -[2025-04-28 22:40:15.156681] [notice] Logging level set to:debug -[2025-04-28 22:40:15.157058] [debug] valor del webhook: filename=Contratos+de+Clientes_439 - -[2025-04-28 22:40:15.157152] [info] No UUID found in the webhook data -[2025-04-28 22:40:36.376873] [notice] Logging level set to:debug -[2025-04-28 22:40:36.377507] [debug] valor del webhook: filename=Contratos+de+Clientes_438 - -[2025-04-28 22:40:36.377700] [info] No UUID found in the webhook data -[2025-04-28 22:41:19.917509] [notice] Logging level set to:debug -[2025-04-28 22:41:19.917849] [debug] valor del webhook: filename=Contratos+de+Clientes_385 - -[2025-04-28 22:41:19.918008] [info] No UUID found in the webhook data -[2025-04-28 22:41:39.907254] [notice] Logging level set to:debug -[2025-04-28 22:41:39.907507] [debug] valor del webhook: filename=Contratos+de+Clientes_386 - -[2025-04-28 22:41:39.907610] [info] No UUID found in the webhook data -[2025-04-28 22:42:08.621989] [notice] Logging level set to:debug -[2025-04-28 22:42:08.622333] [debug] valor del webhook: filename=Contratos+de+Clientes_237 - -[2025-04-28 22:42:08.622489] [info] No UUID found in the webhook data -[2025-04-28 22:42:53.411962] [notice] Logging level set to:debug -[2025-04-28 22:42:53.412223] [debug] valor del webhook: filename=Contratos+de+Clientes_397 - -[2025-04-28 22:42:53.412339] [info] No UUID found in the webhook data -[2025-04-28 23:29:59.603458] [notice] Logging level set to:debug -[2025-04-28 23:29:59.603857] [debug] valor del webhook: filename=Contratos+de+Clientes_200 - -[2025-04-28 23:29:59.604016] [info] No UUID found in the webhook data -[2025-04-29 15:45:01.791816] [notice] Logging level set to:debug -[2025-04-29 15:45:01.791923] [debug] valor del webhook: filename=Contratos+de+Clientes_398 - -[2025-04-29 15:45:01.791950] [info] No UUID found in the webhook data -[2025-04-29 15:45:32.623392] [notice] Logging level set to:debug -[2025-04-29 15:45:32.623559] [debug] valor del webhook: filename=Contratos+de+Clientes_399 - -[2025-04-29 15:45:32.623614] [info] No UUID found in the webhook data -[2025-04-29 15:45:55.157021] [notice] Logging level set to:debug -[2025-04-29 15:45:55.157167] [debug] valor del webhook: filename=Contratos+de+Clientes_401 - -[2025-04-29 15:45:55.157212] [info] No UUID found in the webhook data -[2025-04-29 15:46:15.136075] [notice] Logging level set to:debug -[2025-04-29 15:46:15.136178] [debug] valor del webhook: filename=Contratos+de+Clientes_36 - -[2025-04-29 15:46:15.136204] [info] No UUID found in the webhook data -[2025-04-29 15:46:37.199651] [notice] Logging level set to:debug -[2025-04-29 15:46:37.199832] [debug] valor del webhook: filename=Contratos+de+Clientes_40 - -[2025-04-29 15:46:37.199891] [info] No UUID found in the webhook data -[2025-04-29 15:47:18.710835] [notice] Logging level set to:debug -[2025-04-29 15:47:18.710941] [debug] valor del webhook: filename=Contratos+de+Clientes_404 - -[2025-04-29 15:47:18.710969] [info] No UUID found in the webhook data -[2025-04-29 15:47:57.461858] [notice] Logging level set to:debug -[2025-04-29 15:47:57.461977] [debug] valor del webhook: filename=Contratos+de+Clientes_410 - -[2025-04-29 15:47:57.462011] [info] No UUID found in the webhook data -[2025-04-29 15:48:40.744368] [notice] Logging level set to:debug -[2025-04-29 15:48:40.744486] [debug] valor del webhook: filename=Contratos+de+Clientes_408 - -[2025-04-29 15:48:40.744518] [info] No UUID found in the webhook data -[2025-04-29 15:48:59.106681] [notice] Logging level set to:debug -[2025-04-29 15:48:59.106789] [debug] valor del webhook: filename=Contratos+de+Clientes_411 - -[2025-04-29 15:48:59.106820] [info] No UUID found in the webhook data -[2025-04-29 15:49:19.681320] [notice] Logging level set to:debug -[2025-04-29 15:49:19.681426] [debug] valor del webhook: filename=Contratos+de+Clientes_415 - -[2025-04-29 15:49:19.681453] [info] No UUID found in the webhook data -[2025-04-29 15:49:57.233144] [notice] Logging level set to:debug -[2025-04-29 15:49:57.233278] [debug] valor del webhook: filename=Contratos+de+Clientes_414 - -[2025-04-29 15:49:57.233319] [info] No UUID found in the webhook data -[2025-04-29 15:50:19.947900] [notice] Logging level set to:debug -[2025-04-29 15:50:19.948035] [debug] valor del webhook: filename=Contratos+de+Clientes_416 - -[2025-04-29 15:50:19.948076] [info] No UUID found in the webhook data -[2025-04-29 15:50:41.399326] [notice] Logging level set to:debug -[2025-04-29 15:50:41.399414] [debug] valor del webhook: filename=Contratos+de+Clientes_419 - -[2025-04-29 15:50:41.399441] [info] No UUID found in the webhook data -[2025-04-29 15:51:36.256958] [notice] Logging level set to:debug -[2025-04-29 15:51:36.257093] [debug] valor del webhook: filename=Contratos+de+Clientes_38 - -[2025-04-29 15:51:36.257133] [info] No UUID found in the webhook data -[2025-04-29 15:51:46.180821] [notice] Logging level set to:debug -[2025-04-29 15:51:46.180938] [debug] valor del webhook: filename=Contratos+de+Clientes_37 - -[2025-04-29 15:51:46.180974] [info] No UUID found in the webhook data -[2025-04-29 15:52:03.131822] [notice] Logging level set to:debug -[2025-04-29 15:52:03.131984] [debug] valor del webhook: filename=Contratos+de+Clientes_424 - -[2025-04-29 15:52:03.132036] [info] No UUID found in the webhook data -[2025-04-29 15:52:24.801727] [notice] Logging level set to:debug -[2025-04-29 15:52:24.801843] [debug] valor del webhook: filename=Contratos+de+Clientes_423 - -[2025-04-29 15:52:24.801877] [info] No UUID found in the webhook data -[2025-04-29 15:52:44.561233] [notice] Logging level set to:debug -[2025-04-29 15:52:44.561328] [debug] valor del webhook: filename=Contratos+de+Clientes_422 - -[2025-04-29 15:52:44.561352] [info] No UUID found in the webhook data -[2025-04-29 15:53:06.192151] [notice] Logging level set to:debug -[2025-04-29 15:53:06.192342] [debug] valor del webhook: filename=Contratos+de+Clientes_429 - -[2025-04-29 15:53:06.192397] [info] No UUID found in the webhook data -[2025-04-29 15:53:34.679965] [notice] Logging level set to:debug -[2025-04-29 15:53:34.680083] [debug] valor del webhook: filename=Contratos+de+Clientes_428 - -[2025-04-29 15:53:34.680115] [info] No UUID found in the webhook data -[2025-04-29 15:54:08.938136] [notice] Logging level set to:debug -[2025-04-29 15:54:08.938242] [debug] valor del webhook: filename=Contratos+de+Clientes_17 - -[2025-04-29 15:54:08.938272] [info] No UUID found in the webhook data -[2025-04-29 15:54:20.369009] [notice] Logging level set to:debug -[2025-04-29 15:54:20.369147] [debug] valor del webhook: filename=Contratos+de+Clientes_16 - -[2025-04-29 15:54:20.369185] [info] No UUID found in the webhook data -[2025-04-29 15:54:31.825815] [notice] Logging level set to:debug -[2025-04-29 15:54:31.825922] [debug] valor del webhook: filename=Contratos+de+Clientes_20 - -[2025-04-29 15:54:31.825951] [info] No UUID found in the webhook data -[2025-04-29 15:54:40.541464] [notice] Logging level set to:debug -[2025-04-29 15:54:40.541577] [debug] valor del webhook: filename=Contratos+de+Clientes_24 - -[2025-04-29 15:54:40.541610] [info] No UUID found in the webhook data -[2025-04-29 15:54:50.567713] [notice] Logging level set to:debug -[2025-04-29 15:54:50.567831] [debug] valor del webhook: filename=Contratos+de+Clientes_21 - -[2025-04-29 15:54:50.567867] [info] No UUID found in the webhook data -[2025-04-29 15:55:27.355756] [notice] Logging level set to:debug -[2025-04-29 15:55:27.355935] [debug] valor del webhook: filename=Contratos+de+Clientes_29 - -[2025-04-29 15:55:27.355987] [info] No UUID found in the webhook data -[2025-04-29 15:55:47.933103] [notice] Logging level set to:debug -[2025-04-29 15:55:47.933259] [debug] valor del webhook: filename=Contratos+de+Clientes_28 - -[2025-04-29 15:55:47.933301] [info] No UUID found in the webhook data -[2025-04-29 15:56:00.394514] [notice] Logging level set to:debug -[2025-04-29 15:56:00.394676] [debug] valor del webhook: filename=Contratos+de+Clientes_27 - -[2025-04-29 15:56:00.394727] [info] No UUID found in the webhook data -[2025-04-29 15:56:12.521375] [notice] Logging level set to:debug -[2025-04-29 15:56:12.521470] [debug] valor del webhook: filename=Contratos+de+Clientes_30 - -[2025-04-29 15:56:12.521493] [info] No UUID found in the webhook data -[2025-04-29 15:56:22.756184] [notice] Logging level set to:debug -[2025-04-29 15:56:22.756341] [debug] valor del webhook: filename=Contratos+de+Clientes_34 - -[2025-04-29 15:56:22.756383] [info] No UUID found in the webhook data -[2025-04-29 15:56:33.767376] [notice] Logging level set to:debug -[2025-04-29 15:56:33.767491] [debug] valor del webhook: filename=Contratos+de+Clientes_33 - -[2025-04-29 15:56:33.767525] [info] No UUID found in the webhook data -[2025-04-29 15:56:45.030988] [notice] Logging level set to:debug -[2025-04-29 15:56:45.031069] [debug] valor del webhook: filename=Contratos+de+Clientes_32 - -[2025-04-29 15:56:45.031089] [info] No UUID found in the webhook data -[2025-04-29 15:56:57.488027] [notice] Logging level set to:debug -[2025-04-29 15:56:57.488152] [debug] valor del webhook: filename=Contratos+de+Clientes_31 - -[2025-04-29 15:56:57.488188] [info] No UUID found in the webhook data -[2025-04-29 15:57:07.425621] [notice] Logging level set to:debug -[2025-04-29 15:57:07.425681] [debug] valor del webhook: filename=Contratos+de+Clientes_35 - -[2025-04-29 15:57:07.425693] [info] No UUID found in the webhook data -[2025-04-29 15:57:19.538507] [notice] Logging level set to:debug -[2025-04-29 15:57:19.538614] [debug] valor del webhook: filename=Contratos+de+Clientes_39 - -[2025-04-29 15:57:19.538640] [info] No UUID found in the webhook data -[2025-04-29 15:58:07.483505] [notice] Logging level set to:debug -[2025-04-29 15:58:07.483634] [debug] valor del webhook: filename=Contratos+de+Clientes_905 - -[2025-04-29 15:58:07.483671] [info] No UUID found in the webhook data -[2025-04-29 15:59:08.777266] [notice] Logging level set to:debug -[2025-04-29 15:59:08.777395] [debug] valor del webhook: filename=Contratos+de+Clientes_907 - -[2025-04-29 15:59:08.777436] [info] No UUID found in the webhook data -[2025-04-29 15:59:55.463681] [notice] Logging level set to:debug -[2025-04-29 15:59:55.464839] [debug] valor del webhook: filename=Contratos+de+Clientes_913 - -[2025-04-29 15:59:55.464886] [info] No UUID found in the webhook data -[2025-04-29 16:27:07.743985] [notice] Logging level set to:debug -[2025-04-29 16:27:07.744100] [debug] valor del webhook: filename=Contratos+de+Clientes_445 - -[2025-04-29 16:27:07.744132] [info] No UUID found in the webhook data -[2025-04-29 16:27:33.441730] [notice] Logging level set to:debug -[2025-04-29 16:27:33.441865] [debug] valor del webhook: filename=Contratos+de+Clientes_444 - -[2025-04-29 16:27:33.441905] [info] No UUID found in the webhook data -[2025-04-29 16:27:54.457140] [notice] Logging level set to:debug -[2025-04-29 16:27:54.457241] [debug] valor del webhook: filename=Contratos+de+Clientes_442 - -[2025-04-29 16:27:54.457268] [info] No UUID found in the webhook data -[2025-04-29 16:28:21.037436] [notice] Logging level set to:debug -[2025-04-29 16:28:21.037625] [debug] valor del webhook: filename=Contratos+de+Clientes_450 - -[2025-04-29 16:28:21.037687] [info] No UUID found in the webhook data -[2025-04-29 16:28:40.997011] [notice] Logging level set to:debug -[2025-04-29 16:28:40.997127] [debug] valor del webhook: filename=Contratos+de+Clientes_449 - -[2025-04-29 16:28:40.997159] [info] No UUID found in the webhook data -[2025-04-29 16:29:07.513094] [notice] Logging level set to:debug -[2025-04-29 16:29:07.513254] [debug] valor del webhook: filename=Contratos+de+Clientes_448 - -[2025-04-29 16:29:07.513305] [info] No UUID found in the webhook data -[2025-04-29 16:29:38.417881] [notice] Logging level set to:debug -[2025-04-29 16:29:38.418020] [debug] valor del webhook: filename=Contratos+de+Clientes_452 - -[2025-04-29 16:29:38.418073] [info] No UUID found in the webhook data -[2025-04-29 16:29:57.008157] [notice] Logging level set to:debug -[2025-04-29 16:29:57.008302] [debug] valor del webhook: filename=Contratos+de+Clientes_456 - -[2025-04-29 16:29:57.008342] [info] No UUID found in the webhook data -[2025-04-29 16:30:18.621205] [notice] Logging level set to:debug -[2025-04-29 16:30:18.621324] [debug] valor del webhook: filename=Contratos+de+Clientes_453 - -[2025-04-29 16:30:18.621351] [info] No UUID found in the webhook data -[2025-04-29 16:30:38.153510] [notice] Logging level set to:debug -[2025-04-29 16:30:38.153613] [debug] valor del webhook: filename=Contratos+de+Clientes_457 - -[2025-04-29 16:30:38.153655] [info] No UUID found in the webhook data -[2025-04-29 16:30:56.025990] [notice] Logging level set to:debug -[2025-04-29 16:30:56.026097] [debug] valor del webhook: filename=Contratos+de+Clientes_461 - -[2025-04-29 16:30:56.026134] [info] No UUID found in the webhook data -[2025-04-29 16:31:20.622176] [notice] Logging level set to:debug -[2025-04-29 16:31:20.622319] [debug] valor del webhook: filename=Contratos+de+Clientes_460 - -[2025-04-29 16:31:20.622363] [info] No UUID found in the webhook data -[2025-04-29 16:31:38.444216] [notice] Logging level set to:debug -[2025-04-29 16:31:38.444360] [debug] valor del webhook: filename=Contratos+de+Clientes_458 - -[2025-04-29 16:31:38.444396] [info] No UUID found in the webhook data -[2025-04-29 16:31:57.298891] [notice] Logging level set to:debug -[2025-04-29 16:31:57.299026] [debug] valor del webhook: filename=Contratos+de+Clientes_462 - -[2025-04-29 16:31:57.299067] [info] No UUID found in the webhook data -[2025-04-29 16:32:18.817038] [notice] Logging level set to:debug -[2025-04-29 16:32:18.817186] [debug] valor del webhook: filename=Contratos+de+Clientes_464 - -[2025-04-29 16:32:18.817226] [info] No UUID found in the webhook data -[2025-04-29 16:33:01.515005] [notice] Logging level set to:debug -[2025-04-29 16:33:01.515146] [debug] valor del webhook: filename=Contratos+de+Clientes_463 - -[2025-04-29 16:33:01.515202] [info] No UUID found in the webhook data -[2025-04-29 16:33:25.597790] [notice] Logging level set to:debug -[2025-04-29 16:33:25.597928] [debug] valor del webhook: filename=Contratos+de+Clientes_467 - -[2025-04-29 16:33:25.597965] [info] No UUID found in the webhook data -[2025-04-29 16:34:21.932068] [notice] Logging level set to:debug -[2025-04-29 16:34:21.932225] [debug] valor del webhook: filename=Contratos+de+Clientes_300 - -[2025-04-29 16:34:21.932254] [info] No UUID found in the webhook data -[2025-04-29 16:34:58.376080] [notice] Logging level set to:debug -[2025-04-29 16:34:58.376188] [debug] valor del webhook: filename=Contratos+de+Clientes_247 - -[2025-04-29 16:34:58.376215] [info] No UUID found in the webhook data -[2025-04-29 16:35:13.610774] [notice] Logging level set to:debug -[2025-04-29 16:35:13.610862] [debug] valor del webhook: filename=Contratos+de+Clientes_44 - -[2025-04-29 16:35:13.610884] [info] No UUID found in the webhook data -[2025-04-29 16:35:24.063868] [notice] Logging level set to:debug -[2025-04-29 16:35:24.063936] [debug] valor del webhook: filename=Contratos+de+Clientes_43 - -[2025-04-29 16:35:24.063954] [info] No UUID found in the webhook data -[2025-04-29 16:35:32.798219] [notice] Logging level set to:debug -[2025-04-29 16:35:32.798338] [debug] valor del webhook: filename=Contratos+de+Clientes_42 - -[2025-04-29 16:35:32.798374] [info] No UUID found in the webhook data -[2025-04-29 16:35:43.462549] [notice] Logging level set to:debug -[2025-04-29 16:35:43.462704] [debug] valor del webhook: filename=Contratos+de+Clientes_41 - -[2025-04-29 16:35:43.462754] [info] No UUID found in the webhook data -[2025-04-29 16:35:52.193810] [notice] Logging level set to:debug -[2025-04-29 16:35:52.193907] [debug] valor del webhook: filename=Contratos+de+Clientes_45 - -[2025-04-29 16:35:52.193933] [info] No UUID found in the webhook data -[2025-04-29 16:36:06.524023] [notice] Logging level set to:debug -[2025-04-29 16:36:06.524115] [debug] valor del webhook: filename=Contratos+de+Clientes_19 - -[2025-04-29 16:36:06.524139] [info] No UUID found in the webhook data -[2025-04-29 16:36:47.131891] [notice] Logging level set to:debug -[2025-04-29 16:36:47.132059] [debug] valor del webhook: filename=Contratos+de+Clientes_901 - -[2025-04-29 16:36:47.132106] [info] No UUID found in the webhook data -[2025-04-29 16:37:24.366400] [notice] Logging level set to:debug -[2025-04-29 16:37:24.366616] [debug] valor del webhook: filename=Contratos+de+Clientes_900 - -[2025-04-29 16:37:24.366669] [info] No UUID found in the webhook data -[2025-04-29 16:37:56.887944] [notice] Logging level set to:debug -[2025-04-29 16:37:56.888048] [debug] valor del webhook: filename=Contratos+de+Clientes_899 - -[2025-04-29 16:37:56.888077] [info] No UUID found in the webhook data -[2025-04-29 16:38:26.274243] [notice] Logging level set to:debug -[2025-04-29 16:38:26.274355] [debug] valor del webhook: filename=Contratos+de+Clientes_898 - -[2025-04-29 16:38:26.274389] [info] No UUID found in the webhook data -[2025-04-29 16:38:52.138165] [notice] Logging level set to:debug -[2025-04-29 16:38:52.138266] [debug] valor del webhook: filename=Contratos+de+Clientes_897 - -[2025-04-29 16:38:52.138292] [info] No UUID found in the webhook data -[2025-04-29 16:39:22.304991] [notice] Logging level set to:debug -[2025-04-29 16:39:22.305151] [debug] valor del webhook: filename=Contratos+de+Clientes_895 - -[2025-04-29 16:39:22.305202] [info] No UUID found in the webhook data -[2025-04-29 20:12:29.425717] [notice] Logging level set to:debug -[2025-04-29 20:12:29.425883] [debug] valor del webhook: filename=Contratos+de+Clientes_824 - -[2025-04-29 20:12:29.425935] [info] No UUID found in the webhook data -[2025-04-29 20:12:31.467053] [notice] Logging level set to:debug -[2025-04-29 20:12:31.467592] [debug] valor del webhook: filename=Contratos+de+Clientes_834 - -[2025-04-29 20:12:31.467760] [info] No UUID found in the webhook data -[2025-04-29 20:12:33.644097] [notice] Logging level set to:debug -[2025-04-29 20:12:33.644345] [debug] valor del webhook: filename=Contratos+de+Clientes_880 - -[2025-04-29 20:12:33.644418] [info] No UUID found in the webhook data -[2025-04-29 20:12:39.290999] [notice] Logging level set to:debug -[2025-04-29 20:12:39.291367] [debug] valor del webhook: filename=Contratos+de+Clientes_872 - -[2025-04-29 20:12:39.291515] [info] No UUID found in the webhook data -[2025-04-29 20:12:44.920186] [notice] Logging level set to:debug -[2025-04-29 20:12:44.920633] [debug] valor del webhook: filename=Contratos+de+Clientes_871 - -[2025-04-29 20:12:44.920779] [info] No UUID found in the webhook data -[2025-04-29 20:12:50.677270] [notice] Logging level set to:debug -[2025-04-29 20:12:50.677649] [debug] valor del webhook: filename=Contratos+de+Clientes_818 - -[2025-04-29 20:12:50.677851] [info] No UUID found in the webhook data -[2025-04-29 20:42:57.231079] [notice] Logging level set to:debug -[2025-04-29 20:42:57.231388] [debug] valor del webhook: filename=Contratos+de+Clientes_816 - -[2025-04-29 20:42:57.231519] [info] No UUID found in the webhook data -[2025-04-29 20:43:03.967480] [notice] Logging level set to:debug -[2025-04-29 20:43:03.967617] [debug] valor del webhook: filename=Contratos+de+Clientes_851 - -[2025-04-29 20:43:03.967658] [info] No UUID found in the webhook data -[2025-04-29 20:43:07.407128] [notice] Logging level set to:debug -[2025-04-29 20:43:07.407277] [debug] valor del webhook: filename=Contratos+de+Clientes_900 - -[2025-04-29 20:43:07.407318] [info] No UUID found in the webhook data -[2025-04-29 20:43:10.814819] [notice] Logging level set to:debug -[2025-04-29 20:43:10.814955] [debug] valor del webhook: filename=Contratos+de+Clientes_849 - -[2025-04-29 20:43:10.814991] [info] No UUID found in the webhook data -[2025-04-29 20:43:14.203002] [notice] Logging level set to:debug -[2025-04-29 20:43:14.203142] [debug] valor del webhook: filename=Contratos+de+Clientes_889 - -[2025-04-29 20:43:14.203182] [info] No UUID found in the webhook data -[2025-04-29 20:43:19.589628] [notice] Logging level set to:debug -[2025-04-29 20:43:19.589766] [debug] valor del webhook: filename=Contratos+de+Clientes_895 - -[2025-04-29 20:43:19.589807] [info] No UUID found in the webhook data -[2025-04-29 20:43:21.510715] [notice] Logging level set to:debug -[2025-04-29 20:43:21.510842] [debug] valor del webhook: filename=Contratos+de+Clientes_888 - -[2025-04-29 20:43:21.510883] [info] No UUID found in the webhook data -[2025-04-29 20:43:24.589447] [notice] Logging level set to:debug -[2025-04-29 20:43:24.589607] [debug] valor del webhook: filename=Contratos+de+Clientes_845 - -[2025-04-29 20:43:24.589648] [info] No UUID found in the webhook data -[2025-04-29 20:43:26.400252] [notice] Logging level set to:debug -[2025-04-29 20:43:26.400443] [debug] valor del webhook: filename=Contratos+de+Clientes_899 - -[2025-04-29 20:43:26.400482] [info] No UUID found in the webhook data -[2025-04-29 20:43:30.225640] [notice] Logging level set to:debug -[2025-04-29 20:43:30.225784] [debug] valor del webhook: filename=Contratos+de+Clientes_858 - -[2025-04-29 20:43:30.225825] [info] No UUID found in the webhook data -[2025-04-29 20:43:32.172576] [notice] Logging level set to:debug -[2025-04-29 20:43:32.172755] [debug] valor del webhook: filename=Contratos+de+Clientes_901 - -[2025-04-29 20:43:32.172813] [info] No UUID found in the webhook data -[2025-04-29 20:43:33.924561] [notice] Logging level set to:debug -[2025-04-29 20:43:33.924695] [debug] valor del webhook: filename=Contratos+de+Clientes_857 - -[2025-04-29 20:43:33.924732] [info] No UUID found in the webhook data -[2025-04-29 20:43:35.763597] [notice] Logging level set to:debug -[2025-04-29 20:43:35.763689] [debug] valor del webhook: filename=Contratos+de+Clientes_866 - -[2025-04-29 20:43:35.763709] [info] No UUID found in the webhook data -[2025-04-29 20:43:37.574516] [notice] Logging level set to:debug -[2025-04-29 20:43:37.574656] [debug] valor del webhook: filename=Contratos+de+Clientes_852 - -[2025-04-29 20:43:37.574693] [info] No UUID found in the webhook data -[2025-04-29 20:43:39.803065] [notice] Logging level set to:debug -[2025-04-29 20:43:39.803208] [debug] valor del webhook: filename=Contratos+de+Clientes_883 - -[2025-04-29 20:43:39.803248] [info] No UUID found in the webhook data -[2025-04-29 20:43:41.836971] [notice] Logging level set to:debug -[2025-04-29 20:43:41.837105] [debug] valor del webhook: filename=Contratos+de+Clientes_817 - -[2025-04-29 20:43:41.837146] [info] No UUID found in the webhook data -[2025-04-29 20:43:46.457519] [notice] Logging level set to:debug -[2025-04-29 20:43:46.457657] [debug] valor del webhook: filename=Contratos+de+Clientes_820 - -[2025-04-29 20:43:46.457699] [info] No UUID found in the webhook data -[2025-04-29 20:43:51.975622] [notice] Logging level set to:debug -[2025-04-29 20:43:51.975779] [debug] valor del webhook: filename=Contratos+de+Clientes_764 - -[2025-04-29 20:43:51.975827] [info] No UUID found in the webhook data -[2025-04-29 20:43:53.776170] [notice] Logging level set to:debug -[2025-04-29 20:43:53.776523] [debug] valor del webhook: filename=Contratos+de+Clientes_839 - -[2025-04-29 20:43:53.776679] [info] No UUID found in the webhook data -[2025-04-29 20:43:55.532815] [notice] Logging level set to:debug -[2025-04-29 20:43:55.532898] [debug] valor del webhook: filename=Contratos+de+Clientes_864 - -[2025-04-29 20:43:55.532917] [info] No UUID found in the webhook data -[2025-04-29 20:43:57.384696] [notice] Logging level set to:debug -[2025-04-29 20:43:57.384835] [debug] valor del webhook: filename=Contratos+de+Clientes_821 - -[2025-04-29 20:43:57.384876] [info] No UUID found in the webhook data -[2025-04-29 20:43:59.358392] [notice] Logging level set to:debug -[2025-04-29 20:43:59.358530] [debug] valor del webhook: filename=Contratos+de+Clientes_826 - -[2025-04-29 20:43:59.358571] [info] No UUID found in the webhook data -[2025-04-29 20:44:01.779351] [notice] Logging level set to:debug -[2025-04-29 20:44:01.779505] [debug] valor del webhook: filename=Contratos+de+Clientes_836 - -[2025-04-29 20:44:01.779547] [info] No UUID found in the webhook data -[2025-04-29 20:44:04.536869] [notice] Logging level set to:debug -[2025-04-29 20:44:04.537009] [debug] valor del webhook: filename=Contratos+de+Clientes_841 - -[2025-04-29 20:44:04.537050] [info] No UUID found in the webhook data -[2025-04-29 20:44:07.873686] [notice] Logging level set to:debug -[2025-04-29 20:44:07.873799] [debug] valor del webhook: filename=Contratos+de+Clientes_894 - -[2025-04-29 20:44:07.873830] [info] No UUID found in the webhook data -[2025-04-29 20:44:11.205518] [notice] Logging level set to:debug -[2025-04-29 20:44:11.205691] [debug] valor del webhook: filename=Contratos+de+Clientes_861 - -[2025-04-29 20:44:11.205734] [info] No UUID found in the webhook data -[2025-04-29 20:44:18.711051] [notice] Logging level set to:debug -[2025-04-29 20:44:18.711194] [debug] valor del webhook: filename=Contratos+de+Clientes_860 - -[2025-04-29 20:44:18.711234] [info] No UUID found in the webhook data -[2025-04-29 20:44:24.186439] [notice] Logging level set to:debug -[2025-04-29 20:44:24.186674] [debug] valor del webhook: filename=Contratos+de+Clientes_910 - -[2025-04-29 20:44:24.186718] [info] No UUID found in the webhook data -[2025-04-29 20:44:26.122397] [notice] Logging level set to:debug -[2025-04-29 20:44:26.122977] [debug] valor del webhook: filename=Contratos+de+Clientes_870 - -[2025-04-29 20:44:26.123152] [info] No UUID found in the webhook data -[2025-04-29 20:44:29.808861] [notice] Logging level set to:debug -[2025-04-29 20:44:29.809340] [debug] valor del webhook: filename=Contratos+de+Clientes_846 - -[2025-04-29 20:44:29.809472] [info] No UUID found in the webhook data -[2025-04-29 20:44:31.564533] [notice] Logging level set to:debug -[2025-04-29 20:44:31.565115] [debug] valor del webhook: filename=Contratos+de+Clientes_873 - -[2025-04-29 20:44:31.565289] [info] No UUID found in the webhook data -[2025-04-29 20:44:33.469315] [notice] Logging level set to:debug -[2025-04-29 20:44:33.469701] [debug] valor del webhook: filename=Contratos+de+Clientes_879 - -[2025-04-29 20:44:33.469789] [info] No UUID found in the webhook data -[2025-04-29 20:44:35.239202] [notice] Logging level set to:debug -[2025-04-29 20:44:35.239785] [debug] valor del webhook: filename=Contratos+de+Clientes_840 - -[2025-04-29 20:44:35.239964] [info] No UUID found in the webhook data -[2025-04-29 20:44:41.050817] [notice] Logging level set to:debug -[2025-04-29 20:44:41.051132] [debug] valor del webhook: filename=Contratos+de+Clientes_862 - -[2025-04-29 20:44:41.051207] [info] No UUID found in the webhook data -[2025-04-29 20:44:46.710665] [notice] Logging level set to:debug -[2025-04-29 20:44:46.711266] [debug] valor del webhook: filename=Contratos+de+Clientes_909 - -[2025-04-29 20:44:46.711441] [info] No UUID found in the webhook data -[2025-04-29 20:44:52.238046] [notice] Logging level set to:debug -[2025-04-29 20:44:52.238528] [debug] valor del webhook: filename=Contratos+de+Clientes_868 - -[2025-04-29 20:44:52.238652] [info] No UUID found in the webhook data -[2025-04-29 20:44:57.829962] [notice] Logging level set to:debug -[2025-04-29 20:44:57.830384] [debug] valor del webhook: filename=Contratos+de+Clientes_876 - -[2025-04-29 20:44:57.830498] [info] No UUID found in the webhook data -[2025-04-29 20:44:59.750603] [notice] Logging level set to:debug -[2025-04-29 20:44:59.751127] [debug] valor del webhook: filename=Contratos+de+Clientes_911 - -[2025-04-29 20:44:59.751281] [info] No UUID found in the webhook data -[2025-04-29 20:45:02.274595] [notice] Logging level set to:debug -[2025-04-29 20:45:02.274736] [debug] valor del webhook: filename=Contratos+de+Clientes_875 - -[2025-04-29 20:45:02.274785] [info] No UUID found in the webhook data -[2025-04-29 20:45:05.615644] [notice] Logging level set to:debug -[2025-04-29 20:45:05.615958] [debug] valor del webhook: filename=Contratos+de+Clientes_882 - -[2025-04-29 20:45:05.616082] [info] No UUID found in the webhook data -[2025-04-29 20:45:08.958095] [notice] Logging level set to:debug -[2025-04-29 20:45:08.958412] [debug] valor del webhook: filename=Contratos+de+Clientes_1012 - -[2025-04-29 20:45:08.958539] [info] No UUID found in the webhook data -[2025-04-29 20:45:15.023390] [notice] Logging level set to:debug -[2025-04-29 20:45:15.023500] [debug] valor del webhook: filename=Contratos+de+Clientes_898 - -[2025-04-29 20:45:15.023533] [info] No UUID found in the webhook data -[2025-04-29 20:45:19.951529] [notice] Logging level set to:debug -[2025-04-29 20:45:19.951662] [debug] valor del webhook: filename=Contratos+de+Clientes_884 - -[2025-04-29 20:45:19.951703] [info] No UUID found in the webhook data -[2025-04-29 20:45:21.862283] [notice] Logging level set to:debug -[2025-04-29 20:45:21.862442] [debug] valor del webhook: filename=Contratos+de+Clientes_891 - -[2025-04-29 20:45:21.862482] [info] No UUID found in the webhook data -[2025-04-29 20:45:25.665540] [notice] Logging level set to:debug -[2025-04-29 20:45:25.665672] [debug] valor del webhook: filename=Contratos+de+Clientes_914 - -[2025-04-29 20:45:25.665710] [info] No UUID found in the webhook data -[2025-04-29 20:45:27.542237] [notice] Logging level set to:debug -[2025-04-29 20:45:27.542406] [debug] valor del webhook: filename=Contratos+de+Clientes_897 - -[2025-04-29 20:45:27.542447] [info] No UUID found in the webhook data -[2025-04-29 20:45:31.179183] [notice] Logging level set to:debug -[2025-04-29 20:45:31.179471] [debug] valor del webhook: filename=Contratos+de+Clientes_904 - -[2025-04-29 20:45:31.179621] [info] No UUID found in the webhook data -[2025-04-29 20:45:38.199460] [notice] Logging level set to:debug -[2025-04-29 20:45:38.199796] [debug] valor del webhook: filename=Contratos+de+Clientes_906 - -[2025-04-29 20:45:38.199942] [info] No UUID found in the webhook data -[2025-04-29 20:45:44.269773] [notice] Logging level set to:debug -[2025-04-29 20:45:44.270126] [debug] valor del webhook: filename=Contratos+de+Clientes_830 - -[2025-04-29 20:45:44.271014] [info] No UUID found in the webhook data -[2025-04-29 20:45:50.590584] [notice] Logging level set to:debug -[2025-04-29 20:45:50.590888] [debug] valor del webhook: filename=Contratos+de+Clientes_874 - -[2025-04-29 20:45:50.591056] [info] No UUID found in the webhook data -[2025-04-29 20:45:55.254573] [notice] Logging level set to:debug -[2025-04-29 20:45:55.254709] [debug] valor del webhook: filename=Contratos+de+Clientes_903 - -[2025-04-29 20:45:55.254750] [info] No UUID found in the webhook data -[2025-04-29 20:45:57.094213] [notice] Logging level set to:debug -[2025-04-29 20:45:57.094336] [debug] valor del webhook: filename=Contratos+de+Clientes_829 - -[2025-04-29 20:45:57.094381] [info] No UUID found in the webhook data -[2025-04-29 20:45:58.823168] [notice] Logging level set to:debug -[2025-04-29 20:45:58.823252] [debug] valor del webhook: filename=Contratos+de+Clientes_912 - -[2025-04-29 20:45:58.823273] [info] No UUID found in the webhook data -[2025-04-29 20:46:01.126665] [notice] Logging level set to:debug -[2025-04-29 20:46:01.126743] [debug] valor del webhook: filename=Contratos+de+Clientes_867 - -[2025-04-29 20:46:01.126758] [info] No UUID found in the webhook data -[2025-04-29 20:46:04.371033] [notice] Logging level set to:debug -[2025-04-29 20:46:04.371159] [debug] valor del webhook: filename=Contratos+de+Clientes_878 - -[2025-04-29 20:46:04.371191] [info] No UUID found in the webhook data -[2025-04-29 20:46:07.615942] [notice] Logging level set to:debug -[2025-04-29 20:46:07.616055] [debug] valor del webhook: filename=Contratos+de+Clientes_887 - -[2025-04-29 20:46:07.616086] [info] No UUID found in the webhook data -[2025-04-29 20:46:12.131436] [notice] Logging level set to:debug -[2025-04-29 20:46:12.131586] [debug] valor del webhook: filename=Contratos+de+Clientes_885 - -[2025-04-29 20:46:12.131628] [info] No UUID found in the webhook data -[2025-04-29 20:46:15.336138] [notice] Logging level set to:debug -[2025-04-29 20:46:15.336323] [debug] valor del webhook: filename=Contratos+de+Clientes_825 - -[2025-04-29 20:46:15.336369] [info] No UUID found in the webhook data -[2025-04-29 20:46:17.208154] [notice] Logging level set to:debug -[2025-04-29 20:46:17.208231] [debug] valor del webhook: filename=Contratos+de+Clientes_890 - -[2025-04-29 20:46:17.208250] [info] No UUID found in the webhook data -[2025-04-29 20:46:18.996416] [notice] Logging level set to:debug -[2025-04-29 20:46:18.996546] [debug] valor del webhook: filename=Contratos+de+Clientes_902 - -[2025-04-29 20:46:18.996587] [info] No UUID found in the webhook data -[2025-04-29 20:46:21.084019] [notice] Logging level set to:debug -[2025-04-29 20:46:21.084156] [debug] valor del webhook: filename=Contratos+de+Clientes_893 - -[2025-04-29 20:46:21.084197] [info] No UUID found in the webhook data -[2025-04-29 20:46:22.907917] [notice] Logging level set to:debug -[2025-04-29 20:46:22.908071] [debug] valor del webhook: filename=Contratos+de+Clientes_823 - -[2025-04-29 20:46:22.908128] [info] No UUID found in the webhook data -[2025-04-29 20:46:26.672310] [notice] Logging level set to:debug -[2025-04-29 20:46:26.672441] [debug] valor del webhook: filename=Contratos+de+Clientes_896 - -[2025-04-29 20:46:26.672481] [info] No UUID found in the webhook data -[2025-04-29 20:46:28.508313] [notice] Logging level set to:debug -[2025-04-29 20:46:28.508620] [debug] valor del webhook: filename=Contratos+de+Clientes_346 - -[2025-04-29 20:46:28.508766] [info] No UUID found in the webhook data -[2025-04-29 20:46:30.782572] [notice] Logging level set to:debug -[2025-04-29 20:46:30.782685] [debug] valor del webhook: filename=Contratos+de+Clientes_95 - -[2025-04-29 20:46:30.782713] [info] No UUID found in the webhook data -[2025-04-29 20:46:37.314536] [notice] Logging level set to:debug -[2025-04-29 20:46:37.314629] [debug] valor del webhook: filename=Contratos+de+Clientes_139 - -[2025-04-29 20:46:37.314646] [info] No UUID found in the webhook data -[2025-04-29 20:46:43.068675] [notice] Logging level set to:debug -[2025-04-29 20:46:43.068814] [debug] valor del webhook: filename=Contratos+de+Clientes_156 - -[2025-04-29 20:46:43.068856] [info] No UUID found in the webhook data -[2025-04-29 20:46:48.838658] [notice] Logging level set to:debug -[2025-04-29 20:46:48.838815] [debug] valor del webhook: filename=Contratos+de+Clientes_187 - -[2025-04-29 20:46:48.838857] [info] No UUID found in the webhook data -[2025-04-29 20:46:50.618200] [notice] Logging level set to:debug -[2025-04-29 20:46:50.618272] [debug] valor del webhook: filename=Contratos+de+Clientes_157 - -[2025-04-29 20:46:50.618288] [info] No UUID found in the webhook data -[2025-04-29 20:46:52.599422] [notice] Logging level set to:debug -[2025-04-29 20:46:52.599562] [debug] valor del webhook: filename=Contratos+de+Clientes_236 - -[2025-04-29 20:46:52.599602] [info] No UUID found in the webhook data -[2025-04-29 20:46:59.444974] [notice] Logging level set to:debug -[2025-04-29 20:46:59.445086] [debug] valor del webhook: filename=Contratos+de+Clientes_188 - -[2025-04-29 20:46:59.445116] [info] No UUID found in the webhook data -[2025-04-29 20:47:01.688122] [notice] Logging level set to:debug -[2025-04-29 20:47:01.688330] [debug] valor del webhook: filename=Contratos+de+Clientes_395 - -[2025-04-29 20:47:01.688381] [info] No UUID found in the webhook data -[2025-04-29 20:47:06.300081] [notice] Logging level set to:debug -[2025-04-29 20:47:06.300178] [debug] valor del webhook: filename=Contratos+de+Clientes_455 - -[2025-04-29 20:47:06.300200] [info] No UUID found in the webhook data -[2025-04-29 20:47:09.671967] [notice] Logging level set to:debug -[2025-04-29 20:47:09.672085] [debug] valor del webhook: filename=Contratos+de+Clientes_394 - -[2025-04-29 20:47:09.672116] [info] No UUID found in the webhook data -[2025-04-29 20:47:17.418564] [notice] Logging level set to:debug -[2025-04-29 20:47:17.418684] [debug] valor del webhook: filename=Contratos+de+Clientes_117 - -[2025-04-29 20:47:17.418710] [info] No UUID found in the webhook data -[2025-04-29 20:47:20.755218] [notice] Logging level set to:debug -[2025-04-29 20:47:20.755358] [debug] valor del webhook: filename=Contratos+de+Clientes_159 - -[2025-04-29 20:47:20.755398] [info] No UUID found in the webhook data -[2025-04-29 20:47:23.262288] [notice] Logging level set to:debug -[2025-04-29 20:47:23.262429] [debug] valor del webhook: filename=Contratos+de+Clientes_189 - -[2025-04-29 20:47:23.262470] [info] No UUID found in the webhook data -[2025-04-29 20:47:25.153558] [notice] Logging level set to:debug -[2025-04-29 20:47:25.153652] [debug] valor del webhook: filename=Contratos+de+Clientes_454 - -[2025-04-29 20:47:25.153672] [info] No UUID found in the webhook data -[2025-04-29 20:47:27.143057] [notice] Logging level set to:debug -[2025-04-29 20:47:27.143186] [debug] valor del webhook: filename=Contratos+de+Clientes_325 - -[2025-04-29 20:47:27.143224] [info] No UUID found in the webhook data -[2025-04-29 20:47:28.917435] [notice] Logging level set to:debug -[2025-04-29 20:47:28.917623] [debug] valor del webhook: filename=Contratos+de+Clientes_160 - -[2025-04-29 20:47:28.917673] [info] No UUID found in the webhook data -[2025-04-29 20:47:32.857635] [notice] Logging level set to:debug -[2025-04-29 20:47:32.857709] [debug] valor del webhook: filename=Contratos+de+Clientes_468 - -[2025-04-29 20:47:32.857727] [info] No UUID found in the webhook data -[2025-04-29 20:47:34.772161] [notice] Logging level set to:debug -[2025-04-29 20:47:34.772669] [debug] valor del webhook: filename=Contratos+de+Clientes_190 - -[2025-04-29 20:47:34.772808] [info] No UUID found in the webhook data -[2025-04-29 20:47:36.532430] [notice] Logging level set to:debug -[2025-04-29 20:47:36.532978] [debug] valor del webhook: filename=Contratos+de+Clientes_400 - -[2025-04-29 20:47:36.533144] [info] No UUID found in the webhook data -[2025-04-29 20:47:43.421886] [notice] Logging level set to:debug -[2025-04-29 20:47:43.422457] [debug] valor del webhook: filename=Contratos+de+Clientes_311 - -[2025-04-29 20:47:43.422626] [info] No UUID found in the webhook data -[2025-04-29 20:47:45.213025] [notice] Logging level set to:debug -[2025-04-29 20:47:45.213174] [debug] valor del webhook: filename=Contratos+de+Clientes_191 - -[2025-04-29 20:47:45.213211] [info] No UUID found in the webhook data -[2025-04-29 20:47:47.053061] [notice] Logging level set to:debug -[2025-04-29 20:47:47.053200] [debug] valor del webhook: filename=Contratos+de+Clientes_161 - -[2025-04-29 20:47:47.053240] [info] No UUID found in the webhook data -[2025-04-29 20:47:48.985734] [notice] Logging level set to:debug -[2025-04-29 20:47:48.986287] [debug] valor del webhook: filename=Contratos+de+Clientes_296 - -[2025-04-29 20:47:48.986454] [info] No UUID found in the webhook data -[2025-04-29 20:47:54.616348] [notice] Logging level set to:debug -[2025-04-29 20:47:54.616906] [debug] valor del webhook: filename=Contratos+de+Clientes_162 - -[2025-04-29 20:47:54.617074] [info] No UUID found in the webhook data -[2025-04-29 20:48:00.276693] [notice] Logging level set to:debug -[2025-04-29 20:48:00.277225] [debug] valor del webhook: filename=Contratos+de+Clientes_352 - -[2025-04-29 20:48:00.277417] [info] No UUID found in the webhook data -[2025-04-29 20:48:07.297358] [notice] Logging level set to:debug -[2025-04-29 20:48:07.297914] [debug] valor del webhook: filename=Contratos+de+Clientes_72 - -[2025-04-29 20:48:07.298084] [info] No UUID found in the webhook data -[2025-04-29 20:48:13.596951] [notice] Logging level set to:debug -[2025-04-29 20:48:13.597485] [debug] valor del webhook: filename=Contratos+de+Clientes_26 - -[2025-04-29 20:48:13.597640] [info] No UUID found in the webhook data -[2025-04-29 20:48:19.562232] [notice] Logging level set to:debug -[2025-04-29 20:48:19.562792] [debug] valor del webhook: filename=Contratos+de+Clientes_193 - -[2025-04-29 20:48:19.562963] [info] No UUID found in the webhook data -[2025-04-29 20:48:24.529166] [notice] Logging level set to:debug -[2025-04-29 20:48:24.529701] [debug] valor del webhook: filename=Contratos+de+Clientes_163 - -[2025-04-29 20:48:24.529872] [info] No UUID found in the webhook data -[2025-04-29 20:48:30.035408] [notice] Logging level set to:debug -[2025-04-29 20:48:30.036029] [debug] valor del webhook: filename=Contratos+de+Clientes_104 - -[2025-04-29 20:48:30.036215] [info] No UUID found in the webhook data -[2025-04-29 20:48:35.610323] [notice] Logging level set to:debug -[2025-04-29 20:48:35.610888] [debug] valor del webhook: filename=Contratos+de+Clientes_140 - -[2025-04-29 20:48:35.611062] [info] No UUID found in the webhook data -[2025-04-29 20:48:37.505539] [notice] Logging level set to:debug -[2025-04-29 20:48:37.506074] [debug] valor del webhook: filename=Contratos+de+Clientes_75 - -[2025-04-29 20:48:37.506241] [info] No UUID found in the webhook data -[2025-04-29 20:48:39.529270] [notice] Logging level set to:debug -[2025-04-29 20:48:39.529848] [debug] valor del webhook: filename=Contratos+de+Clientes_105 - -[2025-04-29 20:48:39.530020] [info] No UUID found in the webhook data -[2025-04-29 20:48:41.642168] [notice] Logging level set to:debug -[2025-04-29 20:48:41.642570] [debug] valor del webhook: filename=Contratos+de+Clientes_305 - -[2025-04-29 20:48:41.642689] [info] No UUID found in the webhook data -[2025-04-29 20:48:46.209423] [notice] Logging level set to:debug -[2025-04-29 20:48:46.209803] [debug] valor del webhook: filename=Contratos+de+Clientes_226 - -[2025-04-29 20:48:46.209954] [info] No UUID found in the webhook data -[2025-04-29 20:48:51.800968] [notice] Logging level set to:debug -[2025-04-29 20:48:51.801198] [debug] valor del webhook: filename=Contratos+de+Clientes_164 - -[2025-04-29 20:48:51.801278] [info] No UUID found in the webhook data -[2025-04-29 20:48:53.635077] [notice] Logging level set to:debug -[2025-04-29 20:48:53.635416] [debug] valor del webhook: filename=Contratos+de+Clientes_254 - -[2025-04-29 20:48:53.635560] [info] No UUID found in the webhook data -[2025-04-29 20:48:57.430768] [notice] Logging level set to:debug -[2025-04-29 20:48:57.430856] [debug] valor del webhook: filename=Contratos+de+Clientes_124 - -[2025-04-29 20:48:57.430879] [info] No UUID found in the webhook data -[2025-04-29 20:48:59.387278] [notice] Logging level set to:debug -[2025-04-29 20:48:59.387413] [debug] valor del webhook: filename=Contratos+de+Clientes_290 - -[2025-04-29 20:48:59.387453] [info] No UUID found in the webhook data -[2025-04-29 20:49:01.630196] [notice] Logging level set to:debug -[2025-04-29 20:49:01.630335] [debug] valor del webhook: filename=Contratos+de+Clientes_368 - -[2025-04-29 20:49:01.630377] [info] No UUID found in the webhook data -[2025-04-29 20:49:04.412025] [notice] Logging level set to:debug -[2025-04-29 20:49:04.412573] [debug] valor del webhook: filename=Contratos+de+Clientes_165 - -[2025-04-29 20:49:04.412720] [info] No UUID found in the webhook data -[2025-04-29 20:49:09.300643] [notice] Logging level set to:debug -[2025-04-29 20:49:09.301151] [debug] valor del webhook: filename=Contratos+de+Clientes_195 - -[2025-04-29 20:49:09.301304] [info] No UUID found in the webhook data -[2025-04-29 20:49:15.562207] [notice] Logging level set to:debug -[2025-04-29 20:49:15.562856] [debug] valor del webhook: filename=Contratos+de+Clientes_950 - -[2025-04-29 20:49:15.563035] [info] No UUID found in the webhook data -[2025-04-29 20:49:17.737133] [notice] Logging level set to:debug -[2025-04-29 20:49:17.737656] [debug] valor del webhook: filename=Contratos+de+Clientes_141 - -[2025-04-29 20:49:17.737827] [info] No UUID found in the webhook data -[2025-04-29 20:49:20.448836] [notice] Logging level set to:debug -[2025-04-29 20:49:20.448940] [debug] valor del webhook: filename=Contratos+de+Clientes_196 - -[2025-04-29 20:49:20.448961] [info] No UUID found in the webhook data -[2025-04-29 20:49:26.322221] [notice] Logging level set to:debug -[2025-04-29 20:49:26.322331] [debug] valor del webhook: filename=Contratos+de+Clientes_426 - -[2025-04-29 20:49:26.322357] [info] No UUID found in the webhook data -[2025-04-29 20:49:28.119813] [notice] Logging level set to:debug -[2025-04-29 20:49:28.120378] [debug] valor del webhook: filename=Contratos+de+Clientes_167 - -[2025-04-29 20:49:28.120532] [info] No UUID found in the webhook data -[2025-04-29 20:49:29.981817] [notice] Logging level set to:debug -[2025-04-29 20:49:29.981909] [debug] valor del webhook: filename=Contratos+de+Clientes_219 - -[2025-04-29 20:49:29.981933] [info] No UUID found in the webhook data -[2025-04-29 20:49:31.924998] [notice] Logging level set to:debug -[2025-04-29 20:49:31.925115] [debug] valor del webhook: filename=Contratos+de+Clientes_373 - -[2025-04-29 20:49:31.925146] [info] No UUID found in the webhook data -[2025-04-29 20:49:36.881272] [notice] Logging level set to:debug -[2025-04-29 20:49:36.881409] [debug] valor del webhook: filename=Contratos+de+Clientes_425 - -[2025-04-29 20:49:36.881448] [info] No UUID found in the webhook data -[2025-04-29 20:49:38.774950] [notice] Logging level set to:debug -[2025-04-29 20:49:38.775273] [debug] valor del webhook: filename=Contratos+de+Clientes_198 - -[2025-04-29 20:49:38.775345] [info] No UUID found in the webhook data -[2025-04-29 20:49:42.640434] [notice] Logging level set to:debug -[2025-04-29 20:49:42.640979] [debug] valor del webhook: filename=Contratos+de+Clientes_168 - -[2025-04-29 20:49:42.641174] [info] No UUID found in the webhook data -[2025-04-29 20:49:44.602817] [notice] Logging level set to:debug -[2025-04-29 20:49:44.603255] [debug] valor del webhook: filename=Contratos+de+Clientes_126 - -[2025-04-29 20:49:44.603368] [info] No UUID found in the webhook data -[2025-04-29 20:49:46.506320] [notice] Logging level set to:debug -[2025-04-29 20:49:46.506880] [debug] valor del webhook: filename=Contratos+de+Clientes_430 - -[2025-04-29 20:49:46.507071] [info] No UUID found in the webhook data -[2025-04-29 20:49:48.464020] [notice] Logging level set to:debug -[2025-04-29 20:49:48.464154] [debug] valor del webhook: filename=Contratos+de+Clientes_420 - -[2025-04-29 20:49:48.464195] [info] No UUID found in the webhook data -[2025-04-29 20:49:50.346751] [notice] Logging level set to:debug -[2025-04-29 20:49:50.346846] [debug] valor del webhook: filename=Contratos+de+Clientes_199 - -[2025-04-29 20:49:50.346864] [info] No UUID found in the webhook data -[2025-04-29 20:49:52.263109] [notice] Logging level set to:debug -[2025-04-29 20:49:52.263241] [debug] valor del webhook: filename=Contratos+de+Clientes_379 - -[2025-04-29 20:49:52.263282] [info] No UUID found in the webhook data -[2025-04-29 20:49:54.048051] [notice] Logging level set to:debug -[2025-04-29 20:49:54.048198] [debug] valor del webhook: filename=Contratos+de+Clientes_328 - -[2025-04-29 20:49:54.048238] [info] No UUID found in the webhook data -[2025-04-29 20:49:58.157515] [notice] Logging level set to:debug -[2025-04-29 20:49:58.157660] [debug] valor del webhook: filename=Contratos+de+Clientes_170 - -[2025-04-29 20:49:58.157701] [info] No UUID found in the webhook data -[2025-04-29 20:50:00.275729] [notice] Logging level set to:debug -[2025-04-29 20:50:00.276168] [debug] valor del webhook: filename=Contratos+de+Clientes_364 - -[2025-04-29 20:50:00.276333] [info] No UUID found in the webhook data -[2025-04-29 20:50:03.080148] [notice] Logging level set to:debug -[2025-04-29 20:50:03.080210] [debug] valor del webhook: filename=Contratos+de+Clientes_310 - -[2025-04-29 20:50:03.080224] [info] No UUID found in the webhook data -[2025-04-29 20:50:09.987031] [notice] Logging level set to:debug -[2025-04-29 20:50:09.987149] [debug] valor del webhook: filename=Contratos+de+Clientes_365 - -[2025-04-29 20:50:09.987181] [info] No UUID found in the webhook data -[2025-04-29 20:50:13.350111] [notice] Logging level set to:debug -[2025-04-29 20:50:13.350406] [debug] valor del webhook: filename=Contratos+de+Clientes_1059 - -[2025-04-29 20:50:13.350545] [info] No UUID found in the webhook data -[2025-04-29 20:50:19.653759] [notice] Logging level set to:debug -[2025-04-29 20:50:19.654113] [debug] valor del webhook: filename=Contratos+de+Clientes_389 - -[2025-04-29 20:50:19.654200] [info] No UUID found in the webhook data -[2025-04-29 20:50:21.405096] [notice] Logging level set to:debug -[2025-04-29 20:50:21.405642] [debug] valor del webhook: filename=Contratos+de+Clientes_201 - -[2025-04-29 20:50:21.405813] [info] No UUID found in the webhook data -[2025-04-29 20:50:23.269366] [notice] Logging level set to:debug -[2025-04-29 20:50:23.269910] [debug] valor del webhook: filename=Contratos+de+Clientes_354 - -[2025-04-29 20:50:23.270081] [info] No UUID found in the webhook data -[2025-04-29 20:50:25.292028] [notice] Logging level set to:debug -[2025-04-29 20:50:25.292449] [debug] valor del webhook: filename=Contratos+de+Clientes_1062 - -[2025-04-29 20:50:25.292563] [info] No UUID found in the webhook data -[2025-04-29 20:50:30.924660] [notice] Logging level set to:debug -[2025-04-29 20:50:30.925231] [debug] valor del webhook: filename=Contratos+de+Clientes_171 - -[2025-04-29 20:50:30.925407] [info] No UUID found in the webhook data -[2025-04-29 20:50:32.741374] [notice] Logging level set to:debug -[2025-04-29 20:50:32.741940] [debug] valor del webhook: filename=Contratos+de+Clientes_107 - -[2025-04-29 20:50:32.742114] [info] No UUID found in the webhook data -[2025-04-29 20:50:34.564970] [notice] Logging level set to:debug -[2025-04-29 20:50:34.565613] [debug] valor del webhook: filename=Contratos+de+Clientes_143 - -[2025-04-29 20:50:34.565854] [info] No UUID found in the webhook data -[2025-04-29 20:50:36.579010] [notice] Logging level set to:debug -[2025-04-29 20:50:36.579575] [debug] valor del webhook: filename=Contratos+de+Clientes_202 - -[2025-04-29 20:50:36.579746] [info] No UUID found in the webhook data -[2025-04-29 20:50:42.265980] [notice] Logging level set to:debug -[2025-04-29 20:50:42.266561] [debug] valor del webhook: filename=Contratos+de+Clientes_172 - -[2025-04-29 20:50:42.266735] [info] No UUID found in the webhook data -[2025-04-29 20:50:47.900247] [notice] Logging level set to:debug -[2025-04-29 20:50:47.900784] [debug] valor del webhook: filename=Contratos+de+Clientes_390 - -[2025-04-29 20:50:47.900917] [info] No UUID found in the webhook data -[2025-04-29 20:50:53.387259] [notice] Logging level set to:debug -[2025-04-29 20:50:53.387451] [debug] valor del webhook: filename=Contratos+de+Clientes_265 - -[2025-04-29 20:50:53.387509] [info] No UUID found in the webhook data -[2025-04-29 20:50:55.244940] [notice] Logging level set to:debug -[2025-04-29 20:50:55.245079] [debug] valor del webhook: filename=Contratos+de+Clientes_356 - -[2025-04-29 20:50:55.245121] [info] No UUID found in the webhook data -[2025-04-29 20:50:57.162456] [notice] Logging level set to:debug -[2025-04-29 20:50:57.162903] [debug] valor del webhook: filename=Contratos+de+Clientes_144 - -[2025-04-29 20:50:57.163028] [info] No UUID found in the webhook data -[2025-04-29 20:51:05.294475] [notice] Logging level set to:debug -[2025-04-29 20:51:05.295062] [debug] valor del webhook: filename=Contratos+de+Clientes_1063 - -[2025-04-29 20:51:05.295236] [info] No UUID found in the webhook data -[2025-04-29 20:51:08.741528] [notice] Logging level set to:debug -[2025-04-29 20:51:08.741976] [debug] valor del webhook: filename=Contratos+de+Clientes_1063 - -[2025-04-29 20:51:08.742106] [info] No UUID found in the webhook data -[2025-04-29 20:51:16.058693] [notice] Logging level set to:debug -[2025-04-29 20:51:16.059034] [debug] valor del webhook: filename=Contratos+de+Clientes_18 - -[2025-04-29 20:51:16.059108] [info] No UUID found in the webhook data -[2025-04-29 20:51:19.326173] [notice] Logging level set to:debug -[2025-04-29 20:51:19.326699] [debug] valor del webhook: filename=Contratos+de+Clientes_446 - -[2025-04-29 20:51:19.326862] [info] No UUID found in the webhook data -[2025-04-29 20:51:22.477340] [notice] Logging level set to:debug -[2025-04-29 20:51:22.477915] [debug] valor del webhook: filename=Contratos+de+Clientes_145 - -[2025-04-29 20:51:22.478084] [info] No UUID found in the webhook data -[2025-04-29 20:51:26.511822] [notice] Logging level set to:debug -[2025-04-29 20:51:26.512428] [debug] valor del webhook: filename=Contratos+de+Clientes_203 - -[2025-04-29 20:51:26.512614] [info] No UUID found in the webhook data -[2025-04-29 20:51:31.185009] [notice] Logging level set to:debug -[2025-04-29 20:51:31.185450] [debug] valor del webhook: filename=Contratos+de+Clientes_1061 - -[2025-04-29 20:51:31.185568] [info] No UUID found in the webhook data -[2025-04-29 20:51:36.888077] [notice] Logging level set to:debug -[2025-04-29 20:51:36.888676] [debug] valor del webhook: filename=Contratos+de+Clientes_1064 - -[2025-04-29 20:51:36.888875] [info] No UUID found in the webhook data -[2025-04-29 20:51:38.803523] [notice] Logging level set to:debug -[2025-04-29 20:51:38.804372] [debug] valor del webhook: filename=Contratos+de+Clientes_1060 - -[2025-04-29 20:51:38.804522] [info] No UUID found in the webhook data -[2025-04-29 20:51:42.438967] [notice] Logging level set to:debug -[2025-04-29 20:51:42.439599] [debug] valor del webhook: filename=Contratos+de+Clientes_1058 - -[2025-04-29 20:51:42.439779] [info] No UUID found in the webhook data -[2025-04-29 20:51:44.426903] [notice] Logging level set to:debug -[2025-04-29 20:51:44.427016] [debug] valor del webhook: filename=Contratos+de+Clientes_974 - -[2025-04-29 20:51:44.427047] [info] No UUID found in the webhook data -[2025-04-29 21:21:55.718714] [notice] Logging level set to:debug -[2025-04-29 21:21:55.719228] [debug] valor del webhook: filename=Contratos+de+Clientes_1056 - -[2025-04-29 21:21:55.719373] [info] No UUID found in the webhook data -[2025-04-29 21:22:01.441220] [notice] Logging level set to:debug -[2025-04-29 21:22:01.441529] [debug] valor del webhook: filename=Contratos+de+Clientes_1058 - -[2025-04-29 21:22:01.441600] [info] No UUID found in the webhook data -[2025-04-29 21:22:04.050970] [notice] Logging level set to:debug -[2025-04-29 21:22:04.051326] [debug] valor del webhook: filename=Contratos+de+Clientes_1061 - -[2025-04-29 21:22:04.051410] [info] No UUID found in the webhook data -[2025-04-29 21:22:07.261734] [notice] Logging level set to:debug -[2025-04-29 21:22:07.262271] [debug] valor del webhook: filename=Contratos+de+Clientes_974 - -[2025-04-29 21:22:07.262430] [info] No UUID found in the webhook data -[2025-04-29 21:22:10.478648] [notice] Logging level set to:debug -[2025-04-29 21:22:10.479015] [debug] valor del webhook: filename=Contratos+de+Clientes_922 - -[2025-04-29 21:22:10.479116] [info] No UUID found in the webhook data -[2025-04-29 21:22:13.722095] [notice] Logging level set to:debug -[2025-04-29 21:22:13.722652] [debug] valor del webhook: filename=Contratos+de+Clientes_1060 - -[2025-04-29 21:22:13.722822] [info] No UUID found in the webhook data -[2025-04-29 21:22:16.597193] [notice] Logging level set to:debug -[2025-04-29 21:22:16.597605] [debug] valor del webhook: filename=Contratos+de+Clientes_1055 - -[2025-04-29 21:22:16.597733] [info] No UUID found in the webhook data -[2025-04-29 21:22:18.418154] [notice] Logging level set to:debug -[2025-04-29 21:22:18.418731] [debug] valor del webhook: filename=Contratos+de+Clientes_1064 - -[2025-04-29 21:22:18.418906] [info] No UUID found in the webhook data -[2025-04-29 21:22:20.452095] [notice] Logging level set to:debug -[2025-04-29 21:22:20.452745] [debug] valor del webhook: filename=Contratos+de+Clientes_1056 - -[2025-04-29 21:22:20.452935] [info] No UUID found in the webhook data -[2025-04-29 21:22:22.824554] [notice] Logging level set to:debug -[2025-04-29 21:22:22.825086] [debug] valor del webhook: filename=Contratos+de+Clientes_1052 - -[2025-04-29 21:22:22.825256] [info] No UUID found in the webhook data -[2025-04-29 21:22:27.160073] [notice] Logging level set to:debug -[2025-04-29 21:22:27.160712] [debug] valor del webhook: filename=Contratos+de+Clientes_1057 - -[2025-04-29 21:22:27.160892] [info] No UUID found in the webhook data -[2025-04-29 21:22:32.898416] [notice] Logging level set to:debug -[2025-04-29 21:22:32.898819] [debug] valor del webhook: filename=Contratos+de+Clientes_1054 - -[2025-04-29 21:22:32.898915] [info] No UUID found in the webhook data -[2025-04-29 21:22:34.820717] [notice] Logging level set to:debug -[2025-04-29 21:22:34.821135] [debug] valor del webhook: filename=Contratos+de+Clientes_1050 - -[2025-04-29 21:22:34.821252] [info] No UUID found in the webhook data -[2025-04-29 21:22:36.752253] [notice] Logging level set to:debug -[2025-04-29 21:22:36.752396] [debug] valor del webhook: filename=Contratos+de+Clientes_1046 - -[2025-04-29 21:22:36.752423] [info] No UUID found in the webhook data -[2025-04-29 21:22:43.495450] [notice] Logging level set to:debug -[2025-04-29 21:22:43.495596] [debug] valor del webhook: filename=Contratos+de+Clientes_1047 - -[2025-04-29 21:22:43.495636] [info] No UUID found in the webhook data -[2025-04-29 21:22:49.202383] [notice] Logging level set to:debug -[2025-04-29 21:22:49.202548] [debug] valor del webhook: filename=Contratos+de+Clientes_1048 - -[2025-04-29 21:22:49.202590] [info] No UUID found in the webhook data -[2025-04-29 21:22:51.186196] [notice] Logging level set to:debug -[2025-04-29 21:22:51.186331] [debug] valor del webhook: filename=Contratos+de+Clientes_1051 - -[2025-04-29 21:22:51.186371] [info] No UUID found in the webhook data -[2025-04-29 21:22:53.478555] [notice] Logging level set to:debug -[2025-04-29 21:22:53.478732] [debug] valor del webhook: filename=Contratos+de+Clientes_1040 - -[2025-04-29 21:22:53.478775] [info] No UUID found in the webhook data -[2025-04-29 21:23:00.088206] [notice] Logging level set to:debug -[2025-04-29 21:23:00.088342] [debug] valor del webhook: filename=Contratos+de+Clientes_1041 - -[2025-04-29 21:23:00.088385] [info] No UUID found in the webhook data -[2025-04-29 21:23:02.323199] [notice] Logging level set to:debug -[2025-04-29 21:23:02.323342] [debug] valor del webhook: filename=Contratos+de+Clientes_1056 - -[2025-04-29 21:23:02.323385] [info] No UUID found in the webhook data -[2025-04-29 21:23:06.834049] [notice] Logging level set to:debug -[2025-04-29 21:23:06.834181] [debug] valor del webhook: filename=Contratos+de+Clientes_1055 - -[2025-04-29 21:23:06.834229] [info] No UUID found in the webhook data -[2025-04-29 21:23:13.397692] [notice] Logging level set to:debug -[2025-04-29 21:23:13.397804] [debug] valor del webhook: filename=Contratos+de+Clientes_1054 - -[2025-04-29 21:23:13.397830] [info] No UUID found in the webhook data -[2025-04-29 21:23:17.257760] [notice] Logging level set to:debug -[2025-04-29 21:23:17.257904] [debug] valor del webhook: filename=Contratos+de+Clientes_1052 - -[2025-04-29 21:23:17.257946] [info] No UUID found in the webhook data -[2025-04-29 21:23:23.140436] [notice] Logging level set to:debug -[2025-04-29 21:23:23.140522] [debug] valor del webhook: filename=Contratos+de+Clientes_1057 - -[2025-04-29 21:23:23.140543] [info] No UUID found in the webhook data -[2025-04-29 21:23:29.035352] [notice] Logging level set to:debug -[2025-04-29 21:23:29.035504] [debug] valor del webhook: filename=Contratos+de+Clientes_1047 - -[2025-04-29 21:23:29.035543] [info] No UUID found in the webhook data -[2025-04-29 21:23:34.620865] [notice] Logging level set to:debug -[2025-04-29 21:23:34.621010] [debug] valor del webhook: filename=Contratos+de+Clientes_1048 - -[2025-04-29 21:23:34.621051] [info] No UUID found in the webhook data -[2025-04-29 21:23:40.469764] [notice] Logging level set to:debug -[2025-04-29 21:23:40.469877] [debug] valor del webhook: filename=Contratos+de+Clientes_1046 - -[2025-04-29 21:23:40.469907] [info] No UUID found in the webhook data -[2025-04-29 21:23:46.190059] [notice] Logging level set to:debug -[2025-04-29 21:23:46.190381] [debug] valor del webhook: filename=Contratos+de+Clientes_1050 - -[2025-04-29 21:23:46.190450] [info] No UUID found in the webhook data -[2025-04-29 21:23:51.739557] [notice] Logging level set to:debug -[2025-04-29 21:23:51.740215] [debug] valor del webhook: filename=Contratos+de+Clientes_1051 - -[2025-04-29 21:23:51.740416] [info] No UUID found in the webhook data -[2025-04-29 21:23:57.437171] [notice] Logging level set to:debug -[2025-04-29 21:23:57.437510] [debug] valor del webhook: filename=Contratos+de+Clientes_1041 - -[2025-04-29 21:23:57.437586] [info] No UUID found in the webhook data -[2025-04-29 21:23:59.693691] [notice] Logging level set to:debug -[2025-04-29 21:23:59.693787] [debug] valor del webhook: filename=Contratos+de+Clientes_1043 - -[2025-04-29 21:23:59.693806] [info] No UUID found in the webhook data -[2025-04-29 21:24:01.800344] [notice] Logging level set to:debug -[2025-04-29 21:24:01.800909] [debug] valor del webhook: filename=Contratos+de+Clientes_1040 - -[2025-04-29 21:24:01.801084] [info] No UUID found in the webhook data -[2025-04-29 21:24:04.899020] [notice] Logging level set to:debug -[2025-04-29 21:24:04.899602] [debug] valor del webhook: filename=Contratos+de+Clientes_1042 - -[2025-04-29 21:24:04.899779] [info] No UUID found in the webhook data -[2025-04-29 21:24:09.475078] [notice] Logging level set to:debug -[2025-04-29 21:24:09.475178] [debug] valor del webhook: filename=Contratos+de+Clientes_1038 - -[2025-04-29 21:24:09.475203] [info] No UUID found in the webhook data -[2025-04-29 21:24:15.310700] [notice] Logging level set to:debug -[2025-04-29 21:24:15.311273] [debug] valor del webhook: filename=Contratos+de+Clientes_1039 - -[2025-04-29 21:24:15.311450] [info] No UUID found in the webhook data -[2025-04-29 21:24:24.729957] [notice] Logging level set to:debug -[2025-04-29 21:24:24.730509] [debug] valor del webhook: filename=Contratos+de+Clientes_1034 - -[2025-04-29 21:24:24.730679] [info] No UUID found in the webhook data -[2025-04-29 21:24:31.521544] [notice] Logging level set to:debug -[2025-04-29 21:24:31.521686] [debug] valor del webhook: filename=Contratos+de+Clientes_1037 - -[2025-04-29 21:24:31.521752] [info] No UUID found in the webhook data -[2025-04-29 21:24:33.566570] [notice] Logging level set to:debug -[2025-04-29 21:24:33.566709] [debug] valor del webhook: filename=Contratos+de+Clientes_1030 - -[2025-04-29 21:24:33.566751] [info] No UUID found in the webhook data -[2025-04-29 21:24:35.554040] [notice] Logging level set to:debug -[2025-04-29 21:24:35.554183] [debug] valor del webhook: filename=Contratos+de+Clientes_1036 - -[2025-04-29 21:24:35.554238] [info] No UUID found in the webhook data -[2025-04-29 21:24:42.008465] [notice] Logging level set to:debug -[2025-04-29 21:24:42.008630] [debug] valor del webhook: filename=Contratos+de+Clientes_1027 - -[2025-04-29 21:24:42.008671] [info] No UUID found in the webhook data -[2025-04-29 21:24:43.906724] [notice] Logging level set to:debug -[2025-04-29 21:24:43.906864] [debug] valor del webhook: filename=Contratos+de+Clientes_1024 - -[2025-04-29 21:24:43.906905] [info] No UUID found in the webhook data -[2025-04-29 21:24:47.780719] [notice] Logging level set to:debug -[2025-04-29 21:24:47.780858] [debug] valor del webhook: filename=Contratos+de+Clientes_1026 - -[2025-04-29 21:24:47.780899] [info] No UUID found in the webhook data -[2025-04-29 21:24:49.716046] [notice] Logging level set to:debug -[2025-04-29 21:24:49.716212] [debug] valor del webhook: filename=Contratos+de+Clientes_1028 - -[2025-04-29 21:24:49.716253] [info] No UUID found in the webhook data -[2025-04-29 21:24:51.734766] [notice] Logging level set to:debug -[2025-04-29 21:24:51.734874] [debug] valor del webhook: filename=Contratos+de+Clientes_1029 - -[2025-04-29 21:24:51.734903] [info] No UUID found in the webhook data -[2025-04-29 21:24:58.233439] [notice] Logging level set to:debug -[2025-04-29 21:24:58.233593] [debug] valor del webhook: filename=Contratos+de+Clientes_1031 - -[2025-04-29 21:24:58.233634] [info] No UUID found in the webhook data -[2025-04-29 21:25:00.298901] [notice] Logging level set to:debug -[2025-04-29 21:25:00.299042] [debug] valor del webhook: filename=Contratos+de+Clientes_1022 - -[2025-04-29 21:25:00.299084] [info] No UUID found in the webhook data -[2025-04-29 21:25:05.250067] [notice] Logging level set to:debug -[2025-04-29 21:25:05.250655] [debug] valor del webhook: filename=Contratos+de+Clientes_1021 - -[2025-04-29 21:25:05.250838] [info] No UUID found in the webhook data -[2025-04-29 21:25:08.802359] [notice] Logging level set to:debug -[2025-04-29 21:25:08.802701] [debug] valor del webhook: filename=Contratos+de+Clientes_1017 - -[2025-04-29 21:25:08.802778] [info] No UUID found in the webhook data -[2025-04-29 21:25:12.227806] [notice] Logging level set to:debug -[2025-04-29 21:25:12.228214] [debug] valor del webhook: filename=Contratos+de+Clientes_1013 - -[2025-04-29 21:25:12.228382] [info] No UUID found in the webhook data -[2025-04-29 21:25:16.380824] [notice] Logging level set to:debug -[2025-04-29 21:25:16.381236] [debug] valor del webhook: filename=Contratos+de+Clientes_1019 - -[2025-04-29 21:25:16.381342] [info] No UUID found in the webhook data -[2025-04-29 21:25:21.796331] [notice] Logging level set to:debug -[2025-04-29 21:25:21.796760] [debug] valor del webhook: filename=Contratos+de+Clientes_1014 - -[2025-04-29 21:25:21.796876] [info] No UUID found in the webhook data -[2025-04-29 21:25:23.752918] [notice] Logging level set to:debug -[2025-04-29 21:25:23.753480] [debug] valor del webhook: filename=Contratos+de+Clientes_1009 - -[2025-04-29 21:25:23.753655] [info] No UUID found in the webhook data -[2025-04-29 21:25:25.515095] [notice] Logging level set to:debug -[2025-04-29 21:25:25.515702] [debug] valor del webhook: filename=Contratos+de+Clientes_1011 - -[2025-04-29 21:25:25.515904] [info] No UUID found in the webhook data -[2025-04-29 21:25:31.942982] [notice] Logging level set to:debug -[2025-04-29 21:25:31.943531] [debug] valor del webhook: filename=Contratos+de+Clientes_1004 - -[2025-04-29 21:25:31.943696] [info] No UUID found in the webhook data -[2025-04-29 21:25:37.753942] [notice] Logging level set to:debug -[2025-04-29 21:25:37.754539] [debug] valor del webhook: filename=Contratos+de+Clientes_1005 - -[2025-04-29 21:25:37.754739] [info] No UUID found in the webhook data -[2025-04-29 21:25:43.244133] [notice] Logging level set to:debug -[2025-04-29 21:25:43.244776] [debug] valor del webhook: filename=Contratos+de+Clientes_1007 - -[2025-04-29 21:25:43.244978] [info] No UUID found in the webhook data -[2025-04-29 21:25:48.990461] [notice] Logging level set to:debug -[2025-04-29 21:25:48.990540] [debug] valor del webhook: filename=Contratos+de+Clientes_1006 - -[2025-04-29 21:25:48.990556] [info] No UUID found in the webhook data -[2025-04-29 21:25:54.552584] [notice] Logging level set to:debug -[2025-04-29 21:25:54.552723] [debug] valor del webhook: filename=Contratos+de+Clientes_1003 - -[2025-04-29 21:25:54.552761] [info] No UUID found in the webhook data -[2025-04-29 21:26:00.357172] [notice] Logging level set to:debug -[2025-04-29 21:26:00.357321] [debug] valor del webhook: filename=Contratos+de+Clientes_999 - -[2025-04-29 21:26:00.357362] [info] No UUID found in the webhook data -[2025-04-29 21:47:47.889836] [notice] Logging level set to:debug -[2025-04-29 21:47:47.890161] [debug] valor del webhook: filename=Contratos+de+Clientes_1001 - -[2025-04-29 21:47:47.890286] [info] No UUID found in the webhook data -[2025-04-29 21:47:53.436479] [notice] Logging level set to:debug -[2025-04-29 21:47:53.436815] [debug] valor del webhook: filename=Contratos+de+Clientes_1000 - -[2025-04-29 21:47:53.436959] [info] No UUID found in the webhook data -[2025-04-29 21:47:59.141211] [notice] Logging level set to:debug -[2025-04-29 21:47:59.141508] [debug] valor del webhook: filename=Contratos+de+Clientes_995 - -[2025-04-29 21:47:59.141659] [info] No UUID found in the webhook data -[2025-04-29 21:48:06.087465] [notice] Logging level set to:debug -[2025-04-29 21:48:06.087601] [debug] valor del webhook: filename=Contratos+de+Clientes_993 - -[2025-04-29 21:48:06.087642] [info] No UUID found in the webhook data -[2025-04-29 21:48:12.044435] [notice] Logging level set to:debug -[2025-04-29 21:48:12.044756] [debug] valor del webhook: filename=Contratos+de+Clientes_997 - -[2025-04-29 21:48:12.044899] [info] No UUID found in the webhook data -[2025-04-29 21:48:18.084820] [notice] Logging level set to:debug -[2025-04-29 21:48:18.084991] [debug] valor del webhook: filename=Contratos+de+Clientes_998 - -[2025-04-29 21:48:18.085043] [info] No UUID found in the webhook data -[2025-04-29 21:48:19.971379] [notice] Logging level set to:debug -[2025-04-29 21:48:19.971745] [debug] valor del webhook: filename=Contratos+de+Clientes_988 - -[2025-04-29 21:48:19.971894] [info] No UUID found in the webhook data -[2025-04-29 21:48:21.908476] [notice] Logging level set to:debug -[2025-04-29 21:48:21.908611] [debug] valor del webhook: filename=Contratos+de+Clientes_990 - -[2025-04-29 21:48:21.908649] [info] No UUID found in the webhook data -[2025-04-29 21:48:23.709033] [notice] Logging level set to:debug -[2025-04-29 21:48:23.709171] [debug] valor del webhook: filename=Contratos+de+Clientes_992 - -[2025-04-29 21:48:23.709204] [info] No UUID found in the webhook data -[2025-04-29 21:48:25.483927] [notice] Logging level set to:debug -[2025-04-29 21:48:25.484061] [debug] valor del webhook: filename=Contratos+de+Clientes_989 - -[2025-04-29 21:48:25.484102] [info] No UUID found in the webhook data -[2025-04-29 21:48:27.883729] [notice] Logging level set to:debug -[2025-04-29 21:48:27.883826] [debug] valor del webhook: filename=Contratos+de+Clientes_987 - -[2025-04-29 21:48:27.883846] [info] No UUID found in the webhook data -[2025-04-29 21:48:33.411669] [notice] Logging level set to:debug -[2025-04-29 21:48:33.411813] [debug] valor del webhook: filename=Contratos+de+Clientes_983 - -[2025-04-29 21:48:33.411854] [info] No UUID found in the webhook data -[2025-04-29 21:48:35.284173] [notice] Logging level set to:debug -[2025-04-29 21:48:35.284291] [debug] valor del webhook: filename=Contratos+de+Clientes_986 - -[2025-04-29 21:48:35.284311] [info] No UUID found in the webhook data -[2025-04-29 21:48:37.198441] [notice] Logging level set to:debug -[2025-04-29 21:48:37.198720] [debug] valor del webhook: filename=Contratos+de+Clientes_985 - -[2025-04-29 21:48:37.198792] [info] No UUID found in the webhook data -[2025-04-29 21:48:39.043411] [notice] Logging level set to:debug -[2025-04-29 21:48:39.043874] [debug] valor del webhook: filename=Contratos+de+Clientes_984 - -[2025-04-29 21:48:39.043981] [info] No UUID found in the webhook data -[2025-04-29 21:48:40.902892] [notice] Logging level set to:debug -[2025-04-29 21:48:40.902976] [debug] valor del webhook: filename=Contratos+de+Clientes_981 - -[2025-04-29 21:48:40.902993] [info] No UUID found in the webhook data -[2025-04-29 21:48:44.666949] [notice] Logging level set to:debug -[2025-04-29 21:48:44.667022] [debug] valor del webhook: filename=Contratos+de+Clientes_982 - -[2025-04-29 21:48:44.667040] [info] No UUID found in the webhook data -[2025-04-29 21:48:50.226897] [notice] Logging level set to:debug -[2025-04-29 21:48:50.227061] [debug] valor del webhook: filename=Contratos+de+Clientes_976 - -[2025-04-29 21:48:50.227117] [info] No UUID found in the webhook data -[2025-04-29 21:48:52.188153] [notice] Logging level set to:debug -[2025-04-29 21:48:52.188324] [debug] valor del webhook: filename=Contratos+de+Clientes_977 - -[2025-04-29 21:48:52.188370] [info] No UUID found in the webhook data -[2025-04-29 21:48:55.832575] [notice] Logging level set to:debug -[2025-04-29 21:48:55.832727] [debug] valor del webhook: filename=Contratos+de+Clientes_978 - -[2025-04-29 21:48:55.832767] [info] No UUID found in the webhook data -[2025-04-29 21:49:01.619688] [notice] Logging level set to:debug -[2025-04-29 21:49:01.619853] [debug] valor del webhook: filename=Contratos+de+Clientes_975 - -[2025-04-29 21:49:01.619896] [info] No UUID found in the webhook data -[2025-04-29 21:49:04.273266] [notice] Logging level set to:debug -[2025-04-29 21:49:04.273447] [debug] valor del webhook: filename=Contratos+de+Clientes_980 - -[2025-04-29 21:49:04.273488] [info] No UUID found in the webhook data -[2025-04-29 21:49:08.431283] [notice] Logging level set to:debug -[2025-04-29 21:49:08.431417] [debug] valor del webhook: filename=Contratos+de+Clientes_979 - -[2025-04-29 21:49:08.431448] [info] No UUID found in the webhook data -[2025-04-29 21:49:14.520428] [notice] Logging level set to:debug -[2025-04-29 21:49:14.520555] [debug] valor del webhook: filename=Contratos+de+Clientes_970 - -[2025-04-29 21:49:14.520586] [info] No UUID found in the webhook data -[2025-04-29 21:49:19.332250] [notice] Logging level set to:debug -[2025-04-29 21:49:19.332392] [debug] valor del webhook: filename=Contratos+de+Clientes_973 - -[2025-04-29 21:49:19.332420] [info] No UUID found in the webhook data -[2025-04-29 21:49:21.147290] [notice] Logging level set to:debug -[2025-04-29 21:49:21.147424] [debug] valor del webhook: filename=Contratos+de+Clientes_972 - -[2025-04-29 21:49:21.147465] [info] No UUID found in the webhook data -[2025-04-29 21:49:22.961477] [notice] Logging level set to:debug -[2025-04-29 21:49:22.961616] [debug] valor del webhook: filename=Contratos+de+Clientes_965 - -[2025-04-29 21:49:22.961662] [info] No UUID found in the webhook data -[2025-04-29 21:49:24.807272] [notice] Logging level set to:debug -[2025-04-29 21:49:24.807415] [debug] valor del webhook: filename=Contratos+de+Clientes_962 - -[2025-04-29 21:49:24.807457] [info] No UUID found in the webhook data -[2025-04-29 21:49:26.705008] [notice] Logging level set to:debug -[2025-04-29 21:49:26.705142] [debug] valor del webhook: filename=Contratos+de+Clientes_966 - -[2025-04-29 21:49:26.705183] [info] No UUID found in the webhook data -[2025-04-29 21:49:30.479197] [notice] Logging level set to:debug -[2025-04-29 21:49:30.479286] [debug] valor del webhook: filename=Contratos+de+Clientes_963 - -[2025-04-29 21:49:30.479310] [info] No UUID found in the webhook data -[2025-04-29 21:49:36.070288] [notice] Logging level set to:debug -[2025-04-29 21:49:36.070405] [debug] valor del webhook: filename=Contratos+de+Clientes_959 - -[2025-04-29 21:49:36.070436] [info] No UUID found in the webhook data -[2025-04-29 21:49:37.999176] [notice] Logging level set to:debug -[2025-04-29 21:49:37.999739] [debug] valor del webhook: filename=Contratos+de+Clientes_961 - -[2025-04-29 21:49:37.999933] [info] No UUID found in the webhook data -[2025-04-29 21:49:40.087435] [notice] Logging level set to:debug -[2025-04-29 21:49:40.087903] [debug] valor del webhook: filename=Contratos+de+Clientes_957 - -[2025-04-29 21:49:40.088031] [info] No UUID found in the webhook data -[2025-04-29 21:49:41.905004] [notice] Logging level set to:debug -[2025-04-29 21:49:41.905319] [debug] valor del webhook: filename=Contratos+de+Clientes_952 - -[2025-04-29 21:49:41.905390] [info] No UUID found in the webhook data -[2025-04-29 21:49:43.690327] [notice] Logging level set to:debug -[2025-04-29 21:49:43.690891] [debug] valor del webhook: filename=Contratos+de+Clientes_954 - -[2025-04-29 21:49:43.691063] [info] No UUID found in the webhook data -[2025-04-29 21:49:45.534255] [notice] Logging level set to:debug -[2025-04-29 21:49:45.534800] [debug] valor del webhook: filename=Contratos+de+Clientes_949 - -[2025-04-29 21:49:45.534965] [info] No UUID found in the webhook data -[2025-04-29 21:49:47.395313] [notice] Logging level set to:debug -[2025-04-29 21:49:47.395656] [debug] valor del webhook: filename=Contratos+de+Clientes_955 - -[2025-04-29 21:49:47.395859] [info] No UUID found in the webhook data -[2025-04-29 21:49:49.337171] [notice] Logging level set to:debug -[2025-04-29 21:49:49.337543] [debug] valor del webhook: filename=Contratos+de+Clientes_953 - -[2025-04-29 21:49:49.337634] [info] No UUID found in the webhook data -[2025-04-29 21:49:51.190366] [notice] Logging level set to:debug -[2025-04-29 21:49:51.190452] [debug] valor del webhook: filename=Contratos+de+Clientes_947 - -[2025-04-29 21:49:51.190468] [info] No UUID found in the webhook data -[2025-04-29 21:49:56.815346] [notice] Logging level set to:debug -[2025-04-29 21:49:56.815488] [debug] valor del webhook: filename=Contratos+de+Clientes_948 - -[2025-04-29 21:49:56.815530] [info] No UUID found in the webhook data -[2025-04-29 21:50:02.559802] [notice] Logging level set to:debug -[2025-04-29 21:50:02.559957] [debug] valor del webhook: filename=Contratos+de+Clientes_946 - -[2025-04-29 21:50:02.565010] [info] No UUID found in the webhook data -[2025-04-29 21:50:05.905400] [notice] Logging level set to:debug -[2025-04-29 21:50:05.905555] [debug] valor del webhook: filename=Contratos+de+Clientes_943 - -[2025-04-29 21:50:05.905597] [info] No UUID found in the webhook data -[2025-04-29 21:50:09.234559] [notice] Logging level set to:debug -[2025-04-29 21:50:09.234702] [debug] valor del webhook: filename=Contratos+de+Clientes_945 - -[2025-04-29 21:50:09.234740] [info] No UUID found in the webhook data -[2025-04-29 21:50:12.507487] [notice] Logging level set to:debug -[2025-04-29 21:50:12.507626] [debug] valor del webhook: filename=Contratos+de+Clientes_944 - -[2025-04-29 21:50:12.507667] [info] No UUID found in the webhook data -[2025-04-29 21:50:19.300112] [notice] Logging level set to:debug -[2025-04-29 21:50:19.300252] [debug] valor del webhook: filename=Contratos+de+Clientes_942 - -[2025-04-29 21:50:19.300373] [info] No UUID found in the webhook data -[2025-04-29 21:50:21.087152] [notice] Logging level set to:debug -[2025-04-29 21:50:21.087260] [debug] valor del webhook: filename=Contratos+de+Clientes_937 - -[2025-04-29 21:50:21.087295] [info] No UUID found in the webhook data -[2025-04-29 21:50:22.922291] [notice] Logging level set to:debug -[2025-04-29 21:50:22.922424] [debug] valor del webhook: filename=Contratos+de+Clientes_941 - -[2025-04-29 21:50:22.922463] [info] No UUID found in the webhook data -[2025-04-29 21:50:25.040131] [notice] Logging level set to:debug -[2025-04-29 21:50:25.040240] [debug] valor del webhook: filename=Contratos+de+Clientes_940 - -[2025-04-29 21:50:25.040294] [info] No UUID found in the webhook data -[2025-04-29 21:50:30.557420] [notice] Logging level set to:debug -[2025-04-29 21:50:30.557568] [debug] valor del webhook: filename=Contratos+de+Clientes_934 - -[2025-04-29 21:50:30.557609] [info] No UUID found in the webhook data -[2025-04-29 21:50:36.051839] [notice] Logging level set to:debug -[2025-04-29 21:50:36.051978] [debug] valor del webhook: filename=Contratos+de+Clientes_936 - -[2025-04-29 21:50:36.052038] [info] No UUID found in the webhook data -[2025-04-29 21:50:38.079031] [notice] Logging level set to:debug -[2025-04-29 21:50:38.079169] [debug] valor del webhook: filename=Contratos+de+Clientes_931 - -[2025-04-29 21:50:38.079210] [info] No UUID found in the webhook data -[2025-04-29 21:50:39.992053] [notice] Logging level set to:debug -[2025-04-29 21:50:39.992191] [debug] valor del webhook: filename=Contratos+de+Clientes_930 - -[2025-04-29 21:50:39.992242] [info] No UUID found in the webhook data -[2025-04-29 21:50:41.920365] [notice] Logging level set to:debug -[2025-04-29 21:50:41.920527] [debug] valor del webhook: filename=Contratos+de+Clientes_928 - -[2025-04-29 21:50:41.920579] [info] No UUID found in the webhook data -[2025-04-29 21:50:46.736649] [notice] Logging level set to:debug -[2025-04-29 21:50:46.736785] [debug] valor del webhook: filename=Contratos+de+Clientes_928 - -[2025-04-29 21:50:46.736826] [info] No UUID found in the webhook data -[2025-04-29 21:50:52.321515] [notice] Logging level set to:debug -[2025-04-29 21:50:52.321677] [debug] valor del webhook: filename=Contratos+de+Clientes_1060 - -[2025-04-29 21:50:52.321721] [info] No UUID found in the webhook data -[2025-04-29 21:50:54.143193] [notice] Logging level set to:debug -[2025-04-29 21:50:54.144958] [debug] valor del webhook: filename=Contratos+de+Clientes_927 - -[2025-04-29 21:50:54.145097] [info] No UUID found in the webhook data -[2025-04-29 21:50:56.112514] [notice] Logging level set to:debug -[2025-04-29 21:50:56.112873] [debug] valor del webhook: filename=Contratos+de+Clientes_917 - -[2025-04-29 21:50:56.112957] [info] No UUID found in the webhook data -[2025-04-29 21:51:03.220170] [notice] Logging level set to:debug -[2025-04-29 21:51:03.220824] [debug] valor del webhook: filename=Contratos+de+Clientes_921 - -[2025-04-29 21:51:03.220998] [info] No UUID found in the webhook data -[2025-04-29 21:51:06.519148] [notice] Logging level set to:debug -[2025-04-29 21:51:06.519702] [debug] valor del webhook: filename=Contratos+de+Clientes_919 - -[2025-04-29 21:51:06.519869] [info] No UUID found in the webhook data -[2025-04-29 21:51:09.955598] [notice] Logging level set to:debug -[2025-04-29 21:51:09.956168] [debug] valor del webhook: filename=Contratos+de+Clientes_916 - -[2025-04-29 21:51:09.956417] [info] No UUID found in the webhook data -[2025-04-29 21:51:13.174438] [notice] Logging level set to:debug -[2025-04-29 21:51:13.175019] [debug] valor del webhook: filename=Contratos+de+Clientes_950 - -[2025-04-29 21:51:13.175201] [info] No UUID found in the webhook data -[2025-04-29 21:51:19.553457] [notice] Logging level set to:debug -[2025-04-29 21:51:19.553599] [debug] valor del webhook: filename=Contratos+de+Clientes_1058 - -[2025-04-29 21:51:19.553639] [info] No UUID found in the webhook data -[2025-04-29 21:51:25.144172] [notice] Logging level set to:debug -[2025-04-29 21:51:25.144355] [debug] valor del webhook: filename=Contratos+de+Clientes_1062 - -[2025-04-29 21:51:25.144403] [info] No UUID found in the webhook data -[2025-04-29 21:51:30.877841] [notice] Logging level set to:debug -[2025-04-29 21:51:30.877922] [debug] valor del webhook: filename=Contratos+de+Clientes_1064 - -[2025-04-29 21:51:30.877940] [info] No UUID found in the webhook data -[2025-04-29 21:51:32.626125] [notice] Logging level set to:debug -[2025-04-29 21:51:32.626694] [debug] valor del webhook: filename=Contratos+de+Clientes_1012 - -[2025-04-29 21:51:32.626861] [info] No UUID found in the webhook data -[2025-04-29 21:51:34.394344] [notice] Logging level set to:debug -[2025-04-29 21:51:34.394495] [debug] valor del webhook: filename=Contratos+de+Clientes_922 - -[2025-04-29 21:51:34.394537] [info] No UUID found in the webhook data -[2025-04-29 21:51:36.229222] [notice] Logging level set to:debug -[2025-04-29 21:51:36.229363] [debug] valor del webhook: filename=Contratos+de+Clientes_1059 - -[2025-04-29 21:51:36.229407] [info] No UUID found in the webhook data -[2025-04-29 21:51:38.186002] [notice] Logging level set to:debug -[2025-04-29 21:51:38.186135] [debug] valor del webhook: filename=Contratos+de+Clientes_1063 - -[2025-04-29 21:51:38.186366] [info] No UUID found in the webhook data -[2025-04-29 21:51:40.210732] [notice] Logging level set to:debug -[2025-04-29 21:51:40.211036] [debug] valor del webhook: filename=Contratos+de+Clientes_1018 - -[2025-04-29 21:51:40.211189] [info] No UUID found in the webhook data -[2025-04-29 21:51:46.925220] [notice] Logging level set to:debug -[2025-04-29 21:51:46.925546] [debug] valor del webhook: filename=Contratos+de+Clientes_1032 - -[2025-04-29 21:51:46.925688] [info] No UUID found in the webhook data -[2025-04-29 21:51:49.053189] [notice] Logging level set to:debug -[2025-04-29 21:51:49.053359] [debug] valor del webhook: filename=Contratos+de+Clientes_1023 - -[2025-04-29 21:51:49.053411] [info] No UUID found in the webhook data -[2025-04-29 21:51:52.513936] [notice] Logging level set to:debug -[2025-04-29 21:51:52.514291] [debug] valor del webhook: filename=Contratos+de+Clientes_951 - -[2025-04-29 21:51:52.514436] [info] No UUID found in the webhook data -[2025-04-29 21:51:54.374222] [notice] Logging level set to:debug -[2025-04-29 21:51:54.374586] [debug] valor del webhook: filename=Contratos+de+Clientes_994 - -[2025-04-29 21:51:54.374738] [info] No UUID found in the webhook data -[2025-04-29 21:51:56.206979] [notice] Logging level set to:debug -[2025-04-29 21:51:56.207581] [debug] valor del webhook: filename=Contratos+de+Clientes_971 - -[2025-04-29 21:51:56.207763] [info] No UUID found in the webhook data -[2025-04-29 21:51:58.235352] [notice] Logging level set to:debug -[2025-04-29 21:51:58.235497] [debug] valor del webhook: filename=Contratos+de+Clientes_1015 - -[2025-04-29 21:51:58.235539] [info] No UUID found in the webhook data -[2025-04-29 21:52:00.227900] [notice] Logging level set to:debug -[2025-04-29 21:52:00.228043] [debug] valor del webhook: filename=Contratos+de+Clientes_938 - -[2025-04-29 21:52:00.228084] [info] No UUID found in the webhook data -[2025-04-29 21:52:02.128333] [notice] Logging level set to:debug -[2025-04-29 21:52:02.128657] [debug] valor del webhook: filename=Contratos+de+Clientes_918 - -[2025-04-29 21:52:02.128776] [info] No UUID found in the webhook data -[2025-04-29 21:52:10.022814] [notice] Logging level set to:debug -[2025-04-29 21:52:10.023020] [debug] valor del webhook: filename=Contratos+de+Clientes_923 - -[2025-04-29 21:52:10.023089] [info] No UUID found in the webhook data -[2025-04-29 21:52:16.187969] [notice] Logging level set to:debug -[2025-04-29 21:52:16.188101] [debug] valor del webhook: filename=Contratos+de+Clientes_974 - -[2025-04-29 21:52:16.188134] [info] No UUID found in the webhook data -[2025-04-29 21:52:18.869870] [notice] Logging level set to:debug -[2025-04-29 21:52:18.869937] [debug] valor del webhook: filename=Contratos+de+Clientes_924 - -[2025-04-29 21:52:18.869952] [info] No UUID found in the webhook data -[2025-04-29 21:52:20.663754] [notice] Logging level set to:debug -[2025-04-29 21:52:20.663840] [debug] valor del webhook: filename=Contratos+de+Clientes_932 - -[2025-04-29 21:52:20.663858] [info] No UUID found in the webhook data -[2025-04-29 21:52:22.538575] [notice] Logging level set to:debug -[2025-04-29 21:52:22.538661] [debug] valor del webhook: filename=Contratos+de+Clientes_929 - -[2025-04-29 21:52:22.538678] [info] No UUID found in the webhook data -[2025-04-29 21:52:24.298048] [notice] Logging level set to:debug -[2025-04-29 21:52:24.298180] [debug] valor del webhook: filename=Contratos+de+Clientes_933 - -[2025-04-29 21:52:24.298218] [info] No UUID found in the webhook data -[2025-04-29 21:52:26.302489] [notice] Logging level set to:debug -[2025-04-29 21:52:26.302629] [debug] valor del webhook: filename=Contratos+de+Clientes_915 - -[2025-04-29 21:52:26.302671] [info] No UUID found in the webhook data -[2025-04-29 21:52:31.776649] [notice] Logging level set to:debug -[2025-04-29 21:52:31.776793] [debug] valor del webhook: filename=Contratos+de+Clientes_935 - -[2025-04-29 21:52:31.776837] [info] No UUID found in the webhook data -[2025-04-29 21:52:37.711184] [notice] Logging level set to:debug -[2025-04-29 21:52:37.711325] [debug] valor del webhook: filename=Contratos+de+Clientes_956 - -[2025-04-29 21:52:37.711393] [info] No UUID found in the webhook data -[2025-04-29 21:52:39.818252] [notice] Logging level set to:debug -[2025-04-29 21:52:39.818411] [debug] valor del webhook: filename=Contratos+de+Clientes_920 - -[2025-04-29 21:52:39.818454] [info] No UUID found in the webhook data -[2025-04-29 21:52:43.113502] [notice] Logging level set to:debug -[2025-04-29 21:52:43.113646] [debug] valor del webhook: filename=Contratos+de+Clientes_939 - -[2025-04-29 21:52:43.113687] [info] No UUID found in the webhook data -[2025-04-29 21:52:44.938792] [notice] Logging level set to:debug -[2025-04-29 21:52:44.938949] [debug] valor del webhook: filename=Contratos+de+Clientes_958 - -[2025-04-29 21:52:44.938994] [info] No UUID found in the webhook data -[2025-04-29 21:52:48.778615] [notice] Logging level set to:debug -[2025-04-29 21:52:48.779195] [debug] valor del webhook: filename=Contratos+de+Clientes_964 - -[2025-04-29 21:52:48.779369] [info] No UUID found in the webhook data -[2025-04-29 21:52:54.381273] [notice] Logging level set to:debug -[2025-04-29 21:52:54.381661] [debug] valor del webhook: filename=Contratos+de+Clientes_925 - -[2025-04-29 21:52:54.381752] [info] No UUID found in the webhook data -[2025-04-29 21:52:56.209024] [notice] Logging level set to:debug -[2025-04-29 21:52:56.209531] [debug] valor del webhook: filename=Contratos+de+Clientes_926 - -[2025-04-29 21:52:56.209686] [info] No UUID found in the webhook data -[2025-04-29 21:53:00.338327] [notice] Logging level set to:debug -[2025-04-29 21:53:00.338927] [debug] valor del webhook: filename=Contratos+de+Clientes_960 - -[2025-04-29 21:53:00.339103] [info] No UUID found in the webhook data -[2025-04-29 21:53:02.166191] [notice] Logging level set to:debug -[2025-04-29 21:53:02.166760] [debug] valor del webhook: filename=Contratos+de+Clientes_968 - -[2025-04-29 21:53:02.166934] [info] No UUID found in the webhook data -[2025-04-29 21:53:07.619916] [notice] Logging level set to:debug -[2025-04-29 21:53:07.620505] [debug] valor del webhook: filename=Contratos+de+Clientes_969 - -[2025-04-29 21:53:07.620676] [info] No UUID found in the webhook data -[2025-04-29 21:53:10.854005] [notice] Logging level set to:debug -[2025-04-29 21:53:10.854499] [debug] valor del webhook: filename=Contratos+de+Clientes_1008 - -[2025-04-29 21:53:10.854645] [info] No UUID found in the webhook data -[2025-04-29 21:53:18.054896] [notice] Logging level set to:debug -[2025-04-29 21:53:18.055356] [debug] valor del webhook: filename=Contratos+de+Clientes_1033 - -[2025-04-29 21:53:18.055488] [info] No UUID found in the webhook data -[2025-04-29 21:53:19.783895] [notice] Logging level set to:debug -[2025-04-29 21:53:19.784610] [debug] valor del webhook: filename=Contratos+de+Clientes_1025 - -[2025-04-29 21:53:19.784797] [info] No UUID found in the webhook data -[2025-04-29 21:53:22.994409] [notice] Logging level set to:debug -[2025-04-29 21:53:22.994487] [debug] valor del webhook: filename=Contratos+de+Clientes_1002 - -[2025-04-29 21:53:22.994502] [info] No UUID found in the webhook data -[2025-04-29 21:53:24.882754] [notice] Logging level set to:debug -[2025-04-29 21:53:24.882857] [debug] valor del webhook: filename=Contratos+de+Clientes_967 - -[2025-04-29 21:53:24.882879] [info] No UUID found in the webhook data -[2025-04-29 21:53:28.643186] [notice] Logging level set to:debug -[2025-04-29 21:53:28.643340] [debug] valor del webhook: filename=Contratos+de+Clientes_1020 - -[2025-04-29 21:53:28.643383] [info] No UUID found in the webhook data -[2025-04-29 21:53:34.208120] [notice] Logging level set to:debug -[2025-04-29 21:53:34.208245] [debug] valor del webhook: filename=Contratos+de+Clientes_1016 - -[2025-04-29 21:53:34.208327] [info] No UUID found in the webhook data -[2025-04-29 21:53:40.007518] [notice] Logging level set to:debug -[2025-04-29 21:53:40.007662] [debug] valor del webhook: filename=Contratos+de+Clientes_1049 - -[2025-04-29 21:53:40.007704] [info] No UUID found in the webhook data -[2025-04-29 21:53:45.527971] [notice] Logging level set to:debug -[2025-04-29 21:53:45.528119] [debug] valor del webhook: filename=Contratos+de+Clientes_1010 - -[2025-04-29 21:53:45.528187] [info] No UUID found in the webhook data -[2025-04-29 21:53:51.142981] [notice] Logging level set to:debug -[2025-04-29 21:53:51.143074] [debug] valor del webhook: filename=Contratos+de+Clientes_1045 - -[2025-04-29 21:53:51.143095] [info] No UUID found in the webhook data -[2025-04-29 21:53:53.036135] [notice] Logging level set to:debug -[2025-04-29 21:53:53.036339] [debug] valor del webhook: filename=Contratos+de+Clientes_1044 - -[2025-04-29 21:53:53.036386] [info] No UUID found in the webhook data -[2025-04-29 21:53:54.995933] [notice] Logging level set to:debug -[2025-04-29 21:53:54.996022] [debug] valor del webhook: filename=Contratos+de+Clientes_996 - -[2025-04-29 21:53:54.996061] [info] No UUID found in the webhook data -[2025-04-29 21:53:56.972933] [notice] Logging level set to:debug -[2025-04-29 21:53:56.973270] [debug] valor del webhook: filename=Contratos+de+Clientes_1053 - -[2025-04-29 21:53:56.973356] [info] No UUID found in the webhook data -[2025-04-29 21:53:59.082803] [notice] Logging level set to:debug -[2025-04-29 21:53:59.083379] [debug] valor del webhook: filename=Contratos+de+Clientes_991 - -[2025-04-29 21:53:59.083554] [info] No UUID found in the webhook data -[2025-04-29 21:54:01.115012] [notice] Logging level set to:debug -[2025-04-29 21:54:01.115329] [debug] valor del webhook: filename=Contratos+de+Clientes_1035 - -[2025-04-29 21:54:01.115401] [info] No UUID found in the webhook data -[2025-04-29 22:25:26.762353] [notice] Logging level set to:debug -[2025-04-29 22:25:26.762583] [debug] valor del webhook: filename=Contratos+de+Clientes_1061 - -[2025-04-29 22:25:26.762655] [info] No UUID found in the webhook data -[2025-04-29 22:28:13.489415] [notice] Logging level set to:debug -[2025-04-29 22:28:13.489823] [debug] valor del webhook: filename=Contratos+de+Clientes_1061 - -[2025-04-29 22:28:13.489996] [info] No UUID found in the webhook data -[2025-04-29 23:00:54.625772] [notice] Logging level set to:debug -[2025-04-29 23:00:54.625865] [debug] valor del webhook: filename=Contratos+de+Clientes_1052 - -[2025-04-29 23:00:54.625889] [info] No UUID found in the webhook data -[2025-04-30 16:00:04.811152] [notice] Logging level set to:debug -[2025-04-30 16:00:04.811233] [debug] valor del webhook: {"uuid":"f8c18ba7-7af0-4f1c-8999-e5c9c56ec270","changeType":"insert","entity":"invoice","entityId":"1841","eventName":"invoice.add_draft","extraData":{"entity":{"id":1841,"clientId":65,"number":"001791","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1844,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":64,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS MONCADA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:04.964658] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:00:04.964714] [debug] Valor de JSON: {"uuid":"f8c18ba7-7af0-4f1c-8999-e5c9c56ec270","changeType":"insert","entity":"invoice","entityId":"1841","eventName":"invoice.add_draft","extraData":{"entity":{"id":1841,"clientId":65,"number":"001791","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1844,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":64,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS MONCADA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:04.964932] [debug] Adición de borrador de Factura - -[2025-04-30 16:00:04.964981] [debug] {"uuid":"f8c18ba7-7af0-4f1c-8999-e5c9c56ec270","changeType":"insert","entity":"invoice","entityId":1841,"message":null,"clientId":65,"eventName":"invoice.add_draft","clientData":{"id":65,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS MONCADA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS MONCADA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SEBASTIAN","lastName":"MESA","username":"smesa65","contacts":[{"id":66,"clientId":65,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1841,"clientId":65,"number":"001791","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1844,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":64,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS MONCADA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:05.121431] [notice] Logging level set to:debug -[2025-04-30 16:00:05.121546] [debug] valor del webhook: {"uuid":"c9266de4-f627-4918-8216-ba24119539d2","changeType":"draft_approved","entity":"invoice","entityId":"1841","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1841,"clientId":65,"number":"001791","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1844,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":64,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS MONCADA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:05.285492] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:00:05.285548] [debug] Valor de JSON: {"uuid":"c9266de4-f627-4918-8216-ba24119539d2","changeType":"draft_approved","entity":"invoice","entityId":"1841","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1841,"clientId":65,"number":"001791","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1844,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":64,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS MONCADA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:05.285660] [debug] Aprobación de Factura - -[2025-04-30 16:00:05.285703] [debug] {"uuid":"c9266de4-f627-4918-8216-ba24119539d2","changeType":"draft_approved","entity":"invoice","entityId":1841,"message":null,"clientId":65,"eventName":"invoice.draft_approved","clientData":{"id":65,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS MONCADA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS MONCADA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SEBASTIAN","lastName":"MESA","username":"smesa65","contacts":[{"id":66,"clientId":65,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1841,"clientId":65,"number":"001791","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1844,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":64,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS MONCADA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:06.221915] [notice] Logging level set to:debug -[2025-04-30 16:00:06.221992] [debug] valor del webhook: {"uuid":"f22845d2-3faa-458d-912d-eb947fc20b54","changeType":"insert","entity":"invoice","entityId":"1842","eventName":"invoice.add_draft","extraData":{"entity":{"id":1842,"clientId":98,"number":"001792","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1845,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":97,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JULIO","clientLastName":"OLACHIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:06.353863] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:00:06.353916] [debug] Valor de JSON: {"uuid":"f22845d2-3faa-458d-912d-eb947fc20b54","changeType":"insert","entity":"invoice","entityId":"1842","eventName":"invoice.add_draft","extraData":{"entity":{"id":1842,"clientId":98,"number":"001792","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1845,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":97,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JULIO","clientLastName":"OLACHIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:06.354023] [debug] Adición de borrador de Factura - -[2025-04-30 16:00:06.354068] [debug] {"uuid":"f22845d2-3faa-458d-912d-eb947fc20b54","changeType":"insert","entity":"invoice","entityId":1842,"message":null,"clientId":98,"eventName":"invoice.add_draft","clientData":{"id":98,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS AGUILAR","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS AGUILAR, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JULIO","lastName":"OLACHIA","username":"jolachia98","contacts":[{"id":99,"clientId":98,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#9c27b0","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1842,"clientId":98,"number":"001792","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1845,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":97,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JULIO","clientLastName":"OLACHIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:06.464657] [notice] Logging level set to:debug -[2025-04-30 16:00:06.464710] [debug] valor del webhook: {"uuid":"4d3329a2-1bea-4d73-86d4-739a6ae6b05c","changeType":"draft_approved","entity":"invoice","entityId":"1842","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1842,"clientId":98,"number":"001792","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1845,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":97,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JULIO","clientLastName":"OLACHIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:06.600006] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:00:06.600058] [debug] Valor de JSON: {"uuid":"4d3329a2-1bea-4d73-86d4-739a6ae6b05c","changeType":"draft_approved","entity":"invoice","entityId":"1842","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1842,"clientId":98,"number":"001792","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1845,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":97,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JULIO","clientLastName":"OLACHIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:06.600167] [debug] Aprobación de Factura - -[2025-04-30 16:00:06.600212] [debug] {"uuid":"4d3329a2-1bea-4d73-86d4-739a6ae6b05c","changeType":"draft_approved","entity":"invoice","entityId":1842,"message":null,"clientId":98,"eventName":"invoice.draft_approved","clientData":{"id":98,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS AGUILAR","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS AGUILAR, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JULIO","lastName":"OLACHIA","username":"jolachia98","contacts":[{"id":99,"clientId":98,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#9c27b0","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1842,"clientId":98,"number":"001792","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1845,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":97,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JULIO","clientLastName":"OLACHIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:07.544163] [notice] Logging level set to:debug -[2025-04-30 16:00:07.544250] [debug] valor del webhook: {"uuid":"08371730-cf0b-4c30-867a-0c9cf3d1344d","changeType":"insert","entity":"invoice","entityId":"1843","eventName":"invoice.add_draft","extraData":{"entity":{"id":1843,"clientId":60,"number":"001793","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1846,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":59,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MANUEL","clientLastName":"CORENEO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:07.714379] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:00:07.714468] [debug] Valor de JSON: {"uuid":"08371730-cf0b-4c30-867a-0c9cf3d1344d","changeType":"insert","entity":"invoice","entityId":"1843","eventName":"invoice.add_draft","extraData":{"entity":{"id":1843,"clientId":60,"number":"001793","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1846,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":59,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MANUEL","clientLastName":"CORENEO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:07.714682] [debug] Adición de borrador de Factura - -[2025-04-30 16:00:07.714757] [debug] {"uuid":"08371730-cf0b-4c30-867a-0c9cf3d1344d","changeType":"insert","entity":"invoice","entityId":1843,"message":null,"clientId":60,"eventName":"invoice.add_draft","clientData":{"id":60,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TECOLOTE","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TECOLOTE, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MANUEL","lastName":"CORENEO","username":"mcoreneo60","contacts":[{"id":61,"clientId":60,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1843,"clientId":60,"number":"001793","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1846,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":59,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MANUEL","clientLastName":"CORENEO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:07.829153] [notice] Logging level set to:debug -[2025-04-30 16:00:07.829216] [debug] valor del webhook: {"uuid":"0d987804-7587-4182-b2dd-a4425192e240","changeType":"draft_approved","entity":"invoice","entityId":"1843","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1843,"clientId":60,"number":"001793","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1846,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":59,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MANUEL","clientLastName":"CORENEO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:07.973786] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:00:07.973845] [debug] Valor de JSON: {"uuid":"0d987804-7587-4182-b2dd-a4425192e240","changeType":"draft_approved","entity":"invoice","entityId":"1843","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1843,"clientId":60,"number":"001793","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1846,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":59,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MANUEL","clientLastName":"CORENEO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:07.973947] [debug] Aprobación de Factura - -[2025-04-30 16:00:07.974001] [debug] {"uuid":"0d987804-7587-4182-b2dd-a4425192e240","changeType":"draft_approved","entity":"invoice","entityId":1843,"message":null,"clientId":60,"eventName":"invoice.draft_approved","clientData":{"id":60,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TECOLOTE","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TECOLOTE, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MANUEL","lastName":"CORENEO","username":"mcoreneo60","contacts":[{"id":61,"clientId":60,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1843,"clientId":60,"number":"001793","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1846,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":59,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MANUEL","clientLastName":"CORENEO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:08.891715] [notice] Logging level set to:debug -[2025-04-30 16:00:08.891824] [debug] valor del webhook: {"uuid":"79edbcc0-5f10-4b4c-aea9-920335cf9e96","changeType":"insert","entity":"invoice","entityId":"1844","eventName":"invoice.add_draft","extraData":{"entity":{"id":1844,"clientId":41,"number":"001794","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1847,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":40,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"CUELLAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:09.021924] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:00:09.021975] [debug] Valor de JSON: {"uuid":"79edbcc0-5f10-4b4c-aea9-920335cf9e96","changeType":"insert","entity":"invoice","entityId":"1844","eventName":"invoice.add_draft","extraData":{"entity":{"id":1844,"clientId":41,"number":"001794","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1847,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":40,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"CUELLAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:09.022068] [debug] Adición de borrador de Factura - -[2025-04-30 16:00:09.022109] [debug] {"uuid":"79edbcc0-5f10-4b4c-aea9-920335cf9e96","changeType":"insert","entity":"invoice","entityId":1844,"message":null,"clientId":41,"eventName":"invoice.add_draft","clientData":{"id":41,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN SEBASTIAN","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN SEBASTIAN, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JUDITH","lastName":"CUELLAR","username":"jcuellar41","contacts":[{"id":42,"clientId":41,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4510,"accountCredit":0,"accountOutstanding":4510,"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":1844,"clientId":41,"number":"001794","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1847,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":40,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"CUELLAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:09.136110] [notice] Logging level set to:debug -[2025-04-30 16:00:09.136163] [debug] valor del webhook: {"uuid":"3e8428d3-af3d-4287-b9ea-df3bef41d2c1","changeType":"draft_approved","entity":"invoice","entityId":"1844","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1844,"clientId":41,"number":"001794","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1847,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":40,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"CUELLAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:09.273772] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:00:09.273823] [debug] Valor de JSON: {"uuid":"3e8428d3-af3d-4287-b9ea-df3bef41d2c1","changeType":"draft_approved","entity":"invoice","entityId":"1844","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1844,"clientId":41,"number":"001794","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1847,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":40,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"CUELLAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:09.273916] [debug] Aprobación de Factura - -[2025-04-30 16:00:09.273957] [debug] {"uuid":"3e8428d3-af3d-4287-b9ea-df3bef41d2c1","changeType":"draft_approved","entity":"invoice","entityId":1844,"message":null,"clientId":41,"eventName":"invoice.draft_approved","clientData":{"id":41,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN SEBASTIAN","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN SEBASTIAN, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JUDITH","lastName":"CUELLAR","username":"jcuellar41","contacts":[{"id":42,"clientId":41,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4510,"accountCredit":0,"accountOutstanding":4510,"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":1844,"clientId":41,"number":"001794","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1847,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":40,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"CUELLAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:10.204329] [notice] Logging level set to:debug -[2025-04-30 16:00:10.204385] [debug] valor del webhook: {"uuid":"b75f395a-af93-4779-aa3a-6bfc25fbc404","changeType":"insert","entity":"invoice","entityId":"1845","eventName":"invoice.add_draft","extraData":{"entity":{"id":1845,"clientId":25,"number":"001795","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1848,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":24,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ARIEL","clientLastName":"CORTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL DURAZNO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:10.364640] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:00:10.364692] [debug] Valor de JSON: {"uuid":"b75f395a-af93-4779-aa3a-6bfc25fbc404","changeType":"insert","entity":"invoice","entityId":"1845","eventName":"invoice.add_draft","extraData":{"entity":{"id":1845,"clientId":25,"number":"001795","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1848,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":24,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ARIEL","clientLastName":"CORTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL DURAZNO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:10.364809] [debug] Adición de borrador de Factura - -[2025-04-30 16:00:10.364851] [debug] {"uuid":"b75f395a-af93-4779-aa3a-6bfc25fbc404","changeType":"insert","entity":"invoice","entityId":1845,"message":null,"clientId":25,"eventName":"invoice.add_draft","clientData":{"id":25,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL DURAZNO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL DURAZNO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ARIEL","lastName":"CORTES","username":"acortes25","contacts":[{"id":26,"clientId":25,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-13300,"accountCredit":0,"accountOutstanding":13300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1845,"clientId":25,"number":"001795","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1848,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":24,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ARIEL","clientLastName":"CORTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL DURAZNO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:10.475789] [notice] Logging level set to:debug -[2025-04-30 16:00:10.475841] [debug] valor del webhook: {"uuid":"7b53ffc2-6109-41ad-ae43-25eec9767c37","changeType":"draft_approved","entity":"invoice","entityId":"1845","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1845,"clientId":25,"number":"001795","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1848,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":24,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ARIEL","clientLastName":"CORTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL DURAZNO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:10.607841] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:00:10.607896] [debug] Valor de JSON: {"uuid":"7b53ffc2-6109-41ad-ae43-25eec9767c37","changeType":"draft_approved","entity":"invoice","entityId":"1845","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1845,"clientId":25,"number":"001795","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1848,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":24,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ARIEL","clientLastName":"CORTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL DURAZNO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:10.607992] [debug] Aprobación de Factura - -[2025-04-30 16:00:10.608170] [debug] {"uuid":"7b53ffc2-6109-41ad-ae43-25eec9767c37","changeType":"draft_approved","entity":"invoice","entityId":1845,"message":null,"clientId":25,"eventName":"invoice.draft_approved","clientData":{"id":25,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL DURAZNO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL DURAZNO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ARIEL","lastName":"CORTES","username":"acortes25","contacts":[{"id":26,"clientId":25,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-13300,"accountCredit":0,"accountOutstanding":13300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1845,"clientId":25,"number":"001795","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1848,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":24,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ARIEL","clientLastName":"CORTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL DURAZNO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:11.518543] [notice] Logging level set to:debug -[2025-04-30 16:00:11.518600] [debug] valor del webhook: {"uuid":"90157829-54ef-4b90-a38b-80f144282f3c","changeType":"insert","entity":"invoice","entityId":"1846","eventName":"invoice.add_draft","extraData":{"entity":{"id":1846,"clientId":63,"number":"001796","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1849,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":62,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONELA","clientLastName":"ROBLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:11.655455] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:00:11.655514] [debug] Valor de JSON: {"uuid":"90157829-54ef-4b90-a38b-80f144282f3c","changeType":"insert","entity":"invoice","entityId":"1846","eventName":"invoice.add_draft","extraData":{"entity":{"id":1846,"clientId":63,"number":"001796","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1849,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":62,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONELA","clientLastName":"ROBLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:11.655622] [debug] Adición de borrador de Factura - -[2025-04-30 16:00:11.655667] [debug] {"uuid":"90157829-54ef-4b90-a38b-80f144282f3c","changeType":"insert","entity":"invoice","entityId":1846,"message":null,"clientId":63,"eventName":"invoice.add_draft","clientData":{"id":63,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANTONELA","lastName":"ROBLES","username":"arobles63","contacts":[{"id":64,"clientId":63,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1846,"clientId":63,"number":"001796","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1849,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":62,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONELA","clientLastName":"ROBLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:11.766582] [notice] Logging level set to:debug -[2025-04-30 16:00:11.766644] [debug] valor del webhook: {"uuid":"bbe52c91-4a10-4dee-b7f9-0cb41084092b","changeType":"draft_approved","entity":"invoice","entityId":"1846","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1846,"clientId":63,"number":"001796","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1849,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":62,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONELA","clientLastName":"ROBLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:11.954873] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:00:11.954926] [debug] Valor de JSON: {"uuid":"bbe52c91-4a10-4dee-b7f9-0cb41084092b","changeType":"draft_approved","entity":"invoice","entityId":"1846","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1846,"clientId":63,"number":"001796","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1849,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":62,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONELA","clientLastName":"ROBLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:11.955037] [debug] Aprobación de Factura - -[2025-04-30 16:00:11.955080] [debug] {"uuid":"bbe52c91-4a10-4dee-b7f9-0cb41084092b","changeType":"draft_approved","entity":"invoice","entityId":1846,"message":null,"clientId":63,"eventName":"invoice.draft_approved","clientData":{"id":63,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANTONELA","lastName":"ROBLES","username":"arobles63","contacts":[{"id":64,"clientId":63,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1846,"clientId":63,"number":"001796","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1849,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":62,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONELA","clientLastName":"ROBLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:12.984929] [notice] Logging level set to:debug -[2025-04-30 16:00:12.985001] [debug] valor del webhook: {"uuid":"af631bab-fea5-41e7-8546-30034147962f","changeType":"insert","entity":"invoice","entityId":"1847","eventName":"invoice.add_draft","extraData":{"entity":{"id":1847,"clientId":5,"number":"001797","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1850,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":5,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MUCIO","clientLastName":"ROBLEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CORREGIDORA #61, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:13.144188] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:00:13.144242] [debug] Valor de JSON: {"uuid":"af631bab-fea5-41e7-8546-30034147962f","changeType":"insert","entity":"invoice","entityId":"1847","eventName":"invoice.add_draft","extraData":{"entity":{"id":1847,"clientId":5,"number":"001797","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1850,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":5,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MUCIO","clientLastName":"ROBLEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CORREGIDORA #61, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:13.144376] [debug] Adición de borrador de Factura - -[2025-04-30 16:00:13.144423] [debug] {"uuid":"af631bab-fea5-41e7-8546-30034147962f","changeType":"insert","entity":"invoice","entityId":1847,"message":null,"clientId":5,"eventName":"invoice.add_draft","clientData":{"id":5,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"CORREGIDORA #61, ZONA CENTRO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"CORREGIDORA #61, ZONA CENTRO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MUCIO","lastName":"ROBLEDO","username":"mrobledo05","contacts":[{"id":6,"clientId":5,"email":null,"phone":"5214181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-12033.33,"accountCredit":0,"accountOutstanding":12033.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.158357169062,"addressGpsLon":-100.93191261001,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1847,"clientId":5,"number":"001797","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1850,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":5,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MUCIO","clientLastName":"ROBLEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CORREGIDORA #61, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:13.144454] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-30 16:00:13.144464] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"af631bab-fea5-41e7-8546-30034147962f","changeType":"insert","entity":"invoice","entityId":1847,"message":null,"clientId":5,"eventName":"invoice.add_draft","clientData":{"id":5,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"CORREGIDORA #61, ZONA CENTRO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"CORREGIDORA #61, ZONA CENTRO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MUCIO","lastName":"ROBLEDO","username":"mrobledo05","contacts":[{"id":6,"clientId":5,"email":null,"phone":"5214181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-12033.33,"accountCredit":0,"accountOutstanding":12033.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.158357169062,"addressGpsLon":-100.93191261001,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1847,"clientId":5,"number":"001797","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1850,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":5,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MUCIO","clientLastName":"ROBLEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CORREGIDORA #61, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: MUCIO ROBLEDO - -UUID: 92dd9fb15b8f4ff6860f8a32ea9bd7e4 - -JSON con los datos a actualizar: {"name":"MUCIO ROBLEDO","custom_fields":{"Cliente":5,"Domicilio":"\ud83d\udccd CORREGIDORA #61, ZONA CENTRO, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 MUCIO ROBLEDO","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/5","Saldo Actual":"\ud83d\udcb212033.33 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"5\",\"Domicilio\": \"\"Nombre\": \"MUCIO ROBLEDO\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/5\",\"Saldo Actual\": \"\ud83d\udcb212033.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 30\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"30\/04\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 30\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 30\/04\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "5","Domicilio": ""Nombre": "MUCIO ROBLEDO","URL": "https://sistema.siip.mx/crm/client/5","Saldo Actual": "💲12033.33 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 30/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "30/04/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"MUCIO ROBLEDO","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2024-07-11T22:49:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Estado":"🔴 Suspendido","Antena/Sectorial":"Sec3-Sb 172.16.55.13/24","Site":"SBARB","Nombre":"👤 MUCIO ROBLEDO","Cliente":"5","Domicilio":"📍 CORREGIDORA #61, ZONA CENTRO, Dolores Hidalgo, 37800","Saldo Actual":"💲12033.33 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 30/04/2025 10:00","Fecha Ultimo Pago":"📆💸 30/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Monto Ultimo Pago":"💲 ","URL":"🌐 https://sistema.siip.mx/crm/client/5","Resumen":"{\"Cliente\": \"5\",\"Domicilio\": \"\"Nombre\": \"MUCIO ROBLEDO\",\"URL\": \"https://sistema.siip.mx/crm/client/5\",\"Saldo Actual\": \"💲12033.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 30/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"30/04/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"MUCIO ROBLEDO","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2024-07-11T22:49:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Estado":"🔴 Suspendido","Antena/Sectorial":"Sec3-Sb 172.16.55.13/24","Site":"SBARB","Nombre":"👤 MUCIO ROBLEDO","Cliente":"5","Domicilio":"📍 CORREGIDORA #61, ZONA CENTRO, Dolores Hidalgo, 37800","Saldo Actual":"💲12033.33 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 30/04/2025 10:00","Fecha Ultimo Pago":"📆💸 30/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Monto Ultimo Pago":"💲 ","URL":"🌐 https://sistema.siip.mx/crm/client/5","Resumen":"{\"Cliente\": \"5\",\"Domicilio\": \"\"Nombre\": \"MUCIO ROBLEDO\",\"URL\": \"https://sistema.siip.mx/crm/client/5\",\"Saldo Actual\": \"💲12033.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 30/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"30/04/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-30 16:00:17.206504] [notice] Logging level set to:debug -[2025-04-30 16:00:17.206568] [debug] valor del webhook: {"uuid":"b28473dd-f329-470d-8bac-7cc589f2a566","changeType":"draft_approved","entity":"invoice","entityId":"1847","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1847,"clientId":5,"number":"001797","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1850,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":5,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MUCIO","clientLastName":"ROBLEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CORREGIDORA #61, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:17.375438] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:00:17.375492] [debug] Valor de JSON: {"uuid":"b28473dd-f329-470d-8bac-7cc589f2a566","changeType":"draft_approved","entity":"invoice","entityId":"1847","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1847,"clientId":5,"number":"001797","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1850,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":5,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MUCIO","clientLastName":"ROBLEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CORREGIDORA #61, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:17.375622] [debug] Aprobación de Factura - -[2025-04-30 16:00:17.375669] [debug] {"uuid":"b28473dd-f329-470d-8bac-7cc589f2a566","changeType":"draft_approved","entity":"invoice","entityId":1847,"message":null,"clientId":5,"eventName":"invoice.draft_approved","clientData":{"id":5,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"CORREGIDORA #61, ZONA CENTRO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"CORREGIDORA #61, ZONA CENTRO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MUCIO","lastName":"ROBLEDO","username":"mrobledo05","contacts":[{"id":6,"clientId":5,"email":null,"phone":"5214181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-12033.33,"accountCredit":0,"accountOutstanding":12033.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.158357169062,"addressGpsLon":-100.93191261001,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1847,"clientId":5,"number":"001797","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1850,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":5,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MUCIO","clientLastName":"ROBLEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CORREGIDORA #61, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:17.375780] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-30 16:00:17.375791] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"b28473dd-f329-470d-8bac-7cc589f2a566","changeType":"draft_approved","entity":"invoice","entityId":1847,"message":null,"clientId":5,"eventName":"invoice.draft_approved","clientData":{"id":5,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"CORREGIDORA #61, ZONA CENTRO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"CORREGIDORA #61, ZONA CENTRO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MUCIO","lastName":"ROBLEDO","username":"mrobledo05","contacts":[{"id":6,"clientId":5,"email":null,"phone":"5214181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-12033.33,"accountCredit":0,"accountOutstanding":12033.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.158357169062,"addressGpsLon":-100.93191261001,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1847,"clientId":5,"number":"001797","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1850,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":5,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MUCIO","clientLastName":"ROBLEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CORREGIDORA #61, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: MUCIO ROBLEDO - -UUID: 92dd9fb15b8f4ff6860f8a32ea9bd7e4 - -JSON con los datos a actualizar: {"name":"MUCIO ROBLEDO","custom_fields":{"Cliente":5,"Domicilio":"\ud83d\udccd CORREGIDORA #61, ZONA CENTRO, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 MUCIO ROBLEDO","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/5","Saldo Actual":"\ud83d\udcb212033.33 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"5\",\"Domicilio\": \"\"Nombre\": \"MUCIO ROBLEDO\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/5\",\"Saldo Actual\": \"\ud83d\udcb212033.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 30\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"30\/04\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 30\/04\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 30\/04\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "5","Domicilio": ""Nombre": "MUCIO ROBLEDO","URL": "https://sistema.siip.mx/crm/client/5","Saldo Actual": "💲12033.33 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 30/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "30/04/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"MUCIO ROBLEDO","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2024-07-11T22:49:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Estado":"🔴 Suspendido","Antena/Sectorial":"Sec3-Sb 172.16.55.13/24","Site":"SBARB","Nombre":"👤 MUCIO ROBLEDO","Cliente":"5","Domicilio":"📍 CORREGIDORA #61, ZONA CENTRO, Dolores Hidalgo, 37800","Saldo Actual":"💲12033.33 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 30/04/2025 10:00","Fecha Ultimo Pago":"📆💸 30/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Monto Ultimo Pago":"💲 ","URL":"🌐 https://sistema.siip.mx/crm/client/5","Resumen":"{\"Cliente\": \"5\",\"Domicilio\": \"\"Nombre\": \"MUCIO ROBLEDO\",\"URL\": \"https://sistema.siip.mx/crm/client/5\",\"Saldo Actual\": \"💲12033.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 30/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"30/04/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"MUCIO ROBLEDO","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2024-07-11T22:49:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Estado":"🔴 Suspendido","Antena/Sectorial":"Sec3-Sb 172.16.55.13/24","Site":"SBARB","Nombre":"👤 MUCIO ROBLEDO","Cliente":"5","Domicilio":"📍 CORREGIDORA #61, ZONA CENTRO, Dolores Hidalgo, 37800","Saldo Actual":"💲12033.33 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 30/04/2025 10:00","Fecha Ultimo Pago":"📆💸 30/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Monto Ultimo Pago":"💲 ","URL":"🌐 https://sistema.siip.mx/crm/client/5","Resumen":"{\"Cliente\": \"5\",\"Domicilio\": \"\"Nombre\": \"MUCIO ROBLEDO\",\"URL\": \"https://sistema.siip.mx/crm/client/5\",\"Saldo Actual\": \"💲12033.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 30/04/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"30/04/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-30 16:00:20.310503] [notice] Logging level set to:debug -[2025-04-30 16:00:20.310560] [debug] valor del webhook: {"uuid":"b1ddc27c-ed74-457a-83b3-d2788457a574","changeType":"insert","entity":"invoice","entityId":"1848","eventName":"invoice.add_draft","extraData":{"entity":{"id":1848,"clientId":81,"number":"001798","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1851,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":80,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FERNANDO","clientLastName":"ALCAZAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:20.464473] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:00:20.464530] [debug] Valor de JSON: {"uuid":"b1ddc27c-ed74-457a-83b3-d2788457a574","changeType":"insert","entity":"invoice","entityId":"1848","eventName":"invoice.add_draft","extraData":{"entity":{"id":1848,"clientId":81,"number":"001798","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1851,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":80,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FERNANDO","clientLastName":"ALCAZAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:20.464675] [debug] Adición de borrador de Factura - -[2025-04-30 16:00:20.464723] [debug] {"uuid":"b1ddc27c-ed74-457a-83b3-d2788457a574","changeType":"insert","entity":"invoice","entityId":1848,"message":null,"clientId":81,"eventName":"invoice.add_draft","clientData":{"id":81,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"FERNANDO","lastName":"ALCAZAR","username":"falcazar81","contacts":[{"id":82,"clientId":81,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-11200,"accountCredit":0,"accountOutstanding":11200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d81b60","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1848,"clientId":81,"number":"001798","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1851,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":80,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FERNANDO","clientLastName":"ALCAZAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:20.573517] [notice] Logging level set to:debug -[2025-04-30 16:00:20.573575] [debug] valor del webhook: {"uuid":"14b5965d-c3e7-4180-8aa6-b90417703d93","changeType":"draft_approved","entity":"invoice","entityId":"1848","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1848,"clientId":81,"number":"001798","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1851,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":80,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FERNANDO","clientLastName":"ALCAZAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:20.714941] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:00:20.714996] [debug] Valor de JSON: {"uuid":"14b5965d-c3e7-4180-8aa6-b90417703d93","changeType":"draft_approved","entity":"invoice","entityId":"1848","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1848,"clientId":81,"number":"001798","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1851,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":80,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FERNANDO","clientLastName":"ALCAZAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:20.715115] [debug] Aprobación de Factura - -[2025-04-30 16:00:20.715163] [debug] {"uuid":"14b5965d-c3e7-4180-8aa6-b90417703d93","changeType":"draft_approved","entity":"invoice","entityId":1848,"message":null,"clientId":81,"eventName":"invoice.draft_approved","clientData":{"id":81,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"FERNANDO","lastName":"ALCAZAR","username":"falcazar81","contacts":[{"id":82,"clientId":81,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-11200,"accountCredit":0,"accountOutstanding":11200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d81b60","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1848,"clientId":81,"number":"001798","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1851,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":80,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FERNANDO","clientLastName":"ALCAZAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:20.823555] [notice] Logging level set to:debug -[2025-04-30 16:00:20.823611] [debug] valor del webhook: {"uuid":"cd30f824-6121-4e76-bc71-fa3a92f118d7","changeType":"insert","entity":"invoice","entityId":"1849","eventName":"invoice.add_draft","extraData":{"entity":{"id":1849,"clientId":52,"number":"001799","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1852,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":51,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RODRIGO","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL CARMEN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:20.960747] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:00:20.960800] [debug] Valor de JSON: {"uuid":"cd30f824-6121-4e76-bc71-fa3a92f118d7","changeType":"insert","entity":"invoice","entityId":"1849","eventName":"invoice.add_draft","extraData":{"entity":{"id":1849,"clientId":52,"number":"001799","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1852,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":51,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RODRIGO","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL CARMEN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:20.960913] [debug] Adición de borrador de Factura - -[2025-04-30 16:00:20.960958] [debug] {"uuid":"cd30f824-6121-4e76-bc71-fa3a92f118d7","changeType":"insert","entity":"invoice","entityId":1849,"message":null,"clientId":52,"eventName":"invoice.add_draft","clientData":{"id":52,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL CARMEN","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":null,"fullAddress":"EL CARMEN, Dolores Hidalgo Cuna de la Independencia Nacional","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"RODRIGO","lastName":"PE\u00d1A","username":"rpe\u00d1a52","contacts":[{"id":53,"clientId":52,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1849,"clientId":52,"number":"001799","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1852,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":51,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RODRIGO","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL CARMEN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:21.073204] [notice] Logging level set to:debug -[2025-04-30 16:00:21.073259] [debug] valor del webhook: {"uuid":"44d26164-ab2f-42e7-a70b-6681569c3846","changeType":"draft_approved","entity":"invoice","entityId":"1849","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1849,"clientId":52,"number":"001799","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1852,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":51,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RODRIGO","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL CARMEN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:21.213732] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:00:21.213790] [debug] Valor de JSON: {"uuid":"44d26164-ab2f-42e7-a70b-6681569c3846","changeType":"draft_approved","entity":"invoice","entityId":"1849","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1849,"clientId":52,"number":"001799","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1852,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":51,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RODRIGO","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL CARMEN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:21.213913] [debug] Aprobación de Factura - -[2025-04-30 16:00:21.213959] [debug] {"uuid":"44d26164-ab2f-42e7-a70b-6681569c3846","changeType":"draft_approved","entity":"invoice","entityId":1849,"message":null,"clientId":52,"eventName":"invoice.draft_approved","clientData":{"id":52,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL CARMEN","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":null,"fullAddress":"EL CARMEN, Dolores Hidalgo Cuna de la Independencia Nacional","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"RODRIGO","lastName":"PE\u00d1A","username":"rpe\u00d1a52","contacts":[{"id":53,"clientId":52,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1849,"clientId":52,"number":"001799","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1852,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":51,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RODRIGO","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL CARMEN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:21.327039] [notice] Logging level set to:debug -[2025-04-30 16:00:21.327100] [debug] valor del webhook: {"uuid":"74231c41-d96b-4557-8f90-302130e53765","changeType":"insert","entity":"invoice","entityId":"1850","eventName":"invoice.add_draft","extraData":{"entity":{"id":1850,"clientId":97,"number":"001800","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1853,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":96,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"YOLANDA","clientLastName":"CANO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AVILES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:21.497353] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:00:21.497409] [debug] Valor de JSON: {"uuid":"74231c41-d96b-4557-8f90-302130e53765","changeType":"insert","entity":"invoice","entityId":"1850","eventName":"invoice.add_draft","extraData":{"entity":{"id":1850,"clientId":97,"number":"001800","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1853,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":96,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"YOLANDA","clientLastName":"CANO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AVILES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:21.497524] [debug] Adición de borrador de Factura - -[2025-04-30 16:00:21.497577] [debug] {"uuid":"74231c41-d96b-4557-8f90-302130e53765","changeType":"insert","entity":"invoice","entityId":1850,"message":null,"clientId":97,"eventName":"invoice.add_draft","clientData":{"id":97,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS AVILES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS AVILES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"YOLANDA","lastName":"CANO","username":"ycano97","contacts":[{"id":98,"clientId":97,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-8000,"accountCredit":0,"accountOutstanding":8000,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.151597,"addressGpsLon":-100.9367183,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1850,"clientId":97,"number":"001800","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1853,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":96,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"YOLANDA","clientLastName":"CANO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AVILES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:21.615777] [notice] Logging level set to:debug -[2025-04-30 16:00:21.615863] [debug] valor del webhook: {"uuid":"77808d61-88af-4ba4-a268-c6454ac4e803","changeType":"draft_approved","entity":"invoice","entityId":"1850","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1850,"clientId":97,"number":"001800","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1853,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":96,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"YOLANDA","clientLastName":"CANO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AVILES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:21.759938] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:00:21.759994] [debug] Valor de JSON: {"uuid":"77808d61-88af-4ba4-a268-c6454ac4e803","changeType":"draft_approved","entity":"invoice","entityId":"1850","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1850,"clientId":97,"number":"001800","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1853,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":96,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"YOLANDA","clientLastName":"CANO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AVILES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:21.760096] [debug] Aprobación de Factura - -[2025-04-30 16:00:21.760142] [debug] {"uuid":"77808d61-88af-4ba4-a268-c6454ac4e803","changeType":"draft_approved","entity":"invoice","entityId":1850,"message":null,"clientId":97,"eventName":"invoice.draft_approved","clientData":{"id":97,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS AVILES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS AVILES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"YOLANDA","lastName":"CANO","username":"ycano97","contacts":[{"id":98,"clientId":97,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-8000,"accountCredit":0,"accountOutstanding":8000,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.151597,"addressGpsLon":-100.9367183,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1850,"clientId":97,"number":"001800","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1853,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":96,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"YOLANDA","clientLastName":"CANO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AVILES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:21.872730] [notice] Logging level set to:debug -[2025-04-30 16:00:21.872809] [debug] valor del webhook: {"uuid":"c0fe6aa6-6355-4ff3-b9cc-8335df03a9f5","changeType":"insert","entity":"invoice","entityId":"1851","eventName":"invoice.add_draft","extraData":{"entity":{"id":1851,"clientId":11,"number":"001801","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1854,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":11,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"KARIME","clientLastName":"QUINTERO HERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:22.012469] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:00:22.012522] [debug] Valor de JSON: {"uuid":"c0fe6aa6-6355-4ff3-b9cc-8335df03a9f5","changeType":"insert","entity":"invoice","entityId":"1851","eventName":"invoice.add_draft","extraData":{"entity":{"id":1851,"clientId":11,"number":"001801","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1854,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":11,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"KARIME","clientLastName":"QUINTERO HERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:22.012619] [debug] Adición de borrador de Factura - -[2025-04-30 16:00:22.012662] [debug] {"uuid":"c0fe6aa6-6355-4ff3-b9cc-8335df03a9f5","changeType":"insert","entity":"invoice","entityId":1851,"message":null,"clientId":11,"eventName":"invoice.add_draft","clientData":{"id":11,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TRANCAS","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TRANCAS, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"KARIME","lastName":"QUINTERO HERNANDEZ","username":"kquintero11","contacts":[{"id":12,"clientId":11,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3600,"accountCredit":0,"accountOutstanding":3600,"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":1851,"clientId":11,"number":"001801","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1854,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":11,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"KARIME","clientLastName":"QUINTERO HERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:22.125998] [notice] Logging level set to:debug -[2025-04-30 16:00:22.126055] [debug] valor del webhook: {"uuid":"aab90574-105d-4f44-8b55-afbb0e197a45","changeType":"draft_approved","entity":"invoice","entityId":"1851","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1851,"clientId":11,"number":"001801","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1854,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":11,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"KARIME","clientLastName":"QUINTERO HERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:22.266259] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:00:22.266310] [debug] Valor de JSON: {"uuid":"aab90574-105d-4f44-8b55-afbb0e197a45","changeType":"draft_approved","entity":"invoice","entityId":"1851","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1851,"clientId":11,"number":"001801","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1854,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":11,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"KARIME","clientLastName":"QUINTERO HERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:22.266403] [debug] Aprobación de Factura - -[2025-04-30 16:00:22.266444] [debug] {"uuid":"aab90574-105d-4f44-8b55-afbb0e197a45","changeType":"draft_approved","entity":"invoice","entityId":1851,"message":null,"clientId":11,"eventName":"invoice.draft_approved","clientData":{"id":11,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TRANCAS","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TRANCAS, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"KARIME","lastName":"QUINTERO HERNANDEZ","username":"kquintero11","contacts":[{"id":12,"clientId":11,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3600,"accountCredit":0,"accountOutstanding":3600,"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":1851,"clientId":11,"number":"001801","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1854,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":11,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"KARIME","clientLastName":"QUINTERO HERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:22.375869] [notice] Logging level set to:debug -[2025-04-30 16:00:22.375933] [debug] valor del webhook: {"uuid":"f170c026-309a-4bc6-b0df-cf02cf3cc404","changeType":"insert","entity":"invoice","entityId":"1852","eventName":"invoice.add_draft","extraData":{"entity":{"id":1852,"clientId":10,"number":"001802","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1855,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":10,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CARLOS","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:22.510674] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:00:22.510731] [debug] Valor de JSON: {"uuid":"f170c026-309a-4bc6-b0df-cf02cf3cc404","changeType":"insert","entity":"invoice","entityId":"1852","eventName":"invoice.add_draft","extraData":{"entity":{"id":1852,"clientId":10,"number":"001802","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1855,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":10,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CARLOS","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:22.510840] [debug] Adición de borrador de Factura - -[2025-04-30 16:00:22.510889] [debug] {"uuid":"f170c026-309a-4bc6-b0df-cf02cf3cc404","changeType":"insert","entity":"invoice","entityId":1852,"message":null,"clientId":10,"eventName":"invoice.add_draft","clientData":{"id":10,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"CARLOS","lastName":"MESA","username":"cmesa10","contacts":[{"id":11,"clientId":10,"email":null,"phone":"4425476911","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1001,"name":"WhatsApptmp"}]}],"attributes":[],"accountBalance":-5100,"accountCredit":0,"accountOutstanding":5100,"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":1852,"clientId":10,"number":"001802","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1855,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":10,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CARLOS","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:22.625313] [notice] Logging level set to:debug -[2025-04-30 16:00:22.625375] [debug] valor del webhook: {"uuid":"afdeb626-f136-45a7-975a-e41ba9e53ab9","changeType":"draft_approved","entity":"invoice","entityId":"1852","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1852,"clientId":10,"number":"001802","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1855,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":10,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CARLOS","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:22.779500] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:00:22.779556] [debug] Valor de JSON: {"uuid":"afdeb626-f136-45a7-975a-e41ba9e53ab9","changeType":"draft_approved","entity":"invoice","entityId":"1852","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1852,"clientId":10,"number":"001802","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1855,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":10,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CARLOS","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:22.779664] [debug] Aprobación de Factura - -[2025-04-30 16:00:22.779707] [debug] {"uuid":"afdeb626-f136-45a7-975a-e41ba9e53ab9","changeType":"draft_approved","entity":"invoice","entityId":1852,"message":null,"clientId":10,"eventName":"invoice.draft_approved","clientData":{"id":10,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"CARLOS","lastName":"MESA","username":"cmesa10","contacts":[{"id":11,"clientId":10,"email":null,"phone":"4425476911","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1001,"name":"WhatsApptmp"}]}],"attributes":[],"accountBalance":-5100,"accountCredit":0,"accountOutstanding":5100,"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":1852,"clientId":10,"number":"001802","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1855,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":10,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CARLOS","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:22.896523] [notice] Logging level set to:debug -[2025-04-30 16:00:22.896631] [debug] valor del webhook: {"uuid":"02a36f71-4794-425c-a1ce-dfe60e63ea78","changeType":"insert","entity":"invoice","entityId":"1853","eventName":"invoice.add_draft","extraData":{"entity":{"id":1853,"clientId":90,"number":"001803","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1856,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":89,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PEDRO","clientLastName":"HORNEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:23.040232] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:00:23.040405] [debug] Valor de JSON: {"uuid":"02a36f71-4794-425c-a1ce-dfe60e63ea78","changeType":"insert","entity":"invoice","entityId":"1853","eventName":"invoice.add_draft","extraData":{"entity":{"id":1853,"clientId":90,"number":"001803","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1856,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":89,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PEDRO","clientLastName":"HORNEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:23.040527] [debug] Adición de borrador de Factura - -[2025-04-30 16:00:23.040575] [debug] {"uuid":"02a36f71-4794-425c-a1ce-dfe60e63ea78","changeType":"insert","entity":"invoice","entityId":1853,"message":null,"clientId":90,"eventName":"invoice.add_draft","clientData":{"id":90,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"ADJUNTAS DEL RIO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"ADJUNTAS DEL RIO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"PEDRO","lastName":"HORNEDO","username":"phornedo90","contacts":[{"id":91,"clientId":90,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1853,"clientId":90,"number":"001803","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1856,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":89,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PEDRO","clientLastName":"HORNEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:23.162003] [notice] Logging level set to:debug -[2025-04-30 16:00:23.162111] [debug] valor del webhook: {"uuid":"5dfacf20-10ac-41bd-ad25-55126b541908","changeType":"draft_approved","entity":"invoice","entityId":"1853","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1853,"clientId":90,"number":"001803","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1856,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":89,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PEDRO","clientLastName":"HORNEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:23.314197] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:00:23.314301] [debug] Valor de JSON: {"uuid":"5dfacf20-10ac-41bd-ad25-55126b541908","changeType":"draft_approved","entity":"invoice","entityId":"1853","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1853,"clientId":90,"number":"001803","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1856,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":89,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PEDRO","clientLastName":"HORNEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:23.314692] [debug] Aprobación de Factura - -[2025-04-30 16:00:23.314800] [debug] {"uuid":"5dfacf20-10ac-41bd-ad25-55126b541908","changeType":"draft_approved","entity":"invoice","entityId":1853,"message":null,"clientId":90,"eventName":"invoice.draft_approved","clientData":{"id":90,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"ADJUNTAS DEL RIO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"ADJUNTAS DEL RIO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"PEDRO","lastName":"HORNEDO","username":"phornedo90","contacts":[{"id":91,"clientId":90,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1853,"clientId":90,"number":"001803","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1856,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":89,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PEDRO","clientLastName":"HORNEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:24.097156] [notice] Logging level set to:debug -[2025-04-30 16:00:24.097290] [debug] valor del webhook: {"uuid":"bbc90826-454e-440d-bf47-f8498ab38809","changeType":"insert","entity":"invoice","entityId":"1854","eventName":"invoice.add_draft","extraData":{"entity":{"id":1854,"clientId":91,"number":"001804","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1857,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":90,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CAROLINA","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:24.237538] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:00:24.237591] [debug] Valor de JSON: {"uuid":"bbc90826-454e-440d-bf47-f8498ab38809","changeType":"insert","entity":"invoice","entityId":"1854","eventName":"invoice.add_draft","extraData":{"entity":{"id":1854,"clientId":91,"number":"001804","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1857,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":90,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CAROLINA","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:24.237694] [debug] Adición de borrador de Factura - -[2025-04-30 16:00:24.237751] [debug] {"uuid":"bbc90826-454e-440d-bf47-f8498ab38809","changeType":"insert","entity":"invoice","entityId":1854,"message":null,"clientId":91,"eventName":"invoice.add_draft","clientData":{"id":91,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA CALIORNIA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA CALIORNIA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"CAROLINA","lastName":"PE\u00d1A","username":"cpe\u00d1a91","contacts":[{"id":92,"clientId":91,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7700,"accountCredit":0,"accountOutstanding":7700,"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":1854,"clientId":91,"number":"001804","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1857,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":90,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CAROLINA","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:24.351847] [notice] Logging level set to:debug -[2025-04-30 16:00:24.351953] [debug] valor del webhook: {"uuid":"2670e301-e5d7-4d85-9b85-6f79218156c0","changeType":"draft_approved","entity":"invoice","entityId":"1854","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1854,"clientId":91,"number":"001804","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1857,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":90,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CAROLINA","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:24.492124] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:00:24.492176] [debug] Valor de JSON: {"uuid":"2670e301-e5d7-4d85-9b85-6f79218156c0","changeType":"draft_approved","entity":"invoice","entityId":"1854","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1854,"clientId":91,"number":"001804","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1857,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":90,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CAROLINA","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:24.492429] [debug] Aprobación de Factura - -[2025-04-30 16:00:24.492481] [debug] {"uuid":"2670e301-e5d7-4d85-9b85-6f79218156c0","changeType":"draft_approved","entity":"invoice","entityId":1854,"message":null,"clientId":91,"eventName":"invoice.draft_approved","clientData":{"id":91,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA CALIORNIA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA CALIORNIA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"CAROLINA","lastName":"PE\u00d1A","username":"cpe\u00d1a91","contacts":[{"id":92,"clientId":91,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7700,"accountCredit":0,"accountOutstanding":7700,"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":1854,"clientId":91,"number":"001804","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1857,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":90,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CAROLINA","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:28.381539] [notice] Logging level set to:debug -[2025-04-30 16:00:28.381652] [debug] valor del webhook: {"uuid":"cda6c46e-be1a-456b-a7f3-828d9f3792d5","changeType":"insert","entity":"invoice","entityId":"1855","eventName":"invoice.add_draft","extraData":{"entity":{"id":1855,"clientId":82,"number":"001805","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1858,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":81,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AGUSTINA","clientLastName":"PERICLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:28.537270] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:00:28.537328] [debug] Valor de JSON: {"uuid":"cda6c46e-be1a-456b-a7f3-828d9f3792d5","changeType":"insert","entity":"invoice","entityId":"1855","eventName":"invoice.add_draft","extraData":{"entity":{"id":1855,"clientId":82,"number":"001805","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1858,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":81,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AGUSTINA","clientLastName":"PERICLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:28.537448] [debug] Adición de borrador de Factura - -[2025-04-30 16:00:28.537494] [debug] {"uuid":"cda6c46e-be1a-456b-a7f3-828d9f3792d5","changeType":"insert","entity":"invoice","entityId":1855,"message":null,"clientId":82,"eventName":"invoice.add_draft","clientData":{"id":82,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"AGUSTINA","lastName":"PERICLES","username":"apericles82","contacts":[{"id":83,"clientId":82,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1855,"clientId":82,"number":"001805","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1858,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":81,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AGUSTINA","clientLastName":"PERICLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:28.649701] [notice] Logging level set to:debug -[2025-04-30 16:00:28.649759] [debug] valor del webhook: {"uuid":"d1e606c2-6e3d-49b4-9246-defa27440b5a","changeType":"draft_approved","entity":"invoice","entityId":"1855","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1855,"clientId":82,"number":"001805","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1858,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":81,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AGUSTINA","clientLastName":"PERICLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:28.786489] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:00:28.786540] [debug] Valor de JSON: {"uuid":"d1e606c2-6e3d-49b4-9246-defa27440b5a","changeType":"draft_approved","entity":"invoice","entityId":"1855","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1855,"clientId":82,"number":"001805","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1858,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":81,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AGUSTINA","clientLastName":"PERICLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:28.786636] [debug] Aprobación de Factura - -[2025-04-30 16:00:28.786679] [debug] {"uuid":"d1e606c2-6e3d-49b4-9246-defa27440b5a","changeType":"draft_approved","entity":"invoice","entityId":1855,"message":null,"clientId":82,"eventName":"invoice.draft_approved","clientData":{"id":82,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"AGUSTINA","lastName":"PERICLES","username":"apericles82","contacts":[{"id":83,"clientId":82,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1855,"clientId":82,"number":"001805","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1858,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":81,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AGUSTINA","clientLastName":"PERICLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:29.719312] [notice] Logging level set to:debug -[2025-04-30 16:00:29.719417] [debug] valor del webhook: {"uuid":"3383e7c3-271d-4032-982b-3e77f3eacead","changeType":"insert","entity":"invoice","entityId":"1856","eventName":"invoice.add_draft","extraData":{"entity":{"id":1856,"clientId":95,"number":"001806","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1859,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":94,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SOFIA","clientLastName":"VALENCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:29.862026] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:00:29.862085] [debug] Valor de JSON: {"uuid":"3383e7c3-271d-4032-982b-3e77f3eacead","changeType":"insert","entity":"invoice","entityId":"1856","eventName":"invoice.add_draft","extraData":{"entity":{"id":1856,"clientId":95,"number":"001806","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1859,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":94,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SOFIA","clientLastName":"VALENCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:29.862186] [debug] Adición de borrador de Factura - -[2025-04-30 16:00:29.862230] [debug] {"uuid":"3383e7c3-271d-4032-982b-3e77f3eacead","changeType":"insert","entity":"invoice","entityId":1856,"message":null,"clientId":95,"eventName":"invoice.add_draft","clientData":{"id":95,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SOFIA","lastName":"VALENCIA","username":"svalencia95","contacts":[{"id":96,"clientId":95,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-8000,"accountCredit":0,"accountOutstanding":8000,"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":1856,"clientId":95,"number":"001806","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1859,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":94,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SOFIA","clientLastName":"VALENCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:29.975378] [notice] Logging level set to:debug -[2025-04-30 16:00:29.975431] [debug] valor del webhook: {"uuid":"a131b5be-030b-4d1c-81d6-5a878c63a145","changeType":"draft_approved","entity":"invoice","entityId":"1856","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1856,"clientId":95,"number":"001806","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1859,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":94,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SOFIA","clientLastName":"VALENCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:30.123256] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:00:30.123311] [debug] Valor de JSON: {"uuid":"a131b5be-030b-4d1c-81d6-5a878c63a145","changeType":"draft_approved","entity":"invoice","entityId":"1856","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1856,"clientId":95,"number":"001806","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1859,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":94,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SOFIA","clientLastName":"VALENCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:30.123419] [debug] Aprobación de Factura - -[2025-04-30 16:00:30.123461] [debug] {"uuid":"a131b5be-030b-4d1c-81d6-5a878c63a145","changeType":"draft_approved","entity":"invoice","entityId":1856,"message":null,"clientId":95,"eventName":"invoice.draft_approved","clientData":{"id":95,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SOFIA","lastName":"VALENCIA","username":"svalencia95","contacts":[{"id":96,"clientId":95,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-8000,"accountCredit":0,"accountOutstanding":8000,"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":1856,"clientId":95,"number":"001806","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1859,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":94,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SOFIA","clientLastName":"VALENCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:31.052602] [notice] Logging level set to:debug -[2025-04-30 16:00:31.052661] [debug] valor del webhook: {"uuid":"9db59750-0f12-473b-8f93-0f89dfb036d1","changeType":"insert","entity":"invoice","entityId":"1857","eventName":"invoice.add_draft","extraData":{"entity":{"id":1857,"clientId":54,"number":"001807","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1860,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":53,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORETO","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"COLORADO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:31.199357] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:00:31.199413] [debug] Valor de JSON: {"uuid":"9db59750-0f12-473b-8f93-0f89dfb036d1","changeType":"insert","entity":"invoice","entityId":"1857","eventName":"invoice.add_draft","extraData":{"entity":{"id":1857,"clientId":54,"number":"001807","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1860,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":53,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORETO","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"COLORADO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:31.199551] [debug] Adición de borrador de Factura - -[2025-04-30 16:00:31.199594] [debug] {"uuid":"9db59750-0f12-473b-8f93-0f89dfb036d1","changeType":"insert","entity":"invoice","entityId":1857,"message":null,"clientId":54,"eventName":"invoice.add_draft","clientData":{"id":54,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"COLORADO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"COLORADO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"LORETO","lastName":"HERRERA","username":"lherrera54","contacts":[{"id":55,"clientId":54,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1857,"clientId":54,"number":"001807","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1860,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":53,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORETO","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"COLORADO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:31.313710] [notice] Logging level set to:debug -[2025-04-30 16:00:31.313767] [debug] valor del webhook: {"uuid":"8a2b9286-8355-4321-bcba-48553186eeb7","changeType":"draft_approved","entity":"invoice","entityId":"1857","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1857,"clientId":54,"number":"001807","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1860,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":53,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORETO","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"COLORADO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:31.447998] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:00:31.448443] [debug] Valor de JSON: {"uuid":"8a2b9286-8355-4321-bcba-48553186eeb7","changeType":"draft_approved","entity":"invoice","entityId":"1857","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1857,"clientId":54,"number":"001807","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1860,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":53,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORETO","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"COLORADO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:31.448582] [debug] Aprobación de Factura - -[2025-04-30 16:00:31.448637] [debug] {"uuid":"8a2b9286-8355-4321-bcba-48553186eeb7","changeType":"draft_approved","entity":"invoice","entityId":1857,"message":null,"clientId":54,"eventName":"invoice.draft_approved","clientData":{"id":54,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"COLORADO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"COLORADO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"LORETO","lastName":"HERRERA","username":"lherrera54","contacts":[{"id":55,"clientId":54,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1857,"clientId":54,"number":"001807","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1860,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":53,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORETO","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"COLORADO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:32.399409] [notice] Logging level set to:debug -[2025-04-30 16:00:32.399472] [debug] valor del webhook: {"uuid":"c75dfa00-2f4e-4d2b-b824-690e96daec11","changeType":"insert","entity":"invoice","entityId":"1858","eventName":"invoice.add_draft","extraData":{"entity":{"id":1858,"clientId":40,"number":"001808","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1861,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":39,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"PADRON","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RANCHO GUADALUPE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:32.542232] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:00:32.542288] [debug] Valor de JSON: {"uuid":"c75dfa00-2f4e-4d2b-b824-690e96daec11","changeType":"insert","entity":"invoice","entityId":"1858","eventName":"invoice.add_draft","extraData":{"entity":{"id":1858,"clientId":40,"number":"001808","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1861,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":39,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"PADRON","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RANCHO GUADALUPE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:32.542401] [debug] Adición de borrador de Factura - -[2025-04-30 16:00:32.542445] [debug] {"uuid":"c75dfa00-2f4e-4d2b-b824-690e96daec11","changeType":"insert","entity":"invoice","entityId":1858,"message":null,"clientId":40,"eventName":"invoice.add_draft","clientData":{"id":40,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"RANCHO GUADALUPE","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"RANCHO GUADALUPE, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OMAR","lastName":"PADRON","username":"opadron40","contacts":[{"id":41,"clientId":40,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4510,"accountCredit":0,"accountOutstanding":4510,"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":1858,"clientId":40,"number":"001808","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1861,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":39,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"PADRON","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RANCHO GUADALUPE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:32.651830] [notice] Logging level set to:debug -[2025-04-30 16:00:32.651882] [debug] valor del webhook: {"uuid":"d9d846dc-a21a-401d-b99d-73c71764d73d","changeType":"draft_approved","entity":"invoice","entityId":"1858","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1858,"clientId":40,"number":"001808","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1861,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":39,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"PADRON","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RANCHO GUADALUPE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:32.812119] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:00:32.812189] [debug] Valor de JSON: {"uuid":"d9d846dc-a21a-401d-b99d-73c71764d73d","changeType":"draft_approved","entity":"invoice","entityId":"1858","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1858,"clientId":40,"number":"001808","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1861,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":39,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"PADRON","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RANCHO GUADALUPE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:32.812340] [debug] Aprobación de Factura - -[2025-04-30 16:00:32.812388] [debug] {"uuid":"d9d846dc-a21a-401d-b99d-73c71764d73d","changeType":"draft_approved","entity":"invoice","entityId":1858,"message":null,"clientId":40,"eventName":"invoice.draft_approved","clientData":{"id":40,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"RANCHO GUADALUPE","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"RANCHO GUADALUPE, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OMAR","lastName":"PADRON","username":"opadron40","contacts":[{"id":41,"clientId":40,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4510,"accountCredit":0,"accountOutstanding":4510,"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":1858,"clientId":40,"number":"001808","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1861,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":39,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"PADRON","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RANCHO GUADALUPE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:33.740125] [notice] Logging level set to:debug -[2025-04-30 16:00:33.740201] [debug] valor del webhook: {"uuid":"a4b7c18e-8080-4d01-a06d-cb45bb270ac3","changeType":"insert","entity":"invoice","entityId":"1859","eventName":"invoice.add_draft","extraData":{"entity":{"id":1859,"clientId":79,"number":"001809","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1862,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":78,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"ESPONIZA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:33.894572] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:00:33.894629] [debug] Valor de JSON: {"uuid":"a4b7c18e-8080-4d01-a06d-cb45bb270ac3","changeType":"insert","entity":"invoice","entityId":"1859","eventName":"invoice.add_draft","extraData":{"entity":{"id":1859,"clientId":79,"number":"001809","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1862,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":78,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"ESPONIZA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:33.894727] [debug] Adición de borrador de Factura - -[2025-04-30 16:00:33.894771] [debug] {"uuid":"a4b7c18e-8080-4d01-a06d-cb45bb270ac3","changeType":"insert","entity":"invoice","entityId":1859,"message":null,"clientId":79,"eventName":"invoice.add_draft","clientData":{"id":79,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LAS YERBAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LAS YERBAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SEBASTIAN","lastName":"ESPONIZA","username":"sesponiza79","contacts":[{"id":80,"clientId":79,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7500,"accountCredit":0,"accountOutstanding":7500,"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":1859,"clientId":79,"number":"001809","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1862,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":78,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"ESPONIZA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:34.008105] [notice] Logging level set to:debug -[2025-04-30 16:00:34.008177] [debug] valor del webhook: {"uuid":"b7e7ce3d-c6a1-4b57-a44d-4a08ece99907","changeType":"draft_approved","entity":"invoice","entityId":"1859","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1859,"clientId":79,"number":"001809","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1862,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":78,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"ESPONIZA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:34.172060] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:00:34.172118] [debug] Valor de JSON: {"uuid":"b7e7ce3d-c6a1-4b57-a44d-4a08ece99907","changeType":"draft_approved","entity":"invoice","entityId":"1859","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1859,"clientId":79,"number":"001809","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1862,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":78,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"ESPONIZA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:34.172245] [debug] Aprobación de Factura - -[2025-04-30 16:00:34.172350] [debug] {"uuid":"b7e7ce3d-c6a1-4b57-a44d-4a08ece99907","changeType":"draft_approved","entity":"invoice","entityId":1859,"message":null,"clientId":79,"eventName":"invoice.draft_approved","clientData":{"id":79,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LAS YERBAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LAS YERBAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SEBASTIAN","lastName":"ESPONIZA","username":"sesponiza79","contacts":[{"id":80,"clientId":79,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7500,"accountCredit":0,"accountOutstanding":7500,"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":1859,"clientId":79,"number":"001809","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1862,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":78,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"ESPONIZA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:35.101258] [notice] Logging level set to:debug -[2025-04-30 16:00:35.101368] [debug] valor del webhook: {"uuid":"163ede4f-32c4-4618-9dbe-eaa4afe12418","changeType":"insert","entity":"invoice","entityId":"1860","eventName":"invoice.add_draft","extraData":{"entity":{"id":1860,"clientId":21,"number":"001810","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1863,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":20,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NATALIA","clientLastName":"JUAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:35.240428] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:00:35.240482] [debug] Valor de JSON: {"uuid":"163ede4f-32c4-4618-9dbe-eaa4afe12418","changeType":"insert","entity":"invoice","entityId":"1860","eventName":"invoice.add_draft","extraData":{"entity":{"id":1860,"clientId":21,"number":"001810","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1863,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":20,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NATALIA","clientLastName":"JUAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:35.240581] [debug] Adición de borrador de Factura - -[2025-04-30 16:00:35.240624] [debug] {"uuid":"163ede4f-32c4-4618-9dbe-eaa4afe12418","changeType":"insert","entity":"invoice","entityId":1860,"message":null,"clientId":21,"eventName":"invoice.add_draft","clientData":{"id":21,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"MEZQUITAL","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"MEZQUITAL, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"NATALIA","lastName":"JUAREZ","username":"njuarez21","contacts":[{"id":22,"clientId":21,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5100,"accountCredit":0,"accountOutstanding":5100,"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":1860,"clientId":21,"number":"001810","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1863,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":20,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NATALIA","clientLastName":"JUAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:35.353174] [notice] Logging level set to:debug -[2025-04-30 16:00:35.353230] [debug] valor del webhook: {"uuid":"558aa207-fe25-4379-a159-e37c706a2bc7","changeType":"draft_approved","entity":"invoice","entityId":"1860","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1860,"clientId":21,"number":"001810","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1863,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":20,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NATALIA","clientLastName":"JUAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:35.487929] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:00:35.487977] [debug] Valor de JSON: {"uuid":"558aa207-fe25-4379-a159-e37c706a2bc7","changeType":"draft_approved","entity":"invoice","entityId":"1860","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1860,"clientId":21,"number":"001810","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1863,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":20,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NATALIA","clientLastName":"JUAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:35.488075] [debug] Aprobación de Factura - -[2025-04-30 16:00:35.488117] [debug] {"uuid":"558aa207-fe25-4379-a159-e37c706a2bc7","changeType":"draft_approved","entity":"invoice","entityId":1860,"message":null,"clientId":21,"eventName":"invoice.draft_approved","clientData":{"id":21,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"MEZQUITAL","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"MEZQUITAL, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"NATALIA","lastName":"JUAREZ","username":"njuarez21","contacts":[{"id":22,"clientId":21,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5100,"accountCredit":0,"accountOutstanding":5100,"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":1860,"clientId":21,"number":"001810","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1863,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":20,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NATALIA","clientLastName":"JUAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:36.411128] [notice] Logging level set to:debug -[2025-04-30 16:00:36.411237] [debug] valor del webhook: {"uuid":"8117c728-66bc-4409-8483-7f37fbe41431","changeType":"insert","entity":"invoice","entityId":"1861","eventName":"invoice.add_draft","extraData":{"entity":{"id":1861,"clientId":39,"number":"001811","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1864,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":38,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FRANCISCO","clientLastName":"BALDERAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PIEDRA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:36.545200] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:00:36.545253] [debug] Valor de JSON: {"uuid":"8117c728-66bc-4409-8483-7f37fbe41431","changeType":"insert","entity":"invoice","entityId":"1861","eventName":"invoice.add_draft","extraData":{"entity":{"id":1861,"clientId":39,"number":"001811","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1864,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":38,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FRANCISCO","clientLastName":"BALDERAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PIEDRA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:36.545352] [debug] Adición de borrador de Factura - -[2025-04-30 16:00:36.545397] [debug] {"uuid":"8117c728-66bc-4409-8483-7f37fbe41431","changeType":"insert","entity":"invoice","entityId":1861,"message":null,"clientId":39,"eventName":"invoice.add_draft","clientData":{"id":39,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA PIEDRA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA PIEDRA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"FRANCISCO","lastName":"BALDERAS","username":"fbalderas39","contacts":[{"id":40,"clientId":39,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4810,"accountCredit":0,"accountOutstanding":4810,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#546e7a","addressGpsLat":21.2708978,"addressGpsLon":-100.7973281,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1861,"clientId":39,"number":"001811","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1864,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":38,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FRANCISCO","clientLastName":"BALDERAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PIEDRA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:36.659543] [notice] Logging level set to:debug -[2025-04-30 16:00:36.659599] [debug] valor del webhook: {"uuid":"c6b99e94-2df4-4216-94c0-c89eed2978af","changeType":"draft_approved","entity":"invoice","entityId":"1861","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1861,"clientId":39,"number":"001811","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1864,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":38,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FRANCISCO","clientLastName":"BALDERAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PIEDRA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:36.799829] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:00:36.799881] [debug] Valor de JSON: {"uuid":"c6b99e94-2df4-4216-94c0-c89eed2978af","changeType":"draft_approved","entity":"invoice","entityId":"1861","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1861,"clientId":39,"number":"001811","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1864,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":38,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FRANCISCO","clientLastName":"BALDERAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PIEDRA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:36.799982] [debug] Aprobación de Factura - -[2025-04-30 16:00:36.800021] [debug] {"uuid":"c6b99e94-2df4-4216-94c0-c89eed2978af","changeType":"draft_approved","entity":"invoice","entityId":1861,"message":null,"clientId":39,"eventName":"invoice.draft_approved","clientData":{"id":39,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA PIEDRA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA PIEDRA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"FRANCISCO","lastName":"BALDERAS","username":"fbalderas39","contacts":[{"id":40,"clientId":39,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4810,"accountCredit":0,"accountOutstanding":4810,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#546e7a","addressGpsLat":21.2708978,"addressGpsLon":-100.7973281,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1861,"clientId":39,"number":"001811","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1864,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":38,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FRANCISCO","clientLastName":"BALDERAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PIEDRA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:37.732419] [notice] Logging level set to:debug -[2025-04-30 16:00:37.732532] [debug] valor del webhook: {"uuid":"392b92ee-305e-4cea-81f8-711812988478","changeType":"insert","entity":"invoice","entityId":"1862","eventName":"invoice.add_draft","extraData":{"entity":{"id":1862,"clientId":58,"number":"001812","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1865,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":57,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"DOMINGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MOLINO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:37.891673] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:00:37.891726] [debug] Valor de JSON: {"uuid":"392b92ee-305e-4cea-81f8-711812988478","changeType":"insert","entity":"invoice","entityId":"1862","eventName":"invoice.add_draft","extraData":{"entity":{"id":1862,"clientId":58,"number":"001812","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1865,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":57,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"DOMINGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MOLINO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:37.891849] [debug] Adición de borrador de Factura - -[2025-04-30 16:00:37.891894] [debug] {"uuid":"392b92ee-305e-4cea-81f8-711812988478","changeType":"insert","entity":"invoice","entityId":1862,"message":null,"clientId":58,"eventName":"invoice.add_draft","clientData":{"id":58,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL MOLINO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL MOLINO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDGAR","lastName":"DOMINGUEZ","username":"edominguez58","contacts":[{"id":59,"clientId":58,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1862,"clientId":58,"number":"001812","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1865,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":57,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"DOMINGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MOLINO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:38.008652] [notice] Logging level set to:debug -[2025-04-30 16:00:38.008714] [debug] valor del webhook: {"uuid":"a5ae06da-803c-4204-a0a2-50c3cf4e822a","changeType":"draft_approved","entity":"invoice","entityId":"1862","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1862,"clientId":58,"number":"001812","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1865,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":57,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"DOMINGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MOLINO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:38.165766] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:00:38.165819] [debug] Valor de JSON: {"uuid":"a5ae06da-803c-4204-a0a2-50c3cf4e822a","changeType":"draft_approved","entity":"invoice","entityId":"1862","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1862,"clientId":58,"number":"001812","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1865,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":57,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"DOMINGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MOLINO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:38.165925] [debug] Aprobación de Factura - -[2025-04-30 16:00:38.166110] [debug] {"uuid":"a5ae06da-803c-4204-a0a2-50c3cf4e822a","changeType":"draft_approved","entity":"invoice","entityId":1862,"message":null,"clientId":58,"eventName":"invoice.draft_approved","clientData":{"id":58,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL MOLINO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL MOLINO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDGAR","lastName":"DOMINGUEZ","username":"edominguez58","contacts":[{"id":59,"clientId":58,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1862,"clientId":58,"number":"001812","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1865,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":57,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"DOMINGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MOLINO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:39.087697] [notice] Logging level set to:debug -[2025-04-30 16:00:39.087750] [debug] valor del webhook: {"uuid":"f140341a-b9a4-4cf6-82e5-8c1c366d44e0","changeType":"insert","entity":"invoice","entityId":"1863","eventName":"invoice.add_draft","extraData":{"entity":{"id":1863,"clientId":96,"number":"001813","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1866,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":95,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PAMELA","clientLastName":"RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:39.228091] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:00:39.228158] [debug] Valor de JSON: {"uuid":"f140341a-b9a4-4cf6-82e5-8c1c366d44e0","changeType":"insert","entity":"invoice","entityId":"1863","eventName":"invoice.add_draft","extraData":{"entity":{"id":1863,"clientId":96,"number":"001813","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1866,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":95,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PAMELA","clientLastName":"RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:39.228408] [debug] Adición de borrador de Factura - -[2025-04-30 16:00:39.228482] [debug] {"uuid":"f140341a-b9a4-4cf6-82e5-8c1c366d44e0","changeType":"insert","entity":"invoice","entityId":1863,"message":null,"clientId":96,"eventName":"invoice.add_draft","clientData":{"id":96,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"PAMELA","lastName":"RAMIREZ","username":"pramirez96","contacts":[{"id":97,"clientId":96,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-900,"accountCredit":0,"accountOutstanding":900,"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":1863,"clientId":96,"number":"001813","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1866,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":95,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PAMELA","clientLastName":"RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:39.347199] [notice] Logging level set to:debug -[2025-04-30 16:00:39.347266] [debug] valor del webhook: {"uuid":"ea5875a1-71b2-485c-acdb-71071d0c32f6","changeType":"draft_approved","entity":"invoice","entityId":"1863","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1863,"clientId":96,"number":"001813","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1866,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":95,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PAMELA","clientLastName":"RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:39.485749] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:00:39.485801] [debug] Valor de JSON: {"uuid":"ea5875a1-71b2-485c-acdb-71071d0c32f6","changeType":"draft_approved","entity":"invoice","entityId":"1863","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1863,"clientId":96,"number":"001813","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1866,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":95,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PAMELA","clientLastName":"RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:39.485898] [debug] Aprobación de Factura - -[2025-04-30 16:00:39.485955] [debug] {"uuid":"ea5875a1-71b2-485c-acdb-71071d0c32f6","changeType":"draft_approved","entity":"invoice","entityId":1863,"message":null,"clientId":96,"eventName":"invoice.draft_approved","clientData":{"id":96,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"PAMELA","lastName":"RAMIREZ","username":"pramirez96","contacts":[{"id":97,"clientId":96,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-900,"accountCredit":0,"accountOutstanding":900,"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":1863,"clientId":96,"number":"001813","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1866,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":95,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PAMELA","clientLastName":"RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:40.396476] [notice] Logging level set to:debug -[2025-04-30 16:00:40.396550] [debug] valor del webhook: {"uuid":"33ffc717-6d89-4e54-83b3-9a23926d1241","changeType":"insert","entity":"invoice","entityId":"1864","eventName":"invoice.add_draft","extraData":{"entity":{"id":1864,"clientId":83,"number":"001814","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1867,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":82,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"SOLIS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL VERGEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:40.542623] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:00:40.542676] [debug] Valor de JSON: {"uuid":"33ffc717-6d89-4e54-83b3-9a23926d1241","changeType":"insert","entity":"invoice","entityId":"1864","eventName":"invoice.add_draft","extraData":{"entity":{"id":1864,"clientId":83,"number":"001814","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1867,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":82,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"SOLIS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL VERGEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:40.542807] [debug] Adición de borrador de Factura - -[2025-04-30 16:00:40.542855] [debug] {"uuid":"33ffc717-6d89-4e54-83b3-9a23926d1241","changeType":"insert","entity":"invoice","entityId":1864,"message":null,"clientId":83,"eventName":"invoice.add_draft","clientData":{"id":83,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL VERGEL","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL VERGEL, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDUARDO","lastName":"SOLIS","username":"esolis83","contacts":[{"id":84,"clientId":83,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-9900,"accountCredit":0,"accountOutstanding":9900,"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":1864,"clientId":83,"number":"001814","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1867,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":82,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"SOLIS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL VERGEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:40.653794] [notice] Logging level set to:debug -[2025-04-30 16:00:40.653896] [debug] valor del webhook: {"uuid":"5048eddb-ae95-4b54-baa6-79883b66fb2c","changeType":"draft_approved","entity":"invoice","entityId":"1864","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1864,"clientId":83,"number":"001814","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1867,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":82,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"SOLIS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL VERGEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:40.792772] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:00:40.792825] [debug] Valor de JSON: {"uuid":"5048eddb-ae95-4b54-baa6-79883b66fb2c","changeType":"draft_approved","entity":"invoice","entityId":"1864","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1864,"clientId":83,"number":"001814","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1867,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":82,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"SOLIS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL VERGEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:40.792917] [debug] Aprobación de Factura - -[2025-04-30 16:00:40.792958] [debug] {"uuid":"5048eddb-ae95-4b54-baa6-79883b66fb2c","changeType":"draft_approved","entity":"invoice","entityId":1864,"message":null,"clientId":83,"eventName":"invoice.draft_approved","clientData":{"id":83,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL VERGEL","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL VERGEL, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDUARDO","lastName":"SOLIS","username":"esolis83","contacts":[{"id":84,"clientId":83,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-9900,"accountCredit":0,"accountOutstanding":9900,"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":1864,"clientId":83,"number":"001814","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1867,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":82,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"SOLIS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL VERGEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:41.712999] [notice] Logging level set to:debug -[2025-04-30 16:00:41.713105] [debug] valor del webhook: {"uuid":"120fc896-e8f6-44d1-924a-cd4c93bc1b1d","changeType":"insert","entity":"invoice","entityId":"1865","eventName":"invoice.add_draft","extraData":{"entity":{"id":1865,"clientId":18,"number":"001815","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1868,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":17,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"INGRID","clientLastName":"CORONADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:41.866422] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:00:41.866480] [debug] Valor de JSON: {"uuid":"120fc896-e8f6-44d1-924a-cd4c93bc1b1d","changeType":"insert","entity":"invoice","entityId":"1865","eventName":"invoice.add_draft","extraData":{"entity":{"id":1865,"clientId":18,"number":"001815","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1868,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":17,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"INGRID","clientLastName":"CORONADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:41.866594] [debug] Adición de borrador de Factura - -[2025-04-30 16:00:41.866637] [debug] {"uuid":"120fc896-e8f6-44d1-924a-cd4c93bc1b1d","changeType":"insert","entity":"invoice","entityId":1865,"message":null,"clientId":18,"eventName":"invoice.add_draft","clientData":{"id":18,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"INGRID","lastName":"CORONADO","username":"icoronado18","contacts":[{"id":19,"clientId":18,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-11200,"accountCredit":0,"accountOutstanding":11200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#039be5","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1865,"clientId":18,"number":"001815","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1868,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":17,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"INGRID","clientLastName":"CORONADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:41.975225] [notice] Logging level set to:debug -[2025-04-30 16:00:41.975286] [debug] valor del webhook: {"uuid":"73470546-199c-4c1b-a249-035e11a89a33","changeType":"draft_approved","entity":"invoice","entityId":"1865","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1865,"clientId":18,"number":"001815","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1868,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":17,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"INGRID","clientLastName":"CORONADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:42.121054] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:00:42.121109] [debug] Valor de JSON: {"uuid":"73470546-199c-4c1b-a249-035e11a89a33","changeType":"draft_approved","entity":"invoice","entityId":"1865","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1865,"clientId":18,"number":"001815","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1868,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":17,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"INGRID","clientLastName":"CORONADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:42.121212] [debug] Aprobación de Factura - -[2025-04-30 16:00:42.121257] [debug] {"uuid":"73470546-199c-4c1b-a249-035e11a89a33","changeType":"draft_approved","entity":"invoice","entityId":1865,"message":null,"clientId":18,"eventName":"invoice.draft_approved","clientData":{"id":18,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"INGRID","lastName":"CORONADO","username":"icoronado18","contacts":[{"id":19,"clientId":18,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-11200,"accountCredit":0,"accountOutstanding":11200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#039be5","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1865,"clientId":18,"number":"001815","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1868,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":17,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"INGRID","clientLastName":"CORONADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:43.242338] [notice] Logging level set to:debug -[2025-04-30 16:00:43.242403] [debug] valor del webhook: {"uuid":"ba41f6d1-9003-4a29-a9c5-5cd23d104e8f","changeType":"insert","entity":"invoice","entityId":"1866","eventName":"invoice.add_draft","extraData":{"entity":{"id":1866,"clientId":68,"number":"001816","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1869,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":67,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DOLORES","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:43.426826] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:00:43.426883] [debug] Valor de JSON: {"uuid":"ba41f6d1-9003-4a29-a9c5-5cd23d104e8f","changeType":"insert","entity":"invoice","entityId":"1866","eventName":"invoice.add_draft","extraData":{"entity":{"id":1866,"clientId":68,"number":"001816","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1869,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":67,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DOLORES","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:43.427030] [debug] Adición de borrador de Factura - -[2025-04-30 16:00:43.427217] [debug] {"uuid":"ba41f6d1-9003-4a29-a9c5-5cd23d104e8f","changeType":"insert","entity":"invoice","entityId":1866,"message":null,"clientId":68,"eventName":"invoice.add_draft","clientData":{"id":68,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DOLORES","lastName":"GARCIA","username":"dgarcia68","contacts":[{"id":69,"clientId":68,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#9e9d24","addressGpsLat":21.2516667,"addressGpsLon":-101.0924998,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1866,"clientId":68,"number":"001816","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1869,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":67,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DOLORES","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:43.584664] [notice] Logging level set to:debug -[2025-04-30 16:00:43.584728] [debug] valor del webhook: {"uuid":"ce4e912d-3ee8-4065-981f-44297624336f","changeType":"draft_approved","entity":"invoice","entityId":"1866","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1866,"clientId":68,"number":"001816","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1869,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":67,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DOLORES","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:43.733592] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:00:43.733645] [debug] Valor de JSON: {"uuid":"ce4e912d-3ee8-4065-981f-44297624336f","changeType":"draft_approved","entity":"invoice","entityId":"1866","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1866,"clientId":68,"number":"001816","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1869,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":67,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DOLORES","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:43.733763] [debug] Aprobación de Factura - -[2025-04-30 16:00:43.733814] [debug] {"uuid":"ce4e912d-3ee8-4065-981f-44297624336f","changeType":"draft_approved","entity":"invoice","entityId":1866,"message":null,"clientId":68,"eventName":"invoice.draft_approved","clientData":{"id":68,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DOLORES","lastName":"GARCIA","username":"dgarcia68","contacts":[{"id":69,"clientId":68,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#9e9d24","addressGpsLat":21.2516667,"addressGpsLon":-101.0924998,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1866,"clientId":68,"number":"001816","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1869,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":67,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DOLORES","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:44.493685] [notice] Logging level set to:debug -[2025-04-30 16:00:44.493788] [debug] valor del webhook: {"uuid":"52819918-26d7-472c-b79d-1389aca486ce","changeType":"insert","entity":"invoice","entityId":"1867","eventName":"invoice.add_draft","extraData":{"entity":{"id":1867,"clientId":36,"number":"001817","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1870,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":35,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURORA","clientLastName":"FLORES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:44.638931] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:00:44.638988] [debug] Valor de JSON: {"uuid":"52819918-26d7-472c-b79d-1389aca486ce","changeType":"insert","entity":"invoice","entityId":"1867","eventName":"invoice.add_draft","extraData":{"entity":{"id":1867,"clientId":36,"number":"001817","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1870,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":35,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURORA","clientLastName":"FLORES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:44.639097] [debug] Adición de borrador de Factura - -[2025-04-30 16:00:44.639142] [debug] {"uuid":"52819918-26d7-472c-b79d-1389aca486ce","changeType":"insert","entity":"invoice","entityId":1867,"message":null,"clientId":36,"eventName":"invoice.add_draft","clientData":{"id":36,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LAS FLORES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LAS FLORES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"AURORA","lastName":"FLORES","username":"aflores36","contacts":[{"id":37,"clientId":36,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-6290,"accountCredit":0,"accountOutstanding":6290,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00695c","addressGpsLat":21.1511969,"addressGpsLon":-100.9132525,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1867,"clientId":36,"number":"001817","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1870,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":35,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURORA","clientLastName":"FLORES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:44.756731] [notice] Logging level set to:debug -[2025-04-30 16:00:44.756791] [debug] valor del webhook: {"uuid":"5ab9b8f5-56d8-4841-8a9d-f1ef02949877","changeType":"draft_approved","entity":"invoice","entityId":"1867","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1867,"clientId":36,"number":"001817","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1870,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":35,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURORA","clientLastName":"FLORES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:44.899888] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:00:44.899939] [debug] Valor de JSON: {"uuid":"5ab9b8f5-56d8-4841-8a9d-f1ef02949877","changeType":"draft_approved","entity":"invoice","entityId":"1867","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1867,"clientId":36,"number":"001817","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1870,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":35,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURORA","clientLastName":"FLORES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:44.900047] [debug] Aprobación de Factura - -[2025-04-30 16:00:44.900224] [debug] {"uuid":"5ab9b8f5-56d8-4841-8a9d-f1ef02949877","changeType":"draft_approved","entity":"invoice","entityId":1867,"message":null,"clientId":36,"eventName":"invoice.draft_approved","clientData":{"id":36,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LAS FLORES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LAS FLORES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"AURORA","lastName":"FLORES","username":"aflores36","contacts":[{"id":37,"clientId":36,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-6290,"accountCredit":0,"accountOutstanding":6290,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00695c","addressGpsLat":21.1511969,"addressGpsLon":-100.9132525,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1867,"clientId":36,"number":"001817","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1870,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":35,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURORA","clientLastName":"FLORES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:45.837452] [notice] Logging level set to:debug -[2025-04-30 16:00:45.837562] [debug] valor del webhook: {"uuid":"45fa0ce4-8a04-40d4-86cc-fc871ee3e51c","changeType":"insert","entity":"invoice","entityId":"1868","eventName":"invoice.add_draft","extraData":{"entity":{"id":1868,"clientId":35,"number":"001818","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1871,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":34,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GABRIELA","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CANTERA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:45.979731] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:00:45.979788] [debug] Valor de JSON: {"uuid":"45fa0ce4-8a04-40d4-86cc-fc871ee3e51c","changeType":"insert","entity":"invoice","entityId":"1868","eventName":"invoice.add_draft","extraData":{"entity":{"id":1868,"clientId":35,"number":"001818","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1871,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":34,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GABRIELA","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CANTERA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:45.979895] [debug] Adición de borrador de Factura - -[2025-04-30 16:00:45.979939] [debug] {"uuid":"45fa0ce4-8a04-40d4-86cc-fc871ee3e51c","changeType":"insert","entity":"invoice","entityId":1868,"message":null,"clientId":35,"eventName":"invoice.add_draft","clientData":{"id":35,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA CANTERA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA CANTERA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"GABRIELA","lastName":"SUASTE","username":"gsuaste35","contacts":[{"id":36,"clientId":35,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"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":1868,"clientId":35,"number":"001818","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1871,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":34,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GABRIELA","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CANTERA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:46.092135] [notice] Logging level set to:debug -[2025-04-30 16:00:46.092216] [debug] valor del webhook: {"uuid":"52495cce-b4e1-410c-8828-f7557073b2d7","changeType":"draft_approved","entity":"invoice","entityId":"1868","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1868,"clientId":35,"number":"001818","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1871,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":34,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GABRIELA","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CANTERA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:46.239290] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:00:46.239342] [debug] Valor de JSON: {"uuid":"52495cce-b4e1-410c-8828-f7557073b2d7","changeType":"draft_approved","entity":"invoice","entityId":"1868","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1868,"clientId":35,"number":"001818","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1871,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":34,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GABRIELA","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CANTERA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:46.239454] [debug] Aprobación de Factura - -[2025-04-30 16:00:46.239497] [debug] {"uuid":"52495cce-b4e1-410c-8828-f7557073b2d7","changeType":"draft_approved","entity":"invoice","entityId":1868,"message":null,"clientId":35,"eventName":"invoice.draft_approved","clientData":{"id":35,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA CANTERA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA CANTERA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"GABRIELA","lastName":"SUASTE","username":"gsuaste35","contacts":[{"id":36,"clientId":35,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"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":1868,"clientId":35,"number":"001818","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1871,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":34,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GABRIELA","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CANTERA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:47.215109] [notice] Logging level set to:debug -[2025-04-30 16:00:47.215173] [debug] valor del webhook: {"uuid":"d270732c-cf8d-4b6d-898e-b95a81f8b248","changeType":"insert","entity":"invoice","entityId":"1869","eventName":"invoice.add_draft","extraData":{"entity":{"id":1869,"clientId":33,"number":"001819","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1872,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":32,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURELIA","clientLastName":"BARAJAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA CECILIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:47.353353] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:00:47.353405] [debug] Valor de JSON: {"uuid":"d270732c-cf8d-4b6d-898e-b95a81f8b248","changeType":"insert","entity":"invoice","entityId":"1869","eventName":"invoice.add_draft","extraData":{"entity":{"id":1869,"clientId":33,"number":"001819","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1872,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":32,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURELIA","clientLastName":"BARAJAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA CECILIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:47.353507] [debug] Adición de borrador de Factura - -[2025-04-30 16:00:47.353555] [debug] {"uuid":"d270732c-cf8d-4b6d-898e-b95a81f8b248","changeType":"insert","entity":"invoice","entityId":1869,"message":null,"clientId":33,"eventName":"invoice.add_draft","clientData":{"id":33,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA CECILIA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA CECILIA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"AURELIA","lastName":"BARAJAS","username":"abarajas33","contacts":[{"id":34,"clientId":33,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5050,"accountCredit":0,"accountOutstanding":5050,"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":1869,"clientId":33,"number":"001819","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1872,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":32,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURELIA","clientLastName":"BARAJAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA CECILIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:47.462014] [notice] Logging level set to:debug -[2025-04-30 16:00:47.462066] [debug] valor del webhook: {"uuid":"73fefc3b-7362-40c2-a574-c9c2447f913d","changeType":"draft_approved","entity":"invoice","entityId":"1869","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1869,"clientId":33,"number":"001819","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1872,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":32,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURELIA","clientLastName":"BARAJAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA CECILIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:47.600138] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:00:47.600192] [debug] Valor de JSON: {"uuid":"73fefc3b-7362-40c2-a574-c9c2447f913d","changeType":"draft_approved","entity":"invoice","entityId":"1869","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1869,"clientId":33,"number":"001819","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1872,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":32,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURELIA","clientLastName":"BARAJAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA CECILIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:47.600353] [debug] Aprobación de Factura - -[2025-04-30 16:00:47.600400] [debug] {"uuid":"73fefc3b-7362-40c2-a574-c9c2447f913d","changeType":"draft_approved","entity":"invoice","entityId":1869,"message":null,"clientId":33,"eventName":"invoice.draft_approved","clientData":{"id":33,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA CECILIA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA CECILIA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"AURELIA","lastName":"BARAJAS","username":"abarajas33","contacts":[{"id":34,"clientId":33,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5050,"accountCredit":0,"accountOutstanding":5050,"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":1869,"clientId":33,"number":"001819","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1872,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":32,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURELIA","clientLastName":"BARAJAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA CECILIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:48.550431] [notice] Logging level set to:debug -[2025-04-30 16:00:48.550498] [debug] valor del webhook: {"uuid":"40aa3c5e-e81f-4b45-9a19-b550a898a2c5","changeType":"insert","entity":"invoice","entityId":"1870","eventName":"invoice.add_draft","extraData":{"entity":{"id":1870,"clientId":80,"number":"001820","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1873,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":79,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AXEL","clientLastName":"FERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:48.685347] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:00:48.685400] [debug] Valor de JSON: {"uuid":"40aa3c5e-e81f-4b45-9a19-b550a898a2c5","changeType":"insert","entity":"invoice","entityId":"1870","eventName":"invoice.add_draft","extraData":{"entity":{"id":1870,"clientId":80,"number":"001820","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1873,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":79,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AXEL","clientLastName":"FERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:48.685494] [debug] Adición de borrador de Factura - -[2025-04-30 16:00:48.685537] [debug] {"uuid":"40aa3c5e-e81f-4b45-9a19-b550a898a2c5","changeType":"insert","entity":"invoice","entityId":1870,"message":null,"clientId":80,"eventName":"invoice.add_draft","clientData":{"id":80,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN SEBASTIAN","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN SEBASTIAN, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"AXEL","lastName":"FERNANDEZ","username":"afernandez80","contacts":[{"id":81,"clientId":80,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1870,"clientId":80,"number":"001820","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1873,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":79,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AXEL","clientLastName":"FERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:48.795542] [notice] Logging level set to:debug -[2025-04-30 16:00:48.795619] [debug] valor del webhook: {"uuid":"d8cd4736-6659-4e18-8381-7ee85933117d","changeType":"draft_approved","entity":"invoice","entityId":"1870","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1870,"clientId":80,"number":"001820","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1873,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":79,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AXEL","clientLastName":"FERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:48.926606] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:00:48.926657] [debug] Valor de JSON: {"uuid":"d8cd4736-6659-4e18-8381-7ee85933117d","changeType":"draft_approved","entity":"invoice","entityId":"1870","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1870,"clientId":80,"number":"001820","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1873,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":79,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AXEL","clientLastName":"FERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:48.926753] [debug] Aprobación de Factura - -[2025-04-30 16:00:48.926796] [debug] {"uuid":"d8cd4736-6659-4e18-8381-7ee85933117d","changeType":"draft_approved","entity":"invoice","entityId":1870,"message":null,"clientId":80,"eventName":"invoice.draft_approved","clientData":{"id":80,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN SEBASTIAN","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN SEBASTIAN, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"AXEL","lastName":"FERNANDEZ","username":"afernandez80","contacts":[{"id":81,"clientId":80,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1870,"clientId":80,"number":"001820","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1873,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":79,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AXEL","clientLastName":"FERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:49.884036] [notice] Logging level set to:debug -[2025-04-30 16:00:49.884145] [debug] valor del webhook: {"uuid":"65a17e76-562f-4d34-aa8d-99d099ed9c57","changeType":"insert","entity":"invoice","entityId":"1871","eventName":"invoice.add_draft","extraData":{"entity":{"id":1871,"clientId":57,"number":"001821","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1874,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":56,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SANDRO","clientLastName":"MARQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:50.044226] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:00:50.044333] [debug] Valor de JSON: {"uuid":"65a17e76-562f-4d34-aa8d-99d099ed9c57","changeType":"insert","entity":"invoice","entityId":"1871","eventName":"invoice.add_draft","extraData":{"entity":{"id":1871,"clientId":57,"number":"001821","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1874,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":56,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SANDRO","clientLastName":"MARQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:50.044476] [debug] Adición de borrador de Factura - -[2025-04-30 16:00:50.044526] [debug] {"uuid":"65a17e76-562f-4d34-aa8d-99d099ed9c57","changeType":"insert","entity":"invoice","entityId":1871,"message":null,"clientId":57,"eventName":"invoice.add_draft","clientData":{"id":57,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SANDRO","lastName":"MARQUEZ","username":"smarquez57","contacts":[{"id":58,"clientId":57,"email":null,"phone":"181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1871,"clientId":57,"number":"001821","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1874,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":56,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SANDRO","clientLastName":"MARQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:50.158953] [notice] Logging level set to:debug -[2025-04-30 16:00:50.159009] [debug] valor del webhook: {"uuid":"2ffba19c-28c5-4264-9b87-0d4854063e4c","changeType":"draft_approved","entity":"invoice","entityId":"1871","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1871,"clientId":57,"number":"001821","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1874,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":56,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SANDRO","clientLastName":"MARQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:50.365365] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:00:50.365420] [debug] Valor de JSON: {"uuid":"2ffba19c-28c5-4264-9b87-0d4854063e4c","changeType":"draft_approved","entity":"invoice","entityId":"1871","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1871,"clientId":57,"number":"001821","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1874,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":56,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SANDRO","clientLastName":"MARQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:50.365530] [debug] Aprobación de Factura - -[2025-04-30 16:00:50.365573] [debug] {"uuid":"2ffba19c-28c5-4264-9b87-0d4854063e4c","changeType":"draft_approved","entity":"invoice","entityId":1871,"message":null,"clientId":57,"eventName":"invoice.draft_approved","clientData":{"id":57,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SANDRO","lastName":"MARQUEZ","username":"smarquez57","contacts":[{"id":58,"clientId":57,"email":null,"phone":"181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1871,"clientId":57,"number":"001821","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1874,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":56,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SANDRO","clientLastName":"MARQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:51.242193] [notice] Logging level set to:debug -[2025-04-30 16:00:51.242290] [debug] valor del webhook: {"uuid":"bd24930a-c571-4c90-a3e7-ff913c49511e","changeType":"insert","entity":"invoice","entityId":"1872","eventName":"invoice.add_draft","extraData":{"entity":{"id":1872,"clientId":73,"number":"001822","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1875,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":72,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ERICK","clientLastName":"VAZQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:51.382153] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:00:51.382203] [debug] Valor de JSON: {"uuid":"bd24930a-c571-4c90-a3e7-ff913c49511e","changeType":"insert","entity":"invoice","entityId":"1872","eventName":"invoice.add_draft","extraData":{"entity":{"id":1872,"clientId":73,"number":"001822","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1875,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":72,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ERICK","clientLastName":"VAZQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:51.382314] [debug] Adición de borrador de Factura - -[2025-04-30 16:00:51.382363] [debug] {"uuid":"bd24930a-c571-4c90-a3e7-ff913c49511e","changeType":"insert","entity":"invoice","entityId":1872,"message":null,"clientId":73,"eventName":"invoice.add_draft","clientData":{"id":73,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ERICK","lastName":"VAZQUEZ","username":"evazquez73","contacts":[{"id":74,"clientId":73,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1872,"clientId":73,"number":"001822","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1875,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":72,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ERICK","clientLastName":"VAZQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:51.496042] [notice] Logging level set to:debug -[2025-04-30 16:00:51.496114] [debug] valor del webhook: {"uuid":"3afd4738-6cd3-4fec-9d0a-421702b187db","changeType":"draft_approved","entity":"invoice","entityId":"1872","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1872,"clientId":73,"number":"001822","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1875,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":72,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ERICK","clientLastName":"VAZQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:51.635464] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:00:51.635519] [debug] Valor de JSON: {"uuid":"3afd4738-6cd3-4fec-9d0a-421702b187db","changeType":"draft_approved","entity":"invoice","entityId":"1872","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1872,"clientId":73,"number":"001822","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1875,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":72,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ERICK","clientLastName":"VAZQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:51.635627] [debug] Aprobación de Factura - -[2025-04-30 16:00:51.635673] [debug] {"uuid":"3afd4738-6cd3-4fec-9d0a-421702b187db","changeType":"draft_approved","entity":"invoice","entityId":1872,"message":null,"clientId":73,"eventName":"invoice.draft_approved","clientData":{"id":73,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ERICK","lastName":"VAZQUEZ","username":"evazquez73","contacts":[{"id":74,"clientId":73,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1872,"clientId":73,"number":"001822","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1875,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":72,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ERICK","clientLastName":"VAZQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:52.574343] [notice] Logging level set to:debug -[2025-04-30 16:00:52.574436] [debug] valor del webhook: {"uuid":"77001da3-7d45-4fc9-afd0-ce0d4de728ca","changeType":"insert","entity":"invoice","entityId":"1873","eventName":"invoice.add_draft","extraData":{"entity":{"id":1873,"clientId":23,"number":"001823","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1876,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":22,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSCAR","clientLastName":"GUERRERO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TABASCO #45, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:52.730519] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:00:52.730581] [debug] Valor de JSON: {"uuid":"77001da3-7d45-4fc9-afd0-ce0d4de728ca","changeType":"insert","entity":"invoice","entityId":"1873","eventName":"invoice.add_draft","extraData":{"entity":{"id":1873,"clientId":23,"number":"001823","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1876,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":22,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSCAR","clientLastName":"GUERRERO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TABASCO #45, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:52.730717] [debug] Adición de borrador de Factura - -[2025-04-30 16:00:52.730762] [debug] {"uuid":"77001da3-7d45-4fc9-afd0-ce0d4de728ca","changeType":"insert","entity":"invoice","entityId":1873,"message":null,"clientId":23,"eventName":"invoice.add_draft","clientData":{"id":23,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TABASCO #45, ZONA CENTRO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TABASCO #45, ZONA CENTRO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OSCAR","lastName":"GUERRERO","username":"oguerrero23","contacts":[{"id":24,"clientId":23,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#283593","addressGpsLat":21.1550814,"addressGpsLon":-100.9341575,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1873,"clientId":23,"number":"001823","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1876,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":22,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSCAR","clientLastName":"GUERRERO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TABASCO #45, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:52.847316] [notice] Logging level set to:debug -[2025-04-30 16:00:52.847412] [debug] valor del webhook: {"uuid":"174bcdc8-6296-4b54-a30c-d3dd4370a1ca","changeType":"draft_approved","entity":"invoice","entityId":"1873","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1873,"clientId":23,"number":"001823","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1876,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":22,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSCAR","clientLastName":"GUERRERO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TABASCO #45, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:52.983793] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:00:52.983843] [debug] Valor de JSON: {"uuid":"174bcdc8-6296-4b54-a30c-d3dd4370a1ca","changeType":"draft_approved","entity":"invoice","entityId":"1873","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1873,"clientId":23,"number":"001823","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1876,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":22,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSCAR","clientLastName":"GUERRERO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TABASCO #45, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:52.983939] [debug] Aprobación de Factura - -[2025-04-30 16:00:52.983980] [debug] {"uuid":"174bcdc8-6296-4b54-a30c-d3dd4370a1ca","changeType":"draft_approved","entity":"invoice","entityId":1873,"message":null,"clientId":23,"eventName":"invoice.draft_approved","clientData":{"id":23,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TABASCO #45, ZONA CENTRO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TABASCO #45, ZONA CENTRO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OSCAR","lastName":"GUERRERO","username":"oguerrero23","contacts":[{"id":24,"clientId":23,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#283593","addressGpsLat":21.1550814,"addressGpsLon":-100.9341575,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1873,"clientId":23,"number":"001823","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1876,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":22,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSCAR","clientLastName":"GUERRERO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TABASCO #45, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:53.932487] [notice] Logging level set to:debug -[2025-04-30 16:00:53.932558] [debug] valor del webhook: {"uuid":"738ffeb5-9900-4148-9bce-5f4445a8518e","changeType":"insert","entity":"invoice","entityId":"1874","eventName":"invoice.add_draft","extraData":{"entity":{"id":1874,"clientId":100,"number":"001824","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1877,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":99,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RENE","clientLastName":"BUSTOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:54.077197] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:00:54.077251] [debug] Valor de JSON: {"uuid":"738ffeb5-9900-4148-9bce-5f4445a8518e","changeType":"insert","entity":"invoice","entityId":"1874","eventName":"invoice.add_draft","extraData":{"entity":{"id":1874,"clientId":100,"number":"001824","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1877,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":99,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RENE","clientLastName":"BUSTOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:54.077356] [debug] Adición de borrador de Factura - -[2025-04-30 16:00:54.077399] [debug] {"uuid":"738ffeb5-9900-4148-9bce-5f4445a8518e","changeType":"insert","entity":"invoice","entityId":1874,"message":null,"clientId":100,"eventName":"invoice.add_draft","clientData":{"id":100,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"RENE","lastName":"BUSTOS","username":"rbustos00","contacts":[{"id":101,"clientId":100,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#0277bd","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1874,"clientId":100,"number":"001824","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1877,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":99,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RENE","clientLastName":"BUSTOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:54.186585] [notice] Logging level set to:debug -[2025-04-30 16:00:54.186645] [debug] valor del webhook: {"uuid":"985b3d28-13a7-4f87-bb3b-c24c33379504","changeType":"draft_approved","entity":"invoice","entityId":"1874","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1874,"clientId":100,"number":"001824","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1877,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":99,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RENE","clientLastName":"BUSTOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:54.322715] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:00:54.322767] [debug] Valor de JSON: {"uuid":"985b3d28-13a7-4f87-bb3b-c24c33379504","changeType":"draft_approved","entity":"invoice","entityId":"1874","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1874,"clientId":100,"number":"001824","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1877,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":99,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RENE","clientLastName":"BUSTOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:54.322874] [debug] Aprobación de Factura - -[2025-04-30 16:00:54.322916] [debug] {"uuid":"985b3d28-13a7-4f87-bb3b-c24c33379504","changeType":"draft_approved","entity":"invoice","entityId":1874,"message":null,"clientId":100,"eventName":"invoice.draft_approved","clientData":{"id":100,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"RENE","lastName":"BUSTOS","username":"rbustos00","contacts":[{"id":101,"clientId":100,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#0277bd","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1874,"clientId":100,"number":"001824","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1877,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":99,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RENE","clientLastName":"BUSTOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:55.251904] [notice] Logging level set to:debug -[2025-04-30 16:00:55.252033] [debug] valor del webhook: {"uuid":"a3d06e8f-907c-4b42-a2a2-c88fe44862c9","changeType":"insert","entity":"invoice","entityId":"1875","eventName":"invoice.add_draft","extraData":{"entity":{"id":1875,"clientId":38,"number":"001825","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1878,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":37,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGELICA","clientLastName":"ROMAN","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:55.398461] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:00:55.398510] [debug] Valor de JSON: {"uuid":"a3d06e8f-907c-4b42-a2a2-c88fe44862c9","changeType":"insert","entity":"invoice","entityId":"1875","eventName":"invoice.add_draft","extraData":{"entity":{"id":1875,"clientId":38,"number":"001825","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1878,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":37,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGELICA","clientLastName":"ROMAN","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:55.398633] [debug] Adición de borrador de Factura - -[2025-04-30 16:00:55.398675] [debug] {"uuid":"a3d06e8f-907c-4b42-a2a2-c88fe44862c9","changeType":"insert","entity":"invoice","entityId":1875,"message":null,"clientId":38,"eventName":"invoice.add_draft","clientData":{"id":38,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TECOLOTE","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TECOLOTE, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANGELICA","lastName":"ROMAN","username":"aroman38","contacts":[{"id":39,"clientId":38,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4510,"accountCredit":0,"accountOutstanding":4510,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.22987,"addressGpsLon":-101.0648115,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1875,"clientId":38,"number":"001825","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1878,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":37,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGELICA","clientLastName":"ROMAN","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:55.514121] [notice] Logging level set to:debug -[2025-04-30 16:00:55.514179] [debug] valor del webhook: {"uuid":"4294b79d-8075-4861-bbaf-26c17f1026fc","changeType":"draft_approved","entity":"invoice","entityId":"1875","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1875,"clientId":38,"number":"001825","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1878,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":37,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGELICA","clientLastName":"ROMAN","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:55.651489] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:00:55.651540] [debug] Valor de JSON: {"uuid":"4294b79d-8075-4861-bbaf-26c17f1026fc","changeType":"draft_approved","entity":"invoice","entityId":"1875","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1875,"clientId":38,"number":"001825","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1878,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":37,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGELICA","clientLastName":"ROMAN","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:55.651645] [debug] Aprobación de Factura - -[2025-04-30 16:00:55.651690] [debug] {"uuid":"4294b79d-8075-4861-bbaf-26c17f1026fc","changeType":"draft_approved","entity":"invoice","entityId":1875,"message":null,"clientId":38,"eventName":"invoice.draft_approved","clientData":{"id":38,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TECOLOTE","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TECOLOTE, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANGELICA","lastName":"ROMAN","username":"aroman38","contacts":[{"id":39,"clientId":38,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4510,"accountCredit":0,"accountOutstanding":4510,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.22987,"addressGpsLon":-101.0648115,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1875,"clientId":38,"number":"001825","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1878,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":37,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGELICA","clientLastName":"ROMAN","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:56.589862] [notice] Logging level set to:debug -[2025-04-30 16:00:56.589972] [debug] valor del webhook: {"uuid":"67c6a659-e7e7-4d23-bbb8-4c5b75944d22","changeType":"insert","entity":"invoice","entityId":"1876","eventName":"invoice.add_draft","extraData":{"entity":{"id":1876,"clientId":86,"number":"001826","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1879,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":85,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PALMITAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:56.724237] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:00:56.724303] [debug] Valor de JSON: {"uuid":"67c6a659-e7e7-4d23-bbb8-4c5b75944d22","changeType":"insert","entity":"invoice","entityId":"1876","eventName":"invoice.add_draft","extraData":{"entity":{"id":1876,"clientId":86,"number":"001826","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1879,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":85,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PALMITAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:56.724414] [debug] Adición de borrador de Factura - -[2025-04-30 16:00:56.724457] [debug] {"uuid":"67c6a659-e7e7-4d23-bbb8-4c5b75944d22","changeType":"insert","entity":"invoice","entityId":1876,"message":null,"clientId":86,"eventName":"invoice.add_draft","clientData":{"id":86,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"PALMITAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"PALMITAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"HUMBERTO","lastName":"CASTILLO","username":"hcastillo86","contacts":[{"id":87,"clientId":86,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7500,"accountCredit":0,"accountOutstanding":7500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#c62828","addressGpsLat":21.2394677,"addressGpsLon":-100.9803471,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1876,"clientId":86,"number":"001826","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1879,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":85,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PALMITAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:56.841684] [notice] Logging level set to:debug -[2025-04-30 16:00:56.841789] [debug] valor del webhook: {"uuid":"62438c00-20c7-4594-9ff4-17f1ac3969a2","changeType":"draft_approved","entity":"invoice","entityId":"1876","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1876,"clientId":86,"number":"001826","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1879,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":85,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PALMITAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:56.979281] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:00:56.979331] [debug] Valor de JSON: {"uuid":"62438c00-20c7-4594-9ff4-17f1ac3969a2","changeType":"draft_approved","entity":"invoice","entityId":"1876","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1876,"clientId":86,"number":"001826","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1879,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":85,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PALMITAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:56.979438] [debug] Aprobación de Factura - -[2025-04-30 16:00:56.979480] [debug] {"uuid":"62438c00-20c7-4594-9ff4-17f1ac3969a2","changeType":"draft_approved","entity":"invoice","entityId":1876,"message":null,"clientId":86,"eventName":"invoice.draft_approved","clientData":{"id":86,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"PALMITAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"PALMITAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"HUMBERTO","lastName":"CASTILLO","username":"hcastillo86","contacts":[{"id":87,"clientId":86,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7500,"accountCredit":0,"accountOutstanding":7500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#c62828","addressGpsLat":21.2394677,"addressGpsLon":-100.9803471,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1876,"clientId":86,"number":"001826","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1879,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":85,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PALMITAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:57.898010] [notice] Logging level set to:debug -[2025-04-30 16:00:57.898118] [debug] valor del webhook: {"uuid":"7d692d66-4f0a-4c01-96fc-5498e707b93e","changeType":"insert","entity":"invoice","entityId":"1877","eventName":"invoice.add_draft","extraData":{"entity":{"id":1877,"clientId":94,"number":"001827","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1880,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":93,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARTIN","clientLastName":"TREJO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:58.039907] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:00:58.039962] [debug] Valor de JSON: {"uuid":"7d692d66-4f0a-4c01-96fc-5498e707b93e","changeType":"insert","entity":"invoice","entityId":"1877","eventName":"invoice.add_draft","extraData":{"entity":{"id":1877,"clientId":94,"number":"001827","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1880,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":93,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARTIN","clientLastName":"TREJO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:00:58.040081] [debug] Adición de borrador de Factura - -[2025-04-30 16:00:58.040126] [debug] {"uuid":"7d692d66-4f0a-4c01-96fc-5498e707b93e","changeType":"insert","entity":"invoice","entityId":1877,"message":null,"clientId":94,"eventName":"invoice.add_draft","clientData":{"id":94,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARTIN","lastName":"TREJO","username":"mtrejo94","contacts":[{"id":95,"clientId":94,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00695c","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1877,"clientId":94,"number":"001827","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1880,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":93,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARTIN","clientLastName":"TREJO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:00:58.040157] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-30 16:00:58.040167] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"7d692d66-4f0a-4c01-96fc-5498e707b93e","changeType":"insert","entity":"invoice","entityId":1877,"message":null,"clientId":94,"eventName":"invoice.add_draft","clientData":{"id":94,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARTIN","lastName":"TREJO","username":"mtrejo94","contacts":[{"id":95,"clientId":94,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00695c","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1877,"clientId":94,"number":"001827","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1880,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":93,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARTIN","clientLastName":"TREJO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":17,"clientId":94,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2024-01-31T15:59:03-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":22,"invoiceId":87,"paymentId":17,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":1000,"attributes":[]}] - -Nombre del cliente que se va a actualizar: MARTIN TREJO - -UUID: 92dd9fb15b8f4ff6860f8a32ea9bd7e4 - -JSON con los datos a actualizar: {"name":"MARTIN TREJO","custom_fields":{"Cliente":94,"Domicilio":"\ud83d\udccd Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Nombre":"\ud83d\udc64 MARTIN TREJO","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/94","Saldo Actual":"\ud83d\udcb24800 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 200","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"94\",\"Domicilio\": \"\"Nombre\": \"MARTIN TREJO\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/94\",\"Saldo Actual\": \"\ud83d\udcb24800 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 31\/01\/2024 15:59 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"30\/04\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 31\/01\/2024 15:59 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 30\/04\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "94","Domicilio": ""Nombre": "MARTIN TREJO","URL": "https://sistema.siip.mx/crm/client/94","Saldo Actual": "💲4800 pendientes","Monto Ultimo Pago": "$ 200","Estado": "Suspendido","Fecha Ultimo Pago": " 31/01/2024 15:59 con Efectivo 💵","Fecha Ultima Actualizacion": "30/04/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"MARTIN TREJO","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2024-07-11T22:49:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Estado":"🔴 Suspendido","Antena/Sectorial":"Sec3-Sb 172.16.55.13/24","Site":"SBARB","Nombre":"👤 MARTIN TREJO","Cliente":"94","Domicilio":"📍 Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Saldo Actual":"💲4800 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 30/04/2025 10:00","Fecha Ultimo Pago":"📆💸 31/01/2024 15:59 con Efectivo 💵","Monto Ultimo Pago":"💲 200","URL":"🌐 https://sistema.siip.mx/crm/client/94","Resumen":"{\"Cliente\": \"94\",\"Domicilio\": \"\"Nombre\": \"MARTIN TREJO\",\"URL\": \"https://sistema.siip.mx/crm/client/94\",\"Saldo Actual\": \"💲4800 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 31/01/2024 15:59 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"30/04/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"MARTIN TREJO","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2024-07-11T22:49:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Estado":"🔴 Suspendido","Antena/Sectorial":"Sec3-Sb 172.16.55.13/24","Site":"SBARB","Nombre":"👤 MARTIN TREJO","Cliente":"94","Domicilio":"📍 Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Saldo Actual":"💲4800 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 30/04/2025 10:00","Fecha Ultimo Pago":"📆💸 31/01/2024 15:59 con Efectivo 💵","Monto Ultimo Pago":"💲 200","URL":"🌐 https://sistema.siip.mx/crm/client/94","Resumen":"{\"Cliente\": \"94\",\"Domicilio\": \"\"Nombre\": \"MARTIN TREJO\",\"URL\": \"https://sistema.siip.mx/crm/client/94\",\"Saldo Actual\": \"💲4800 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 31/01/2024 15:59 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"30/04/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-30 16:01:00.736433] [notice] Logging level set to:debug -[2025-04-30 16:01:00.736500] [debug] valor del webhook: {"uuid":"2038e7a3-e365-4577-9d94-c56642069a46","changeType":"draft_approved","entity":"invoice","entityId":"1877","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1877,"clientId":94,"number":"001827","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1880,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":93,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARTIN","clientLastName":"TREJO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:00.877131] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:01:00.877194] [debug] Valor de JSON: {"uuid":"2038e7a3-e365-4577-9d94-c56642069a46","changeType":"draft_approved","entity":"invoice","entityId":"1877","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1877,"clientId":94,"number":"001827","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1880,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":93,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARTIN","clientLastName":"TREJO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:00.877327] [debug] Aprobación de Factura - -[2025-04-30 16:01:00.877376] [debug] {"uuid":"2038e7a3-e365-4577-9d94-c56642069a46","changeType":"draft_approved","entity":"invoice","entityId":1877,"message":null,"clientId":94,"eventName":"invoice.draft_approved","clientData":{"id":94,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARTIN","lastName":"TREJO","username":"mtrejo94","contacts":[{"id":95,"clientId":94,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00695c","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1877,"clientId":94,"number":"001827","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1880,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":93,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARTIN","clientLastName":"TREJO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:00.877419] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-30 16:01:00.877430] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"2038e7a3-e365-4577-9d94-c56642069a46","changeType":"draft_approved","entity":"invoice","entityId":1877,"message":null,"clientId":94,"eventName":"invoice.draft_approved","clientData":{"id":94,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARTIN","lastName":"TREJO","username":"mtrejo94","contacts":[{"id":95,"clientId":94,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00695c","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1877,"clientId":94,"number":"001827","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1880,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":93,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARTIN","clientLastName":"TREJO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":17,"clientId":94,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2024-01-31T15:59:03-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":22,"invoiceId":87,"paymentId":17,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":1000,"attributes":[]}] - -Nombre del cliente que se va a actualizar: MARTIN TREJO - -UUID: 92dd9fb15b8f4ff6860f8a32ea9bd7e4 - -JSON con los datos a actualizar: {"name":"MARTIN TREJO","custom_fields":{"Cliente":94,"Domicilio":"\ud83d\udccd Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Nombre":"\ud83d\udc64 MARTIN TREJO","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/94","Saldo Actual":"\ud83d\udcb24800 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 200","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"94\",\"Domicilio\": \"\"Nombre\": \"MARTIN TREJO\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/94\",\"Saldo Actual\": \"\ud83d\udcb24800 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 31\/01\/2024 15:59 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"30\/04\/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 31\/01\/2024 15:59 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 30\/04\/2025 10:01","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "94","Domicilio": ""Nombre": "MARTIN TREJO","URL": "https://sistema.siip.mx/crm/client/94","Saldo Actual": "💲4800 pendientes","Monto Ultimo Pago": "$ 200","Estado": "Suspendido","Fecha Ultimo Pago": " 31/01/2024 15:59 con Efectivo 💵","Fecha Ultima Actualizacion": "30/04/2025 10:01","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"MARTIN TREJO","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2024-07-11T22:49:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Estado":"🔴 Suspendido","Antena/Sectorial":"Sec3-Sb 172.16.55.13/24","Site":"SBARB","Nombre":"👤 MARTIN TREJO","Cliente":"94","Domicilio":"📍 Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Saldo Actual":"💲4800 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 30/04/2025 10:01","Fecha Ultimo Pago":"📆💸 31/01/2024 15:59 con Efectivo 💵","Monto Ultimo Pago":"💲 200","URL":"🌐 https://sistema.siip.mx/crm/client/94","Resumen":"{\"Cliente\": \"94\",\"Domicilio\": \"\"Nombre\": \"MARTIN TREJO\",\"URL\": \"https://sistema.siip.mx/crm/client/94\",\"Saldo Actual\": \"💲4800 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 31/01/2024 15:59 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"30/04/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"MARTIN TREJO","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2024-07-11T22:49:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Estado":"🔴 Suspendido","Antena/Sectorial":"Sec3-Sb 172.16.55.13/24","Site":"SBARB","Nombre":"👤 MARTIN TREJO","Cliente":"94","Domicilio":"📍 Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Saldo Actual":"💲4800 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 30/04/2025 10:01","Fecha Ultimo Pago":"📆💸 31/01/2024 15:59 con Efectivo 💵","Monto Ultimo Pago":"💲 200","URL":"🌐 https://sistema.siip.mx/crm/client/94","Resumen":"{\"Cliente\": \"94\",\"Domicilio\": \"\"Nombre\": \"MARTIN TREJO\",\"URL\": \"https://sistema.siip.mx/crm/client/94\",\"Saldo Actual\": \"💲4800 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 31/01/2024 15:59 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"30/04/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-30 16:01:03.697731] [notice] Logging level set to:debug -[2025-04-30 16:01:03.697782] [debug] valor del webhook: {"uuid":"efde4935-4fe7-469b-b16d-7049c40058db","changeType":"insert","entity":"invoice","entityId":"1878","eventName":"invoice.add_draft","extraData":{"entity":{"id":1878,"clientId":45,"number":"001828","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1881,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":44,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"GRANADOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:03.845828] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:01:03.845885] [debug] Valor de JSON: {"uuid":"efde4935-4fe7-469b-b16d-7049c40058db","changeType":"insert","entity":"invoice","entityId":"1878","eventName":"invoice.add_draft","extraData":{"entity":{"id":1878,"clientId":45,"number":"001828","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1881,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":44,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"GRANADOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:03.846010] [debug] Adición de borrador de Factura - -[2025-04-30 16:01:03.846056] [debug] {"uuid":"efde4935-4fe7-469b-b16d-7049c40058db","changeType":"insert","entity":"invoice","entityId":1878,"message":null,"clientId":45,"eventName":"invoice.add_draft","clientData":{"id":45,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALBERTO","lastName":"GRANADOS","username":"agranados45","contacts":[{"id":46,"clientId":45,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":98,"clientId":45,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1E1ePcRAA689","clientZoneVisible":true},{"id":99,"clientId":45,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"9271357829475893","clientZoneVisible":true}],"accountBalance":-4510,"accountCredit":0,"accountOutstanding":4510,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ff9800","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1878,"clientId":45,"number":"001828","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1881,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":44,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"GRANADOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:03.956684] [notice] Logging level set to:debug -[2025-04-30 16:01:03.956737] [debug] valor del webhook: {"uuid":"fe237492-4130-488b-ab93-78efa9937ca1","changeType":"draft_approved","entity":"invoice","entityId":"1878","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1878,"clientId":45,"number":"001828","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1881,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":44,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"GRANADOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:04.102058] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:01:04.102113] [debug] Valor de JSON: {"uuid":"fe237492-4130-488b-ab93-78efa9937ca1","changeType":"draft_approved","entity":"invoice","entityId":"1878","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1878,"clientId":45,"number":"001828","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1881,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":44,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"GRANADOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:04.102219] [debug] Aprobación de Factura - -[2025-04-30 16:01:04.102267] [debug] {"uuid":"fe237492-4130-488b-ab93-78efa9937ca1","changeType":"draft_approved","entity":"invoice","entityId":1878,"message":null,"clientId":45,"eventName":"invoice.draft_approved","clientData":{"id":45,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALBERTO","lastName":"GRANADOS","username":"agranados45","contacts":[{"id":46,"clientId":45,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":98,"clientId":45,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1E1ePcRAA689","clientZoneVisible":true},{"id":99,"clientId":45,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"9271357829475893","clientZoneVisible":true}],"accountBalance":-4510,"accountCredit":0,"accountOutstanding":4510,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ff9800","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1878,"clientId":45,"number":"001828","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1881,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":44,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"GRANADOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:04.215317] [notice] Logging level set to:debug -[2025-04-30 16:01:04.215372] [debug] valor del webhook: {"uuid":"7294e65b-a8ac-41c3-9a67-9bf7e821b5a5","changeType":"insert","entity":"invoice","entityId":"1879","eventName":"invoice.add_draft","extraData":{"entity":{"id":1879,"clientId":20,"number":"001829","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1882,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":19,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEFANIA","clientLastName":"BUENROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN PABLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:04.347865] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:01:04.347913] [debug] Valor de JSON: {"uuid":"7294e65b-a8ac-41c3-9a67-9bf7e821b5a5","changeType":"insert","entity":"invoice","entityId":"1879","eventName":"invoice.add_draft","extraData":{"entity":{"id":1879,"clientId":20,"number":"001829","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1882,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":19,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEFANIA","clientLastName":"BUENROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN PABLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:04.348018] [debug] Adición de borrador de Factura - -[2025-04-30 16:01:04.348062] [debug] {"uuid":"7294e65b-a8ac-41c3-9a67-9bf7e821b5a5","changeType":"insert","entity":"invoice","entityId":1879,"message":null,"clientId":20,"eventName":"invoice.add_draft","clientData":{"id":20,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN PABLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN PABLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ESTEFANIA","lastName":"BUENROSTRO","username":"ebuenrostro20","contacts":[{"id":21,"clientId":20,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4480,"accountCredit":0,"accountOutstanding":4480,"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":1879,"clientId":20,"number":"001829","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1882,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":19,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEFANIA","clientLastName":"BUENROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN PABLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:04.465537] [notice] Logging level set to:debug -[2025-04-30 16:01:04.465603] [debug] valor del webhook: {"uuid":"4cf490a9-a99b-413f-9660-98f078c80f16","changeType":"draft_approved","entity":"invoice","entityId":"1879","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1879,"clientId":20,"number":"001829","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1882,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":19,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEFANIA","clientLastName":"BUENROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN PABLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:04.599487] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:01:04.599539] [debug] Valor de JSON: {"uuid":"4cf490a9-a99b-413f-9660-98f078c80f16","changeType":"draft_approved","entity":"invoice","entityId":"1879","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1879,"clientId":20,"number":"001829","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1882,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":19,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEFANIA","clientLastName":"BUENROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN PABLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:04.599647] [debug] Aprobación de Factura - -[2025-04-30 16:01:04.599689] [debug] {"uuid":"4cf490a9-a99b-413f-9660-98f078c80f16","changeType":"draft_approved","entity":"invoice","entityId":1879,"message":null,"clientId":20,"eventName":"invoice.draft_approved","clientData":{"id":20,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN PABLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN PABLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ESTEFANIA","lastName":"BUENROSTRO","username":"ebuenrostro20","contacts":[{"id":21,"clientId":20,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4480,"accountCredit":0,"accountOutstanding":4480,"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":1879,"clientId":20,"number":"001829","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1882,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":19,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEFANIA","clientLastName":"BUENROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN PABLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:04.779742] [notice] Logging level set to:debug -[2025-04-30 16:01:04.779834] [debug] valor del webhook: {"uuid":"906d4ad6-7152-4935-8679-8e66314c457f","changeType":"insert","entity":"invoice","entityId":"1880","eventName":"invoice.add_draft","extraData":{"entity":{"id":1880,"clientId":50,"number":"001830","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1883,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":49,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GLORIA","clientLastName":"DELGADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:04.919879] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:01:04.919935] [debug] Valor de JSON: {"uuid":"906d4ad6-7152-4935-8679-8e66314c457f","changeType":"insert","entity":"invoice","entityId":"1880","eventName":"invoice.add_draft","extraData":{"entity":{"id":1880,"clientId":50,"number":"001830","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1883,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":49,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GLORIA","clientLastName":"DELGADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:04.920044] [debug] Adición de borrador de Factura - -[2025-04-30 16:01:04.920089] [debug] {"uuid":"906d4ad6-7152-4935-8679-8e66314c457f","changeType":"insert","entity":"invoice","entityId":1880,"message":null,"clientId":50,"eventName":"invoice.add_draft","clientData":{"id":50,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL BOBO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"GLORIA","lastName":"DELGADO","username":"gdelgado50","contacts":[{"id":51,"clientId":50,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":108,"clientId":50,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN2hegnjiQhR7M","clientZoneVisible":true},{"id":109,"clientId":50,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"1847644339402745","clientZoneVisible":true}],"accountBalance":-4510,"accountCredit":0,"accountOutstanding":4510,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1880,"clientId":50,"number":"001830","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1883,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":49,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GLORIA","clientLastName":"DELGADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:05.032524] [notice] Logging level set to:debug -[2025-04-30 16:01:05.032572] [debug] valor del webhook: {"uuid":"b5b5bc9c-c207-410a-9e4f-d595294783b7","changeType":"draft_approved","entity":"invoice","entityId":"1880","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1880,"clientId":50,"number":"001830","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1883,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":49,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GLORIA","clientLastName":"DELGADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:05.190135] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:01:05.190187] [debug] Valor de JSON: {"uuid":"b5b5bc9c-c207-410a-9e4f-d595294783b7","changeType":"draft_approved","entity":"invoice","entityId":"1880","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1880,"clientId":50,"number":"001830","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1883,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":49,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GLORIA","clientLastName":"DELGADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:05.190304] [debug] Aprobación de Factura - -[2025-04-30 16:01:05.190350] [debug] {"uuid":"b5b5bc9c-c207-410a-9e4f-d595294783b7","changeType":"draft_approved","entity":"invoice","entityId":1880,"message":null,"clientId":50,"eventName":"invoice.draft_approved","clientData":{"id":50,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL BOBO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"GLORIA","lastName":"DELGADO","username":"gdelgado50","contacts":[{"id":51,"clientId":50,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":108,"clientId":50,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN2hegnjiQhR7M","clientZoneVisible":true},{"id":109,"clientId":50,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"1847644339402745","clientZoneVisible":true}],"accountBalance":-4510,"accountCredit":0,"accountOutstanding":4510,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1880,"clientId":50,"number":"001830","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1883,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":49,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GLORIA","clientLastName":"DELGADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:06.112839] [notice] Logging level set to:debug -[2025-04-30 16:01:06.112895] [debug] valor del webhook: {"uuid":"13ba7170-7052-40ad-862f-aaa20e41a684","changeType":"insert","entity":"invoice","entityId":"1881","eventName":"invoice.add_draft","extraData":{"entity":{"id":1881,"clientId":42,"number":"001831","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1884,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":41,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORENA","clientLastName":"MARTINEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:06.250770] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:01:06.250843] [debug] Valor de JSON: {"uuid":"13ba7170-7052-40ad-862f-aaa20e41a684","changeType":"insert","entity":"invoice","entityId":"1881","eventName":"invoice.add_draft","extraData":{"entity":{"id":1881,"clientId":42,"number":"001831","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1884,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":41,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORENA","clientLastName":"MARTINEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:06.251005] [debug] Adición de borrador de Factura - -[2025-04-30 16:01:06.251060] [debug] {"uuid":"13ba7170-7052-40ad-862f-aaa20e41a684","changeType":"insert","entity":"invoice","entityId":1881,"message":null,"clientId":42,"eventName":"invoice.add_draft","clientData":{"id":42,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"LORENA","lastName":"MARTINEZ","username":"lmartinez42","contacts":[{"id":43,"clientId":42,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4810,"accountCredit":0,"accountOutstanding":4810,"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":1881,"clientId":42,"number":"001831","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1884,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":41,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORENA","clientLastName":"MARTINEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:06.360960] [notice] Logging level set to:debug -[2025-04-30 16:01:06.361022] [debug] valor del webhook: {"uuid":"079f4104-7aea-4176-9adc-6cc71748e544","changeType":"draft_approved","entity":"invoice","entityId":"1881","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1881,"clientId":42,"number":"001831","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1884,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":41,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORENA","clientLastName":"MARTINEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:06.501442] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:01:06.501501] [debug] Valor de JSON: {"uuid":"079f4104-7aea-4176-9adc-6cc71748e544","changeType":"draft_approved","entity":"invoice","entityId":"1881","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1881,"clientId":42,"number":"001831","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1884,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":41,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORENA","clientLastName":"MARTINEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:06.501604] [debug] Aprobación de Factura - -[2025-04-30 16:01:06.501647] [debug] {"uuid":"079f4104-7aea-4176-9adc-6cc71748e544","changeType":"draft_approved","entity":"invoice","entityId":1881,"message":null,"clientId":42,"eventName":"invoice.draft_approved","clientData":{"id":42,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"LORENA","lastName":"MARTINEZ","username":"lmartinez42","contacts":[{"id":43,"clientId":42,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4810,"accountCredit":0,"accountOutstanding":4810,"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":1881,"clientId":42,"number":"001831","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1884,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":41,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORENA","clientLastName":"MARTINEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:07.449026] [notice] Logging level set to:debug -[2025-04-30 16:01:07.449126] [debug] valor del webhook: {"uuid":"2661fa78-0829-4c99-b89a-0204360f7a6f","changeType":"insert","entity":"invoice","entityId":"1882","eventName":"invoice.add_draft","extraData":{"entity":{"id":1882,"clientId":67,"number":"001832","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1885,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":66,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TOMAS","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:07.619818] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:01:07.619887] [debug] Valor de JSON: {"uuid":"2661fa78-0829-4c99-b89a-0204360f7a6f","changeType":"insert","entity":"invoice","entityId":"1882","eventName":"invoice.add_draft","extraData":{"entity":{"id":1882,"clientId":67,"number":"001832","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1885,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":66,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TOMAS","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:07.620016] [debug] Adición de borrador de Factura - -[2025-04-30 16:01:07.620071] [debug] {"uuid":"2661fa78-0829-4c99-b89a-0204360f7a6f","changeType":"insert","entity":"invoice","entityId":1882,"message":null,"clientId":67,"eventName":"invoice.add_draft","clientData":{"id":67,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"TOMAS","lastName":"SUASTE","username":"tsuaste67","contacts":[{"id":68,"clientId":67,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1882,"clientId":67,"number":"001832","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1885,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":66,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TOMAS","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:07.732300] [notice] Logging level set to:debug -[2025-04-30 16:01:07.732355] [debug] valor del webhook: {"uuid":"4b7004cc-0552-4d20-ae82-eea346bb0450","changeType":"draft_approved","entity":"invoice","entityId":"1882","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1882,"clientId":67,"number":"001832","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1885,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":66,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TOMAS","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:07.880577] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:01:07.880634] [debug] Valor de JSON: {"uuid":"4b7004cc-0552-4d20-ae82-eea346bb0450","changeType":"draft_approved","entity":"invoice","entityId":"1882","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1882,"clientId":67,"number":"001832","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1885,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":66,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TOMAS","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:07.880743] [debug] Aprobación de Factura - -[2025-04-30 16:01:07.880788] [debug] {"uuid":"4b7004cc-0552-4d20-ae82-eea346bb0450","changeType":"draft_approved","entity":"invoice","entityId":1882,"message":null,"clientId":67,"eventName":"invoice.draft_approved","clientData":{"id":67,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"TOMAS","lastName":"SUASTE","username":"tsuaste67","contacts":[{"id":68,"clientId":67,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1882,"clientId":67,"number":"001832","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1885,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":66,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TOMAS","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:08.829714] [notice] Logging level set to:debug -[2025-04-30 16:01:08.829793] [debug] valor del webhook: {"uuid":"fe7a721b-fd8e-4ed5-8f45-f17232ad536a","changeType":"insert","entity":"invoice","entityId":"1883","eventName":"invoice.add_draft","extraData":{"entity":{"id":1883,"clientId":15,"number":"001833","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1886,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":15,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"VILLEGAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:08.980516] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:01:08.980572] [debug] Valor de JSON: {"uuid":"fe7a721b-fd8e-4ed5-8f45-f17232ad536a","changeType":"insert","entity":"invoice","entityId":"1883","eventName":"invoice.add_draft","extraData":{"entity":{"id":1883,"clientId":15,"number":"001833","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1886,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":15,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"VILLEGAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:08.980673] [debug] Adición de borrador de Factura - -[2025-04-30 16:01:08.980721] [debug] {"uuid":"fe7a721b-fd8e-4ed5-8f45-f17232ad536a","changeType":"insert","entity":"invoice","entityId":1883,"message":null,"clientId":15,"eventName":"invoice.add_draft","clientData":{"id":15,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDUARDO","lastName":"VILLEGAZ","username":"evillegaz15","contacts":[{"id":16,"clientId":15,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-11900,"accountCredit":0,"accountOutstanding":11900,"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":1883,"clientId":15,"number":"001833","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1886,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":15,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"VILLEGAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:08.980757] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-30 16:01:08.980767] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"fe7a721b-fd8e-4ed5-8f45-f17232ad536a","changeType":"insert","entity":"invoice","entityId":1883,"message":null,"clientId":15,"eventName":"invoice.add_draft","clientData":{"id":15,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDUARDO","lastName":"VILLEGAZ","username":"evillegaz15","contacts":[{"id":16,"clientId":15,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-11900,"accountCredit":0,"accountOutstanding":11900,"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":1883,"clientId":15,"number":"001833","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1886,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":15,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"VILLEGAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":16,"clientId":15,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2024-01-29T16:50:24-0600","amount":3500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":18,"invoiceId":25,"paymentId":16,"creditNoteId":null,"refundId":null,"amount":3500}],"creditAmount":0,"userId":1000,"attributes":[]}] - -Nombre del cliente que se va a actualizar: EDUARDO VILLEGAZ - -UUID: 92dd9fb15b8f4ff6860f8a32ea9bd7e4 - -JSON con los datos a actualizar: {"name":"EDUARDO VILLEGAZ","custom_fields":{"Cliente":15,"Domicilio":"\ud83d\udccd SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Nombre":"\ud83d\udc64 EDUARDO VILLEGAZ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/15","Saldo Actual":"\ud83d\udcb211900 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 3500","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"15\",\"Domicilio\": \"\"Nombre\": \"EDUARDO VILLEGAZ\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/15\",\"Saldo Actual\": \"\ud83d\udcb211900 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29\/01\/2024 16:50 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"30\/04\/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 29\/01\/2024 16:50 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 30\/04\/2025 10:01","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "15","Domicilio": ""Nombre": "EDUARDO VILLEGAZ","URL": "https://sistema.siip.mx/crm/client/15","Saldo Actual": "💲11900 pendientes","Monto Ultimo Pago": "$ 3500","Estado": "Suspendido","Fecha Ultimo Pago": " 29/01/2024 16:50 con Efectivo 💵","Fecha Ultima Actualizacion": "30/04/2025 10:01","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"EDUARDO VILLEGAZ","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2024-07-11T22:49:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Estado":"🔴 Suspendido","Antena/Sectorial":"Sec3-Sb 172.16.55.13/24","Site":"SBARB","Nombre":"👤 EDUARDO VILLEGAZ","Cliente":"15","Domicilio":"📍 SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Saldo Actual":"💲11900 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 30/04/2025 10:01","Fecha Ultimo Pago":"📆💸 29/01/2024 16:50 con Efectivo 💵","Monto Ultimo Pago":"💲 3500","URL":"🌐 https://sistema.siip.mx/crm/client/15","Resumen":"{\"Cliente\": \"15\",\"Domicilio\": \"\"Nombre\": \"EDUARDO VILLEGAZ\",\"URL\": \"https://sistema.siip.mx/crm/client/15\",\"Saldo Actual\": \"💲11900 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29/01/2024 16:50 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"30/04/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"EDUARDO VILLEGAZ","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2024-07-11T22:49:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Estado":"🔴 Suspendido","Antena/Sectorial":"Sec3-Sb 172.16.55.13/24","Site":"SBARB","Nombre":"👤 EDUARDO VILLEGAZ","Cliente":"15","Domicilio":"📍 SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Saldo Actual":"💲11900 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 30/04/2025 10:01","Fecha Ultimo Pago":"📆💸 29/01/2024 16:50 con Efectivo 💵","Monto Ultimo Pago":"💲 3500","URL":"🌐 https://sistema.siip.mx/crm/client/15","Resumen":"{\"Cliente\": \"15\",\"Domicilio\": \"\"Nombre\": \"EDUARDO VILLEGAZ\",\"URL\": \"https://sistema.siip.mx/crm/client/15\",\"Saldo Actual\": \"💲11900 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29/01/2024 16:50 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"30/04/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-30 16:01:11.874866] [notice] Logging level set to:debug -[2025-04-30 16:01:11.874959] [debug] valor del webhook: {"uuid":"0e923f07-b2b8-442b-b560-a57be13efd07","changeType":"draft_approved","entity":"invoice","entityId":"1883","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1883,"clientId":15,"number":"001833","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1886,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":15,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"VILLEGAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:12.020816] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:01:12.020876] [debug] Valor de JSON: {"uuid":"0e923f07-b2b8-442b-b560-a57be13efd07","changeType":"draft_approved","entity":"invoice","entityId":"1883","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1883,"clientId":15,"number":"001833","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1886,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":15,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"VILLEGAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:12.021002] [debug] Aprobación de Factura - -[2025-04-30 16:01:12.021048] [debug] {"uuid":"0e923f07-b2b8-442b-b560-a57be13efd07","changeType":"draft_approved","entity":"invoice","entityId":1883,"message":null,"clientId":15,"eventName":"invoice.draft_approved","clientData":{"id":15,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDUARDO","lastName":"VILLEGAZ","username":"evillegaz15","contacts":[{"id":16,"clientId":15,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-11900,"accountCredit":0,"accountOutstanding":11900,"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":1883,"clientId":15,"number":"001833","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1886,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":15,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"VILLEGAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:12.021097] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-30 16:01:12.021107] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"0e923f07-b2b8-442b-b560-a57be13efd07","changeType":"draft_approved","entity":"invoice","entityId":1883,"message":null,"clientId":15,"eventName":"invoice.draft_approved","clientData":{"id":15,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDUARDO","lastName":"VILLEGAZ","username":"evillegaz15","contacts":[{"id":16,"clientId":15,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-11900,"accountCredit":0,"accountOutstanding":11900,"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":1883,"clientId":15,"number":"001833","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1886,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":15,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"VILLEGAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":16,"clientId":15,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2024-01-29T16:50:24-0600","amount":3500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":18,"invoiceId":25,"paymentId":16,"creditNoteId":null,"refundId":null,"amount":3500}],"creditAmount":0,"userId":1000,"attributes":[]}] - -Nombre del cliente que se va a actualizar: EDUARDO VILLEGAZ - -UUID: 92dd9fb15b8f4ff6860f8a32ea9bd7e4 - -JSON con los datos a actualizar: {"name":"EDUARDO VILLEGAZ","custom_fields":{"Cliente":15,"Domicilio":"\ud83d\udccd SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Nombre":"\ud83d\udc64 EDUARDO VILLEGAZ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/15","Saldo Actual":"\ud83d\udcb211900 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 3500","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"15\",\"Domicilio\": \"\"Nombre\": \"EDUARDO VILLEGAZ\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/15\",\"Saldo Actual\": \"\ud83d\udcb211900 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29\/01\/2024 16:50 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"30\/04\/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 29\/01\/2024 16:50 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 30\/04\/2025 10:01","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "15","Domicilio": ""Nombre": "EDUARDO VILLEGAZ","URL": "https://sistema.siip.mx/crm/client/15","Saldo Actual": "💲11900 pendientes","Monto Ultimo Pago": "$ 3500","Estado": "Suspendido","Fecha Ultimo Pago": " 29/01/2024 16:50 con Efectivo 💵","Fecha Ultima Actualizacion": "30/04/2025 10:01","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"EDUARDO VILLEGAZ","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2024-07-11T22:49:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Estado":"🔴 Suspendido","Antena/Sectorial":"Sec3-Sb 172.16.55.13/24","Site":"SBARB","Nombre":"👤 EDUARDO VILLEGAZ","Cliente":"15","Domicilio":"📍 SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Saldo Actual":"💲11900 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 30/04/2025 10:01","Fecha Ultimo Pago":"📆💸 29/01/2024 16:50 con Efectivo 💵","Monto Ultimo Pago":"💲 3500","URL":"🌐 https://sistema.siip.mx/crm/client/15","Resumen":"{\"Cliente\": \"15\",\"Domicilio\": \"\"Nombre\": \"EDUARDO VILLEGAZ\",\"URL\": \"https://sistema.siip.mx/crm/client/15\",\"Saldo Actual\": \"💲11900 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29/01/2024 16:50 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"30/04/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"EDUARDO VILLEGAZ","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2024-07-11T22:49:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Estado":"🔴 Suspendido","Antena/Sectorial":"Sec3-Sb 172.16.55.13/24","Site":"SBARB","Nombre":"👤 EDUARDO VILLEGAZ","Cliente":"15","Domicilio":"📍 SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Saldo Actual":"💲11900 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 30/04/2025 10:01","Fecha Ultimo Pago":"📆💸 29/01/2024 16:50 con Efectivo 💵","Monto Ultimo Pago":"💲 3500","URL":"🌐 https://sistema.siip.mx/crm/client/15","Resumen":"{\"Cliente\": \"15\",\"Domicilio\": \"\"Nombre\": \"EDUARDO VILLEGAZ\",\"URL\": \"https://sistema.siip.mx/crm/client/15\",\"Saldo Actual\": \"💲11900 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29/01/2024 16:50 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"30/04/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-30 16:01:14.576013] [notice] Logging level set to:debug -[2025-04-30 16:01:14.576062] [debug] valor del webhook: {"uuid":"97a5a6ea-369b-48e0-a1c8-e94aa1c4c528","changeType":"insert","entity":"invoice","entityId":"1884","eventName":"invoice.add_draft","extraData":{"entity":{"id":1884,"clientId":34,"number":"001834","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1887,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":33,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NORMA","clientLastName":"ALMAGUER","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSALITO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:14.734210] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:01:14.734261] [debug] Valor de JSON: {"uuid":"97a5a6ea-369b-48e0-a1c8-e94aa1c4c528","changeType":"insert","entity":"invoice","entityId":"1884","eventName":"invoice.add_draft","extraData":{"entity":{"id":1884,"clientId":34,"number":"001834","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1887,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":33,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NORMA","clientLastName":"ALMAGUER","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSALITO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:14.734375] [debug] Adición de borrador de Factura - -[2025-04-30 16:01:14.734417] [debug] {"uuid":"97a5a6ea-369b-48e0-a1c8-e94aa1c4c528","changeType":"insert","entity":"invoice","entityId":1884,"message":null,"clientId":34,"eventName":"invoice.add_draft","clientData":{"id":34,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL ROSALITO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL ROSALITO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"NORMA","lastName":"ALMAGUER","username":"nalmaguer34","contacts":[{"id":35,"clientId":34,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5110,"accountCredit":0,"accountOutstanding":5110,"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":1884,"clientId":34,"number":"001834","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1887,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":33,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NORMA","clientLastName":"ALMAGUER","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSALITO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:14.848501] [notice] Logging level set to:debug -[2025-04-30 16:01:14.848586] [debug] valor del webhook: {"uuid":"e066bacb-632a-4388-979c-b25ddbb340ab","changeType":"draft_approved","entity":"invoice","entityId":"1884","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1884,"clientId":34,"number":"001834","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1887,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":33,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NORMA","clientLastName":"ALMAGUER","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSALITO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:14.983841] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:01:14.983900] [debug] Valor de JSON: {"uuid":"e066bacb-632a-4388-979c-b25ddbb340ab","changeType":"draft_approved","entity":"invoice","entityId":"1884","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1884,"clientId":34,"number":"001834","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1887,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":33,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NORMA","clientLastName":"ALMAGUER","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSALITO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:14.984004] [debug] Aprobación de Factura - -[2025-04-30 16:01:14.984050] [debug] {"uuid":"e066bacb-632a-4388-979c-b25ddbb340ab","changeType":"draft_approved","entity":"invoice","entityId":1884,"message":null,"clientId":34,"eventName":"invoice.draft_approved","clientData":{"id":34,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL ROSALITO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL ROSALITO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"NORMA","lastName":"ALMAGUER","username":"nalmaguer34","contacts":[{"id":35,"clientId":34,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5110,"accountCredit":0,"accountOutstanding":5110,"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":1884,"clientId":34,"number":"001834","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1887,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":33,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NORMA","clientLastName":"ALMAGUER","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSALITO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:15.097387] [notice] Logging level set to:debug -[2025-04-30 16:01:15.097440] [debug] valor del webhook: {"uuid":"66ec0944-6916-40cc-a24e-a711ea788dd8","changeType":"insert","entity":"invoice","entityId":"1885","eventName":"invoice.add_draft","extraData":{"entity":{"id":1885,"clientId":53,"number":"001835","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1888,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":52,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONIO","clientLastName":"CHAVEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:15.234648] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:01:15.234703] [debug] Valor de JSON: {"uuid":"66ec0944-6916-40cc-a24e-a711ea788dd8","changeType":"insert","entity":"invoice","entityId":"1885","eventName":"invoice.add_draft","extraData":{"entity":{"id":1885,"clientId":53,"number":"001835","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1888,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":52,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONIO","clientLastName":"CHAVEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:15.234797] [debug] Adición de borrador de Factura - -[2025-04-30 16:01:15.234839] [debug] {"uuid":"66ec0944-6916-40cc-a24e-a711ea788dd8","changeType":"insert","entity":"invoice","entityId":1885,"message":null,"clientId":53,"eventName":"invoice.add_draft","clientData":{"id":53,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA VENTA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA VENTA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANTONIO","lastName":"CHAVEZ","username":"achavez53","contacts":[{"id":54,"clientId":53,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1197222,"addressGpsLon":-100.7872222,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1885,"clientId":53,"number":"001835","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1888,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":52,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONIO","clientLastName":"CHAVEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:15.351411] [notice] Logging level set to:debug -[2025-04-30 16:01:15.351506] [debug] valor del webhook: {"uuid":"7be99021-beae-4a32-8351-86a9a0bc1b00","changeType":"draft_approved","entity":"invoice","entityId":"1885","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1885,"clientId":53,"number":"001835","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1888,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":52,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONIO","clientLastName":"CHAVEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:15.482023] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:01:15.482074] [debug] Valor de JSON: {"uuid":"7be99021-beae-4a32-8351-86a9a0bc1b00","changeType":"draft_approved","entity":"invoice","entityId":"1885","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1885,"clientId":53,"number":"001835","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1888,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":52,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONIO","clientLastName":"CHAVEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:15.482170] [debug] Aprobación de Factura - -[2025-04-30 16:01:15.482212] [debug] {"uuid":"7be99021-beae-4a32-8351-86a9a0bc1b00","changeType":"draft_approved","entity":"invoice","entityId":1885,"message":null,"clientId":53,"eventName":"invoice.draft_approved","clientData":{"id":53,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA VENTA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA VENTA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANTONIO","lastName":"CHAVEZ","username":"achavez53","contacts":[{"id":54,"clientId":53,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1197222,"addressGpsLon":-100.7872222,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1885,"clientId":53,"number":"001835","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1888,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":52,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONIO","clientLastName":"CHAVEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:15.639925] [notice] Logging level set to:debug -[2025-04-30 16:01:15.640024] [debug] valor del webhook: {"uuid":"bb1d4acc-7639-4316-a18b-61f606c0812e","changeType":"insert","entity":"invoice","entityId":"1886","eventName":"invoice.add_draft","extraData":{"entity":{"id":1886,"clientId":22,"number":"001836","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1889,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":21,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEBAN","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PUERTA DE SAN FRANCISCO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:15.778664] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:01:15.778727] [debug] Valor de JSON: {"uuid":"bb1d4acc-7639-4316-a18b-61f606c0812e","changeType":"insert","entity":"invoice","entityId":"1886","eventName":"invoice.add_draft","extraData":{"entity":{"id":1886,"clientId":22,"number":"001836","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1889,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":21,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEBAN","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PUERTA DE SAN FRANCISCO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:15.778819] [debug] Adición de borrador de Factura - -[2025-04-30 16:01:15.778858] [debug] {"uuid":"bb1d4acc-7639-4316-a18b-61f606c0812e","changeType":"insert","entity":"invoice","entityId":1886,"message":null,"clientId":22,"eventName":"invoice.add_draft","clientData":{"id":22,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA PUERTA DE SAN FRANCISCO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA PUERTA DE SAN FRANCISCO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ESTEBAN","lastName":"GARCIA","username":"egarcia22","contacts":[{"id":23,"clientId":22,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5130,"accountCredit":0,"accountOutstanding":5130,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#7cb342","addressGpsLat":21.2091666,"addressGpsLon":-100.76,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1886,"clientId":22,"number":"001836","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1889,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":21,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEBAN","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PUERTA DE SAN FRANCISCO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:15.893446] [notice] Logging level set to:debug -[2025-04-30 16:01:15.893507] [debug] valor del webhook: {"uuid":"99014454-8e59-4d5d-a6e4-f5b19394adc6","changeType":"draft_approved","entity":"invoice","entityId":"1886","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1886,"clientId":22,"number":"001836","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1889,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":21,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEBAN","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PUERTA DE SAN FRANCISCO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:16.023082] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:01:16.023137] [debug] Valor de JSON: {"uuid":"99014454-8e59-4d5d-a6e4-f5b19394adc6","changeType":"draft_approved","entity":"invoice","entityId":"1886","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1886,"clientId":22,"number":"001836","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1889,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":21,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEBAN","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PUERTA DE SAN FRANCISCO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:16.023247] [debug] Aprobación de Factura - -[2025-04-30 16:01:16.023298] [debug] {"uuid":"99014454-8e59-4d5d-a6e4-f5b19394adc6","changeType":"draft_approved","entity":"invoice","entityId":1886,"message":null,"clientId":22,"eventName":"invoice.draft_approved","clientData":{"id":22,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA PUERTA DE SAN FRANCISCO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA PUERTA DE SAN FRANCISCO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ESTEBAN","lastName":"GARCIA","username":"egarcia22","contacts":[{"id":23,"clientId":22,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5130,"accountCredit":0,"accountOutstanding":5130,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#7cb342","addressGpsLat":21.2091666,"addressGpsLon":-100.76,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1886,"clientId":22,"number":"001836","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1889,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":21,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEBAN","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PUERTA DE SAN FRANCISCO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:16.959682] [notice] Logging level set to:debug -[2025-04-30 16:01:16.959790] [debug] valor del webhook: {"uuid":"cb4ba372-0c1e-4733-8eb1-8c878895e24d","changeType":"insert","entity":"invoice","entityId":"1887","eventName":"invoice.add_draft","extraData":{"entity":{"id":1887,"clientId":99,"number":"001837","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1890,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":98,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BELINDA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:17.112689] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:01:17.112741] [debug] Valor de JSON: {"uuid":"cb4ba372-0c1e-4733-8eb1-8c878895e24d","changeType":"insert","entity":"invoice","entityId":"1887","eventName":"invoice.add_draft","extraData":{"entity":{"id":1887,"clientId":99,"number":"001837","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1890,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":98,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BELINDA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:17.112850] [debug] Adición de borrador de Factura - -[2025-04-30 16:01:17.112899] [debug] {"uuid":"cb4ba372-0c1e-4733-8eb1-8c878895e24d","changeType":"insert","entity":"invoice","entityId":1887,"message":null,"clientId":99,"eventName":"invoice.add_draft","clientData":{"id":99,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"MONTELONGO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"MONTELONGO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"BELINDA","lastName":"REYES","username":"breyes99","contacts":[{"id":100,"clientId":99,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-6000,"accountCredit":0,"accountOutstanding":6000,"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":1887,"clientId":99,"number":"001837","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1890,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":98,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BELINDA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:17.227102] [notice] Logging level set to:debug -[2025-04-30 16:01:17.227190] [debug] valor del webhook: {"uuid":"a690e195-30a5-42a1-8919-b9b29c49861d","changeType":"draft_approved","entity":"invoice","entityId":"1887","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1887,"clientId":99,"number":"001837","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1890,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":98,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BELINDA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:17.380050] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:01:17.380105] [debug] Valor de JSON: {"uuid":"a690e195-30a5-42a1-8919-b9b29c49861d","changeType":"draft_approved","entity":"invoice","entityId":"1887","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1887,"clientId":99,"number":"001837","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1890,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":98,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BELINDA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:17.380238] [debug] Aprobación de Factura - -[2025-04-30 16:01:17.380356] [debug] {"uuid":"a690e195-30a5-42a1-8919-b9b29c49861d","changeType":"draft_approved","entity":"invoice","entityId":1887,"message":null,"clientId":99,"eventName":"invoice.draft_approved","clientData":{"id":99,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"MONTELONGO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"MONTELONGO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"BELINDA","lastName":"REYES","username":"breyes99","contacts":[{"id":100,"clientId":99,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-6000,"accountCredit":0,"accountOutstanding":6000,"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":1887,"clientId":99,"number":"001837","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1890,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":98,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BELINDA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:18.319370] [notice] Logging level set to:debug -[2025-04-30 16:01:18.319482] [debug] valor del webhook: {"uuid":"bb15699b-ffa8-491c-8350-274fcd78774c","changeType":"insert","entity":"invoice","entityId":"1888","eventName":"invoice.add_draft","extraData":{"entity":{"id":1888,"clientId":6,"number":"001838","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1891,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":6,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEJANDRO","clientLastName":"MOCTEZUMA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:18.461127] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:01:18.461179] [debug] Valor de JSON: {"uuid":"bb15699b-ffa8-491c-8350-274fcd78774c","changeType":"insert","entity":"invoice","entityId":"1888","eventName":"invoice.add_draft","extraData":{"entity":{"id":1888,"clientId":6,"number":"001838","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1891,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":6,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEJANDRO","clientLastName":"MOCTEZUMA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:18.461289] [debug] Adición de borrador de Factura - -[2025-04-30 16:01:18.461333] [debug] {"uuid":"bb15699b-ffa8-491c-8350-274fcd78774c","changeType":"insert","entity":"invoice","entityId":1888,"message":null,"clientId":6,"eventName":"invoice.add_draft","clientData":{"id":6,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"ALEJANDRO","lastName":"MOCTEZUMA","username":"amoctezuma06","contacts":[{"id":7,"clientId":6,"email":null,"phone":"5214181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-4480,"accountCredit":0,"accountOutstanding":4480,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574,"addressGpsLon":-100.934617,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1888,"clientId":6,"number":"001838","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1891,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":6,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEJANDRO","clientLastName":"MOCTEZUMA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:18.461363] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-30 16:01:18.461373] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"bb15699b-ffa8-491c-8350-274fcd78774c","changeType":"insert","entity":"invoice","entityId":1888,"message":null,"clientId":6,"eventName":"invoice.add_draft","clientData":{"id":6,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"ALEJANDRO","lastName":"MOCTEZUMA","username":"amoctezuma06","contacts":[{"id":7,"clientId":6,"email":null,"phone":"5214181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-4480,"accountCredit":0,"accountOutstanding":4480,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574,"addressGpsLon":-100.934617,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1888,"clientId":6,"number":"001838","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1891,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":6,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEJANDRO","clientLastName":"MOCTEZUMA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":27,"clientId":6,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2024-02-01T12:57:53-0600","amount":2000,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":30,"invoiceId":7,"paymentId":27,"creditNoteId":null,"refundId":null,"amount":1700},{"id":31,"invoiceId":5,"paymentId":27,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1000,"attributes":[]}] - -Nombre del cliente que se va a actualizar: ALEJANDRO MOCTEZUMA - -UUID: 71a76e57f89441ff978a5ece070f21d7 - -JSON con los datos a actualizar: {"name":"ALEJANDRO MOCTEZUMA","custom_fields":{"Cliente":6,"Domicilio":"\ud83d\udccd DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 ALEJANDRO MOCTEZUMA","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/6","Saldo Actual":"\ud83d\udcb24480 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 2000","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"6\",\"Domicilio\": \"\"Nombre\": \"ALEJANDRO MOCTEZUMA\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/6\",\"Saldo Actual\": \"\ud83d\udcb24480 pendientes\",\"Monto Ultimo Pago\": \"$ 2000\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 01\/02\/2024 12:57 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"30\/04\/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 01\/02\/2024 12:57 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 30\/04\/2025 10:01","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "6","Domicilio": ""Nombre": "ALEJANDRO MOCTEZUMA","URL": "https://sistema.siip.mx/crm/client/6","Saldo Actual": "💲4480 pendientes","Monto Ultimo Pago": "$ 2000","Estado": "Suspendido","Fecha Ultimo Pago": " 01/02/2024 12:57 con Efectivo 💵","Fecha Ultima Actualizacion": "30/04/2025 10:01","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"71a76e57f89441ff978a5ece070f21d7","name":"ALEJANDRO MOCTEZUMA","phoneNumber":"5214181811375","avatarUrl":null,"createdAt":"2021-06-25T15:57:32Z","closedAt":"2024-03-08T18:53:35Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/71a76e57f89441ff978a5ece070f21d7","conversationHref":"https://dash.callbell.eu/chat/6c83978a945141db820592787b7184d5","tags":[],"assignedUser":null,"customFields":{"Antena/Sectorial":"6","Nombre":"👤 ALEJANDRO MOCTEZUMA","Domicilio":"📍 DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800","Fecha Ultimo Pago":"📆💸 01/02/2024 12:57 con Efectivo 💵","Monto Ultimo Pago":"💲 2000","Estado":"🔴 Suspendido","Cliente":"6","URL":"🌐 https://sistema.siip.mx/crm/client/6","Fecha Ultima Actualizacion":"📆🔄️ 30/04/2025 10:01","Resumen":"{\"Cliente\": \"6\",\"Domicilio\": \"\"Nombre\": \"ALEJANDRO MOCTEZUMA\",\"URL\": \"https://sistema.siip.mx/crm/client/6\",\"Saldo Actual\": \"💲4480 pendientes\",\"Monto Ultimo Pago\": \"$ 2000\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 01/02/2024 12:57 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"30/04/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Saldo Actual":"💲4480 pendientes"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"71a76e57f89441ff978a5ece070f21d7","name":"ALEJANDRO MOCTEZUMA","phoneNumber":"5214181811375","avatarUrl":null,"createdAt":"2021-06-25T15:57:32Z","closedAt":"2024-03-08T18:53:35Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/71a76e57f89441ff978a5ece070f21d7","conversationHref":"https://dash.callbell.eu/chat/6c83978a945141db820592787b7184d5","tags":[],"assignedUser":null,"customFields":{"Antena/Sectorial":"6","Nombre":"👤 ALEJANDRO MOCTEZUMA","Domicilio":"📍 DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800","Fecha Ultimo Pago":"📆💸 01/02/2024 12:57 con Efectivo 💵","Monto Ultimo Pago":"💲 2000","Estado":"🔴 Suspendido","Cliente":"6","URL":"🌐 https://sistema.siip.mx/crm/client/6","Fecha Ultima Actualizacion":"📆🔄️ 30/04/2025 10:01","Resumen":"{\"Cliente\": \"6\",\"Domicilio\": \"\"Nombre\": \"ALEJANDRO MOCTEZUMA\",\"URL\": \"https://sistema.siip.mx/crm/client/6\",\"Saldo Actual\": \"💲4480 pendientes\",\"Monto Ultimo Pago\": \"$ 2000\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 01/02/2024 12:57 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"30/04/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Saldo Actual":"💲4480 pendientes"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-30 16:01:20.768492] [notice] Logging level set to:debug -[2025-04-30 16:01:20.768603] [debug] valor del webhook: {"uuid":"37ac1909-34d6-4dc0-89fa-1e84524d2246","changeType":"draft_approved","entity":"invoice","entityId":"1888","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1888,"clientId":6,"number":"001838","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1891,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":6,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEJANDRO","clientLastName":"MOCTEZUMA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:20.928147] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:01:20.928208] [debug] Valor de JSON: {"uuid":"37ac1909-34d6-4dc0-89fa-1e84524d2246","changeType":"draft_approved","entity":"invoice","entityId":"1888","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1888,"clientId":6,"number":"001838","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1891,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":6,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEJANDRO","clientLastName":"MOCTEZUMA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:20.928375] [debug] Aprobación de Factura - -[2025-04-30 16:01:20.928423] [debug] {"uuid":"37ac1909-34d6-4dc0-89fa-1e84524d2246","changeType":"draft_approved","entity":"invoice","entityId":1888,"message":null,"clientId":6,"eventName":"invoice.draft_approved","clientData":{"id":6,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"ALEJANDRO","lastName":"MOCTEZUMA","username":"amoctezuma06","contacts":[{"id":7,"clientId":6,"email":null,"phone":"5214181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-4480,"accountCredit":0,"accountOutstanding":4480,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574,"addressGpsLon":-100.934617,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1888,"clientId":6,"number":"001838","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1891,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":6,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEJANDRO","clientLastName":"MOCTEZUMA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:20.928469] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-30 16:01:20.928481] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"37ac1909-34d6-4dc0-89fa-1e84524d2246","changeType":"draft_approved","entity":"invoice","entityId":1888,"message":null,"clientId":6,"eventName":"invoice.draft_approved","clientData":{"id":6,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"ALEJANDRO","lastName":"MOCTEZUMA","username":"amoctezuma06","contacts":[{"id":7,"clientId":6,"email":null,"phone":"5214181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-4480,"accountCredit":0,"accountOutstanding":4480,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574,"addressGpsLon":-100.934617,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1888,"clientId":6,"number":"001838","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1891,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":6,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEJANDRO","clientLastName":"MOCTEZUMA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":27,"clientId":6,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2024-02-01T12:57:53-0600","amount":2000,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":30,"invoiceId":7,"paymentId":27,"creditNoteId":null,"refundId":null,"amount":1700},{"id":31,"invoiceId":5,"paymentId":27,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1000,"attributes":[]}] - -Nombre del cliente que se va a actualizar: ALEJANDRO MOCTEZUMA - -UUID: 71a76e57f89441ff978a5ece070f21d7 - -JSON con los datos a actualizar: {"name":"ALEJANDRO MOCTEZUMA","custom_fields":{"Cliente":6,"Domicilio":"\ud83d\udccd DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 ALEJANDRO MOCTEZUMA","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/6","Saldo Actual":"\ud83d\udcb24480 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 2000","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"6\",\"Domicilio\": \"\"Nombre\": \"ALEJANDRO MOCTEZUMA\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/6\",\"Saldo Actual\": \"\ud83d\udcb24480 pendientes\",\"Monto Ultimo Pago\": \"$ 2000\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 01\/02\/2024 12:57 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"30\/04\/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 01\/02\/2024 12:57 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 30\/04\/2025 10:01","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "6","Domicilio": ""Nombre": "ALEJANDRO MOCTEZUMA","URL": "https://sistema.siip.mx/crm/client/6","Saldo Actual": "💲4480 pendientes","Monto Ultimo Pago": "$ 2000","Estado": "Suspendido","Fecha Ultimo Pago": " 01/02/2024 12:57 con Efectivo 💵","Fecha Ultima Actualizacion": "30/04/2025 10:01","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"71a76e57f89441ff978a5ece070f21d7","name":"ALEJANDRO MOCTEZUMA","phoneNumber":"5214181811375","avatarUrl":null,"createdAt":"2021-06-25T15:57:32Z","closedAt":"2024-03-08T18:53:35Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/71a76e57f89441ff978a5ece070f21d7","conversationHref":"https://dash.callbell.eu/chat/6c83978a945141db820592787b7184d5","tags":[],"assignedUser":null,"customFields":{"Antena/Sectorial":"6","Nombre":"👤 ALEJANDRO MOCTEZUMA","Domicilio":"📍 DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800","Fecha Ultimo Pago":"📆💸 01/02/2024 12:57 con Efectivo 💵","Monto Ultimo Pago":"💲 2000","Estado":"🔴 Suspendido","Cliente":"6","URL":"🌐 https://sistema.siip.mx/crm/client/6","Fecha Ultima Actualizacion":"📆🔄️ 30/04/2025 10:01","Resumen":"{\"Cliente\": \"6\",\"Domicilio\": \"\"Nombre\": \"ALEJANDRO MOCTEZUMA\",\"URL\": \"https://sistema.siip.mx/crm/client/6\",\"Saldo Actual\": \"💲4480 pendientes\",\"Monto Ultimo Pago\": \"$ 2000\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 01/02/2024 12:57 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"30/04/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Saldo Actual":"💲4480 pendientes"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"71a76e57f89441ff978a5ece070f21d7","name":"ALEJANDRO MOCTEZUMA","phoneNumber":"5214181811375","avatarUrl":null,"createdAt":"2021-06-25T15:57:32Z","closedAt":"2024-03-08T18:53:35Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/71a76e57f89441ff978a5ece070f21d7","conversationHref":"https://dash.callbell.eu/chat/6c83978a945141db820592787b7184d5","tags":[],"assignedUser":null,"customFields":{"Antena/Sectorial":"6","Nombre":"👤 ALEJANDRO MOCTEZUMA","Domicilio":"📍 DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800","Fecha Ultimo Pago":"📆💸 01/02/2024 12:57 con Efectivo 💵","Monto Ultimo Pago":"💲 2000","Estado":"🔴 Suspendido","Cliente":"6","URL":"🌐 https://sistema.siip.mx/crm/client/6","Fecha Ultima Actualizacion":"📆🔄️ 30/04/2025 10:01","Resumen":"{\"Cliente\": \"6\",\"Domicilio\": \"\"Nombre\": \"ALEJANDRO MOCTEZUMA\",\"URL\": \"https://sistema.siip.mx/crm/client/6\",\"Saldo Actual\": \"💲4480 pendientes\",\"Monto Ultimo Pago\": \"$ 2000\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 01/02/2024 12:57 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"30/04/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Saldo Actual":"💲4480 pendientes"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-30 16:01:23.210000] [notice] Logging level set to:debug -[2025-04-30 16:01:23.210082] [debug] valor del webhook: {"uuid":"7142aced-c702-4f07-8b7f-1d55ceaaefed","changeType":"insert","entity":"invoice","entityId":"1889","eventName":"invoice.add_draft","extraData":{"entity":{"id":1889,"clientId":17,"number":"001839","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1892,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":16,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUAN","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CIENEGUILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:23.386431] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:01:23.386485] [debug] Valor de JSON: {"uuid":"7142aced-c702-4f07-8b7f-1d55ceaaefed","changeType":"insert","entity":"invoice","entityId":"1889","eventName":"invoice.add_draft","extraData":{"entity":{"id":1889,"clientId":17,"number":"001839","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1892,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":16,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUAN","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CIENEGUILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:23.386612] [debug] Adición de borrador de Factura - -[2025-04-30 16:01:23.386657] [debug] {"uuid":"7142aced-c702-4f07-8b7f-1d55ceaaefed","changeType":"insert","entity":"invoice","entityId":1889,"message":null,"clientId":17,"eventName":"invoice.add_draft","clientData":{"id":17,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"CIENEGUILLA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"CIENEGUILLA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JUAN","lastName":"LOPEZ","username":"jlopez17","contacts":[{"id":18,"clientId":17,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5390,"accountCredit":0,"accountOutstanding":5390,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.0749852,"addressGpsLon":-100.937613,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1889,"clientId":17,"number":"001839","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1892,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":16,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUAN","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CIENEGUILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:23.502568] [notice] Logging level set to:debug -[2025-04-30 16:01:23.502640] [debug] valor del webhook: {"uuid":"5106b066-ce61-462d-914e-cd7ccae3b2f7","changeType":"draft_approved","entity":"invoice","entityId":"1889","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1889,"clientId":17,"number":"001839","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1892,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":16,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUAN","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CIENEGUILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:23.634752] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:01:23.634802] [debug] Valor de JSON: {"uuid":"5106b066-ce61-462d-914e-cd7ccae3b2f7","changeType":"draft_approved","entity":"invoice","entityId":"1889","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1889,"clientId":17,"number":"001839","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1892,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":16,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUAN","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CIENEGUILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:23.634905] [debug] Aprobación de Factura - -[2025-04-30 16:01:23.634948] [debug] {"uuid":"5106b066-ce61-462d-914e-cd7ccae3b2f7","changeType":"draft_approved","entity":"invoice","entityId":1889,"message":null,"clientId":17,"eventName":"invoice.draft_approved","clientData":{"id":17,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"CIENEGUILLA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"CIENEGUILLA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JUAN","lastName":"LOPEZ","username":"jlopez17","contacts":[{"id":18,"clientId":17,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5390,"accountCredit":0,"accountOutstanding":5390,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.0749852,"addressGpsLon":-100.937613,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1889,"clientId":17,"number":"001839","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1892,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":16,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUAN","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CIENEGUILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:23.748714] [notice] Logging level set to:debug -[2025-04-30 16:01:23.748820] [debug] valor del webhook: {"uuid":"f429aace-00d3-4f9b-94c8-50be39307953","changeType":"insert","entity":"invoice","entityId":"1890","eventName":"invoice.add_draft","extraData":{"entity":{"id":1890,"clientId":37,"number":"001840","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1893,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":36,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA SOLEDAD","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:23.882424] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:01:23.882477] [debug] Valor de JSON: {"uuid":"f429aace-00d3-4f9b-94c8-50be39307953","changeType":"insert","entity":"invoice","entityId":"1890","eventName":"invoice.add_draft","extraData":{"entity":{"id":1890,"clientId":37,"number":"001840","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1893,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":36,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA SOLEDAD","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:23.882579] [debug] Adición de borrador de Factura - -[2025-04-30 16:01:23.882622] [debug] {"uuid":"f429aace-00d3-4f9b-94c8-50be39307953","changeType":"insert","entity":"invoice","entityId":1890,"message":null,"clientId":37,"eventName":"invoice.add_draft","clientData":{"id":37,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA SOLEDAD","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA SOLEDAD, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANGEL","lastName":"ARVIZU","username":"aarvizu37","contacts":[{"id":38,"clientId":37,"email":null,"phone":"4181818706","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4510,"accountCredit":0,"accountOutstanding":4510,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1890,"clientId":37,"number":"001840","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1893,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":36,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA SOLEDAD","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:23.999970] [notice] Logging level set to:debug -[2025-04-30 16:01:24.000056] [debug] valor del webhook: {"uuid":"6ebe2fc3-7e1b-44f3-944d-6d2ea895d810","changeType":"draft_approved","entity":"invoice","entityId":"1890","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1890,"clientId":37,"number":"001840","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1893,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":36,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA SOLEDAD","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:24.129178] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:01:24.129230] [debug] Valor de JSON: {"uuid":"6ebe2fc3-7e1b-44f3-944d-6d2ea895d810","changeType":"draft_approved","entity":"invoice","entityId":"1890","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1890,"clientId":37,"number":"001840","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1893,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":36,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA SOLEDAD","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:24.129333] [debug] Aprobación de Factura - -[2025-04-30 16:01:24.129376] [debug] {"uuid":"6ebe2fc3-7e1b-44f3-944d-6d2ea895d810","changeType":"draft_approved","entity":"invoice","entityId":1890,"message":null,"clientId":37,"eventName":"invoice.draft_approved","clientData":{"id":37,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA SOLEDAD","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA SOLEDAD, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANGEL","lastName":"ARVIZU","username":"aarvizu37","contacts":[{"id":38,"clientId":37,"email":null,"phone":"4181818706","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4510,"accountCredit":0,"accountOutstanding":4510,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1890,"clientId":37,"number":"001840","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1893,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":36,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA SOLEDAD","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:24.595449] [notice] Logging level set to:debug -[2025-04-30 16:01:24.595509] [debug] valor del webhook: {"uuid":"3b5ae86e-a3f0-4f6a-8cf6-4c5685e8e824","changeType":"insert","entity":"invoice","entityId":"1891","eventName":"invoice.add_draft","extraData":{"entity":{"id":1891,"clientId":71,"number":"001841","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1894,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":70,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:24.737751] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:01:24.737811] [debug] Valor de JSON: {"uuid":"3b5ae86e-a3f0-4f6a-8cf6-4c5685e8e824","changeType":"insert","entity":"invoice","entityId":"1891","eventName":"invoice.add_draft","extraData":{"entity":{"id":1891,"clientId":71,"number":"001841","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1894,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":70,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:24.737912] [debug] Adición de borrador de Factura - -[2025-04-30 16:01:24.737956] [debug] {"uuid":"3b5ae86e-a3f0-4f6a-8cf6-4c5685e8e824","changeType":"insert","entity":"invoice","entityId":1891,"message":null,"clientId":71,"eventName":"invoice.add_draft","clientData":{"id":71,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MNARIA","lastName":"ALVAREZ","username":"malvarez71","contacts":[{"id":72,"clientId":71,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-600,"accountCredit":0,"accountOutstanding":600,"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":1891,"clientId":71,"number":"001841","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1894,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":70,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:24.893017] [notice] Logging level set to:debug -[2025-04-30 16:01:24.893069] [debug] valor del webhook: {"uuid":"bc68f1d5-da6d-43ef-8549-d3a2ca90c3fa","changeType":"draft_approved","entity":"invoice","entityId":"1891","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1891,"clientId":71,"number":"001841","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1894,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":70,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:25.036597] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:01:25.036648] [debug] Valor de JSON: {"uuid":"bc68f1d5-da6d-43ef-8549-d3a2ca90c3fa","changeType":"draft_approved","entity":"invoice","entityId":"1891","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1891,"clientId":71,"number":"001841","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1894,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":70,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:25.036746] [debug] Aprobación de Factura - -[2025-04-30 16:01:25.036787] [debug] {"uuid":"bc68f1d5-da6d-43ef-8549-d3a2ca90c3fa","changeType":"draft_approved","entity":"invoice","entityId":1891,"message":null,"clientId":71,"eventName":"invoice.draft_approved","clientData":{"id":71,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MNARIA","lastName":"ALVAREZ","username":"malvarez71","contacts":[{"id":72,"clientId":71,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-600,"accountCredit":0,"accountOutstanding":600,"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":1891,"clientId":71,"number":"001841","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1894,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":70,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:25.721456] [notice] Logging level set to:debug -[2025-04-30 16:01:25.721558] [debug] valor del webhook: {"uuid":"57751545-a52f-4696-9fbe-77ea7e7e08de","changeType":"insert","entity":"invoice","entityId":"1892","eventName":"invoice.add_draft","extraData":{"entity":{"id":1892,"clientId":14,"number":"001842","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1895,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":14,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDRO","clientLastName":"ARIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:25.866796] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:01:25.866847] [debug] Valor de JSON: {"uuid":"57751545-a52f-4696-9fbe-77ea7e7e08de","changeType":"insert","entity":"invoice","entityId":"1892","eventName":"invoice.add_draft","extraData":{"entity":{"id":1892,"clientId":14,"number":"001842","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1895,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":14,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDRO","clientLastName":"ARIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:25.866944] [debug] Adición de borrador de Factura - -[2025-04-30 16:01:25.866986] [debug] {"uuid":"57751545-a52f-4696-9fbe-77ea7e7e08de","changeType":"insert","entity":"invoice","entityId":1892,"message":null,"clientId":14,"eventName":"invoice.add_draft","clientData":{"id":14,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LINDAVISTA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LINDAVISTA, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALEXANDRO","lastName":"ARIAS","username":"aarias14","contacts":[{"id":15,"clientId":14,"email":null,"phone":"+1 682-260-4759","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-3300,"accountCredit":0,"accountOutstanding":3300,"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":1892,"clientId":14,"number":"001842","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1895,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":14,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDRO","clientLastName":"ARIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:25.867022] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-30 16:01:25.867031] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"57751545-a52f-4696-9fbe-77ea7e7e08de","changeType":"insert","entity":"invoice","entityId":1892,"message":null,"clientId":14,"eventName":"invoice.add_draft","clientData":{"id":14,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LINDAVISTA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LINDAVISTA, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALEXANDRO","lastName":"ARIAS","username":"aarias14","contacts":[{"id":15,"clientId":14,"email":null,"phone":"+1 682-260-4759","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-3300,"accountCredit":0,"accountOutstanding":3300,"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":1892,"clientId":14,"number":"001842","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1895,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":14,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDRO","clientLastName":"ARIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":15,"clientId":14,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2024-01-29T12:00:41-0600","amount":1800,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":17,"invoiceId":23,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300},{"id":19,"invoiceId":67,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300},{"id":36,"invoiceId":126,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300},{"id":122,"invoiceId":318,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300},{"id":125,"invoiceId":382,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300},{"id":312,"invoiceId":582,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1000,"attributes":[]}] - -Nombre del cliente que se va a actualizar: ALEXANDRO ARIAS - -UUID: be760b254a694e8b94b002789d68d388 - -JSON con los datos a actualizar: {"name":"ALEXANDRO ARIAS","custom_fields":{"Cliente":14,"Domicilio":"\ud83d\udccd LINDAVISTA, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 ALEXANDRO ARIAS","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/14","Saldo Actual":"\ud83d\udcb23300 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 1800","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"14\",\"Domicilio\": \"\"Nombre\": \"ALEXANDRO ARIAS\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/14\",\"Saldo Actual\": \"\ud83d\udcb23300 pendientes\",\"Monto Ultimo Pago\": \"$ 1800\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29\/01\/2024 12:00 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"30\/04\/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 29\/01\/2024 12:00 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 30\/04\/2025 10:01","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "14","Domicilio": ""Nombre": "ALEXANDRO ARIAS","URL": "https://sistema.siip.mx/crm/client/14","Saldo Actual": "💲3300 pendientes","Monto Ultimo Pago": "$ 1800","Estado": "Suspendido","Fecha Ultimo Pago": " 29/01/2024 12:00 con Efectivo 💵","Fecha Ultima Actualizacion": "30/04/2025 10:01","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"be760b254a694e8b94b002789d68d388","name":"ALEXANDRO ARIAS","phoneNumber":"+1 682-260-4759","avatarUrl":null,"createdAt":"2024-01-29T18:03:03Z","closedAt":"2024-01-29T18:32:46Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/be760b254a694e8b94b002789d68d388","conversationHref":"https://dash.callbell.eu/chat/b95896c60a7e4541b9d378d9d9ef938b","tags":[],"assignedUser":null,"customFields":{"Antena/Sectorial":"14","Nombre":"👤 ALEXANDRO ARIAS","Cliente":"14","Domicilio":"📍 LINDAVISTA, Dolores Hidalgo, 37800","Fecha Ultimo Pago":"📆💸 29/01/2024 12:00 con Efectivo 💵","Monto Ultimo Pago":"💲 1800","Saldo Actual":"💲3300 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/14","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 30/04/2025 10:01","Resumen":"{\"Cliente\": \"14\",\"Domicilio\": \"\"Nombre\": \"ALEXANDRO ARIAS\",\"URL\": \"https://sistema.siip.mx/crm/client/14\",\"Saldo Actual\": \"💲3300 pendientes\",\"Monto Ultimo Pago\": \"$ 1800\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29/01/2024 12:00 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"30/04/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"be760b254a694e8b94b002789d68d388","name":"ALEXANDRO ARIAS","phoneNumber":"+1 682-260-4759","avatarUrl":null,"createdAt":"2024-01-29T18:03:03Z","closedAt":"2024-01-29T18:32:46Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/be760b254a694e8b94b002789d68d388","conversationHref":"https://dash.callbell.eu/chat/b95896c60a7e4541b9d378d9d9ef938b","tags":[],"assignedUser":null,"customFields":{"Antena/Sectorial":"14","Nombre":"👤 ALEXANDRO ARIAS","Cliente":"14","Domicilio":"📍 LINDAVISTA, Dolores Hidalgo, 37800","Fecha Ultimo Pago":"📆💸 29/01/2024 12:00 con Efectivo 💵","Monto Ultimo Pago":"💲 1800","Saldo Actual":"💲3300 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/14","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 30/04/2025 10:01","Resumen":"{\"Cliente\": \"14\",\"Domicilio\": \"\"Nombre\": \"ALEXANDRO ARIAS\",\"URL\": \"https://sistema.siip.mx/crm/client/14\",\"Saldo Actual\": \"💲3300 pendientes\",\"Monto Ultimo Pago\": \"$ 1800\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29/01/2024 12:00 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"30/04/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-30 16:01:29.542768] [notice] Logging level set to:debug -[2025-04-30 16:01:29.542820] [debug] valor del webhook: {"uuid":"65141c5a-29ff-42f8-9fe5-4499c3a6b14c","changeType":"draft_approved","entity":"invoice","entityId":"1892","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1892,"clientId":14,"number":"001842","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1895,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":14,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDRO","clientLastName":"ARIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:29.714116] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:01:29.714169] [debug] Valor de JSON: {"uuid":"65141c5a-29ff-42f8-9fe5-4499c3a6b14c","changeType":"draft_approved","entity":"invoice","entityId":"1892","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1892,"clientId":14,"number":"001842","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1895,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":14,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDRO","clientLastName":"ARIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:29.714286] [debug] Aprobación de Factura - -[2025-04-30 16:01:29.714463] [debug] {"uuid":"65141c5a-29ff-42f8-9fe5-4499c3a6b14c","changeType":"draft_approved","entity":"invoice","entityId":1892,"message":null,"clientId":14,"eventName":"invoice.draft_approved","clientData":{"id":14,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LINDAVISTA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LINDAVISTA, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALEXANDRO","lastName":"ARIAS","username":"aarias14","contacts":[{"id":15,"clientId":14,"email":null,"phone":"+1 682-260-4759","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-3300,"accountCredit":0,"accountOutstanding":3300,"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":1892,"clientId":14,"number":"001842","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1895,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":14,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDRO","clientLastName":"ARIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:29.714521] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-30 16:01:29.714531] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"65141c5a-29ff-42f8-9fe5-4499c3a6b14c","changeType":"draft_approved","entity":"invoice","entityId":1892,"message":null,"clientId":14,"eventName":"invoice.draft_approved","clientData":{"id":14,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LINDAVISTA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LINDAVISTA, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALEXANDRO","lastName":"ARIAS","username":"aarias14","contacts":[{"id":15,"clientId":14,"email":null,"phone":"+1 682-260-4759","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-3300,"accountCredit":0,"accountOutstanding":3300,"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":1892,"clientId":14,"number":"001842","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1895,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":14,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDRO","clientLastName":"ARIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":15,"clientId":14,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2024-01-29T12:00:41-0600","amount":1800,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":17,"invoiceId":23,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300},{"id":19,"invoiceId":67,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300},{"id":36,"invoiceId":126,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300},{"id":122,"invoiceId":318,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300},{"id":125,"invoiceId":382,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300},{"id":312,"invoiceId":582,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1000,"attributes":[]}] - -Nombre del cliente que se va a actualizar: ALEXANDRO ARIAS - -UUID: be760b254a694e8b94b002789d68d388 - -JSON con los datos a actualizar: {"name":"ALEXANDRO ARIAS","custom_fields":{"Cliente":14,"Domicilio":"\ud83d\udccd LINDAVISTA, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 ALEXANDRO ARIAS","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/14","Saldo Actual":"\ud83d\udcb23300 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 1800","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"14\",\"Domicilio\": \"\"Nombre\": \"ALEXANDRO ARIAS\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/14\",\"Saldo Actual\": \"\ud83d\udcb23300 pendientes\",\"Monto Ultimo Pago\": \"$ 1800\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29\/01\/2024 12:00 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"30\/04\/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 29\/01\/2024 12:00 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 30\/04\/2025 10:01","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "14","Domicilio": ""Nombre": "ALEXANDRO ARIAS","URL": "https://sistema.siip.mx/crm/client/14","Saldo Actual": "💲3300 pendientes","Monto Ultimo Pago": "$ 1800","Estado": "Suspendido","Fecha Ultimo Pago": " 29/01/2024 12:00 con Efectivo 💵","Fecha Ultima Actualizacion": "30/04/2025 10:01","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"be760b254a694e8b94b002789d68d388","name":"ALEXANDRO ARIAS","phoneNumber":"+1 682-260-4759","avatarUrl":null,"createdAt":"2024-01-29T18:03:03Z","closedAt":"2024-01-29T18:32:46Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/be760b254a694e8b94b002789d68d388","conversationHref":"https://dash.callbell.eu/chat/b95896c60a7e4541b9d378d9d9ef938b","tags":[],"assignedUser":null,"customFields":{"Antena/Sectorial":"14","Nombre":"👤 ALEXANDRO ARIAS","Cliente":"14","Domicilio":"📍 LINDAVISTA, Dolores Hidalgo, 37800","Fecha Ultimo Pago":"📆💸 29/01/2024 12:00 con Efectivo 💵","Monto Ultimo Pago":"💲 1800","Saldo Actual":"💲3300 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/14","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 30/04/2025 10:01","Resumen":"{\"Cliente\": \"14\",\"Domicilio\": \"\"Nombre\": \"ALEXANDRO ARIAS\",\"URL\": \"https://sistema.siip.mx/crm/client/14\",\"Saldo Actual\": \"💲3300 pendientes\",\"Monto Ultimo Pago\": \"$ 1800\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29/01/2024 12:00 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"30/04/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"be760b254a694e8b94b002789d68d388","name":"ALEXANDRO ARIAS","phoneNumber":"+1 682-260-4759","avatarUrl":null,"createdAt":"2024-01-29T18:03:03Z","closedAt":"2024-01-29T18:32:46Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/be760b254a694e8b94b002789d68d388","conversationHref":"https://dash.callbell.eu/chat/b95896c60a7e4541b9d378d9d9ef938b","tags":[],"assignedUser":null,"customFields":{"Antena/Sectorial":"14","Nombre":"👤 ALEXANDRO ARIAS","Cliente":"14","Domicilio":"📍 LINDAVISTA, Dolores Hidalgo, 37800","Fecha Ultimo Pago":"📆💸 29/01/2024 12:00 con Efectivo 💵","Monto Ultimo Pago":"💲 1800","Saldo Actual":"💲3300 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/14","Estado":"🔴 Suspendido","Fecha Ultima Actualizacion":"📆🔄️ 30/04/2025 10:01","Resumen":"{\"Cliente\": \"14\",\"Domicilio\": \"\"Nombre\": \"ALEXANDRO ARIAS\",\"URL\": \"https://sistema.siip.mx/crm/client/14\",\"Saldo Actual\": \"💲3300 pendientes\",\"Monto Ultimo Pago\": \"$ 1800\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29/01/2024 12:00 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"30/04/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-30 16:01:32.449886] [notice] Logging level set to:debug -[2025-04-30 16:01:32.449963] [debug] valor del webhook: {"uuid":"caec1351-357b-42e4-8261-268dcf5a7fbe","changeType":"insert","entity":"invoice","entityId":"1893","eventName":"invoice.add_draft","extraData":{"entity":{"id":1893,"clientId":28,"number":"001843","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1896,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":27,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSVALDO","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN GABRIEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:32.604686] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:01:32.604739] [debug] Valor de JSON: {"uuid":"caec1351-357b-42e4-8261-268dcf5a7fbe","changeType":"insert","entity":"invoice","entityId":"1893","eventName":"invoice.add_draft","extraData":{"entity":{"id":1893,"clientId":28,"number":"001843","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1896,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":27,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSVALDO","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN GABRIEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:32.604857] [debug] Adición de borrador de Factura - -[2025-04-30 16:01:32.604912] [debug] {"uuid":"caec1351-357b-42e4-8261-268dcf5a7fbe","changeType":"insert","entity":"invoice","entityId":1893,"message":null,"clientId":28,"eventName":"invoice.add_draft","clientData":{"id":28,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN GABRIEL","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN GABRIEL, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OSVALDO","lastName":"GONZALEZ","username":"ogonzalez28","contacts":[{"id":29,"clientId":28,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7983.33,"accountCredit":0,"accountOutstanding":7983.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#03a9f4","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1893,"clientId":28,"number":"001843","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1896,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":27,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSVALDO","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN GABRIEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:32.716798] [notice] Logging level set to:debug -[2025-04-30 16:01:32.716902] [debug] valor del webhook: {"uuid":"dae5dc6f-5b38-4d42-a6f1-19a1b7b6361e","changeType":"draft_approved","entity":"invoice","entityId":"1893","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1893,"clientId":28,"number":"001843","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1896,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":27,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSVALDO","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN GABRIEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:32.849453] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:01:32.849503] [debug] Valor de JSON: {"uuid":"dae5dc6f-5b38-4d42-a6f1-19a1b7b6361e","changeType":"draft_approved","entity":"invoice","entityId":"1893","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1893,"clientId":28,"number":"001843","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1896,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":27,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSVALDO","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN GABRIEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:32.849591] [debug] Aprobación de Factura - -[2025-04-30 16:01:32.849633] [debug] {"uuid":"dae5dc6f-5b38-4d42-a6f1-19a1b7b6361e","changeType":"draft_approved","entity":"invoice","entityId":1893,"message":null,"clientId":28,"eventName":"invoice.draft_approved","clientData":{"id":28,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN GABRIEL","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN GABRIEL, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OSVALDO","lastName":"GONZALEZ","username":"ogonzalez28","contacts":[{"id":29,"clientId":28,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7983.33,"accountCredit":0,"accountOutstanding":7983.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#03a9f4","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1893,"clientId":28,"number":"001843","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1896,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":27,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSVALDO","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN GABRIEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:32.961035] [notice] Logging level set to:debug -[2025-04-30 16:01:32.961088] [debug] valor del webhook: {"uuid":"282a7aaa-1c50-4913-a629-835fedea3f5e","changeType":"insert","entity":"invoice","entityId":"1894","eventName":"invoice.add_draft","extraData":{"entity":{"id":1894,"clientId":31,"number":"001844","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1897,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":30,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANA","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SIETE REALES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:33.090548] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:01:33.090598] [debug] Valor de JSON: {"uuid":"282a7aaa-1c50-4913-a629-835fedea3f5e","changeType":"insert","entity":"invoice","entityId":"1894","eventName":"invoice.add_draft","extraData":{"entity":{"id":1894,"clientId":31,"number":"001844","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1897,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":30,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANA","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SIETE REALES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:33.090697] [debug] Adición de borrador de Factura - -[2025-04-30 16:01:33.090742] [debug] {"uuid":"282a7aaa-1c50-4913-a629-835fedea3f5e","changeType":"insert","entity":"invoice","entityId":1894,"message":null,"clientId":31,"eventName":"invoice.add_draft","clientData":{"id":31,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SIETE REALES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SIETE REALES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANA","lastName":"CASTILLO","username":"acastillo31","contacts":[{"id":32,"clientId":31,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4480,"accountCredit":0,"accountOutstanding":4480,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4caf50","addressGpsLat":21.2302531,"addressGpsLon":-100.7594666,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1894,"clientId":31,"number":"001844","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1897,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":30,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANA","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SIETE REALES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:33.205137] [notice] Logging level set to:debug -[2025-04-30 16:01:33.205200] [debug] valor del webhook: {"uuid":"43e60a7f-c6c6-4b30-ba3a-8b2ac90d7bbe","changeType":"draft_approved","entity":"invoice","entityId":"1894","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1894,"clientId":31,"number":"001844","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1897,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":30,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANA","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SIETE REALES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:33.344770] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:01:33.344825] [debug] Valor de JSON: {"uuid":"43e60a7f-c6c6-4b30-ba3a-8b2ac90d7bbe","changeType":"draft_approved","entity":"invoice","entityId":"1894","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1894,"clientId":31,"number":"001844","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1897,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":30,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANA","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SIETE REALES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:33.344926] [debug] Aprobación de Factura - -[2025-04-30 16:01:33.344974] [debug] {"uuid":"43e60a7f-c6c6-4b30-ba3a-8b2ac90d7bbe","changeType":"draft_approved","entity":"invoice","entityId":1894,"message":null,"clientId":31,"eventName":"invoice.draft_approved","clientData":{"id":31,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SIETE REALES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SIETE REALES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANA","lastName":"CASTILLO","username":"acastillo31","contacts":[{"id":32,"clientId":31,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4480,"accountCredit":0,"accountOutstanding":4480,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4caf50","addressGpsLat":21.2302531,"addressGpsLon":-100.7594666,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1894,"clientId":31,"number":"001844","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1897,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":30,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANA","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SIETE REALES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:33.453717] [notice] Logging level set to:debug -[2025-04-30 16:01:33.453769] [debug] valor del webhook: {"uuid":"2b3a8eaa-83e5-4fc0-819b-7b9add05f838","changeType":"insert","entity":"invoice","entityId":"1895","eventName":"invoice.add_draft","extraData":{"entity":{"id":1895,"clientId":43,"number":"001845","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1898,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":42,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"VICTORIO","clientLastName":"DIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:33.595056] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:01:33.595107] [debug] Valor de JSON: {"uuid":"2b3a8eaa-83e5-4fc0-819b-7b9add05f838","changeType":"insert","entity":"invoice","entityId":"1895","eventName":"invoice.add_draft","extraData":{"entity":{"id":1895,"clientId":43,"number":"001845","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1898,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":42,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"VICTORIO","clientLastName":"DIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:33.595202] [debug] Adición de borrador de Factura - -[2025-04-30 16:01:33.595244] [debug] {"uuid":"2b3a8eaa-83e5-4fc0-819b-7b9add05f838","changeType":"insert","entity":"invoice","entityId":1895,"message":null,"clientId":43,"eventName":"invoice.add_draft","clientData":{"id":43,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LAS FLORES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LAS FLORES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"VICTORIO","lastName":"DIAS","username":"vdias43","contacts":[{"id":44,"clientId":43,"email":null,"phone":"4181818706","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-10523.33,"accountCredit":0,"accountOutstanding":10523.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":1895,"clientId":43,"number":"001845","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1898,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":42,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"VICTORIO","clientLastName":"DIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:33.705955] [notice] Logging level set to:debug -[2025-04-30 16:01:33.706052] [debug] valor del webhook: {"uuid":"49613d08-eff2-42c5-aca0-a866efb45ffb","changeType":"draft_approved","entity":"invoice","entityId":"1895","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1895,"clientId":43,"number":"001845","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1898,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":42,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"VICTORIO","clientLastName":"DIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:33.847445] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:01:33.847497] [debug] Valor de JSON: {"uuid":"49613d08-eff2-42c5-aca0-a866efb45ffb","changeType":"draft_approved","entity":"invoice","entityId":"1895","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1895,"clientId":43,"number":"001845","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1898,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":42,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"VICTORIO","clientLastName":"DIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:33.847600] [debug] Aprobación de Factura - -[2025-04-30 16:01:33.847645] [debug] {"uuid":"49613d08-eff2-42c5-aca0-a866efb45ffb","changeType":"draft_approved","entity":"invoice","entityId":1895,"message":null,"clientId":43,"eventName":"invoice.draft_approved","clientData":{"id":43,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LAS FLORES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LAS FLORES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"VICTORIO","lastName":"DIAS","username":"vdias43","contacts":[{"id":44,"clientId":43,"email":null,"phone":"4181818706","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-10523.33,"accountCredit":0,"accountOutstanding":10523.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":1895,"clientId":43,"number":"001845","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1898,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":42,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"VICTORIO","clientLastName":"DIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:34.432631] [notice] Logging level set to:debug -[2025-04-30 16:01:34.432739] [debug] valor del webhook: {"uuid":"62bbde1d-fc27-475e-b844-6f187e5ea072","changeType":"insert","entity":"invoice","entityId":"1896","eventName":"invoice.add_draft","extraData":{"entity":{"id":1896,"clientId":56,"number":"001846","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1899,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":55,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NOE","clientLastName":"SANDOVAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:34.563572] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:01:34.563630] [debug] Valor de JSON: {"uuid":"62bbde1d-fc27-475e-b844-6f187e5ea072","changeType":"insert","entity":"invoice","entityId":"1896","eventName":"invoice.add_draft","extraData":{"entity":{"id":1896,"clientId":56,"number":"001846","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1899,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":55,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NOE","clientLastName":"SANDOVAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:34.563740] [debug] Adición de borrador de Factura - -[2025-04-30 16:01:34.563783] [debug] {"uuid":"62bbde1d-fc27-475e-b844-6f187e5ea072","changeType":"insert","entity":"invoice","entityId":1896,"message":null,"clientId":56,"eventName":"invoice.add_draft","clientData":{"id":56,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTIAGUILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":null,"fullAddress":"SANTIAGUILLO, Dolores Hidalgo Cuna de la Independencia Nacional","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"NOE","lastName":"SANDOVAL","username":"nsandoval56","contacts":[{"id":57,"clientId":56,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#039be5","addressGpsLat":21.0165209,"addressGpsLon":-100.9831731,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1896,"clientId":56,"number":"001846","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1899,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":55,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NOE","clientLastName":"SANDOVAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:34.676439] [notice] Logging level set to:debug -[2025-04-30 16:01:34.676495] [debug] valor del webhook: {"uuid":"27458b30-b6f4-437c-9071-0f7586ac7091","changeType":"draft_approved","entity":"invoice","entityId":"1896","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1896,"clientId":56,"number":"001846","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1899,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":55,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NOE","clientLastName":"SANDOVAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:34.827306] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:01:34.827359] [debug] Valor de JSON: {"uuid":"27458b30-b6f4-437c-9071-0f7586ac7091","changeType":"draft_approved","entity":"invoice","entityId":"1896","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1896,"clientId":56,"number":"001846","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1899,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":55,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NOE","clientLastName":"SANDOVAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:34.827466] [debug] Aprobación de Factura - -[2025-04-30 16:01:34.827508] [debug] {"uuid":"27458b30-b6f4-437c-9071-0f7586ac7091","changeType":"draft_approved","entity":"invoice","entityId":1896,"message":null,"clientId":56,"eventName":"invoice.draft_approved","clientData":{"id":56,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTIAGUILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":null,"fullAddress":"SANTIAGUILLO, Dolores Hidalgo Cuna de la Independencia Nacional","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"NOE","lastName":"SANDOVAL","username":"nsandoval56","contacts":[{"id":57,"clientId":56,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#039be5","addressGpsLat":21.0165209,"addressGpsLon":-100.9831731,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1896,"clientId":56,"number":"001846","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1899,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":55,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NOE","clientLastName":"SANDOVAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:35.752434] [notice] Logging level set to:debug -[2025-04-30 16:01:35.752547] [debug] valor del webhook: {"uuid":"e9694325-e430-441d-92f1-8930a81b0822","changeType":"insert","entity":"invoice","entityId":"1897","eventName":"invoice.add_draft","extraData":{"entity":{"id":1897,"clientId":101,"number":"001847","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1900,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":100,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OCTAVIO","clientLastName":"VIDAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ESTA\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:35.897336] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:01:35.897402] [debug] Valor de JSON: {"uuid":"e9694325-e430-441d-92f1-8930a81b0822","changeType":"insert","entity":"invoice","entityId":"1897","eventName":"invoice.add_draft","extraData":{"entity":{"id":1897,"clientId":101,"number":"001847","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1900,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":100,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OCTAVIO","clientLastName":"VIDAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ESTA\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:35.897552] [debug] Adición de borrador de Factura - -[2025-04-30 16:01:35.897608] [debug] {"uuid":"e9694325-e430-441d-92f1-8930a81b0822","changeType":"insert","entity":"invoice","entityId":1897,"message":null,"clientId":101,"eventName":"invoice.add_draft","clientData":{"id":101,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL ESTA\u00d1O","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL ESTA\u00d1O, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OCTAVIO","lastName":"VIDAL","username":"ovidal01","contacts":[{"id":102,"clientId":101,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"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":1897,"clientId":101,"number":"001847","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1900,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":100,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OCTAVIO","clientLastName":"VIDAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ESTA\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:36.009978] [notice] Logging level set to:debug -[2025-04-30 16:01:36.010029] [debug] valor del webhook: {"uuid":"026c3264-ca13-42cd-93a5-222f58e8c8ab","changeType":"draft_approved","entity":"invoice","entityId":"1897","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1897,"clientId":101,"number":"001847","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1900,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":100,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OCTAVIO","clientLastName":"VIDAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ESTA\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:36.148046] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:01:36.148098] [debug] Valor de JSON: {"uuid":"026c3264-ca13-42cd-93a5-222f58e8c8ab","changeType":"draft_approved","entity":"invoice","entityId":"1897","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1897,"clientId":101,"number":"001847","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1900,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":100,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OCTAVIO","clientLastName":"VIDAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ESTA\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:36.148202] [debug] Aprobación de Factura - -[2025-04-30 16:01:36.148246] [debug] {"uuid":"026c3264-ca13-42cd-93a5-222f58e8c8ab","changeType":"draft_approved","entity":"invoice","entityId":1897,"message":null,"clientId":101,"eventName":"invoice.draft_approved","clientData":{"id":101,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL ESTA\u00d1O","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL ESTA\u00d1O, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OCTAVIO","lastName":"VIDAL","username":"ovidal01","contacts":[{"id":102,"clientId":101,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"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":1897,"clientId":101,"number":"001847","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1900,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":100,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OCTAVIO","clientLastName":"VIDAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ESTA\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:37.105504] [notice] Logging level set to:debug -[2025-04-30 16:01:37.105591] [debug] valor del webhook: {"uuid":"3bd9f046-932f-4218-8655-3a810eac655c","changeType":"insert","entity":"invoice","entityId":"1898","eventName":"invoice.add_draft","extraData":{"entity":{"id":1898,"clientId":44,"number":"001848","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1901,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":43,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JAVIER","clientLastName":"BRIONES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ESTANCIA DE ZAMARRIPA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:37.264022] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:01:37.264079] [debug] Valor de JSON: {"uuid":"3bd9f046-932f-4218-8655-3a810eac655c","changeType":"insert","entity":"invoice","entityId":"1898","eventName":"invoice.add_draft","extraData":{"entity":{"id":1898,"clientId":44,"number":"001848","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1901,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":43,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JAVIER","clientLastName":"BRIONES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ESTANCIA DE ZAMARRIPA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:37.264182] [debug] Adición de borrador de Factura - -[2025-04-30 16:01:37.264225] [debug] {"uuid":"3bd9f046-932f-4218-8655-3a810eac655c","changeType":"insert","entity":"invoice","entityId":1898,"message":null,"clientId":44,"eventName":"invoice.add_draft","clientData":{"id":44,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"ESTANCIA DE ZAMARRIPA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"ESTANCIA DE ZAMARRIPA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JAVIER","lastName":"BRIONES","username":"jbriones44","contacts":[{"id":45,"clientId":44,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4510,"accountCredit":0,"accountOutstanding":4510,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#c0ca33","addressGpsLat":21.2370877,"addressGpsLon":-101.116799,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1898,"clientId":44,"number":"001848","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1901,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":43,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JAVIER","clientLastName":"BRIONES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ESTANCIA DE ZAMARRIPA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:37.379380] [notice] Logging level set to:debug -[2025-04-30 16:01:37.379441] [debug] valor del webhook: {"uuid":"16bddb64-8d22-4aa7-815c-60490883d8ff","changeType":"draft_approved","entity":"invoice","entityId":"1898","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1898,"clientId":44,"number":"001848","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1901,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":43,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JAVIER","clientLastName":"BRIONES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ESTANCIA DE ZAMARRIPA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:37.523140] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:01:37.523195] [debug] Valor de JSON: {"uuid":"16bddb64-8d22-4aa7-815c-60490883d8ff","changeType":"draft_approved","entity":"invoice","entityId":"1898","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1898,"clientId":44,"number":"001848","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1901,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":43,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JAVIER","clientLastName":"BRIONES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ESTANCIA DE ZAMARRIPA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:37.523284] [debug] Aprobación de Factura - -[2025-04-30 16:01:37.523327] [debug] {"uuid":"16bddb64-8d22-4aa7-815c-60490883d8ff","changeType":"draft_approved","entity":"invoice","entityId":1898,"message":null,"clientId":44,"eventName":"invoice.draft_approved","clientData":{"id":44,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"ESTANCIA DE ZAMARRIPA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"ESTANCIA DE ZAMARRIPA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JAVIER","lastName":"BRIONES","username":"jbriones44","contacts":[{"id":45,"clientId":44,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4510,"accountCredit":0,"accountOutstanding":4510,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#c0ca33","addressGpsLat":21.2370877,"addressGpsLon":-101.116799,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1898,"clientId":44,"number":"001848","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1901,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":43,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JAVIER","clientLastName":"BRIONES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ESTANCIA DE ZAMARRIPA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:38.440920] [notice] Logging level set to:debug -[2025-04-30 16:01:38.441026] [debug] valor del webhook: {"uuid":"61343461-4b82-4abc-a9ef-317bd06bc95f","changeType":"insert","entity":"invoice","entityId":"1899","eventName":"invoice.add_draft","extraData":{"entity":{"id":1899,"clientId":87,"number":"001849","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1902,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":86,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:38.593249] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:01:38.593302] [debug] Valor de JSON: {"uuid":"61343461-4b82-4abc-a9ef-317bd06bc95f","changeType":"insert","entity":"invoice","entityId":"1899","eventName":"invoice.add_draft","extraData":{"entity":{"id":1899,"clientId":87,"number":"001849","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1902,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":86,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:38.593417] [debug] Adición de borrador de Factura - -[2025-04-30 16:01:38.593461] [debug] {"uuid":"61343461-4b82-4abc-a9ef-317bd06bc95f","changeType":"insert","entity":"invoice","entityId":1899,"message":null,"clientId":87,"eventName":"invoice.add_draft","clientData":{"id":87,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ANTON","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ANTON, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"TERESA","lastName":"REYES","username":"treyes87","contacts":[{"id":88,"clientId":87,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1565c0","addressGpsLat":21.1473165,"addressGpsLon":-100.9333759,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1899,"clientId":87,"number":"001849","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1902,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":86,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:38.705144] [notice] Logging level set to:debug -[2025-04-30 16:01:38.705199] [debug] valor del webhook: {"uuid":"9d679819-d3d4-4ff6-8163-728e2a97c924","changeType":"draft_approved","entity":"invoice","entityId":"1899","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1899,"clientId":87,"number":"001849","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1902,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":86,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:38.840961] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:01:38.841016] [debug] Valor de JSON: {"uuid":"9d679819-d3d4-4ff6-8163-728e2a97c924","changeType":"draft_approved","entity":"invoice","entityId":"1899","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1899,"clientId":87,"number":"001849","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1902,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":86,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:38.841113] [debug] Aprobación de Factura - -[2025-04-30 16:01:38.841156] [debug] {"uuid":"9d679819-d3d4-4ff6-8163-728e2a97c924","changeType":"draft_approved","entity":"invoice","entityId":1899,"message":null,"clientId":87,"eventName":"invoice.draft_approved","clientData":{"id":87,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ANTON","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ANTON, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"TERESA","lastName":"REYES","username":"treyes87","contacts":[{"id":88,"clientId":87,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1565c0","addressGpsLat":21.1473165,"addressGpsLon":-100.9333759,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1899,"clientId":87,"number":"001849","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1902,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":86,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:39.762716] [notice] Logging level set to:debug -[2025-04-30 16:01:39.762829] [debug] valor del webhook: {"uuid":"6cb8fd01-de1c-46fa-b8bf-83a39927bfd8","changeType":"insert","entity":"invoice","entityId":"1900","eventName":"invoice.add_draft","extraData":{"entity":{"id":1900,"clientId":76,"number":"001850","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1903,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":75,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"RANGEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:39.907963] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:01:39.908019] [debug] Valor de JSON: {"uuid":"6cb8fd01-de1c-46fa-b8bf-83a39927bfd8","changeType":"insert","entity":"invoice","entityId":"1900","eventName":"invoice.add_draft","extraData":{"entity":{"id":1900,"clientId":76,"number":"001850","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1903,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":75,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"RANGEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:39.908128] [debug] Adición de borrador de Factura - -[2025-04-30 16:01:39.908174] [debug] {"uuid":"6cb8fd01-de1c-46fa-b8bf-83a39927bfd8","changeType":"insert","entity":"invoice","entityId":1900,"message":null,"clientId":76,"eventName":"invoice.add_draft","clientData":{"id":76,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TRANCAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TRANCAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDGAR","lastName":"RANGEL","username":"erangel76","contacts":[{"id":77,"clientId":76,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1900,"clientId":76,"number":"001850","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1903,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":75,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"RANGEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:40.027450] [notice] Logging level set to:debug -[2025-04-30 16:01:40.027520] [debug] valor del webhook: {"uuid":"d2d9ddd2-ec29-42bc-8746-1b00604ed236","changeType":"draft_approved","entity":"invoice","entityId":"1900","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1900,"clientId":76,"number":"001850","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1903,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":75,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"RANGEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:40.175839] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:01:40.175896] [debug] Valor de JSON: {"uuid":"d2d9ddd2-ec29-42bc-8746-1b00604ed236","changeType":"draft_approved","entity":"invoice","entityId":"1900","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1900,"clientId":76,"number":"001850","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1903,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":75,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"RANGEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:40.176013] [debug] Aprobación de Factura - -[2025-04-30 16:01:40.176059] [debug] {"uuid":"d2d9ddd2-ec29-42bc-8746-1b00604ed236","changeType":"draft_approved","entity":"invoice","entityId":1900,"message":null,"clientId":76,"eventName":"invoice.draft_approved","clientData":{"id":76,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TRANCAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TRANCAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDGAR","lastName":"RANGEL","username":"erangel76","contacts":[{"id":77,"clientId":76,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1900,"clientId":76,"number":"001850","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1903,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":75,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"RANGEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:41.114289] [notice] Logging level set to:debug -[2025-04-30 16:01:41.114358] [debug] valor del webhook: {"uuid":"179dbc94-5132-4373-81f9-3d34265121e0","changeType":"insert","entity":"invoice","entityId":"1901","eventName":"invoice.add_draft","extraData":{"entity":{"id":1901,"clientId":61,"number":"001851","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1904,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":60,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LUIS","clientLastName":"AGULAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:41.277826] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:01:41.277885] [debug] Valor de JSON: {"uuid":"179dbc94-5132-4373-81f9-3d34265121e0","changeType":"insert","entity":"invoice","entityId":"1901","eventName":"invoice.add_draft","extraData":{"entity":{"id":1901,"clientId":61,"number":"001851","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1904,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":60,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LUIS","clientLastName":"AGULAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:41.278050] [debug] Adición de borrador de Factura - -[2025-04-30 16:01:41.278115] [debug] {"uuid":"179dbc94-5132-4373-81f9-3d34265121e0","changeType":"insert","entity":"invoice","entityId":1901,"message":null,"clientId":61,"eventName":"invoice.add_draft","clientData":{"id":61,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS AGUILAR","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS AGUILAR, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"LUIS","lastName":"AGULAR","username":"lagular61","contacts":[{"id":62,"clientId":61,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1901,"clientId":61,"number":"001851","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1904,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":60,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LUIS","clientLastName":"AGULAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:41.392018] [notice] Logging level set to:debug -[2025-04-30 16:01:41.392086] [debug] valor del webhook: {"uuid":"d5719fb5-5ebe-42d6-b2cf-8ac7783d4c67","changeType":"draft_approved","entity":"invoice","entityId":"1901","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1901,"clientId":61,"number":"001851","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1904,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":60,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LUIS","clientLastName":"AGULAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:41.532191] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:01:41.532242] [debug] Valor de JSON: {"uuid":"d5719fb5-5ebe-42d6-b2cf-8ac7783d4c67","changeType":"draft_approved","entity":"invoice","entityId":"1901","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1901,"clientId":61,"number":"001851","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1904,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":60,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LUIS","clientLastName":"AGULAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:41.532358] [debug] Aprobación de Factura - -[2025-04-30 16:01:41.532402] [debug] {"uuid":"d5719fb5-5ebe-42d6-b2cf-8ac7783d4c67","changeType":"draft_approved","entity":"invoice","entityId":1901,"message":null,"clientId":61,"eventName":"invoice.draft_approved","clientData":{"id":61,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS AGUILAR","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS AGUILAR, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"LUIS","lastName":"AGULAR","username":"lagular61","contacts":[{"id":62,"clientId":61,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1901,"clientId":61,"number":"001851","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1904,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":60,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LUIS","clientLastName":"AGULAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:42.446995] [notice] Logging level set to:debug -[2025-04-30 16:01:42.447086] [debug] valor del webhook: {"uuid":"a2d7bf4d-48e3-4e54-a937-0aedafdc0b58","changeType":"insert","entity":"invoice","entityId":"1902","eventName":"invoice.add_draft","extraData":{"entity":{"id":1902,"clientId":78,"number":"001852","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1905,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":77,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDER","clientLastName":"ROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:42.587037] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:01:42.587091] [debug] Valor de JSON: {"uuid":"a2d7bf4d-48e3-4e54-a937-0aedafdc0b58","changeType":"insert","entity":"invoice","entityId":"1902","eventName":"invoice.add_draft","extraData":{"entity":{"id":1902,"clientId":78,"number":"001852","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1905,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":77,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDER","clientLastName":"ROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:42.587198] [debug] Adición de borrador de Factura - -[2025-04-30 16:01:42.587248] [debug] {"uuid":"a2d7bf4d-48e3-4e54-a937-0aedafdc0b58","changeType":"insert","entity":"invoice","entityId":1902,"message":null,"clientId":78,"eventName":"invoice.add_draft","clientData":{"id":78,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL BOBO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALEXANDER","lastName":"ROSTRO","username":"arostro78","contacts":[{"id":79,"clientId":78,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1902,"clientId":78,"number":"001852","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1905,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":77,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDER","clientLastName":"ROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:42.700630] [notice] Logging level set to:debug -[2025-04-30 16:01:42.700728] [debug] valor del webhook: {"uuid":"692ae9f4-d056-4efd-aeef-653d72e312d6","changeType":"draft_approved","entity":"invoice","entityId":"1902","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1902,"clientId":78,"number":"001852","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1905,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":77,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDER","clientLastName":"ROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:42.838051] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:01:42.838104] [debug] Valor de JSON: {"uuid":"692ae9f4-d056-4efd-aeef-653d72e312d6","changeType":"draft_approved","entity":"invoice","entityId":"1902","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1902,"clientId":78,"number":"001852","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1905,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":77,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDER","clientLastName":"ROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:42.838213] [debug] Aprobación de Factura - -[2025-04-30 16:01:42.838259] [debug] {"uuid":"692ae9f4-d056-4efd-aeef-653d72e312d6","changeType":"draft_approved","entity":"invoice","entityId":1902,"message":null,"clientId":78,"eventName":"invoice.draft_approved","clientData":{"id":78,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL BOBO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALEXANDER","lastName":"ROSTRO","username":"arostro78","contacts":[{"id":79,"clientId":78,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1902,"clientId":78,"number":"001852","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1905,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":77,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDER","clientLastName":"ROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:43.792751] [notice] Logging level set to:debug -[2025-04-30 16:01:43.792870] [debug] valor del webhook: {"uuid":"55ca8f50-aada-481f-8520-64d1f4f86025","changeType":"insert","entity":"invoice","entityId":"1903","eventName":"invoice.add_draft","extraData":{"entity":{"id":1903,"clientId":9,"number":"001853","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1906,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":9,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JHOVANY","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GALLINERO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:43.930830] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:01:43.930891] [debug] Valor de JSON: {"uuid":"55ca8f50-aada-481f-8520-64d1f4f86025","changeType":"insert","entity":"invoice","entityId":"1903","eventName":"invoice.add_draft","extraData":{"entity":{"id":1903,"clientId":9,"number":"001853","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1906,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":9,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JHOVANY","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GALLINERO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:43.930996] [debug] Adición de borrador de Factura - -[2025-04-30 16:01:43.931042] [debug] {"uuid":"55ca8f50-aada-481f-8520-64d1f4f86025","changeType":"insert","entity":"invoice","entityId":1903,"message":null,"clientId":9,"eventName":"invoice.add_draft","clientData":{"id":9,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"GALLINERO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"GALLINERO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JHOVANY","lastName":"LOPEZ","username":"jlopez09","contacts":[{"id":10,"clientId":9,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5000,"accountCredit":0,"accountOutstanding":5000,"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":1903,"clientId":9,"number":"001853","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1906,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":9,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JHOVANY","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GALLINERO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:44.041388] [notice] Logging level set to:debug -[2025-04-30 16:01:44.041446] [debug] valor del webhook: {"uuid":"787e967e-3ba3-4902-bd06-34458b5f036b","changeType":"draft_approved","entity":"invoice","entityId":"1903","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1903,"clientId":9,"number":"001853","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1906,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":9,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JHOVANY","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GALLINERO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:44.198640] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:01:44.198698] [debug] Valor de JSON: {"uuid":"787e967e-3ba3-4902-bd06-34458b5f036b","changeType":"draft_approved","entity":"invoice","entityId":"1903","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1903,"clientId":9,"number":"001853","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1906,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":9,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JHOVANY","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GALLINERO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:44.198818] [debug] Aprobación de Factura - -[2025-04-30 16:01:44.198864] [debug] {"uuid":"787e967e-3ba3-4902-bd06-34458b5f036b","changeType":"draft_approved","entity":"invoice","entityId":1903,"message":null,"clientId":9,"eventName":"invoice.draft_approved","clientData":{"id":9,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"GALLINERO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"GALLINERO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JHOVANY","lastName":"LOPEZ","username":"jlopez09","contacts":[{"id":10,"clientId":9,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5000,"accountCredit":0,"accountOutstanding":5000,"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":1903,"clientId":9,"number":"001853","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1906,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":9,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JHOVANY","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GALLINERO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:45.135329] [notice] Logging level set to:debug -[2025-04-30 16:01:45.135427] [debug] valor del webhook: {"uuid":"cff1fdc2-173b-4a87-9631-22b5bf5c0180","changeType":"insert","entity":"invoice","entityId":"1904","eventName":"invoice.add_draft","extraData":{"entity":{"id":1904,"clientId":88,"number":"001854","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1907,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":87,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CECILIA","clientLastName":"GRANDE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIFORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:45.275671] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:01:45.275727] [debug] Valor de JSON: {"uuid":"cff1fdc2-173b-4a87-9631-22b5bf5c0180","changeType":"insert","entity":"invoice","entityId":"1904","eventName":"invoice.add_draft","extraData":{"entity":{"id":1904,"clientId":88,"number":"001854","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1907,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":87,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CECILIA","clientLastName":"GRANDE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIFORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:45.275824] [debug] Adición de borrador de Factura - -[2025-04-30 16:01:45.275867] [debug] {"uuid":"cff1fdc2-173b-4a87-9631-22b5bf5c0180","changeType":"insert","entity":"invoice","entityId":1904,"message":null,"clientId":88,"eventName":"invoice.add_draft","clientData":{"id":88,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA CALIFORNIA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA CALIFORNIA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"CECILIA","lastName":"GRANDE","username":"cgrande88","contacts":[{"id":89,"clientId":88,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-11000,"accountCredit":0,"accountOutstanding":11000,"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":1904,"clientId":88,"number":"001854","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1907,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":87,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CECILIA","clientLastName":"GRANDE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIFORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:45.386514] [notice] Logging level set to:debug -[2025-04-30 16:01:45.386565] [debug] valor del webhook: {"uuid":"f66d20d0-fcbc-420f-ba82-5c8c883af78e","changeType":"draft_approved","entity":"invoice","entityId":"1904","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1904,"clientId":88,"number":"001854","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1907,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":87,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CECILIA","clientLastName":"GRANDE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIFORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:45.564829] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:01:45.564878] [debug] Valor de JSON: {"uuid":"f66d20d0-fcbc-420f-ba82-5c8c883af78e","changeType":"draft_approved","entity":"invoice","entityId":"1904","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1904,"clientId":88,"number":"001854","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1907,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":87,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CECILIA","clientLastName":"GRANDE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIFORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:45.564973] [debug] Aprobación de Factura - -[2025-04-30 16:01:45.565016] [debug] {"uuid":"f66d20d0-fcbc-420f-ba82-5c8c883af78e","changeType":"draft_approved","entity":"invoice","entityId":1904,"message":null,"clientId":88,"eventName":"invoice.draft_approved","clientData":{"id":88,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA CALIFORNIA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA CALIFORNIA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"CECILIA","lastName":"GRANDE","username":"cgrande88","contacts":[{"id":89,"clientId":88,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-11000,"accountCredit":0,"accountOutstanding":11000,"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":1904,"clientId":88,"number":"001854","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1907,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":87,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CECILIA","clientLastName":"GRANDE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIFORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:46.503338] [notice] Logging level set to:debug -[2025-04-30 16:01:46.503449] [debug] valor del webhook: {"uuid":"eb069b61-9c33-4b1b-b0a9-8abcfcdebf98","changeType":"insert","entity":"invoice","entityId":"1905","eventName":"invoice.add_draft","extraData":{"entity":{"id":1905,"clientId":27,"number":"001855","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1908,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":26,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXIS","clientLastName":"DIAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA RITA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:46.646642] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:01:46.646697] [debug] Valor de JSON: {"uuid":"eb069b61-9c33-4b1b-b0a9-8abcfcdebf98","changeType":"insert","entity":"invoice","entityId":"1905","eventName":"invoice.add_draft","extraData":{"entity":{"id":1905,"clientId":27,"number":"001855","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1908,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":26,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXIS","clientLastName":"DIAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA RITA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:46.646822] [debug] Adición de borrador de Factura - -[2025-04-30 16:01:46.646869] [debug] {"uuid":"eb069b61-9c33-4b1b-b0a9-8abcfcdebf98","changeType":"insert","entity":"invoice","entityId":1905,"message":null,"clientId":27,"eventName":"invoice.add_draft","clientData":{"id":27,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA RITA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA RITA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALEXIS","lastName":"DIAZ","username":"adiaz27","contacts":[{"id":28,"clientId":27,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4510,"accountCredit":0,"accountOutstanding":4510,"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":1905,"clientId":27,"number":"001855","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1908,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":26,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXIS","clientLastName":"DIAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA RITA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:46.758466] [notice] Logging level set to:debug -[2025-04-30 16:01:46.758555] [debug] valor del webhook: {"uuid":"8e8447e1-f369-46ce-9e39-efdc4453fa50","changeType":"draft_approved","entity":"invoice","entityId":"1905","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1905,"clientId":27,"number":"001855","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1908,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":26,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXIS","clientLastName":"DIAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA RITA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:46.899499] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:01:46.899552] [debug] Valor de JSON: {"uuid":"8e8447e1-f369-46ce-9e39-efdc4453fa50","changeType":"draft_approved","entity":"invoice","entityId":"1905","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1905,"clientId":27,"number":"001855","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1908,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":26,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXIS","clientLastName":"DIAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA RITA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:46.899657] [debug] Aprobación de Factura - -[2025-04-30 16:01:46.899702] [debug] {"uuid":"8e8447e1-f369-46ce-9e39-efdc4453fa50","changeType":"draft_approved","entity":"invoice","entityId":1905,"message":null,"clientId":27,"eventName":"invoice.draft_approved","clientData":{"id":27,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA RITA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA RITA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALEXIS","lastName":"DIAZ","username":"adiaz27","contacts":[{"id":28,"clientId":27,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4510,"accountCredit":0,"accountOutstanding":4510,"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":1905,"clientId":27,"number":"001855","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1908,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":26,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXIS","clientLastName":"DIAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA RITA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:47.806773] [notice] Logging level set to:debug -[2025-04-30 16:01:47.806850] [debug] valor del webhook: {"uuid":"c72a886a-ad04-48bf-b96b-bed8e1a188a0","changeType":"insert","entity":"invoice","entityId":"1906","eventName":"invoice.add_draft","extraData":{"entity":{"id":1906,"clientId":75,"number":"001856","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1909,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":74,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAUL","clientLastName":"AYALA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:47.952625] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:01:47.952680] [debug] Valor de JSON: {"uuid":"c72a886a-ad04-48bf-b96b-bed8e1a188a0","changeType":"insert","entity":"invoice","entityId":"1906","eventName":"invoice.add_draft","extraData":{"entity":{"id":1906,"clientId":75,"number":"001856","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1909,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":74,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAUL","clientLastName":"AYALA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:47.952800] [debug] Adición de borrador de Factura - -[2025-04-30 16:01:47.952841] [debug] {"uuid":"c72a886a-ad04-48bf-b96b-bed8e1a188a0","changeType":"insert","entity":"invoice","entityId":1906,"message":null,"clientId":75,"eventName":"invoice.add_draft","clientData":{"id":75,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"RAUL","lastName":"AYALA","username":"rayala75","contacts":[{"id":76,"clientId":75,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.2516667,"addressGpsLon":-101.0924998,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1906,"clientId":75,"number":"001856","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1909,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":74,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAUL","clientLastName":"AYALA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:48.068857] [notice] Logging level set to:debug -[2025-04-30 16:01:48.068911] [debug] valor del webhook: {"uuid":"fd73b8ff-05f4-491a-80d2-6bf79f2054ae","changeType":"draft_approved","entity":"invoice","entityId":"1906","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1906,"clientId":75,"number":"001856","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1909,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":74,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAUL","clientLastName":"AYALA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:48.233094] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:01:48.233154] [debug] Valor de JSON: {"uuid":"fd73b8ff-05f4-491a-80d2-6bf79f2054ae","changeType":"draft_approved","entity":"invoice","entityId":"1906","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1906,"clientId":75,"number":"001856","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1909,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":74,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAUL","clientLastName":"AYALA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:48.233262] [debug] Aprobación de Factura - -[2025-04-30 16:01:48.233305] [debug] {"uuid":"fd73b8ff-05f4-491a-80d2-6bf79f2054ae","changeType":"draft_approved","entity":"invoice","entityId":1906,"message":null,"clientId":75,"eventName":"invoice.draft_approved","clientData":{"id":75,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"RAUL","lastName":"AYALA","username":"rayala75","contacts":[{"id":76,"clientId":75,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.2516667,"addressGpsLon":-101.0924998,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1906,"clientId":75,"number":"001856","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1909,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":74,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAUL","clientLastName":"AYALA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:49.142512] [notice] Logging level set to:debug -[2025-04-30 16:01:49.142621] [debug] valor del webhook: {"uuid":"cd309928-2e02-4a67-be96-503f78ed23e2","changeType":"insert","entity":"invoice","entityId":"1907","eventName":"invoice.add_draft","extraData":{"entity":{"id":1907,"clientId":24,"number":"001857","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1910,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":23,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JACIEL","clientLastName":"CERVANTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTO NI\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:49.287328] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:01:49.287384] [debug] Valor de JSON: {"uuid":"cd309928-2e02-4a67-be96-503f78ed23e2","changeType":"insert","entity":"invoice","entityId":"1907","eventName":"invoice.add_draft","extraData":{"entity":{"id":1907,"clientId":24,"number":"001857","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1910,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":23,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JACIEL","clientLastName":"CERVANTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTO NI\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:49.287489] [debug] Adición de borrador de Factura - -[2025-04-30 16:01:49.287539] [debug] {"uuid":"cd309928-2e02-4a67-be96-503f78ed23e2","changeType":"insert","entity":"invoice","entityId":1907,"message":null,"clientId":24,"eventName":"invoice.add_draft","clientData":{"id":24,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTO NI\u00d1O","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTO NI\u00d1O, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JACIEL","lastName":"CERVANTES","username":"jcervantes24","contacts":[{"id":25,"clientId":24,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4780,"accountCredit":0,"accountOutstanding":4780,"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":1907,"clientId":24,"number":"001857","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1910,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":23,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JACIEL","clientLastName":"CERVANTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTO NI\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:49.401865] [notice] Logging level set to:debug -[2025-04-30 16:01:49.401952] [debug] valor del webhook: {"uuid":"0e6d79ab-0a8b-4f58-9e4a-8ea7df4a8e89","changeType":"draft_approved","entity":"invoice","entityId":"1907","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1907,"clientId":24,"number":"001857","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1910,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":23,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JACIEL","clientLastName":"CERVANTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTO NI\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:49.542284] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:01:49.542332] [debug] Valor de JSON: {"uuid":"0e6d79ab-0a8b-4f58-9e4a-8ea7df4a8e89","changeType":"draft_approved","entity":"invoice","entityId":"1907","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1907,"clientId":24,"number":"001857","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1910,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":23,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JACIEL","clientLastName":"CERVANTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTO NI\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:49.542426] [debug] Aprobación de Factura - -[2025-04-30 16:01:49.542469] [debug] {"uuid":"0e6d79ab-0a8b-4f58-9e4a-8ea7df4a8e89","changeType":"draft_approved","entity":"invoice","entityId":1907,"message":null,"clientId":24,"eventName":"invoice.draft_approved","clientData":{"id":24,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTO NI\u00d1O","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTO NI\u00d1O, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JACIEL","lastName":"CERVANTES","username":"jcervantes24","contacts":[{"id":25,"clientId":24,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4780,"accountCredit":0,"accountOutstanding":4780,"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":1907,"clientId":24,"number":"001857","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1910,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":23,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JACIEL","clientLastName":"CERVANTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTO NI\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:53.383100] [notice] Logging level set to:debug -[2025-04-30 16:01:53.383215] [debug] valor del webhook: {"uuid":"d9911d13-5c39-48cd-83f3-ac7d5e96a162","changeType":"insert","entity":"invoice","entityId":"1908","eventName":"invoice.add_draft","extraData":{"entity":{"id":1908,"clientId":85,"number":"001858","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1911,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":84,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GISELLE","clientLastName":"ARREDONDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GARABATILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:53.535880] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:01:53.535936] [debug] Valor de JSON: {"uuid":"d9911d13-5c39-48cd-83f3-ac7d5e96a162","changeType":"insert","entity":"invoice","entityId":"1908","eventName":"invoice.add_draft","extraData":{"entity":{"id":1908,"clientId":85,"number":"001858","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1911,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":84,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GISELLE","clientLastName":"ARREDONDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GARABATILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:53.536050] [debug] Adición de borrador de Factura - -[2025-04-30 16:01:53.536092] [debug] {"uuid":"d9911d13-5c39-48cd-83f3-ac7d5e96a162","changeType":"insert","entity":"invoice","entityId":1908,"message":null,"clientId":85,"eventName":"invoice.add_draft","clientData":{"id":85,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"GARABATILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"GARABATILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"GISELLE","lastName":"ARREDONDO","username":"garredondo85","contacts":[{"id":86,"clientId":85,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-8000,"accountCredit":0,"accountOutstanding":8000,"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":1908,"clientId":85,"number":"001858","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1911,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":84,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GISELLE","clientLastName":"ARREDONDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GARABATILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:53.650705] [notice] Logging level set to:debug -[2025-04-30 16:01:53.650764] [debug] valor del webhook: {"uuid":"42538420-a9a7-465f-9d9d-f3c3465d4a35","changeType":"draft_approved","entity":"invoice","entityId":"1908","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1908,"clientId":85,"number":"001858","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1911,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":84,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GISELLE","clientLastName":"ARREDONDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GARABATILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:53.786776] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:01:53.786828] [debug] Valor de JSON: {"uuid":"42538420-a9a7-465f-9d9d-f3c3465d4a35","changeType":"draft_approved","entity":"invoice","entityId":"1908","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1908,"clientId":85,"number":"001858","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1911,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":84,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GISELLE","clientLastName":"ARREDONDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GARABATILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:53.786923] [debug] Aprobación de Factura - -[2025-04-30 16:01:53.786966] [debug] {"uuid":"42538420-a9a7-465f-9d9d-f3c3465d4a35","changeType":"draft_approved","entity":"invoice","entityId":1908,"message":null,"clientId":85,"eventName":"invoice.draft_approved","clientData":{"id":85,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"GARABATILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"GARABATILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"GISELLE","lastName":"ARREDONDO","username":"garredondo85","contacts":[{"id":86,"clientId":85,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-8000,"accountCredit":0,"accountOutstanding":8000,"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":1908,"clientId":85,"number":"001858","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1911,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":84,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GISELLE","clientLastName":"ARREDONDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GARABATILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:54.731364] [notice] Logging level set to:debug -[2025-04-30 16:01:54.731441] [debug] valor del webhook: {"uuid":"c8957733-c38c-4651-b4c9-bf714b10ffdb","changeType":"insert","entity":"invoice","entityId":"1909","eventName":"invoice.add_draft","extraData":{"entity":{"id":1909,"clientId":12,"number":"001859","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1912,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":12,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MIRIAM","clientLastName":"ZURITA RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:54.890543] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:01:54.890598] [debug] Valor de JSON: {"uuid":"c8957733-c38c-4651-b4c9-bf714b10ffdb","changeType":"insert","entity":"invoice","entityId":"1909","eventName":"invoice.add_draft","extraData":{"entity":{"id":1909,"clientId":12,"number":"001859","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1912,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":12,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MIRIAM","clientLastName":"ZURITA RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:54.890697] [debug] Adición de borrador de Factura - -[2025-04-30 16:01:54.890743] [debug] {"uuid":"c8957733-c38c-4651-b4c9-bf714b10ffdb","changeType":"insert","entity":"invoice","entityId":1909,"message":null,"clientId":12,"eventName":"invoice.add_draft","clientData":{"id":12,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"DOLORES HIDALGO","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MIRIAM","lastName":"ZURITA RAMIREZ","username":"mzurita12","contacts":[{"id":13,"clientId":12,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-9433.33,"accountCredit":0,"accountOutstanding":9433.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":1909,"clientId":12,"number":"001859","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1912,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":12,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MIRIAM","clientLastName":"ZURITA RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:54.890786] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-30 16:01:54.890798] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"c8957733-c38c-4651-b4c9-bf714b10ffdb","changeType":"insert","entity":"invoice","entityId":1909,"message":null,"clientId":12,"eventName":"invoice.add_draft","clientData":{"id":12,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"DOLORES HIDALGO","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MIRIAM","lastName":"ZURITA RAMIREZ","username":"mzurita12","contacts":[{"id":13,"clientId":12,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-9433.33,"accountCredit":0,"accountOutstanding":9433.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":1909,"clientId":12,"number":"001859","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1912,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":12,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MIRIAM","clientLastName":"ZURITA RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":11,"clientId":12,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2024-01-29T11:46:50-0600","amount":3500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":13,"invoiceId":20,"paymentId":11,"creditNoteId":null,"refundId":null,"amount":3500}],"creditAmount":0,"userId":1000,"attributes":[]}] - -Nombre del cliente que se va a actualizar: MIRIAM ZURITA RAMIREZ - -UUID: 7ec1948ad8af4bcd8eff0d7c2a995d09 - -JSON con los datos a actualizar: {"name":"MIRIAM ZURITA RAMIREZ","custom_fields":{"Cliente":12,"Domicilio":"\ud83d\udccd DOLORES HIDALGO","Nombre":"\ud83d\udc64 MIRIAM ZURITA RAMIREZ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/12","Saldo Actual":"\ud83d\udcb29433.33 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 3500","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"12\",\"Domicilio\": \"\"Nombre\": \"MIRIAM ZURITA RAMIREZ\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/12\",\"Saldo Actual\": \"\ud83d\udcb29433.33 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29\/01\/2024 11:46 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"30\/04\/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 29\/01\/2024 11:46 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 30\/04\/2025 10:01","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "12","Domicilio": ""Nombre": "MIRIAM ZURITA RAMIREZ","URL": "https://sistema.siip.mx/crm/client/12","Saldo Actual": "💲9433.33 pendientes","Monto Ultimo Pago": "$ 3500","Estado": "Suspendido","Fecha Ultimo Pago": " 29/01/2024 11:46 con Efectivo 💵","Fecha Ultima Actualizacion": "30/04/2025 10:01","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"7ec1948ad8af4bcd8eff0d7c2a995d09","name":"MIRIAM ZURITA RAMIREZ","phoneNumber":"5214181577623","avatarUrl":null,"createdAt":"2023-12-22T16:52:57Z","closedAt":"2025-01-07T23:12:30Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7ec1948ad8af4bcd8eff0d7c2a995d09","conversationHref":"https://dash.callbell.eu/chat/d06f5a96768c4945b7a659a6930e5fa0","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"124180650725363841","Saldo Actual":"💲9433.33 pendientes","user name":"Míriam Moctezuma","Domicilio":"📍 DOLORES HIDALGO","Antena/Sectorial":"SECTORIAL-2 172.16.12.11/24","Site":"GPE1","URL":"🌐 https://sistema.siip.mx/crm/client/12","Estado":"🔴 Suspendido","Cliente":"12","Fecha Ultimo Pago":"📆💸 29/01/2024 11:46 con Efectivo 💵","Resumen":"{\"Cliente\": \"12\",\"Domicilio\": \"\"Nombre\": \"MIRIAM ZURITA RAMIREZ\",\"URL\": \"https://sistema.siip.mx/crm/client/12\",\"Saldo Actual\": \"💲9433.33 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29/01/2024 11:46 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"30/04/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultima Actualizacion":"📆🔄️ 30/04/2025 10:01","Monto Ultimo Pago":"💲 3500","Nombre":"👤 MIRIAM ZURITA RAMIREZ"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"7ec1948ad8af4bcd8eff0d7c2a995d09","name":"MIRIAM ZURITA RAMIREZ","phoneNumber":"5214181577623","avatarUrl":null,"createdAt":"2023-12-22T16:52:57Z","closedAt":"2025-01-07T23:12:30Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7ec1948ad8af4bcd8eff0d7c2a995d09","conversationHref":"https://dash.callbell.eu/chat/d06f5a96768c4945b7a659a6930e5fa0","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"124180650725363841","Saldo Actual":"💲9433.33 pendientes","user name":"Míriam Moctezuma","Domicilio":"📍 DOLORES HIDALGO","Antena/Sectorial":"SECTORIAL-2 172.16.12.11/24","Site":"GPE1","URL":"🌐 https://sistema.siip.mx/crm/client/12","Estado":"🔴 Suspendido","Cliente":"12","Fecha Ultimo Pago":"📆💸 29/01/2024 11:46 con Efectivo 💵","Resumen":"{\"Cliente\": \"12\",\"Domicilio\": \"\"Nombre\": \"MIRIAM ZURITA RAMIREZ\",\"URL\": \"https://sistema.siip.mx/crm/client/12\",\"Saldo Actual\": \"💲9433.33 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29/01/2024 11:46 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"30/04/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultima Actualizacion":"📆🔄️ 30/04/2025 10:01","Monto Ultimo Pago":"💲 3500","Nombre":"👤 MIRIAM ZURITA RAMIREZ"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-30 16:01:57.745898] [notice] Logging level set to:debug -[2025-04-30 16:01:57.745959] [debug] valor del webhook: {"uuid":"abe9bd8c-fd8e-47c1-8d8e-361b2beaa90f","changeType":"draft_approved","entity":"invoice","entityId":"1909","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1909,"clientId":12,"number":"001859","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1912,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":12,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MIRIAM","clientLastName":"ZURITA RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:57.892489] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:01:57.892544] [debug] Valor de JSON: {"uuid":"abe9bd8c-fd8e-47c1-8d8e-361b2beaa90f","changeType":"draft_approved","entity":"invoice","entityId":"1909","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1909,"clientId":12,"number":"001859","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1912,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":12,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MIRIAM","clientLastName":"ZURITA RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:01:57.892666] [debug] Aprobación de Factura - -[2025-04-30 16:01:57.892712] [debug] {"uuid":"abe9bd8c-fd8e-47c1-8d8e-361b2beaa90f","changeType":"draft_approved","entity":"invoice","entityId":1909,"message":null,"clientId":12,"eventName":"invoice.draft_approved","clientData":{"id":12,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"DOLORES HIDALGO","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MIRIAM","lastName":"ZURITA RAMIREZ","username":"mzurita12","contacts":[{"id":13,"clientId":12,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-9433.33,"accountCredit":0,"accountOutstanding":9433.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":1909,"clientId":12,"number":"001859","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1912,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":12,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MIRIAM","clientLastName":"ZURITA RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:01:57.892761] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-04-30 16:01:57.892771] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"abe9bd8c-fd8e-47c1-8d8e-361b2beaa90f","changeType":"draft_approved","entity":"invoice","entityId":1909,"message":null,"clientId":12,"eventName":"invoice.draft_approved","clientData":{"id":12,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"DOLORES HIDALGO","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MIRIAM","lastName":"ZURITA RAMIREZ","username":"mzurita12","contacts":[{"id":13,"clientId":12,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-9433.33,"accountCredit":0,"accountOutstanding":9433.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":1909,"clientId":12,"number":"001859","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1912,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":12,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MIRIAM","clientLastName":"ZURITA RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":11,"clientId":12,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2024-01-29T11:46:50-0600","amount":3500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":13,"invoiceId":20,"paymentId":11,"creditNoteId":null,"refundId":null,"amount":3500}],"creditAmount":0,"userId":1000,"attributes":[]}] - -Nombre del cliente que se va a actualizar: MIRIAM ZURITA RAMIREZ - -UUID: 7ec1948ad8af4bcd8eff0d7c2a995d09 - -JSON con los datos a actualizar: {"name":"MIRIAM ZURITA RAMIREZ","custom_fields":{"Cliente":12,"Domicilio":"\ud83d\udccd DOLORES HIDALGO","Nombre":"\ud83d\udc64 MIRIAM ZURITA RAMIREZ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/12","Saldo Actual":"\ud83d\udcb29433.33 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 3500","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"12\",\"Domicilio\": \"\"Nombre\": \"MIRIAM ZURITA RAMIREZ\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/12\",\"Saldo Actual\": \"\ud83d\udcb29433.33 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29\/01\/2024 11:46 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"30\/04\/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 29\/01\/2024 11:46 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 30\/04\/2025 10:01","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "12","Domicilio": ""Nombre": "MIRIAM ZURITA RAMIREZ","URL": "https://sistema.siip.mx/crm/client/12","Saldo Actual": "💲9433.33 pendientes","Monto Ultimo Pago": "$ 3500","Estado": "Suspendido","Fecha Ultimo Pago": " 29/01/2024 11:46 con Efectivo 💵","Fecha Ultima Actualizacion": "30/04/2025 10:01","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"7ec1948ad8af4bcd8eff0d7c2a995d09","name":"MIRIAM ZURITA RAMIREZ","phoneNumber":"5214181577623","avatarUrl":null,"createdAt":"2023-12-22T16:52:57Z","closedAt":"2025-01-07T23:12:30Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7ec1948ad8af4bcd8eff0d7c2a995d09","conversationHref":"https://dash.callbell.eu/chat/d06f5a96768c4945b7a659a6930e5fa0","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"124180650725363841","Saldo Actual":"💲9433.33 pendientes","user name":"Míriam Moctezuma","Domicilio":"📍 DOLORES HIDALGO","Antena/Sectorial":"SECTORIAL-2 172.16.12.11/24","Site":"GPE1","URL":"🌐 https://sistema.siip.mx/crm/client/12","Estado":"🔴 Suspendido","Cliente":"12","Fecha Ultimo Pago":"📆💸 29/01/2024 11:46 con Efectivo 💵","Resumen":"{\"Cliente\": \"12\",\"Domicilio\": \"\"Nombre\": \"MIRIAM ZURITA RAMIREZ\",\"URL\": \"https://sistema.siip.mx/crm/client/12\",\"Saldo Actual\": \"💲9433.33 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29/01/2024 11:46 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"30/04/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultima Actualizacion":"📆🔄️ 30/04/2025 10:01","Monto Ultimo Pago":"💲 3500","Nombre":"👤 MIRIAM ZURITA RAMIREZ"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"7ec1948ad8af4bcd8eff0d7c2a995d09","name":"MIRIAM ZURITA RAMIREZ","phoneNumber":"5214181577623","avatarUrl":null,"createdAt":"2023-12-22T16:52:57Z","closedAt":"2025-01-07T23:12:30Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7ec1948ad8af4bcd8eff0d7c2a995d09","conversationHref":"https://dash.callbell.eu/chat/d06f5a96768c4945b7a659a6930e5fa0","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"124180650725363841","Saldo Actual":"💲9433.33 pendientes","user name":"Míriam Moctezuma","Domicilio":"📍 DOLORES HIDALGO","Antena/Sectorial":"SECTORIAL-2 172.16.12.11/24","Site":"GPE1","URL":"🌐 https://sistema.siip.mx/crm/client/12","Estado":"🔴 Suspendido","Cliente":"12","Fecha Ultimo Pago":"📆💸 29/01/2024 11:46 con Efectivo 💵","Resumen":"{\"Cliente\": \"12\",\"Domicilio\": \"\"Nombre\": \"MIRIAM ZURITA RAMIREZ\",\"URL\": \"https://sistema.siip.mx/crm/client/12\",\"Saldo Actual\": \"💲9433.33 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29/01/2024 11:46 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"30/04/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultima Actualizacion":"📆🔄️ 30/04/2025 10:01","Monto Ultimo Pago":"💲 3500","Nombre":"👤 MIRIAM ZURITA RAMIREZ"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-04-30 16:02:00.467312] [notice] Logging level set to:debug -[2025-04-30 16:02:00.467371] [debug] valor del webhook: {"uuid":"6dd8abbb-c194-4f0e-a5bb-0e59ef37fdfb","changeType":"insert","entity":"invoice","entityId":"1910","eventName":"invoice.add_draft","extraData":{"entity":{"id":1910,"clientId":102,"number":"001860","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1913,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":101,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"XX","clientLastName":"XX","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:00.761658] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:02:00.761712] [debug] Valor de JSON: {"uuid":"6dd8abbb-c194-4f0e-a5bb-0e59ef37fdfb","changeType":"insert","entity":"invoice","entityId":"1910","eventName":"invoice.add_draft","extraData":{"entity":{"id":1910,"clientId":102,"number":"001860","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1913,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":101,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"XX","clientLastName":"XX","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:00.761828] [debug] Adición de borrador de Factura - -[2025-04-30 16:02:00.761873] [debug] {"uuid":"6dd8abbb-c194-4f0e-a5bb-0e59ef37fdfb","changeType":"insert","entity":"invoice","entityId":1910,"message":null,"clientId":102,"eventName":"invoice.add_draft","clientData":{"id":102,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"YERBAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"YERBAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"XX","lastName":"XX","username":"xxx02","contacts":[{"id":103,"clientId":102,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"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":1910,"clientId":102,"number":"001860","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1913,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":101,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"XX","clientLastName":"XX","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:00.879798] [notice] Logging level set to:debug -[2025-04-30 16:02:00.879858] [debug] valor del webhook: {"uuid":"218792d1-8461-4c8c-a7d8-f59ded2877b8","changeType":"draft_approved","entity":"invoice","entityId":"1910","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1910,"clientId":102,"number":"001860","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1913,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":101,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"XX","clientLastName":"XX","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:01.117116] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:02:01.117176] [debug] Valor de JSON: {"uuid":"218792d1-8461-4c8c-a7d8-f59ded2877b8","changeType":"draft_approved","entity":"invoice","entityId":"1910","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1910,"clientId":102,"number":"001860","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1913,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":101,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"XX","clientLastName":"XX","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:01.117274] [debug] Aprobación de Factura - -[2025-04-30 16:02:01.117319] [debug] {"uuid":"218792d1-8461-4c8c-a7d8-f59ded2877b8","changeType":"draft_approved","entity":"invoice","entityId":1910,"message":null,"clientId":102,"eventName":"invoice.draft_approved","clientData":{"id":102,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"YERBAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"YERBAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"XX","lastName":"XX","username":"xxx02","contacts":[{"id":103,"clientId":102,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"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":1910,"clientId":102,"number":"001860","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1913,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":101,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"XX","clientLastName":"XX","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:01.232707] [notice] Logging level set to:debug -[2025-04-30 16:02:01.232763] [debug] valor del webhook: {"uuid":"f5c66ebc-bbe3-4f5c-a86f-d611f19847d7","changeType":"insert","entity":"invoice","entityId":"1911","eventName":"invoice.add_draft","extraData":{"entity":{"id":1911,"clientId":66,"number":"001861","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1914,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":65,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LAURA","clientLastName":"CRUCES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:01.423348] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:02:01.423402] [debug] Valor de JSON: {"uuid":"f5c66ebc-bbe3-4f5c-a86f-d611f19847d7","changeType":"insert","entity":"invoice","entityId":"1911","eventName":"invoice.add_draft","extraData":{"entity":{"id":1911,"clientId":66,"number":"001861","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1914,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":65,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LAURA","clientLastName":"CRUCES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:01.423496] [debug] Adición de borrador de Factura - -[2025-04-30 16:02:01.423538] [debug] {"uuid":"f5c66ebc-bbe3-4f5c-a86f-d611f19847d7","changeType":"insert","entity":"invoice","entityId":1911,"message":null,"clientId":66,"eventName":"invoice.add_draft","clientData":{"id":66,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"LAURA","lastName":"CRUCES","username":"lcruces66","contacts":[{"id":67,"clientId":66,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1911,"clientId":66,"number":"001861","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1914,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":65,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LAURA","clientLastName":"CRUCES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:01.537250] [notice] Logging level set to:debug -[2025-04-30 16:02:01.537303] [debug] valor del webhook: {"uuid":"1ce02a6b-f653-4fa3-a2ad-f3e8d73c90be","changeType":"draft_approved","entity":"invoice","entityId":"1911","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1911,"clientId":66,"number":"001861","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1914,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":65,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LAURA","clientLastName":"CRUCES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:01.715965] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:02:01.716057] [debug] Valor de JSON: {"uuid":"1ce02a6b-f653-4fa3-a2ad-f3e8d73c90be","changeType":"draft_approved","entity":"invoice","entityId":"1911","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1911,"clientId":66,"number":"001861","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1914,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":65,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LAURA","clientLastName":"CRUCES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:01.716166] [debug] Aprobación de Factura - -[2025-04-30 16:02:01.716209] [debug] {"uuid":"1ce02a6b-f653-4fa3-a2ad-f3e8d73c90be","changeType":"draft_approved","entity":"invoice","entityId":1911,"message":null,"clientId":66,"eventName":"invoice.draft_approved","clientData":{"id":66,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"LAURA","lastName":"CRUCES","username":"lcruces66","contacts":[{"id":67,"clientId":66,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1911,"clientId":66,"number":"001861","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1914,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":65,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LAURA","clientLastName":"CRUCES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:02.232660] [notice] Logging level set to:debug -[2025-04-30 16:02:02.232731] [debug] valor del webhook: {"uuid":"56f6af4a-80da-4e63-886d-23726d7e103e","changeType":"insert","entity":"invoice","entityId":"1912","eventName":"invoice.add_draft","extraData":{"entity":{"id":1912,"clientId":74,"number":"001862","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1915,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":73,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARCELO","clientLastName":"PALACIOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:02.380718] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:02:02.380769] [debug] Valor de JSON: {"uuid":"56f6af4a-80da-4e63-886d-23726d7e103e","changeType":"insert","entity":"invoice","entityId":"1912","eventName":"invoice.add_draft","extraData":{"entity":{"id":1912,"clientId":74,"number":"001862","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1915,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":73,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARCELO","clientLastName":"PALACIOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:02.380880] [debug] Adición de borrador de Factura - -[2025-04-30 16:02:02.380924] [debug] {"uuid":"56f6af4a-80da-4e63-886d-23726d7e103e","changeType":"insert","entity":"invoice","entityId":1912,"message":null,"clientId":74,"eventName":"invoice.add_draft","clientData":{"id":74,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARCELO","lastName":"PALACIOS","username":"mpalacios74","contacts":[{"id":75,"clientId":74,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2e7d32","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1912,"clientId":74,"number":"001862","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1915,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":73,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARCELO","clientLastName":"PALACIOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:02.498343] [notice] Logging level set to:debug -[2025-04-30 16:02:02.498400] [debug] valor del webhook: {"uuid":"b03a3d54-5cd2-464b-a355-45f463684970","changeType":"draft_approved","entity":"invoice","entityId":"1912","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1912,"clientId":74,"number":"001862","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1915,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":73,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARCELO","clientLastName":"PALACIOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:02.644604] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:02:02.644655] [debug] Valor de JSON: {"uuid":"b03a3d54-5cd2-464b-a355-45f463684970","changeType":"draft_approved","entity":"invoice","entityId":"1912","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1912,"clientId":74,"number":"001862","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1915,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":73,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARCELO","clientLastName":"PALACIOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:02.644759] [debug] Aprobación de Factura - -[2025-04-30 16:02:02.644804] [debug] {"uuid":"b03a3d54-5cd2-464b-a355-45f463684970","changeType":"draft_approved","entity":"invoice","entityId":1912,"message":null,"clientId":74,"eventName":"invoice.draft_approved","clientData":{"id":74,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARCELO","lastName":"PALACIOS","username":"mpalacios74","contacts":[{"id":75,"clientId":74,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2e7d32","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1912,"clientId":74,"number":"001862","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1915,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":73,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARCELO","clientLastName":"PALACIOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:03.569272] [notice] Logging level set to:debug -[2025-04-30 16:02:03.569376] [debug] valor del webhook: {"uuid":"a5476a0c-54a5-487f-bb20-cac81659f4bc","changeType":"insert","entity":"invoice","entityId":"1913","eventName":"invoice.add_draft","extraData":{"entity":{"id":1913,"clientId":59,"number":"001863","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1916,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":58,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAMSES","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:03.717356] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:02:03.717407] [debug] Valor de JSON: {"uuid":"a5476a0c-54a5-487f-bb20-cac81659f4bc","changeType":"insert","entity":"invoice","entityId":"1913","eventName":"invoice.add_draft","extraData":{"entity":{"id":1913,"clientId":59,"number":"001863","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1916,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":58,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAMSES","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:03.717528] [debug] Adición de borrador de Factura - -[2025-04-30 16:02:03.717571] [debug] {"uuid":"a5476a0c-54a5-487f-bb20-cac81659f4bc","changeType":"insert","entity":"invoice","entityId":1913,"message":null,"clientId":59,"eventName":"invoice.add_draft","clientData":{"id":59,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"GUSANO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"GUSANO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"RAMSES","lastName":"HERRERA","username":"rherrera59","contacts":[{"id":60,"clientId":59,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00acc1","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1913,"clientId":59,"number":"001863","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1916,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":58,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAMSES","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:03.828974] [notice] Logging level set to:debug -[2025-04-30 16:02:03.829096] [debug] valor del webhook: {"uuid":"d2055583-b2c9-44ce-afc6-a08e20eebeb4","changeType":"draft_approved","entity":"invoice","entityId":"1913","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1913,"clientId":59,"number":"001863","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1916,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":58,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAMSES","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:03.979203] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:02:03.979262] [debug] Valor de JSON: {"uuid":"d2055583-b2c9-44ce-afc6-a08e20eebeb4","changeType":"draft_approved","entity":"invoice","entityId":"1913","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1913,"clientId":59,"number":"001863","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1916,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":58,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAMSES","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:03.979353] [debug] Aprobación de Factura - -[2025-04-30 16:02:03.979394] [debug] {"uuid":"d2055583-b2c9-44ce-afc6-a08e20eebeb4","changeType":"draft_approved","entity":"invoice","entityId":1913,"message":null,"clientId":59,"eventName":"invoice.draft_approved","clientData":{"id":59,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"GUSANO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"GUSANO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"RAMSES","lastName":"HERRERA","username":"rherrera59","contacts":[{"id":60,"clientId":59,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00acc1","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1913,"clientId":59,"number":"001863","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1916,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":58,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAMSES","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:04.899324] [notice] Logging level set to:debug -[2025-04-30 16:02:04.899434] [debug] valor del webhook: {"uuid":"07001a03-9163-42a5-8386-a9158284da9b","changeType":"insert","entity":"invoice","entityId":"1914","eventName":"invoice.add_draft","extraData":{"entity":{"id":1914,"clientId":29,"number":"001864","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1917,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":28,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTELA","clientLastName":"ORTIZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EJIDO DOLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:05.033807] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:02:05.033866] [debug] Valor de JSON: {"uuid":"07001a03-9163-42a5-8386-a9158284da9b","changeType":"insert","entity":"invoice","entityId":"1914","eventName":"invoice.add_draft","extraData":{"entity":{"id":1914,"clientId":29,"number":"001864","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1917,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":28,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTELA","clientLastName":"ORTIZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EJIDO DOLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:05.033972] [debug] Adición de borrador de Factura - -[2025-04-30 16:02:05.034015] [debug] {"uuid":"07001a03-9163-42a5-8386-a9158284da9b","changeType":"insert","entity":"invoice","entityId":1914,"message":null,"clientId":29,"eventName":"invoice.add_draft","clientData":{"id":29,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EJIDO DOLORES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EJIDO DOLORES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ESTELA","lastName":"ORTIZ","username":"eortiz29","contacts":[{"id":30,"clientId":29,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7816.67,"accountCredit":0,"accountOutstanding":7816.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1914,"clientId":29,"number":"001864","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1917,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":28,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTELA","clientLastName":"ORTIZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EJIDO DOLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:05.142487] [notice] Logging level set to:debug -[2025-04-30 16:02:05.142539] [debug] valor del webhook: {"uuid":"096730a3-9899-4f71-b99d-ecc16d4b6533","changeType":"draft_approved","entity":"invoice","entityId":"1914","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1914,"clientId":29,"number":"001864","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1917,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":28,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTELA","clientLastName":"ORTIZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EJIDO DOLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:05.282140] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:02:05.282196] [debug] Valor de JSON: {"uuid":"096730a3-9899-4f71-b99d-ecc16d4b6533","changeType":"draft_approved","entity":"invoice","entityId":"1914","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1914,"clientId":29,"number":"001864","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1917,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":28,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTELA","clientLastName":"ORTIZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EJIDO DOLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:05.282296] [debug] Aprobación de Factura - -[2025-04-30 16:02:05.282341] [debug] {"uuid":"096730a3-9899-4f71-b99d-ecc16d4b6533","changeType":"draft_approved","entity":"invoice","entityId":1914,"message":null,"clientId":29,"eventName":"invoice.draft_approved","clientData":{"id":29,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EJIDO DOLORES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EJIDO DOLORES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ESTELA","lastName":"ORTIZ","username":"eortiz29","contacts":[{"id":30,"clientId":29,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-7816.67,"accountCredit":0,"accountOutstanding":7816.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1914,"clientId":29,"number":"001864","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1917,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":28,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTELA","clientLastName":"ORTIZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EJIDO DOLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:06.180073] [notice] Logging level set to:debug -[2025-04-30 16:02:06.180182] [debug] valor del webhook: {"uuid":"2f6383de-c5d5-4b58-82c9-1f66b6f04cd5","changeType":"insert","entity":"invoice","entityId":"1915","eventName":"invoice.add_draft","extraData":{"entity":{"id":1915,"clientId":30,"number":"001865","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1918,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":29,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUANA","clientLastName":"MONTES DE OCA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:06.329507] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:02:06.329562] [debug] Valor de JSON: {"uuid":"2f6383de-c5d5-4b58-82c9-1f66b6f04cd5","changeType":"insert","entity":"invoice","entityId":"1915","eventName":"invoice.add_draft","extraData":{"entity":{"id":1915,"clientId":30,"number":"001865","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1918,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":29,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUANA","clientLastName":"MONTES DE OCA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:06.329679] [debug] Adición de borrador de Factura - -[2025-04-30 16:02:06.329721] [debug] {"uuid":"2f6383de-c5d5-4b58-82c9-1f66b6f04cd5","changeType":"insert","entity":"invoice","entityId":1915,"message":null,"clientId":30,"eventName":"invoice.add_draft","clientData":{"id":30,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"FRACCIONAMIENTO GUANAJUATO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JUANA","lastName":"MONTES DE OCA","username":"jmontes30","contacts":[{"id":31,"clientId":30,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-11900,"accountCredit":0,"accountOutstanding":11900,"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":1915,"clientId":30,"number":"001865","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1918,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":29,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUANA","clientLastName":"MONTES DE OCA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:06.439464] [notice] Logging level set to:debug -[2025-04-30 16:02:06.439519] [debug] valor del webhook: {"uuid":"a2b42d36-638b-4897-b410-0b426a6d1c61","changeType":"draft_approved","entity":"invoice","entityId":"1915","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1915,"clientId":30,"number":"001865","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1918,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":29,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUANA","clientLastName":"MONTES DE OCA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:06.585588] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:02:06.585642] [debug] Valor de JSON: {"uuid":"a2b42d36-638b-4897-b410-0b426a6d1c61","changeType":"draft_approved","entity":"invoice","entityId":"1915","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1915,"clientId":30,"number":"001865","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1918,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":29,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUANA","clientLastName":"MONTES DE OCA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:06.585735] [debug] Aprobación de Factura - -[2025-04-30 16:02:06.585777] [debug] {"uuid":"a2b42d36-638b-4897-b410-0b426a6d1c61","changeType":"draft_approved","entity":"invoice","entityId":1915,"message":null,"clientId":30,"eventName":"invoice.draft_approved","clientData":{"id":30,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"FRACCIONAMIENTO GUANAJUATO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JUANA","lastName":"MONTES DE OCA","username":"jmontes30","contacts":[{"id":31,"clientId":30,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-11900,"accountCredit":0,"accountOutstanding":11900,"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":1915,"clientId":30,"number":"001865","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1918,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":29,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUANA","clientLastName":"MONTES DE OCA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:07.596059] [notice] Logging level set to:debug -[2025-04-30 16:02:07.596128] [debug] valor del webhook: {"uuid":"11732477-be33-432d-ab73-52c8a2ad9534","changeType":"insert","entity":"invoice","entityId":"1916","eventName":"invoice.add_draft","extraData":{"entity":{"id":1916,"clientId":48,"number":"001866","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1919,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":47,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISELA","clientLastName":"AZPEITIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:07.744105] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:02:07.744163] [debug] Valor de JSON: {"uuid":"11732477-be33-432d-ab73-52c8a2ad9534","changeType":"insert","entity":"invoice","entityId":"1916","eventName":"invoice.add_draft","extraData":{"entity":{"id":1916,"clientId":48,"number":"001866","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1919,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":47,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISELA","clientLastName":"AZPEITIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:07.744288] [debug] Adición de borrador de Factura - -[2025-04-30 16:02:07.744337] [debug] {"uuid":"11732477-be33-432d-ab73-52c8a2ad9534","changeType":"insert","entity":"invoice","entityId":1916,"message":null,"clientId":48,"eventName":"invoice.add_draft","clientData":{"id":48,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTIAGUILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTIAGUILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ISELA","lastName":"AZPEITIA","username":"iazpeitia48","contacts":[{"id":49,"clientId":48,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":104,"clientId":48,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1VUj6JXVCcUu","clientZoneVisible":true},{"id":105,"clientId":48,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"4896043950637164","clientZoneVisible":true}],"accountBalance":-7500,"accountCredit":0,"accountOutstanding":7500,"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":1916,"clientId":48,"number":"001866","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1919,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":47,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISELA","clientLastName":"AZPEITIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:07.906254] [notice] Logging level set to:debug -[2025-04-30 16:02:07.906310] [debug] valor del webhook: {"uuid":"29c287f1-4ad0-46c6-b0d0-9ac15971bdef","changeType":"draft_approved","entity":"invoice","entityId":"1916","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1916,"clientId":48,"number":"001866","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1919,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":47,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISELA","clientLastName":"AZPEITIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:08.050262] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:02:08.050322] [debug] Valor de JSON: {"uuid":"29c287f1-4ad0-46c6-b0d0-9ac15971bdef","changeType":"draft_approved","entity":"invoice","entityId":"1916","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1916,"clientId":48,"number":"001866","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1919,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":47,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISELA","clientLastName":"AZPEITIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:08.050436] [debug] Aprobación de Factura - -[2025-04-30 16:02:08.050483] [debug] {"uuid":"29c287f1-4ad0-46c6-b0d0-9ac15971bdef","changeType":"draft_approved","entity":"invoice","entityId":1916,"message":null,"clientId":48,"eventName":"invoice.draft_approved","clientData":{"id":48,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTIAGUILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTIAGUILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ISELA","lastName":"AZPEITIA","username":"iazpeitia48","contacts":[{"id":49,"clientId":48,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":104,"clientId":48,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1VUj6JXVCcUu","clientZoneVisible":true},{"id":105,"clientId":48,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"4896043950637164","clientZoneVisible":true}],"accountBalance":-7500,"accountCredit":0,"accountOutstanding":7500,"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":1916,"clientId":48,"number":"001866","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1919,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":47,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISELA","clientLastName":"AZPEITIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:09.069751] [notice] Logging level set to:debug -[2025-04-30 16:02:09.069859] [debug] valor del webhook: {"uuid":"707adfa4-7bb1-4fd4-9154-39b9adbfd294","changeType":"insert","entity":"invoice","entityId":"1917","eventName":"invoice.add_draft","extraData":{"entity":{"id":1917,"clientId":8,"number":"001867","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1920,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":8,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALFREDO","clientLastName":"GUTIERREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:09.233709] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:02:09.233762] [debug] Valor de JSON: {"uuid":"707adfa4-7bb1-4fd4-9154-39b9adbfd294","changeType":"insert","entity":"invoice","entityId":"1917","eventName":"invoice.add_draft","extraData":{"entity":{"id":1917,"clientId":8,"number":"001867","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1920,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":8,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALFREDO","clientLastName":"GUTIERREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:09.233884] [debug] Adición de borrador de Factura - -[2025-04-30 16:02:09.233927] [debug] {"uuid":"707adfa4-7bb1-4fd4-9154-39b9adbfd294","changeType":"insert","entity":"invoice","entityId":1917,"message":null,"clientId":8,"eventName":"invoice.add_draft","clientData":{"id":8,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL BOBO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALFREDO","lastName":"GUTIERREZ","username":"agutierrez08","contacts":[{"id":9,"clientId":8,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-8030,"accountCredit":0,"accountOutstanding":8030,"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":1917,"clientId":8,"number":"001867","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1920,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":8,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALFREDO","clientLastName":"GUTIERREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:09.350301] [notice] Logging level set to:debug -[2025-04-30 16:02:09.350356] [debug] valor del webhook: {"uuid":"79c4540a-544a-42d6-8648-ec245b10745b","changeType":"draft_approved","entity":"invoice","entityId":"1917","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1917,"clientId":8,"number":"001867","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1920,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":8,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALFREDO","clientLastName":"GUTIERREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:09.488832] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:02:09.488888] [debug] Valor de JSON: {"uuid":"79c4540a-544a-42d6-8648-ec245b10745b","changeType":"draft_approved","entity":"invoice","entityId":"1917","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1917,"clientId":8,"number":"001867","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1920,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":8,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALFREDO","clientLastName":"GUTIERREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:09.489001] [debug] Aprobación de Factura - -[2025-04-30 16:02:09.489190] [debug] {"uuid":"79c4540a-544a-42d6-8648-ec245b10745b","changeType":"draft_approved","entity":"invoice","entityId":1917,"message":null,"clientId":8,"eventName":"invoice.draft_approved","clientData":{"id":8,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL BOBO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALFREDO","lastName":"GUTIERREZ","username":"agutierrez08","contacts":[{"id":9,"clientId":8,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-8030,"accountCredit":0,"accountOutstanding":8030,"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":1917,"clientId":8,"number":"001867","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1920,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":8,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALFREDO","clientLastName":"GUTIERREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:10.409049] [notice] Logging level set to:debug -[2025-04-30 16:02:10.409156] [debug] valor del webhook: {"uuid":"b9810981-a050-47fd-b98d-feb7ddefa42d","changeType":"insert","entity":"invoice","entityId":"1918","eventName":"invoice.add_draft","extraData":{"entity":{"id":1918,"clientId":62,"number":"001868","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1921,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":61,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"BERNAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:10.544133] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:02:10.544186] [debug] Valor de JSON: {"uuid":"b9810981-a050-47fd-b98d-feb7ddefa42d","changeType":"insert","entity":"invoice","entityId":"1918","eventName":"invoice.add_draft","extraData":{"entity":{"id":1918,"clientId":62,"number":"001868","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1921,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":61,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"BERNAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:10.544359] [debug] Adición de borrador de Factura - -[2025-04-30 16:02:10.544406] [debug] {"uuid":"b9810981-a050-47fd-b98d-feb7ddefa42d","changeType":"insert","entity":"invoice","entityId":1918,"message":null,"clientId":62,"eventName":"invoice.add_draft","clientData":{"id":62,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TRANCAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TRANCAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DANIEL","lastName":"BERNAL","username":"dbernal62","contacts":[{"id":63,"clientId":62,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1918,"clientId":62,"number":"001868","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1921,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":61,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"BERNAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:10.653928] [notice] Logging level set to:debug -[2025-04-30 16:02:10.653984] [debug] valor del webhook: {"uuid":"9f811064-139e-4ba3-b510-883f8e18550c","changeType":"draft_approved","entity":"invoice","entityId":"1918","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1918,"clientId":62,"number":"001868","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1921,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":61,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"BERNAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:10.800348] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:02:10.800405] [debug] Valor de JSON: {"uuid":"9f811064-139e-4ba3-b510-883f8e18550c","changeType":"draft_approved","entity":"invoice","entityId":"1918","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1918,"clientId":62,"number":"001868","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1921,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":61,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"BERNAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:10.800519] [debug] Aprobación de Factura - -[2025-04-30 16:02:10.800564] [debug] {"uuid":"9f811064-139e-4ba3-b510-883f8e18550c","changeType":"draft_approved","entity":"invoice","entityId":1918,"message":null,"clientId":62,"eventName":"invoice.draft_approved","clientData":{"id":62,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TRANCAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TRANCAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DANIEL","lastName":"BERNAL","username":"dbernal62","contacts":[{"id":63,"clientId":62,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1918,"clientId":62,"number":"001868","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1921,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":61,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"BERNAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:11.794836] [notice] Logging level set to:debug -[2025-04-30 16:02:11.794909] [debug] valor del webhook: {"uuid":"92603fb9-a008-4543-b536-d8eddb232f6e","changeType":"insert","entity":"invoice","entityId":"1919","eventName":"invoice.add_draft","extraData":{"entity":{"id":1919,"clientId":72,"number":"001869","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1922,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":71,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BRANDOM","clientLastName":"EZQUIVEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:11.931839] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:02:11.931896] [debug] Valor de JSON: {"uuid":"92603fb9-a008-4543-b536-d8eddb232f6e","changeType":"insert","entity":"invoice","entityId":"1919","eventName":"invoice.add_draft","extraData":{"entity":{"id":1919,"clientId":72,"number":"001869","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1922,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":71,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BRANDOM","clientLastName":"EZQUIVEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:11.931998] [debug] Adición de borrador de Factura - -[2025-04-30 16:02:11.932044] [debug] {"uuid":"92603fb9-a008-4543-b536-d8eddb232f6e","changeType":"insert","entity":"invoice","entityId":1919,"message":null,"clientId":72,"eventName":"invoice.add_draft","clientData":{"id":72,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"MONTELONGO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"MONTELONGO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"BRANDOM","lastName":"EZQUIVEL","username":"bezquivel72","contacts":[{"id":73,"clientId":72,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1919,"clientId":72,"number":"001869","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1922,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":71,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BRANDOM","clientLastName":"EZQUIVEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:12.046133] [notice] Logging level set to:debug -[2025-04-30 16:02:12.046194] [debug] valor del webhook: {"uuid":"c9cb0a34-51f9-4e41-962e-52cbf2dd6bf5","changeType":"draft_approved","entity":"invoice","entityId":"1919","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1919,"clientId":72,"number":"001869","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1922,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":71,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BRANDOM","clientLastName":"EZQUIVEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:12.196902] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:02:12.196954] [debug] Valor de JSON: {"uuid":"c9cb0a34-51f9-4e41-962e-52cbf2dd6bf5","changeType":"draft_approved","entity":"invoice","entityId":"1919","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1919,"clientId":72,"number":"001869","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1922,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":71,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BRANDOM","clientLastName":"EZQUIVEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:12.197067] [debug] Aprobación de Factura - -[2025-04-30 16:02:12.197110] [debug] {"uuid":"c9cb0a34-51f9-4e41-962e-52cbf2dd6bf5","changeType":"draft_approved","entity":"invoice","entityId":1919,"message":null,"clientId":72,"eventName":"invoice.draft_approved","clientData":{"id":72,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"MONTELONGO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"MONTELONGO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"BRANDOM","lastName":"EZQUIVEL","username":"bezquivel72","contacts":[{"id":73,"clientId":72,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1919,"clientId":72,"number":"001869","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1922,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":71,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BRANDOM","clientLastName":"EZQUIVEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:13.116169] [notice] Logging level set to:debug -[2025-04-30 16:02:13.116344] [debug] valor del webhook: {"uuid":"aa895de2-3dea-4e2c-ae59-16fd1b360a95","changeType":"insert","entity":"invoice","entityId":"1920","eventName":"invoice.add_draft","extraData":{"entity":{"id":1920,"clientId":70,"number":"001870","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1923,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":69,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"TRUJILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:13.258920] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:02:13.258975] [debug] Valor de JSON: {"uuid":"aa895de2-3dea-4e2c-ae59-16fd1b360a95","changeType":"insert","entity":"invoice","entityId":"1920","eventName":"invoice.add_draft","extraData":{"entity":{"id":1920,"clientId":70,"number":"001870","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1923,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":69,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"TRUJILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:13.259074] [debug] Adición de borrador de Factura - -[2025-04-30 16:02:13.259115] [debug] {"uuid":"aa895de2-3dea-4e2c-ae59-16fd1b360a95","changeType":"insert","entity":"invoice","entityId":1920,"message":null,"clientId":70,"eventName":"invoice.add_draft","clientData":{"id":70,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALBERTO","lastName":"TRUJILLO","username":"atrujillo70","contacts":[{"id":71,"clientId":70,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-10500,"accountCredit":0,"accountOutstanding":10500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef6c00","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1920,"clientId":70,"number":"001870","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1923,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":69,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"TRUJILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:13.370726] [notice] Logging level set to:debug -[2025-04-30 16:02:13.370834] [debug] valor del webhook: {"uuid":"a5b435ee-a259-4867-9e54-1c58a16bb50d","changeType":"draft_approved","entity":"invoice","entityId":"1920","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1920,"clientId":70,"number":"001870","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1923,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":69,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"TRUJILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:13.505851] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:02:13.505903] [debug] Valor de JSON: {"uuid":"a5b435ee-a259-4867-9e54-1c58a16bb50d","changeType":"draft_approved","entity":"invoice","entityId":"1920","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1920,"clientId":70,"number":"001870","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1923,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":69,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"TRUJILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:13.505997] [debug] Aprobación de Factura - -[2025-04-30 16:02:13.506041] [debug] {"uuid":"a5b435ee-a259-4867-9e54-1c58a16bb50d","changeType":"draft_approved","entity":"invoice","entityId":1920,"message":null,"clientId":70,"eventName":"invoice.draft_approved","clientData":{"id":70,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALBERTO","lastName":"TRUJILLO","username":"atrujillo70","contacts":[{"id":71,"clientId":70,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-10500,"accountCredit":0,"accountOutstanding":10500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef6c00","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1920,"clientId":70,"number":"001870","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1923,"type":"service","label":"PREMIUM 31\/03\/2025 \u2013 29\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":69,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"TRUJILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:14.430711] [notice] Logging level set to:debug -[2025-04-30 16:02:14.430819] [debug] valor del webhook: {"uuid":"d14d83e0-4273-4985-83c9-33c1dd3f5c8c","changeType":"insert","entity":"invoice","entityId":"1921","eventName":"invoice.add_draft","extraData":{"entity":{"id":1921,"clientId":19,"number":"001871","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1924,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":18,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARIA","clientLastName":"RODRIGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:14.564548] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:02:14.564614] [debug] Valor de JSON: {"uuid":"d14d83e0-4273-4985-83c9-33c1dd3f5c8c","changeType":"insert","entity":"invoice","entityId":"1921","eventName":"invoice.add_draft","extraData":{"entity":{"id":1921,"clientId":19,"number":"001871","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1924,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":18,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARIA","clientLastName":"RODRIGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:14.564708] [debug] Adición de borrador de Factura - -[2025-04-30 16:02:14.564752] [debug] {"uuid":"d14d83e0-4273-4985-83c9-33c1dd3f5c8c","changeType":"insert","entity":"invoice","entityId":1921,"message":null,"clientId":19,"eventName":"invoice.add_draft","clientData":{"id":19,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARIA","lastName":"RODRIGUEZ","username":"mrodriguez19","contacts":[{"id":20,"clientId":19,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-9433.33,"accountCredit":0,"accountOutstanding":9433.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":1921,"clientId":19,"number":"001871","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1924,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":18,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARIA","clientLastName":"RODRIGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:14.675060] [notice] Logging level set to:debug -[2025-04-30 16:02:14.675117] [debug] valor del webhook: {"uuid":"6389257e-141f-4b94-8ec1-c8f849df589b","changeType":"draft_approved","entity":"invoice","entityId":"1921","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1921,"clientId":19,"number":"001871","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1924,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":18,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARIA","clientLastName":"RODRIGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:14.824088] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:02:14.824136] [debug] Valor de JSON: {"uuid":"6389257e-141f-4b94-8ec1-c8f849df589b","changeType":"draft_approved","entity":"invoice","entityId":"1921","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1921,"clientId":19,"number":"001871","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1924,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":18,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARIA","clientLastName":"RODRIGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:14.824238] [debug] Aprobación de Factura - -[2025-04-30 16:02:14.824306] [debug] {"uuid":"6389257e-141f-4b94-8ec1-c8f849df589b","changeType":"draft_approved","entity":"invoice","entityId":1921,"message":null,"clientId":19,"eventName":"invoice.draft_approved","clientData":{"id":19,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARIA","lastName":"RODRIGUEZ","username":"mrodriguez19","contacts":[{"id":20,"clientId":19,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-9433.33,"accountCredit":0,"accountOutstanding":9433.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":1921,"clientId":19,"number":"001871","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1924,"type":"service","label":"INTERMEDIO 31\/03\/2025 \u2013 29\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":18,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARIA","clientLastName":"RODRIGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:15.751249] [notice] Logging level set to:debug -[2025-04-30 16:02:15.751349] [debug] valor del webhook: {"uuid":"9557ae58-0dce-4adb-990d-8c590afd9d84","changeType":"insert","entity":"invoice","entityId":"1922","eventName":"invoice.add_draft","extraData":{"entity":{"id":1922,"clientId":51,"number":"001872","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1925,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":50,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"MORENO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PADRE HIDALGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:15.899367] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:02:15.899420] [debug] Valor de JSON: {"uuid":"9557ae58-0dce-4adb-990d-8c590afd9d84","changeType":"insert","entity":"invoice","entityId":"1922","eventName":"invoice.add_draft","extraData":{"entity":{"id":1922,"clientId":51,"number":"001872","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1925,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":50,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"MORENO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PADRE HIDALGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:15.899543] [debug] Adición de borrador de Factura - -[2025-04-30 16:02:15.899585] [debug] {"uuid":"9557ae58-0dce-4adb-990d-8c590afd9d84","changeType":"insert","entity":"invoice","entityId":1922,"message":null,"clientId":51,"eventName":"invoice.add_draft","clientData":{"id":51,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"PADRE HIDALGO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"PADRE HIDALGO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DANIEL","lastName":"MORENO","username":"dmoreno51","contacts":[{"id":52,"clientId":51,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-8050,"accountCredit":0,"accountOutstanding":8050,"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":1922,"clientId":51,"number":"001872","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1925,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":50,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"MORENO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PADRE HIDALGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:16.009721] [notice] Logging level set to:debug -[2025-04-30 16:02:16.009776] [debug] valor del webhook: {"uuid":"b12aba3a-28d9-4f81-9ef6-60e15eca67f8","changeType":"draft_approved","entity":"invoice","entityId":"1922","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1922,"clientId":51,"number":"001872","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1925,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":50,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"MORENO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PADRE HIDALGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:16.153079] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:02:16.153131] [debug] Valor de JSON: {"uuid":"b12aba3a-28d9-4f81-9ef6-60e15eca67f8","changeType":"draft_approved","entity":"invoice","entityId":"1922","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1922,"clientId":51,"number":"001872","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1925,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":50,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"MORENO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PADRE HIDALGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:16.153234] [debug] Aprobación de Factura - -[2025-04-30 16:02:16.153294] [debug] {"uuid":"b12aba3a-28d9-4f81-9ef6-60e15eca67f8","changeType":"draft_approved","entity":"invoice","entityId":1922,"message":null,"clientId":51,"eventName":"invoice.draft_approved","clientData":{"id":51,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"PADRE HIDALGO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"PADRE HIDALGO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DANIEL","lastName":"MORENO","username":"dmoreno51","contacts":[{"id":52,"clientId":51,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-8050,"accountCredit":0,"accountOutstanding":8050,"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":1922,"clientId":51,"number":"001872","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1925,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":50,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"MORENO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PADRE HIDALGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:17.072401] [notice] Logging level set to:debug -[2025-04-30 16:02:17.072458] [debug] valor del webhook: {"uuid":"9d64b8d1-9122-457f-ae58-65494cdabcba","changeType":"insert","entity":"invoice","entityId":"1923","eventName":"invoice.add_draft","extraData":{"entity":{"id":1923,"clientId":77,"number":"001873","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1926,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":76,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARGARITO","clientLastName":"ESTRADA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:17.210216] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:02:17.210266] [debug] Valor de JSON: {"uuid":"9d64b8d1-9122-457f-ae58-65494cdabcba","changeType":"insert","entity":"invoice","entityId":"1923","eventName":"invoice.add_draft","extraData":{"entity":{"id":1923,"clientId":77,"number":"001873","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1926,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":76,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARGARITO","clientLastName":"ESTRADA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:17.210370] [debug] Adición de borrador de Factura - -[2025-04-30 16:02:17.210413] [debug] {"uuid":"9d64b8d1-9122-457f-ae58-65494cdabcba","changeType":"insert","entity":"invoice","entityId":1923,"message":null,"clientId":77,"eventName":"invoice.add_draft","clientData":{"id":77,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA VENTILLA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA VENTILLA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARGARITO","lastName":"ESTRADA","username":"mestrada77","contacts":[{"id":78,"clientId":77,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#039be5","addressGpsLat":21.1145736,"addressGpsLon":-100.933729,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1923,"clientId":77,"number":"001873","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1926,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":76,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARGARITO","clientLastName":"ESTRADA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:17.324863] [notice] Logging level set to:debug -[2025-04-30 16:02:17.324928] [debug] valor del webhook: {"uuid":"3d57a595-0c94-4794-a99f-41048e8cae7c","changeType":"draft_approved","entity":"invoice","entityId":"1923","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1923,"clientId":77,"number":"001873","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1926,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":76,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARGARITO","clientLastName":"ESTRADA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:17.501337] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:02:17.501388] [debug] Valor de JSON: {"uuid":"3d57a595-0c94-4794-a99f-41048e8cae7c","changeType":"draft_approved","entity":"invoice","entityId":"1923","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1923,"clientId":77,"number":"001873","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1926,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":76,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARGARITO","clientLastName":"ESTRADA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:17.501480] [debug] Aprobación de Factura - -[2025-04-30 16:02:17.501522] [debug] {"uuid":"3d57a595-0c94-4794-a99f-41048e8cae7c","changeType":"draft_approved","entity":"invoice","entityId":1923,"message":null,"clientId":77,"eventName":"invoice.draft_approved","clientData":{"id":77,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA VENTILLA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA VENTILLA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARGARITO","lastName":"ESTRADA","username":"mestrada77","contacts":[{"id":78,"clientId":77,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#039be5","addressGpsLat":21.1145736,"addressGpsLon":-100.933729,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1923,"clientId":77,"number":"001873","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1926,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":76,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARGARITO","clientLastName":"ESTRADA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:18.456856] [notice] Logging level set to:debug -[2025-04-30 16:02:18.456933] [debug] valor del webhook: {"uuid":"542254c5-0edc-4bcb-b109-a6194e4e99e5","changeType":"insert","entity":"invoice","entityId":"1924","eventName":"invoice.add_draft","extraData":{"entity":{"id":1924,"clientId":32,"number":"001874","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1927,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":31,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EMILIO","clientLastName":"PEREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON DE LAS MINAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:18.603538] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:02:18.603593] [debug] Valor de JSON: {"uuid":"542254c5-0edc-4bcb-b109-a6194e4e99e5","changeType":"insert","entity":"invoice","entityId":"1924","eventName":"invoice.add_draft","extraData":{"entity":{"id":1924,"clientId":32,"number":"001874","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1927,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":31,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EMILIO","clientLastName":"PEREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON DE LAS MINAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:18.603712] [debug] Adición de borrador de Factura - -[2025-04-30 16:02:18.603756] [debug] {"uuid":"542254c5-0edc-4bcb-b109-a6194e4e99e5","changeType":"insert","entity":"invoice","entityId":1924,"message":null,"clientId":32,"eventName":"invoice.add_draft","clientData":{"id":32,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ANTON DE LAS MINAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ANTON DE LAS MINAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EMILIO","lastName":"PEREZ","username":"eperez32","contacts":[{"id":33,"clientId":32,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5740,"accountCredit":0,"accountOutstanding":5740,"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":1924,"clientId":32,"number":"001874","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1927,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":31,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EMILIO","clientLastName":"PEREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON DE LAS MINAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:18.712718] [notice] Logging level set to:debug -[2025-04-30 16:02:18.712773] [debug] valor del webhook: {"uuid":"1b8c1be0-149d-4e26-93a5-cd7807245bd7","changeType":"draft_approved","entity":"invoice","entityId":"1924","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1924,"clientId":32,"number":"001874","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1927,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":31,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EMILIO","clientLastName":"PEREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON DE LAS MINAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:18.858649] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:02:18.858702] [debug] Valor de JSON: {"uuid":"1b8c1be0-149d-4e26-93a5-cd7807245bd7","changeType":"draft_approved","entity":"invoice","entityId":"1924","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1924,"clientId":32,"number":"001874","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1927,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":31,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EMILIO","clientLastName":"PEREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON DE LAS MINAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:18.858798] [debug] Aprobación de Factura - -[2025-04-30 16:02:18.858844] [debug] {"uuid":"1b8c1be0-149d-4e26-93a5-cd7807245bd7","changeType":"draft_approved","entity":"invoice","entityId":1924,"message":null,"clientId":32,"eventName":"invoice.draft_approved","clientData":{"id":32,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ANTON DE LAS MINAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ANTON DE LAS MINAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EMILIO","lastName":"PEREZ","username":"eperez32","contacts":[{"id":33,"clientId":32,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5740,"accountCredit":0,"accountOutstanding":5740,"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":1924,"clientId":32,"number":"001874","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1927,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":31,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EMILIO","clientLastName":"PEREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON DE LAS MINAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:19.785731] [notice] Logging level set to:debug -[2025-04-30 16:02:19.785841] [debug] valor del webhook: {"uuid":"e01d4d94-1661-42de-9a74-f173982089b1","changeType":"insert","entity":"invoice","entityId":"1925","eventName":"invoice.add_draft","extraData":{"entity":{"id":1925,"clientId":69,"number":"001875","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1928,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":68,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CIRILA","clientLastName":"AVILES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:19.920720] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:02:19.920779] [debug] Valor de JSON: {"uuid":"e01d4d94-1661-42de-9a74-f173982089b1","changeType":"insert","entity":"invoice","entityId":"1925","eventName":"invoice.add_draft","extraData":{"entity":{"id":1925,"clientId":69,"number":"001875","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1928,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":68,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CIRILA","clientLastName":"AVILES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:19.920892] [debug] Adición de borrador de Factura - -[2025-04-30 16:02:19.920942] [debug] {"uuid":"e01d4d94-1661-42de-9a74-f173982089b1","changeType":"insert","entity":"invoice","entityId":1925,"message":null,"clientId":69,"eventName":"invoice.add_draft","clientData":{"id":69,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"CIRILA","lastName":"AVILES","username":"caviles69","contacts":[{"id":70,"clientId":69,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#8bc34a","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1925,"clientId":69,"number":"001875","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1928,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":68,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CIRILA","clientLastName":"AVILES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:20.038719] [notice] Logging level set to:debug -[2025-04-30 16:02:20.038774] [debug] valor del webhook: {"uuid":"c9ecd7f3-245e-4674-9bb5-72a8b00ec44f","changeType":"draft_approved","entity":"invoice","entityId":"1925","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1925,"clientId":69,"number":"001875","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1928,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":68,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CIRILA","clientLastName":"AVILES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:20.170137] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:02:20.170191] [debug] Valor de JSON: {"uuid":"c9ecd7f3-245e-4674-9bb5-72a8b00ec44f","changeType":"draft_approved","entity":"invoice","entityId":"1925","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1925,"clientId":69,"number":"001875","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1928,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":68,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CIRILA","clientLastName":"AVILES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:20.170283] [debug] Aprobación de Factura - -[2025-04-30 16:02:20.170325] [debug] {"uuid":"c9ecd7f3-245e-4674-9bb5-72a8b00ec44f","changeType":"draft_approved","entity":"invoice","entityId":1925,"message":null,"clientId":69,"eventName":"invoice.draft_approved","clientData":{"id":69,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"CIRILA","lastName":"AVILES","username":"caviles69","contacts":[{"id":70,"clientId":69,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#8bc34a","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1925,"clientId":69,"number":"001875","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1928,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":68,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CIRILA","clientLastName":"AVILES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:21.088166] [notice] Logging level set to:debug -[2025-04-30 16:02:21.088222] [debug] valor del webhook: {"uuid":"a3fa8f00-915b-4054-836a-5898da4242b6","changeType":"insert","entity":"invoice","entityId":"1926","eventName":"invoice.add_draft","extraData":{"entity":{"id":1926,"clientId":47,"number":"001876","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1929,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":46,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ASRAEL","clientLastName":"PONCE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:21.240345] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:02:21.240401] [debug] Valor de JSON: {"uuid":"a3fa8f00-915b-4054-836a-5898da4242b6","changeType":"insert","entity":"invoice","entityId":"1926","eventName":"invoice.add_draft","extraData":{"entity":{"id":1926,"clientId":47,"number":"001876","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1929,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":46,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ASRAEL","clientLastName":"PONCE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:21.240537] [debug] Adición de borrador de Factura - -[2025-04-30 16:02:21.240588] [debug] {"uuid":"a3fa8f00-915b-4054-836a-5898da4242b6","changeType":"insert","entity":"invoice","entityId":1926,"message":null,"clientId":47,"eventName":"invoice.add_draft","clientData":{"id":47,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ASRAEL","lastName":"PONCE","username":"aponce47","contacts":[{"id":48,"clientId":47,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":102,"clientId":47,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1ERR1n4E6GPk","clientZoneVisible":true},{"id":103,"clientId":47,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"8205258963078605","clientZoneVisible":true}],"accountBalance":-4480,"accountCredit":0,"accountOutstanding":4480,"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":1926,"clientId":47,"number":"001876","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1929,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":46,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ASRAEL","clientLastName":"PONCE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:21.356192] [notice] Logging level set to:debug -[2025-04-30 16:02:21.356251] [debug] valor del webhook: {"uuid":"97af1eb9-1f36-4655-bdac-3d887b2f1f7e","changeType":"draft_approved","entity":"invoice","entityId":"1926","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1926,"clientId":47,"number":"001876","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1929,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":46,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ASRAEL","clientLastName":"PONCE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:21.500919] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:02:21.500973] [debug] Valor de JSON: {"uuid":"97af1eb9-1f36-4655-bdac-3d887b2f1f7e","changeType":"draft_approved","entity":"invoice","entityId":"1926","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1926,"clientId":47,"number":"001876","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1929,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":46,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ASRAEL","clientLastName":"PONCE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:21.501080] [debug] Aprobación de Factura - -[2025-04-30 16:02:21.501126] [debug] {"uuid":"97af1eb9-1f36-4655-bdac-3d887b2f1f7e","changeType":"draft_approved","entity":"invoice","entityId":1926,"message":null,"clientId":47,"eventName":"invoice.draft_approved","clientData":{"id":47,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ASRAEL","lastName":"PONCE","username":"aponce47","contacts":[{"id":48,"clientId":47,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":102,"clientId":47,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1ERR1n4E6GPk","clientZoneVisible":true},{"id":103,"clientId":47,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"8205258963078605","clientZoneVisible":true}],"accountBalance":-4480,"accountCredit":0,"accountOutstanding":4480,"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":1926,"clientId":47,"number":"001876","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1929,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":46,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ASRAEL","clientLastName":"PONCE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:22.445270] [notice] Logging level set to:debug -[2025-04-30 16:02:22.445379] [debug] valor del webhook: {"uuid":"21e0cc76-25fe-493b-b203-d1f0cf715ffe","changeType":"insert","entity":"invoice","entityId":"1927","eventName":"invoice.add_draft","extraData":{"entity":{"id":1927,"clientId":26,"number":"001877","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1930,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":25,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SAMANTA","clientLastName":"FUENTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:22.585782] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:02:22.585834] [debug] Valor de JSON: {"uuid":"21e0cc76-25fe-493b-b203-d1f0cf715ffe","changeType":"insert","entity":"invoice","entityId":"1927","eventName":"invoice.add_draft","extraData":{"entity":{"id":1927,"clientId":26,"number":"001877","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1930,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":25,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SAMANTA","clientLastName":"FUENTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:22.585939] [debug] Adición de borrador de Factura - -[2025-04-30 16:02:22.585983] [debug] {"uuid":"21e0cc76-25fe-493b-b203-d1f0cf715ffe","changeType":"insert","entity":"invoice","entityId":1927,"message":null,"clientId":26,"eventName":"invoice.add_draft","clientData":{"id":26,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"GUSANO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"GUSANO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SAMANTA","lastName":"FUENTES","username":"sfuentes26","contacts":[{"id":27,"clientId":26,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5380,"accountCredit":0,"accountOutstanding":5380,"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":1927,"clientId":26,"number":"001877","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1930,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":25,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SAMANTA","clientLastName":"FUENTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:22.702409] [notice] Logging level set to:debug -[2025-04-30 16:02:22.702491] [debug] valor del webhook: {"uuid":"7315b485-7ebb-4e41-b14e-5d1b96fd69e8","changeType":"draft_approved","entity":"invoice","entityId":"1927","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1927,"clientId":26,"number":"001877","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1930,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":25,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SAMANTA","clientLastName":"FUENTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:22.841955] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:02:22.842005] [debug] Valor de JSON: {"uuid":"7315b485-7ebb-4e41-b14e-5d1b96fd69e8","changeType":"draft_approved","entity":"invoice","entityId":"1927","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1927,"clientId":26,"number":"001877","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1930,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":25,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SAMANTA","clientLastName":"FUENTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:22.842113] [debug] Aprobación de Factura - -[2025-04-30 16:02:22.842156] [debug] {"uuid":"7315b485-7ebb-4e41-b14e-5d1b96fd69e8","changeType":"draft_approved","entity":"invoice","entityId":1927,"message":null,"clientId":26,"eventName":"invoice.draft_approved","clientData":{"id":26,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"GUSANO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"GUSANO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SAMANTA","lastName":"FUENTES","username":"sfuentes26","contacts":[{"id":27,"clientId":26,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5380,"accountCredit":0,"accountOutstanding":5380,"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":1927,"clientId":26,"number":"001877","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1930,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":25,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SAMANTA","clientLastName":"FUENTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:23.774195] [notice] Logging level set to:debug -[2025-04-30 16:02:23.774302] [debug] valor del webhook: {"uuid":"900dd3fc-c109-4492-95d9-2f73e2d204b8","changeType":"insert","entity":"invoice","entityId":"1928","eventName":"invoice.add_draft","extraData":{"entity":{"id":1928,"clientId":64,"number":"001878","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1931,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":63,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"LANDEROS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:23.913651] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:02:23.913703] [debug] Valor de JSON: {"uuid":"900dd3fc-c109-4492-95d9-2f73e2d204b8","changeType":"insert","entity":"invoice","entityId":"1928","eventName":"invoice.add_draft","extraData":{"entity":{"id":1928,"clientId":64,"number":"001878","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1931,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":63,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"LANDEROS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:23.913813] [debug] Adición de borrador de Factura - -[2025-04-30 16:02:23.913855] [debug] {"uuid":"900dd3fc-c109-4492-95d9-2f73e2d204b8","changeType":"insert","entity":"invoice","entityId":1928,"message":null,"clientId":64,"eventName":"invoice.add_draft","clientData":{"id":64,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OMAR","lastName":"LANDEROS","username":"olanderos64","contacts":[{"id":65,"clientId":64,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"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":1928,"clientId":64,"number":"001878","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1931,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":63,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"LANDEROS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:24.030894] [notice] Logging level set to:debug -[2025-04-30 16:02:24.030956] [debug] valor del webhook: {"uuid":"e45c1985-a82e-4831-bb35-9ab33e09e0c6","changeType":"draft_approved","entity":"invoice","entityId":"1928","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1928,"clientId":64,"number":"001878","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1931,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":63,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"LANDEROS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:24.188704] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:02:24.188760] [debug] Valor de JSON: {"uuid":"e45c1985-a82e-4831-bb35-9ab33e09e0c6","changeType":"draft_approved","entity":"invoice","entityId":"1928","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1928,"clientId":64,"number":"001878","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1931,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":63,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"LANDEROS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:24.188875] [debug] Aprobación de Factura - -[2025-04-30 16:02:24.189054] [debug] {"uuid":"e45c1985-a82e-4831-bb35-9ab33e09e0c6","changeType":"draft_approved","entity":"invoice","entityId":1928,"message":null,"clientId":64,"eventName":"invoice.draft_approved","clientData":{"id":64,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OMAR","lastName":"LANDEROS","username":"olanderos64","contacts":[{"id":65,"clientId":64,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"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":1928,"clientId":64,"number":"001878","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1931,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":63,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"LANDEROS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:25.146723] [notice] Logging level set to:debug -[2025-04-30 16:02:25.146847] [debug] valor del webhook: {"uuid":"48bc1899-6ab1-49d0-a678-28f2936699fc","changeType":"insert","entity":"invoice","entityId":"1929","eventName":"invoice.add_draft","extraData":{"entity":{"id":1929,"clientId":55,"number":"001879","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1932,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":54,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JOSE","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:25.300915] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:02:25.300975] [debug] Valor de JSON: {"uuid":"48bc1899-6ab1-49d0-a678-28f2936699fc","changeType":"insert","entity":"invoice","entityId":"1929","eventName":"invoice.add_draft","extraData":{"entity":{"id":1929,"clientId":55,"number":"001879","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1932,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":54,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JOSE","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:25.301080] [debug] Adición de borrador de Factura - -[2025-04-30 16:02:25.301125] [debug] {"uuid":"48bc1899-6ab1-49d0-a678-28f2936699fc","changeType":"insert","entity":"invoice","entityId":1929,"message":null,"clientId":55,"eventName":"invoice.add_draft","clientData":{"id":55,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL MEZQUITAL","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL MEZQUITAL, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JOSE","lastName":"SANCHEZ","username":"jsanchez55","contacts":[{"id":56,"clientId":55,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#8e24aa","addressGpsLat":21.1081412,"addressGpsLon":-100.9422033,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1929,"clientId":55,"number":"001879","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1932,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":54,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JOSE","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:25.411286] [notice] Logging level set to:debug -[2025-04-30 16:02:25.411343] [debug] valor del webhook: {"uuid":"21fb27df-92c9-44e9-b0e1-1d7e469688ed","changeType":"draft_approved","entity":"invoice","entityId":"1929","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1929,"clientId":55,"number":"001879","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1932,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":54,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JOSE","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:25.545439] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:02:25.545486] [debug] Valor de JSON: {"uuid":"21fb27df-92c9-44e9-b0e1-1d7e469688ed","changeType":"draft_approved","entity":"invoice","entityId":"1929","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1929,"clientId":55,"number":"001879","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1932,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":54,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JOSE","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:25.545581] [debug] Aprobación de Factura - -[2025-04-30 16:02:25.545623] [debug] {"uuid":"21fb27df-92c9-44e9-b0e1-1d7e469688ed","changeType":"draft_approved","entity":"invoice","entityId":1929,"message":null,"clientId":55,"eventName":"invoice.draft_approved","clientData":{"id":55,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL MEZQUITAL","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL MEZQUITAL, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JOSE","lastName":"SANCHEZ","username":"jsanchez55","contacts":[{"id":56,"clientId":55,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#8e24aa","addressGpsLat":21.1081412,"addressGpsLon":-100.9422033,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1929,"clientId":55,"number":"001879","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1932,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":54,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JOSE","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:26.486311] [notice] Logging level set to:debug -[2025-04-30 16:02:26.486439] [debug] valor del webhook: {"uuid":"a2352c49-fd45-46df-a127-d9505a990fbc","changeType":"insert","entity":"invoice","entityId":"1930","eventName":"invoice.add_draft","extraData":{"entity":{"id":1930,"clientId":46,"number":"001880","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1933,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":45,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISMAEL","clientLastName":"PUGA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:26.623017] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:02:26.623074] [debug] Valor de JSON: {"uuid":"a2352c49-fd45-46df-a127-d9505a990fbc","changeType":"insert","entity":"invoice","entityId":"1930","eventName":"invoice.add_draft","extraData":{"entity":{"id":1930,"clientId":46,"number":"001880","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1933,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":45,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISMAEL","clientLastName":"PUGA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:26.623183] [debug] Adición de borrador de Factura - -[2025-04-30 16:02:26.623234] [debug] {"uuid":"a2352c49-fd45-46df-a127-d9505a990fbc","changeType":"insert","entity":"invoice","entityId":1930,"message":null,"clientId":46,"eventName":"invoice.add_draft","clientData":{"id":46,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL ROSILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL ROSILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ISMAEL","lastName":"PUGA","username":"ipuga46","contacts":[{"id":47,"clientId":46,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":100,"clientId":46,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtMzv6GBcULCcTh","clientZoneVisible":true},{"id":101,"clientId":46,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"6881305189499928","clientZoneVisible":true}],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"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":1930,"clientId":46,"number":"001880","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1933,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":45,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISMAEL","clientLastName":"PUGA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:26.736732] [notice] Logging level set to:debug -[2025-04-30 16:02:26.736835] [debug] valor del webhook: {"uuid":"b5db0503-5c5d-470d-a598-2ef2ad31a5c1","changeType":"draft_approved","entity":"invoice","entityId":"1930","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1930,"clientId":46,"number":"001880","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1933,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":45,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISMAEL","clientLastName":"PUGA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:26.873457] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:02:26.873522] [debug] Valor de JSON: {"uuid":"b5db0503-5c5d-470d-a598-2ef2ad31a5c1","changeType":"draft_approved","entity":"invoice","entityId":"1930","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1930,"clientId":46,"number":"001880","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1933,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":45,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISMAEL","clientLastName":"PUGA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:26.873646] [debug] Aprobación de Factura - -[2025-04-30 16:02:26.873840] [debug] {"uuid":"b5db0503-5c5d-470d-a598-2ef2ad31a5c1","changeType":"draft_approved","entity":"invoice","entityId":1930,"message":null,"clientId":46,"eventName":"invoice.draft_approved","clientData":{"id":46,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL ROSILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL ROSILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ISMAEL","lastName":"PUGA","username":"ipuga46","contacts":[{"id":47,"clientId":46,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":100,"clientId":46,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtMzv6GBcULCcTh","clientZoneVisible":true},{"id":101,"clientId":46,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"6881305189499928","clientZoneVisible":true}],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"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":1930,"clientId":46,"number":"001880","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1933,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":45,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISMAEL","clientLastName":"PUGA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:27.774266] [notice] Logging level set to:debug -[2025-04-30 16:02:27.774374] [debug] valor del webhook: {"uuid":"36cc6df4-bc51-4c99-8e23-313ca2cee2d2","changeType":"insert","entity":"invoice","entityId":"1931","eventName":"invoice.add_draft","extraData":{"entity":{"id":1931,"clientId":49,"number":"001881","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1934,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":48,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"ARGOTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:27.942620] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:02:27.942673] [debug] Valor de JSON: {"uuid":"36cc6df4-bc51-4c99-8e23-313ca2cee2d2","changeType":"insert","entity":"invoice","entityId":"1931","eventName":"invoice.add_draft","extraData":{"entity":{"id":1931,"clientId":49,"number":"001881","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1934,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":48,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"ARGOTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:27.942792] [debug] Adición de borrador de Factura - -[2025-04-30 16:02:27.942838] [debug] {"uuid":"36cc6df4-bc51-4c99-8e23-313ca2cee2d2","changeType":"insert","entity":"invoice","entityId":1931,"message":null,"clientId":49,"eventName":"invoice.add_draft","clientData":{"id":49,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"HUMBERTO","lastName":"ARGOTE","username":"hargote49","contacts":[{"id":50,"clientId":49,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":106,"clientId":49,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1TKNidnkizX4","clientZoneVisible":true},{"id":107,"clientId":49,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"5239864893662909","clientZoneVisible":true}],"accountBalance":-4510,"accountCredit":0,"accountOutstanding":4510,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.0502031,"addressGpsLon":-101.0096832,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1931,"clientId":49,"number":"001881","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1934,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":48,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"ARGOTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:28.063924] [notice] Logging level set to:debug -[2025-04-30 16:02:28.063981] [debug] valor del webhook: {"uuid":"facbe0bf-670b-43e2-a8bb-8c56423e6354","changeType":"draft_approved","entity":"invoice","entityId":"1931","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1931,"clientId":49,"number":"001881","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1934,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":48,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"ARGOTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:28.202502] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:02:28.202564] [debug] Valor de JSON: {"uuid":"facbe0bf-670b-43e2-a8bb-8c56423e6354","changeType":"draft_approved","entity":"invoice","entityId":"1931","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1931,"clientId":49,"number":"001881","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1934,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":48,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"ARGOTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:28.202660] [debug] Aprobación de Factura - -[2025-04-30 16:02:28.202703] [debug] {"uuid":"facbe0bf-670b-43e2-a8bb-8c56423e6354","changeType":"draft_approved","entity":"invoice","entityId":1931,"message":null,"clientId":49,"eventName":"invoice.draft_approved","clientData":{"id":49,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"HUMBERTO","lastName":"ARGOTE","username":"hargote49","contacts":[{"id":50,"clientId":49,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":106,"clientId":49,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1TKNidnkizX4","clientZoneVisible":true},{"id":107,"clientId":49,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"5239864893662909","clientZoneVisible":true}],"accountBalance":-4510,"accountCredit":0,"accountOutstanding":4510,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.0502031,"addressGpsLon":-101.0096832,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1931,"clientId":49,"number":"001881","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1934,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":48,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"ARGOTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:29.138900] [notice] Logging level set to:debug -[2025-04-30 16:02:29.138964] [debug] valor del webhook: {"uuid":"3d2deb80-a401-4e83-a22e-a2a23662dcb6","changeType":"insert","entity":"invoice","entityId":"1932","eventName":"invoice.add_draft","extraData":{"entity":{"id":1932,"clientId":89,"number":"001882","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1935,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":88,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RIO LAJA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:29.278583] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:02:29.278639] [debug] Valor de JSON: {"uuid":"3d2deb80-a401-4e83-a22e-a2a23662dcb6","changeType":"insert","entity":"invoice","entityId":"1932","eventName":"invoice.add_draft","extraData":{"entity":{"id":1932,"clientId":89,"number":"001882","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1935,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":88,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RIO LAJA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:29.278754] [debug] Adición de borrador de Factura - -[2025-04-30 16:02:29.278795] [debug] {"uuid":"3d2deb80-a401-4e83-a22e-a2a23662dcb6","changeType":"insert","entity":"invoice","entityId":1932,"message":null,"clientId":89,"eventName":"invoice.add_draft","clientData":{"id":89,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"RIO LAJA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"RIO LAJA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"TERESA","lastName":"SANCHEZ","username":"tsanchez89","contacts":[{"id":90,"clientId":89,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1932,"clientId":89,"number":"001882","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1935,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":88,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RIO LAJA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:29.393069] [notice] Logging level set to:debug -[2025-04-30 16:02:29.393131] [debug] valor del webhook: {"uuid":"13dd0dc3-c67b-463b-8545-b1e0fc8bfd2b","changeType":"draft_approved","entity":"invoice","entityId":"1932","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1932,"clientId":89,"number":"001882","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1935,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":88,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RIO LAJA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:29.544290] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:02:29.544384] [debug] Valor de JSON: {"uuid":"13dd0dc3-c67b-463b-8545-b1e0fc8bfd2b","changeType":"draft_approved","entity":"invoice","entityId":"1932","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1932,"clientId":89,"number":"001882","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1935,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":88,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RIO LAJA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:29.544502] [debug] Aprobación de Factura - -[2025-04-30 16:02:29.544549] [debug] {"uuid":"13dd0dc3-c67b-463b-8545-b1e0fc8bfd2b","changeType":"draft_approved","entity":"invoice","entityId":1932,"message":null,"clientId":89,"eventName":"invoice.draft_approved","clientData":{"id":89,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"RIO LAJA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"RIO LAJA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"TERESA","lastName":"SANCHEZ","username":"tsanchez89","contacts":[{"id":90,"clientId":89,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1932,"clientId":89,"number":"001882","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1935,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":88,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RIO LAJA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:30.494954] [notice] Logging level set to:debug -[2025-04-30 16:02:30.495062] [debug] valor del webhook: {"uuid":"904d47f8-13a0-4dfc-b9a9-a9ed977df2f6","changeType":"insert","entity":"invoice","entityId":"1933","eventName":"invoice.add_draft","extraData":{"entity":{"id":1933,"clientId":7,"number":"001883","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1936,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":7,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JESUS","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:30.656919] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:02:30.656972] [debug] Valor de JSON: {"uuid":"904d47f8-13a0-4dfc-b9a9-a9ed977df2f6","changeType":"insert","entity":"invoice","entityId":"1933","eventName":"invoice.add_draft","extraData":{"entity":{"id":1933,"clientId":7,"number":"001883","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1936,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":7,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JESUS","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:30.657103] [debug] Adición de borrador de Factura - -[2025-04-30 16:02:30.657147] [debug] {"uuid":"904d47f8-13a0-4dfc-b9a9-a9ed977df2f6","changeType":"insert","entity":"invoice","entityId":1933,"message":null,"clientId":7,"eventName":"invoice.add_draft","clientData":{"id":7,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"ADJUNTAS DEL RIO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"ADJUNTAS DEL RIO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JESUS","lastName":"GONZALEZ","username":"jgonzalez07","contacts":[{"id":8,"clientId":7,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1933,"clientId":7,"number":"001883","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1936,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":7,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JESUS","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:30.771770] [notice] Logging level set to:debug -[2025-04-30 16:02:30.771841] [debug] valor del webhook: {"uuid":"9f175322-37a0-46e1-b0da-ed5a7d9b1023","changeType":"draft_approved","entity":"invoice","entityId":"1933","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1933,"clientId":7,"number":"001883","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1936,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":7,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JESUS","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:30.928596] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:02:30.928647] [debug] Valor de JSON: {"uuid":"9f175322-37a0-46e1-b0da-ed5a7d9b1023","changeType":"draft_approved","entity":"invoice","entityId":"1933","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1933,"clientId":7,"number":"001883","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1936,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":7,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JESUS","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:30.928754] [debug] Aprobación de Factura - -[2025-04-30 16:02:30.928796] [debug] {"uuid":"9f175322-37a0-46e1-b0da-ed5a7d9b1023","changeType":"draft_approved","entity":"invoice","entityId":1933,"message":null,"clientId":7,"eventName":"invoice.draft_approved","clientData":{"id":7,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"ADJUNTAS DEL RIO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"ADJUNTAS DEL RIO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JESUS","lastName":"GONZALEZ","username":"jgonzalez07","contacts":[{"id":8,"clientId":7,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"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":1933,"clientId":7,"number":"001883","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1936,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":7,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JESUS","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:31.919794] [notice] Logging level set to:debug -[2025-04-30 16:02:31.919847] [debug] valor del webhook: {"uuid":"2b6f80c0-d2e0-4b4c-ad5f-fb0b67f7816d","changeType":"insert","entity":"invoice","entityId":"1934","eventName":"invoice.add_draft","extraData":{"entity":{"id":1934,"clientId":84,"number":"001884","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1937,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":83,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ROLANDO","clientLastName":"CALVILLLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:32.059004] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-04-30 16:02:32.059058] [debug] Valor de JSON: {"uuid":"2b6f80c0-d2e0-4b4c-ad5f-fb0b67f7816d","changeType":"insert","entity":"invoice","entityId":"1934","eventName":"invoice.add_draft","extraData":{"entity":{"id":1934,"clientId":84,"number":"001884","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1937,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":83,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ROLANDO","clientLastName":"CALVILLLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:32.059164] [debug] Adición de borrador de Factura - -[2025-04-30 16:02:32.059209] [debug] {"uuid":"2b6f80c0-d2e0-4b4c-ad5f-fb0b67f7816d","changeType":"insert","entity":"invoice","entityId":1934,"message":null,"clientId":84,"eventName":"invoice.add_draft","clientData":{"id":84,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ROLANDO","lastName":"CALVILLLO","username":"rcalvilllo84","contacts":[{"id":85,"clientId":84,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2196f3","addressGpsLat":21.2516667,"addressGpsLon":-101.0924998,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1934,"clientId":84,"number":"001884","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1937,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":83,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ROLANDO","clientLastName":"CALVILLLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-04-30 16:02:32.169163] [notice] Logging level set to:debug -[2025-04-30 16:02:32.169219] [debug] valor del webhook: {"uuid":"d2db450a-4fa1-4aca-92d1-34227221f5a9","changeType":"draft_approved","entity":"invoice","entityId":"1934","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1934,"clientId":84,"number":"001884","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1937,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":83,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ROLANDO","clientLastName":"CALVILLLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:32.324951] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-04-30 16:02:32.325001] [debug] Valor de JSON: {"uuid":"d2db450a-4fa1-4aca-92d1-34227221f5a9","changeType":"draft_approved","entity":"invoice","entityId":"1934","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1934,"clientId":84,"number":"001884","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1937,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":83,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ROLANDO","clientLastName":"CALVILLLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-04-30 16:02:32.325100] [debug] Aprobación de Factura - -[2025-04-30 16:02:32.327860] [debug] {"uuid":"d2db450a-4fa1-4aca-92d1-34227221f5a9","changeType":"draft_approved","entity":"invoice","entityId":1934,"message":null,"clientId":84,"eventName":"invoice.draft_approved","clientData":{"id":84,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ROLANDO","lastName":"CALVILLLO","username":"rcalvilllo84","contacts":[{"id":85,"clientId":84,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2196f3","addressGpsLat":21.2516667,"addressGpsLon":-101.0924998,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1934,"clientId":84,"number":"001884","createdDate":"2025-04-30T10:00:01-0600","dueDate":"2025-05-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-28T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1937,"type":"service","label":"plan300 31\/03\/2025 \u2013 29\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":83,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ROLANDO","clientLastName":"CALVILLLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-05-01 16:00:04.263710] [notice] Logging level set to:debug -[2025-05-01 16:00:04.263792] [debug] valor del webhook: {"uuid":"e09aa543-cfc3-4b83-a168-8524228a0a32","changeType":"insert","entity":"invoice","entityId":"1935","eventName":"invoice.add_draft","extraData":{"entity":{"id":1935,"clientId":132,"number":"001885","createdDate":"2025-05-01T10:00:02-0600","dueDate":"2025-05-15T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1938,"type":"service","label":"plan300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":115,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Marto","clientLastName":"Vago Payaso","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"20 Avenida Norte","clientStreet2":null,"clientCity":"Guanajuato","clientCountryId":173,"clientStateId":null,"clientZipCode":"37807","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-01 16:00:04.416166] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-05-01 16:00:04.416224] [debug] Valor de JSON: {"uuid":"e09aa543-cfc3-4b83-a168-8524228a0a32","changeType":"insert","entity":"invoice","entityId":"1935","eventName":"invoice.add_draft","extraData":{"entity":{"id":1935,"clientId":132,"number":"001885","createdDate":"2025-05-01T10:00:02-0600","dueDate":"2025-05-15T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1938,"type":"service","label":"plan300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":115,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Marto","clientLastName":"Vago Payaso","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"20 Avenida Norte","clientStreet2":null,"clientCity":"Guanajuato","clientCountryId":173,"clientStateId":null,"clientZipCode":"37807","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-01 16:00:04.416462] [debug] Adición de borrador de Factura - -[2025-05-01 16:00:04.416515] [debug] {"uuid":"e09aa543-cfc3-4b83-a168-8524228a0a32","changeType":"insert","entity":"invoice","entityId":1935,"message":null,"clientId":132,"eventName":"invoice.add_draft","clientData":{"id":132,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"20 Avenida Norte","street2":null,"city":"Guanajuato","countryId":173,"stateId":null,"zipCode":"37807","fullAddress":"Avenida Norte 20, Dolores, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Marto","lastName":"Vago Payaso","username":null,"contacts":[{"id":136,"clientId":132,"email":"vagopayaso@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3000,"accountCredit":0,"accountOutstanding":3000,"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":1935,"clientId":132,"number":"001885","createdDate":"2025-05-01T10:00:02-0600","dueDate":"2025-05-15T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1938,"type":"service","label":"plan300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":115,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Marto","clientLastName":"Vago Payaso","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"20 Avenida Norte","clientStreet2":null,"clientCity":"Guanajuato","clientCountryId":173,"clientStateId":null,"clientZipCode":"37807","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-05-01 16:00:04.584760] [notice] Logging level set to:debug -[2025-05-01 16:00:04.584805] [debug] valor del webhook: {"uuid":"52f106f7-5e35-499c-b288-be162e2ff52b","changeType":"draft_approved","entity":"invoice","entityId":"1935","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1935,"clientId":132,"number":"001885","createdDate":"2025-05-01T10:00:02-0600","dueDate":"2025-05-15T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1938,"type":"service","label":"plan300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":115,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Marto","clientLastName":"Vago Payaso","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"20 Avenida Norte","clientStreet2":null,"clientCity":"Guanajuato","clientCountryId":173,"clientStateId":null,"clientZipCode":"37807","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-01 16:00:04.825299] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-05-01 16:00:04.825350] [debug] Valor de JSON: {"uuid":"52f106f7-5e35-499c-b288-be162e2ff52b","changeType":"draft_approved","entity":"invoice","entityId":"1935","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1935,"clientId":132,"number":"001885","createdDate":"2025-05-01T10:00:02-0600","dueDate":"2025-05-15T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1938,"type":"service","label":"plan300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":115,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Marto","clientLastName":"Vago Payaso","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"20 Avenida Norte","clientStreet2":null,"clientCity":"Guanajuato","clientCountryId":173,"clientStateId":null,"clientZipCode":"37807","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-01 16:00:04.825445] [debug] Aprobación de Factura - -[2025-05-01 16:00:04.825489] [debug] {"uuid":"52f106f7-5e35-499c-b288-be162e2ff52b","changeType":"draft_approved","entity":"invoice","entityId":1935,"message":null,"clientId":132,"eventName":"invoice.draft_approved","clientData":{"id":132,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"20 Avenida Norte","street2":null,"city":"Guanajuato","countryId":173,"stateId":null,"zipCode":"37807","fullAddress":"Avenida Norte 20, Dolores, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Marto","lastName":"Vago Payaso","username":null,"contacts":[{"id":136,"clientId":132,"email":"vagopayaso@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3000,"accountCredit":0,"accountOutstanding":3000,"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":1935,"clientId":132,"number":"001885","createdDate":"2025-05-01T10:00:02-0600","dueDate":"2025-05-15T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1938,"type":"service","label":"plan300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":115,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Marto","clientLastName":"Vago Payaso","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"20 Avenida Norte","clientStreet2":null,"clientCity":"Guanajuato","clientCountryId":173,"clientStateId":null,"clientZipCode":"37807","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-05-05 6:25:03.066772] [notice] Logging level set to:debug -[2025-05-05 6:25:03.066859] [debug] valor del webhook: {"uuid":"8067a80c-2c29-4ea2-a776-49f38483cb2b","changeType":"overdue","entity":"invoice","entityId":"1819","eventName":"invoice.overdue","extraData":{"entity":{"id":1819,"clientId":121,"number":"001769","createdDate":"2025-04-20T10:00:01-0600","dueDate":"2025-05-04T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-18T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1822,"type":"service","label":"INTERMEDIO 20\/03\/2025 \u2013 19\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":106,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"flor","clientLastName":"marquez gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"plutarco elias calles 8,lindavista","clientStreet2":"enfrente del parque","clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-05 6:25:03.241703] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-05-05 6:25:03.241760] [debug] Valor de JSON: {"uuid":"8067a80c-2c29-4ea2-a776-49f38483cb2b","changeType":"overdue","entity":"invoice","entityId":"1819","eventName":"invoice.overdue","extraData":{"entity":{"id":1819,"clientId":121,"number":"001769","createdDate":"2025-04-20T10:00:01-0600","dueDate":"2025-05-04T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-18T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1822,"type":"service","label":"INTERMEDIO 20\/03\/2025 \u2013 19\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":106,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"flor","clientLastName":"marquez gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"plutarco elias calles 8,lindavista","clientStreet2":"enfrente del parque","clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-05 6:25:03.241971] [debug] Factura vencida - -[2025-05-05 6:25:03.242021] [debug] datos del notification para el invoice overdue:{"uuid":"8067a80c-2c29-4ea2-a776-49f38483cb2b","changeType":"overdue","entity":"invoice","entityId":1819,"message":null,"clientId":121,"eventName":"invoice.overdue","clientData":{"id":121,"userIdent":"-105.998","previousIsp":"angel","isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"plutarco elias calles 8,lindavista","street2":"enfrente del parque","city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"plutarco elias calles 8,lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":false,"invoiceMaturityDays":null,"stopServiceDue":false,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-05-20T00:00:00-0600","leadConvertedAt":"2024-05-20T13:45:39-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"flor","lastName":"marquez gonzalez","username":null,"contacts":[{"id":125,"clientId":121,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":120,"clientId":121,"customAttributeId":2,"name":"CelularNotificaciones","key":"celularnotificaciones","value":"172.16.117.243","clientZoneVisible":true},{"id":121,"clientId":121,"customAttributeId":4,"name":"Whatsapp","key":"whatsapp","value":"Siip.567","clientZoneVisible":true},{"id":122,"clientId":121,"customAttributeId":5,"name":"uuid","key":"uuid","value":"admin1343","clientZoneVisible":true},{"id":123,"clientId":121,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"22372x9000055","clientZoneVisible":true},{"id":124,"clientId":121,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"21.9758566","clientZoneVisible":true}],"accountBalance":-5316.67,"accountCredit":0,"accountOutstanding":5316.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.5,"addressGpsLon":-100,"isArchived":false,"generateProformaInvoices":false,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1819,"clientId":121,"number":"001769","createdDate":"2025-04-20T10:00:01-0600","dueDate":"2025-05-04T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-18T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1822,"type":"service","label":"INTERMEDIO 20\/03\/2025 \u2013 19\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":106,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"flor","clientLastName":"marquez gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"plutarco elias calles 8,lindavista","clientStreet2":"enfrente del parque","clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-05-05 6:25:03.242057] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -contac vacio -[2025-05-05 6:25:03.242218] [debug] Numero de cel obtenido - -[2025-05-05 6:25:03.242230] [warning] No se encontró un teléfono celular válido para el cliente: 121 -[2025-05-05 6:25:03.399832] [notice] Logging level set to:debug -[2025-05-05 6:25:03.399945] [debug] valor del webhook: {"uuid":"2b7f3b68-3994-460c-9351-e111faca6910","changeType":"overdue","entity":"invoice","entityId":"1820","eventName":"invoice.overdue","extraData":{"entity":{"id":1820,"clientId":122,"number":"001770","createdDate":"2025-04-20T10:00:01-0600","dueDate":"2025-05-04T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-18T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1823,"type":"service","label":"plan300 20\/03\/2025 \u2013 19\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":107,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"MARQUEZ GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PLTARCO 8, LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-05 6:25:03.548110] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-05-05 6:25:03.548162] [debug] Valor de JSON: {"uuid":"2b7f3b68-3994-460c-9351-e111faca6910","changeType":"overdue","entity":"invoice","entityId":"1820","eventName":"invoice.overdue","extraData":{"entity":{"id":1820,"clientId":122,"number":"001770","createdDate":"2025-04-20T10:00:01-0600","dueDate":"2025-05-04T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-18T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1823,"type":"service","label":"plan300 20\/03\/2025 \u2013 19\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":107,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"MARQUEZ GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PLTARCO 8, LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-05 6:25:03.548279] [debug] Factura vencida - -[2025-05-05 6:25:03.548319] [debug] datos del notification para el invoice overdue:{"uuid":"2b7f3b68-3994-460c-9351-e111faca6910","changeType":"overdue","entity":"invoice","entityId":1820,"message":null,"clientId":122,"eventName":"invoice.overdue","clientData":{"id":122,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"PLTARCO 8, LINDAVISTA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"PLTARCO 8, LINDAVISTA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-05-20T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JUDITH","lastName":"MARQUEZ GONZALEZ","username":null,"contacts":[{"id":126,"clientId":122,"email":null,"phone":"55667788","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":125,"clientId":122,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Q8uWOC8sjQem1K","clientZoneVisible":true},{"id":126,"clientId":122,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180296730137251","clientZoneVisible":true}],"accountBalance":-5190,"accountCredit":0,"accountOutstanding":5190,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.171581132292,"addressGpsLon":-100.9286433436,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1820,"clientId":122,"number":"001770","createdDate":"2025-04-20T10:00:01-0600","dueDate":"2025-05-04T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-18T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1823,"type":"service","label":"plan300 20\/03\/2025 \u2013 19\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":107,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"MARQUEZ GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PLTARCO 8, LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-05-05 6:25:03.548342] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-05-05 6:25:03.548394] [debug] Numero de cel obtenido - -[2025-05-05 6:25:03.548407] [warning] No se encontró un teléfono celular válido para el cliente: 122 -[2025-05-06 6:25:03.078450] [notice] Logging level set to:debug -[2025-05-06 6:25:03.078536] [debug] valor del webhook: {"uuid":"5f8aaeaf-64a9-4478-90ca-52caefc55533","changeType":"overdue","entity":"invoice","entityId":"1824","eventName":"invoice.overdue","extraData":{"entity":{"id":1824,"clientId":157,"number":"001774","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1827,"type":"service","label":"plan300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":127,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU SIIP","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-06 6:25:03.374025] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-05-06 6:25:03.374087] [debug] Valor de JSON: {"uuid":"5f8aaeaf-64a9-4478-90ca-52caefc55533","changeType":"overdue","entity":"invoice","entityId":"1824","eventName":"invoice.overdue","extraData":{"entity":{"id":1824,"clientId":157,"number":"001774","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1827,"type":"service","label":"plan300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":127,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU SIIP","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-06 6:25:03.374303] [debug] Factura vencida - -[2025-05-06 6:25:03.374353] [debug] datos del notification para el invoice overdue:{"uuid":"5f8aaeaf-64a9-4478-90ca-52caefc55533","changeType":"overdue","entity":"invoice","entityId":1824,"message":null,"clientId":157,"eventName":"invoice.overdue","clientData":{"id":157,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-04T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANGEL","lastName":"ARVIZU SIIP","username":null,"contacts":[{"id":161,"clientId":157,"email":null,"phone":"5214181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":154,"clientId":157,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RWjBO6Lsy1TgAV","clientZoneVisible":true},{"id":155,"clientId":157,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180695267429334","clientZoneVisible":true}],"accountBalance":-1180,"accountCredit":0,"accountOutstanding":1180,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1824,"clientId":157,"number":"001774","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1827,"type":"service","label":"plan300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":127,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU SIIP","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-05-06 6:25:03.374387] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-05-06 6:25:03.374500] [debug] Numero de cel obtenido - -[2025-05-06 6:25:03.374512] [warning] No se encontró un teléfono celular válido para el cliente: 157 -[2025-05-06 6:25:03.605106] [notice] Logging level set to:debug -[2025-05-06 6:25:03.605159] [debug] valor del webhook: {"uuid":"85997138-a7a3-4cf4-87ba-ee8b5f6f81e9","changeType":"overdue","entity":"invoice","entityId":"1821","eventName":"invoice.overdue","extraData":{"entity":{"id":1821,"clientId":138,"number":"001771","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-05-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1824,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":148,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Mofles","clientLastName":"El Ruco Lopez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"89 Baja California Sur","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-06 6:25:03.869507] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-05-06 6:25:03.869566] [debug] Valor de JSON: {"uuid":"85997138-a7a3-4cf4-87ba-ee8b5f6f81e9","changeType":"overdue","entity":"invoice","entityId":"1821","eventName":"invoice.overdue","extraData":{"entity":{"id":1821,"clientId":138,"number":"001771","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-05-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1824,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":148,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Mofles","clientLastName":"El Ruco Lopez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"89 Baja California Sur","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-06 6:25:03.869669] [debug] Factura vencida - -[2025-05-06 6:25:03.869709] [debug] datos del notification para el invoice overdue:{"uuid":"85997138-a7a3-4cf4-87ba-ee8b5f6f81e9","changeType":"overdue","entity":"invoice","entityId":1821,"message":null,"clientId":138,"eventName":"invoice.overdue","clientData":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":186,"clientId":138,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0ELEIMpRfdeLs","clientZoneVisible":true},{"id":187,"clientId":138,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180174170666420","clientZoneVisible":true}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1821,"clientId":138,"number":"001771","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-05-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1824,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":148,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Mofles","clientLastName":"El Ruco Lopez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"89 Baja California Sur","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-05-06 6:25:03.869735] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-05-06 6:25:03.869791] [debug] Numero de cel obtenido - -[2025-05-06 6:25:03.869803] [warning] No se encontró un teléfono celular válido para el cliente: 138 -[2025-05-06 6:25:03.987464] [notice] Logging level set to:debug -[2025-05-06 6:25:03.987515] [debug] valor del webhook: {"uuid":"efc33bef-9abf-4cb6-8dac-d0d6da088df0","changeType":"overdue","entity":"invoice","entityId":"1822","eventName":"invoice.overdue","extraData":{"entity":{"id":1822,"clientId":146,"number":"001772","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-05-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1825,"type":"service","label":"Basico 300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":131,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-06 6:25:04.219841] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-05-06 6:25:04.219913] [debug] Valor de JSON: {"uuid":"efc33bef-9abf-4cb6-8dac-d0d6da088df0","changeType":"overdue","entity":"invoice","entityId":"1822","eventName":"invoice.overdue","extraData":{"entity":{"id":1822,"clientId":146,"number":"001772","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-05-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1825,"type":"service","label":"Basico 300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":131,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-06 6:25:04.220009] [debug] Factura vencida - -[2025-05-06 6:25:04.220050] [debug] datos del notification para el invoice overdue:{"uuid":"efc33bef-9abf-4cb6-8dac-d0d6da088df0","changeType":"overdue","entity":"invoice","entityId":1822,"message":null,"clientId":146,"eventName":"invoice.overdue","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"4188897415","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true}],"accountBalance":-1100,"accountCredit":0,"accountOutstanding":1100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1822,"clientId":146,"number":"001772","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-05-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1825,"type":"service","label":"Basico 300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":131,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-05-06 6:25:04.220072] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-05-06 6:25:04.220124] [debug] Numero de cel obtenido - -[2025-05-06 6:25:04.220136] [warning] No se encontró un teléfono celular válido para el cliente: 146 -[2025-05-06 6:25:04.331640] [notice] Logging level set to:debug -[2025-05-06 6:25:04.331691] [debug] valor del webhook: {"uuid":"54ba21a1-5511-47e3-b96c-e6613821adb3","changeType":"overdue","entity":"invoice","entityId":"1825","eventName":"invoice.overdue","extraData":{"entity":{"id":1825,"clientId":160,"number":"001775","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-05-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1828,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":151,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jimy","clientLastName":"Turner","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Jalisco","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-06 6:25:04.513279] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-05-06 6:25:04.513340] [debug] Valor de JSON: {"uuid":"54ba21a1-5511-47e3-b96c-e6613821adb3","changeType":"overdue","entity":"invoice","entityId":"1825","eventName":"invoice.overdue","extraData":{"entity":{"id":1825,"clientId":160,"number":"001775","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-05-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1828,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":151,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jimy","clientLastName":"Turner","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Jalisco","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-06 6:25:04.513456] [debug] Factura vencida - -[2025-05-06 6:25:04.513494] [debug] datos del notification para el invoice overdue:{"uuid":"54ba21a1-5511-47e3-b96c-e6613821adb3","changeType":"overdue","entity":"invoice","entityId":1825,"message":null,"clientId":160,"eventName":"invoice.overdue","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-670,"accountCredit":0,"accountOutstanding":670,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1825,"clientId":160,"number":"001775","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-05-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1828,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":151,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jimy","clientLastName":"Turner","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Jalisco","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-05-06 6:25:04.513506] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-05-06 6:25:04.513561] [debug] Numero de cel obtenido - -[2025-05-06 6:25:04.513572] [warning] No se encontró un teléfono celular válido para el cliente: 160 -[2025-05-06 6:25:04.625277] [notice] Logging level set to:debug -[2025-05-06 6:25:04.625351] [debug] valor del webhook: {"uuid":"a295d4fc-350f-4d33-84fa-27c83d713234","changeType":"overdue","entity":"invoice","entityId":"1826","eventName":"invoice.overdue","extraData":{"entity":{"id":1826,"clientId":136,"number":"001776","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-05-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1829,"type":"service","label":"INTERMEDIO 21\/03\/2025 \u2013 20\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":112,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Mus","clientLastName":"Tafah","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"22 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-06 6:25:04.758099] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-05-06 6:25:04.758152] [debug] Valor de JSON: {"uuid":"a295d4fc-350f-4d33-84fa-27c83d713234","changeType":"overdue","entity":"invoice","entityId":"1826","eventName":"invoice.overdue","extraData":{"entity":{"id":1826,"clientId":136,"number":"001776","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-05-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1829,"type":"service","label":"INTERMEDIO 21\/03\/2025 \u2013 20\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":112,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Mus","clientLastName":"Tafah","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"22 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-06 6:25:04.758260] [debug] Factura vencida - -[2025-05-06 6:25:04.758297] [debug] datos del notification para el invoice overdue:{"uuid":"a295d4fc-350f-4d33-84fa-27c83d713234","changeType":"overdue","entity":"invoice","entityId":1826,"message":null,"clientId":136,"eventName":"invoice.overdue","clientData":{"id":136,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"22 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 22, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Mus","lastName":"Tafah","username":null,"contacts":[{"id":140,"clientId":136,"email":"elmus@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-4833.33,"accountCredit":0,"accountOutstanding":4833.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1571597,"addressGpsLon":-100.9367744,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1826,"clientId":136,"number":"001776","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-05-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1829,"type":"service","label":"INTERMEDIO 21\/03\/2025 \u2013 20\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":112,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Mus","clientLastName":"Tafah","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"22 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-05-06 6:25:04.758311] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-05-06 6:25:04.758363] [debug] Numero de cel obtenido - -[2025-05-06 6:25:04.758373] [warning] No se encontró un teléfono celular válido para el cliente: 136 -[2025-05-06 6:25:04.871784] [notice] Logging level set to:debug -[2025-05-06 6:25:04.871889] [debug] valor del webhook: {"uuid":"1f673a16-e850-45eb-92e5-c9c71483f3b2","changeType":"overdue","entity":"invoice","entityId":"1827","eventName":"invoice.overdue","extraData":{"entity":{"id":1827,"clientId":114,"number":"001777","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-05-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1830,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":149,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Juan Calavera","clientLastName":"Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Guanajuato","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-06 6:25:05.010474] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-05-06 6:25:05.010533] [debug] Valor de JSON: {"uuid":"1f673a16-e850-45eb-92e5-c9c71483f3b2","changeType":"overdue","entity":"invoice","entityId":"1827","eventName":"invoice.overdue","extraData":{"entity":{"id":1827,"clientId":114,"number":"001777","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-05-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1830,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":149,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Juan Calavera","clientLastName":"Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Guanajuato","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-06 6:25:05.010643] [debug] Factura vencida - -[2025-05-06 6:25:05.010685] [debug] datos del notification para el invoice overdue:{"uuid":"1f673a16-e850-45eb-92e5-c9c71483f3b2","changeType":"overdue","entity":"invoice","entityId":1827,"message":null,"clientId":114,"eventName":"invoice.overdue","clientData":{"id":114,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Guanajuato","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan Calavera","lastName":"Gonz\u00e1lez","username":null,"contacts":[{"id":118,"clientId":114,"email":"juancalavera@gmail.com","phone":"41856987412","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":188,"clientId":114,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0EQeXBl8NhBZi","clientZoneVisible":true},{"id":189,"clientId":114,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180969856650415","clientZoneVisible":true}],"accountBalance":-680,"accountCredit":0,"accountOutstanding":680,"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":1827,"clientId":114,"number":"001777","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-05-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1830,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":149,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Juan Calavera","clientLastName":"Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Guanajuato","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-05-06 6:25:05.010704] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-05-06 6:25:05.010760] [debug] Numero de cel obtenido - -[2025-05-06 6:25:05.010771] [warning] No se encontró un teléfono celular válido para el cliente: 114 -[2025-05-06 6:25:05.123028] [notice] Logging level set to:debug -[2025-05-06 6:25:05.123100] [debug] valor del webhook: {"uuid":"9f661fd9-6a34-4715-a269-38c61106428c","changeType":"overdue","entity":"invoice","entityId":"1828","eventName":"invoice.overdue","extraData":{"entity":{"id":1828,"clientId":134,"number":"001778","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-05-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1831,"type":"service","label":"PREMIUM 21\/03\/2025 \u2013 20\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":113,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"La Mosca","clientLastName":"Tse Tse","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"25 Michoac\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-06 6:25:05.252862] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-05-06 6:25:05.252912] [debug] Valor de JSON: {"uuid":"9f661fd9-6a34-4715-a269-38c61106428c","changeType":"overdue","entity":"invoice","entityId":"1828","eventName":"invoice.overdue","extraData":{"entity":{"id":1828,"clientId":134,"number":"001778","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-05-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1831,"type":"service","label":"PREMIUM 21\/03\/2025 \u2013 20\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":113,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"La Mosca","clientLastName":"Tse Tse","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"25 Michoac\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-06 6:25:05.253021] [debug] Factura vencida - -[2025-05-06 6:25:05.253061] [debug] datos del notification para el invoice overdue:{"uuid":"9f661fd9-6a34-4715-a269-38c61106428c","changeType":"overdue","entity":"invoice","entityId":1828,"message":null,"clientId":134,"eventName":"invoice.overdue","clientData":{"id":134,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"25 Michoac\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"La Mosca","lastName":"Tse Tse","username":null,"contacts":[{"id":138,"clientId":134,"email":"lamoscatsetse@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":190,"clientId":134,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0Igo0UyD5CUtI","clientZoneVisible":true},{"id":191,"clientId":134,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180573205227652","clientZoneVisible":true}],"accountBalance":-7000,"accountCredit":0,"accountOutstanding":7000,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1576726,"addressGpsLon":-100.9370354,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1828,"clientId":134,"number":"001778","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-05-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1831,"type":"service","label":"PREMIUM 21\/03\/2025 \u2013 20\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":113,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"La Mosca","clientLastName":"Tse Tse","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"25 Michoac\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-05-06 6:25:05.253078] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-05-06 6:25:05.253132] [debug] Numero de cel obtenido - -[2025-05-06 6:25:05.253143] [warning] No se encontró un teléfono celular válido para el cliente: 134 -[2025-05-06 6:25:05.364833] [notice] Logging level set to:debug -[2025-05-06 6:25:05.364913] [debug] valor del webhook: {"uuid":"663faa85-72f8-4fce-89a9-7c397ce41260","changeType":"overdue","entity":"invoice","entityId":"1829","eventName":"invoice.overdue","extraData":{"entity":{"id":1829,"clientId":162,"number":"001779","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-05-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1832,"type":"service","label":"PREMIUM 01\/04\/2025 \u2013 30\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":128,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Edward","clientLastName":"Elric","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"76 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-06 6:25:05.494337] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-05-06 6:25:05.494390] [debug] Valor de JSON: {"uuid":"663faa85-72f8-4fce-89a9-7c397ce41260","changeType":"overdue","entity":"invoice","entityId":"1829","eventName":"invoice.overdue","extraData":{"entity":{"id":1829,"clientId":162,"number":"001779","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-05-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1832,"type":"service","label":"PREMIUM 01\/04\/2025 \u2013 30\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":128,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Edward","clientLastName":"Elric","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"76 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-06 6:25:05.494497] [debug] Factura vencida - -[2025-05-06 6:25:05.494544] [debug] datos del notification para el invoice overdue:{"uuid":"663faa85-72f8-4fce-89a9-7c397ce41260","changeType":"overdue","entity":"invoice","entityId":1829,"message":null,"clientId":162,"eventName":"invoice.overdue","clientData":{"id":162,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":"2025-01-10T10:32:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Edward","lastName":"Elric","username":null,"contacts":[{"id":166,"clientId":162,"email":"eduardelric@gmail.com","phone":"5214181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":159,"clientId":162,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"434876867834423324","clientZoneVisible":true},{"id":160,"clientId":162,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RYsuykCEvupaGF","clientZoneVisible":true},{"id":161,"clientId":162,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180599808752427","clientZoneVisible":true}],"accountBalance":-1616.67,"accountCredit":0,"accountOutstanding":1616.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d84315","addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1829,"clientId":162,"number":"001779","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-05-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1832,"type":"service","label":"PREMIUM 01\/04\/2025 \u2013 30\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":128,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Edward","clientLastName":"Elric","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"76 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-05-06 6:25:05.494570] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-05-06 6:25:05.494628] [debug] Numero de cel obtenido - -[2025-05-06 6:25:05.494641] [warning] No se encontró un teléfono celular válido para el cliente: 162 -[2025-05-06 6:25:05.606978] [notice] Logging level set to:debug -[2025-05-06 6:25:05.607050] [debug] valor del webhook: {"uuid":"dc3b3322-84a5-4a3c-85af-faf252e8cd61","changeType":"overdue","entity":"invoice","entityId":"1831","eventName":"invoice.overdue","extraData":{"entity":{"id":1831,"clientId":133,"number":"001781","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-05-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1834,"type":"service","label":"INTERMEDIO 21\/03\/2025 \u2013 20\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":114,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Los Amigos","clientLastName":"Invisibles","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-06 6:25:05.741216] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-05-06 6:25:05.741269] [debug] Valor de JSON: {"uuid":"dc3b3322-84a5-4a3c-85af-faf252e8cd61","changeType":"overdue","entity":"invoice","entityId":"1831","eventName":"invoice.overdue","extraData":{"entity":{"id":1831,"clientId":133,"number":"001781","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-05-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1834,"type":"service","label":"INTERMEDIO 21\/03\/2025 \u2013 20\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":114,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Los Amigos","clientLastName":"Invisibles","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-06 6:25:05.741379] [debug] Factura vencida - -[2025-05-06 6:25:05.741425] [debug] datos del notification para el invoice overdue:{"uuid":"dc3b3322-84a5-4a3c-85af-faf252e8cd61","changeType":"overdue","entity":"invoice","entityId":1831,"message":null,"clientId":133,"eventName":"invoice.overdue","clientData":{"id":133,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 34, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Los Amigos","lastName":"Invisibles","username":null,"contacts":[{"id":137,"clientId":133,"email":"amigosinvisibles@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":135,"clientId":133,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJjZqeaZSSPwcT","clientZoneVisible":true},{"id":136,"clientId":133,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180822750421052","clientZoneVisible":true}],"accountBalance":-4833.33,"accountCredit":0,"accountOutstanding":4833.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1568888,"addressGpsLon":-100.9275759,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1831,"clientId":133,"number":"001781","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-05-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1834,"type":"service","label":"INTERMEDIO 21\/03\/2025 \u2013 20\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":114,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Los Amigos","clientLastName":"Invisibles","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-05-06 6:25:05.741445] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-05-06 6:25:05.741503] [debug] Numero de cel obtenido - -[2025-05-06 6:25:05.741516] [warning] No se encontró un teléfono celular válido para el cliente: 133 -[2025-05-06 6:25:05.853667] [notice] Logging level set to:debug -[2025-05-06 6:25:05.853775] [debug] valor del webhook: {"uuid":"233cc8a2-4d4a-4ed1-af0e-434fc9679d60","changeType":"overdue","entity":"invoice","entityId":"1834","eventName":"invoice.overdue","extraData":{"entity":{"id":1834,"clientId":105,"number":"001784","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1837,"type":"service","label":"plan300 21\/03\/2025 \u2013 20\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":111,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"jota","clientLastName":"serpiente","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":null,"clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-06 6:25:05.988316] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-05-06 6:25:05.988369] [debug] Valor de JSON: {"uuid":"233cc8a2-4d4a-4ed1-af0e-434fc9679d60","changeType":"overdue","entity":"invoice","entityId":"1834","eventName":"invoice.overdue","extraData":{"entity":{"id":1834,"clientId":105,"number":"001784","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1837,"type":"service","label":"plan300 21\/03\/2025 \u2013 20\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":111,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"jota","clientLastName":"serpiente","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":null,"clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-06 6:25:05.988487] [debug] Factura vencida - -[2025-05-06 6:25:05.988523] [debug] datos del notification para el invoice overdue:{"uuid":"233cc8a2-4d4a-4ed1-af0e-434fc9679d60","changeType":"overdue","entity":"invoice","entityId":1834,"message":null,"clientId":105,"eventName":"invoice.overdue","clientData":{"id":105,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":null,"countryId":173,"stateId":null,"zipCode":null,"fullAddress":null,"invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-02-17T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"jota","lastName":"serpiente","username":null,"contacts":[{"id":109,"clientId":105,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3200,"accountCredit":0,"accountOutstanding":3200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4527a0","addressGpsLat":null,"addressGpsLon":null,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1834,"clientId":105,"number":"001784","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-04-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1837,"type":"service","label":"plan300 21\/03\/2025 \u2013 20\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":111,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"jota","clientLastName":"serpiente","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":null,"clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-05-06 6:25:05.988542] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -contac vacio -[2025-05-06 6:25:05.988647] [debug] Numero de cel obtenido - -[2025-05-06 6:25:05.988660] [warning] No se encontró un teléfono celular válido para el cliente: 105 -[2025-05-06 6:25:06.106487] [notice] Logging level set to:debug -[2025-05-06 6:25:06.106547] [debug] valor del webhook: {"uuid":"7b832048-cb65-489d-bfa8-da68fe54d5a1","changeType":"overdue","entity":"invoice","entityId":"1823","eventName":"invoice.overdue","extraData":{"entity":{"id":1823,"clientId":129,"number":"001773","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-05-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1826,"type":"service","label":"INTERMEDIO 01\/04\/2025 \u2013 30\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":117,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Loco","clientLastName":"Valdez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-06 6:25:06.267421] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-05-06 6:25:06.267474] [debug] Valor de JSON: {"uuid":"7b832048-cb65-489d-bfa8-da68fe54d5a1","changeType":"overdue","entity":"invoice","entityId":"1823","eventName":"invoice.overdue","extraData":{"entity":{"id":1823,"clientId":129,"number":"001773","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-05-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1826,"type":"service","label":"INTERMEDIO 01\/04\/2025 \u2013 30\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":117,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Loco","clientLastName":"Valdez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-06 6:25:06.267601] [debug] Factura vencida - -[2025-05-06 6:25:06.267642] [debug] datos del notification para el invoice overdue:{"uuid":"7b832048-cb65-489d-bfa8-da68fe54d5a1","changeType":"overdue","entity":"invoice","entityId":1823,"message":null,"clientId":129,"eventName":"invoice.overdue","clientData":{"id":129,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-17T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Loco","lastName":"Valdez","username":null,"contacts":[{"id":133,"clientId":129,"email":"pepepeltoro141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":133,"clientId":129,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJSCgri287Ic0V","clientZoneVisible":true},{"id":134,"clientId":129,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180966482840265","clientZoneVisible":true}],"accountBalance":-2250,"accountCredit":0,"accountOutstanding":2250,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00897b","addressGpsLat":21.1608752,"addressGpsLon":-100.935835,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1823,"clientId":129,"number":"001773","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-05-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1826,"type":"service","label":"INTERMEDIO 01\/04\/2025 \u2013 30\/04\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":117,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Loco","clientLastName":"Valdez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-05-06 6:25:06.267661] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-05-06 6:25:06.267735] [debug] Numero de cel obtenido - -[2025-05-06 6:25:06.267746] [warning] No se encontró un teléfono celular válido para el cliente: 129 -[2025-05-06 6:25:06.381624] [notice] Logging level set to:debug -[2025-05-06 6:25:06.381738] [debug] valor del webhook: {"uuid":"18c6c8d6-5aca-4bc9-9fac-33b4f1a4c707","changeType":"overdue","entity":"invoice","entityId":"1832","eventName":"invoice.overdue","extraData":{"entity":{"id":1832,"clientId":112,"number":"001782","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-05-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1835,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":153,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Do\u00f1a petra","clientLastName":"Gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Tamaulipas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-06 6:25:06.524580] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-05-06 6:25:06.524632] [debug] Valor de JSON: {"uuid":"18c6c8d6-5aca-4bc9-9fac-33b4f1a4c707","changeType":"overdue","entity":"invoice","entityId":"1832","eventName":"invoice.overdue","extraData":{"entity":{"id":1832,"clientId":112,"number":"001782","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-05-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1835,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":153,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Do\u00f1a petra","clientLastName":"Gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Tamaulipas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-06 6:25:06.527543] [debug] Factura vencida - -[2025-05-06 6:25:06.527626] [debug] datos del notification para el invoice overdue:{"uuid":"18c6c8d6-5aca-4bc9-9fac-33b4f1a4c707","changeType":"overdue","entity":"invoice","entityId":1832,"message":null,"clientId":112,"eventName":"invoice.overdue","clientData":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}],"accountBalance":-510,"accountCredit":0,"accountOutstanding":510,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1832,"clientId":112,"number":"001782","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-05-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1835,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":153,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Do\u00f1a petra","clientLastName":"Gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Tamaulipas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-05-06 6:25:06.527651] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-05-06 6:25:06.527741] [debug] Numero de cel obtenido - -[2025-05-06 6:25:06.527755] [warning] No se encontró un teléfono celular válido para el cliente: 112 -[2025-05-06 6:25:06.637787] [notice] Logging level set to:debug -[2025-05-06 6:25:06.637841] [debug] valor del webhook: {"uuid":"fc4e5182-a1c5-411d-b039-b13818755635","changeType":"overdue","entity":"invoice","entityId":"1833","eventName":"invoice.overdue","extraData":{"entity":{"id":1833,"clientId":141,"number":"001783","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-05-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1836,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":135,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Caim\u00e1n","clientLastName":"Dorado","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-06 6:25:06.785134] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-05-06 6:25:06.785185] [debug] Valor de JSON: {"uuid":"fc4e5182-a1c5-411d-b039-b13818755635","changeType":"overdue","entity":"invoice","entityId":"1833","eventName":"invoice.overdue","extraData":{"entity":{"id":1833,"clientId":141,"number":"001783","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-05-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1836,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":135,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Caim\u00e1n","clientLastName":"Dorado","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-06 6:25:06.785289] [debug] Factura vencida - -[2025-05-06 6:25:06.785326] [debug] datos del notification para el invoice overdue:{"uuid":"fc4e5182-a1c5-411d-b039-b13818755635","changeType":"overdue","entity":"invoice","entityId":1833,"message":null,"clientId":141,"eventName":"invoice.overdue","clientData":{"id":141,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Caim\u00e1n","lastName":"Dorado","username":null,"contacts":[{"id":145,"clientId":141,"email":"caimangolden@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-870,"accountCredit":0,"accountOutstanding":870,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#43a047","addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1833,"clientId":141,"number":"001783","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-05-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1836,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":135,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Caim\u00e1n","clientLastName":"Dorado","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-05-06 6:25:06.785345] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-05-06 6:25:06.785398] [debug] Numero de cel obtenido - -[2025-05-06 6:25:06.785408] [warning] No se encontró un teléfono celular válido para el cliente: 141 -[2025-05-06 6:25:06.894673] [notice] Logging level set to:debug -[2025-05-06 6:25:06.894774] [debug] valor del webhook: {"uuid":"342f31d8-2d8e-4c4f-9976-a873a4b5068c","changeType":"overdue","entity":"invoice","entityId":"1835","eventName":"invoice.overdue","extraData":{"entity":{"id":1835,"clientId":148,"number":"001785","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-05-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1838,"type":"service","label":"plan300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-06 6:25:07.052725] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-05-06 6:25:07.052788] [debug] Valor de JSON: {"uuid":"342f31d8-2d8e-4c4f-9976-a873a4b5068c","changeType":"overdue","entity":"invoice","entityId":"1835","eventName":"invoice.overdue","extraData":{"entity":{"id":1835,"clientId":148,"number":"001785","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-05-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1838,"type":"service","label":"plan300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-06 6:25:07.052902] [debug] Factura vencida - -[2025-05-06 6:25:07.052946] [debug] datos del notification para el invoice overdue:{"uuid":"342f31d8-2d8e-4c4f-9976-a873a4b5068c","changeType":"overdue","entity":"invoice","entityId":1835,"message":null,"clientId":148,"eventName":"invoice.overdue","clientData":{"id":148,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"24 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-08-19T00:00:00-0600","leadConvertedAt":"2024-08-19T15:08:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El AR","lastName":"Real 3D","username":null,"contacts":[{"id":152,"clientId":148,"email":"elarquijuve@gmail.com","phone":"41818781806","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":147,"clientId":148,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Qh0pTQM9a96D8B","clientZoneVisible":true},{"id":148,"clientId":148,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180834778043086","clientZoneVisible":true},{"id":151,"clientId":148,"customAttributeId":8,"name":"conekta","key":"conekta","value":"aasdad","clientZoneVisible":true}],"accountBalance":-900,"accountCredit":0,"accountOutstanding":900,"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":1835,"clientId":148,"number":"001785","createdDate":"2025-04-21T10:00:01-0600","dueDate":"2025-05-05T10:00:01-0600","emailSentDate":"2025-05-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1838,"type":"service","label":"plan300 01\/04\/2025 \u2013 30\/04\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-05-06 6:25:07.052966] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-05-06 6:25:07.053020] [debug] Numero de cel obtenido - -[2025-05-06 6:25:07.053030] [warning] No se encontró un teléfono celular válido para el cliente: 148 -[2025-05-06 18:30:03.739345] [notice] Logging level set to:debug -[2025-05-06 18:30:03.740334] [debug] valor del webhook: {"uuid":"9ed116e6-f1a2-4311-8938-891db9ad6954","changeType":"suspend","entity":"service","entityId":"148","eventName":"service.suspend","extraData":{"entity":{"id":148,"prepaid":false,"clientId":138,"status":3,"name":"Basico 300","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-03-24T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"d1c0d0df-8451-431d-86a2-35eb618d427c","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":163,"startDate":"2025-05-06T12:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":148,"prepaid":false,"clientId":138,"status":1,"name":"Basico 300","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-03-24T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"d1c0d0df-8451-431d-86a2-35eb618d427c","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":163,"startDate":"2025-05-06T12:30:02-0600","endDate":null}],"surcharges":[]}}} - -[2025-05-06 18:30:03.977930] [debug] valor el evento recibido por webhook: service.suspend - -[2025-05-06 18:30:03.978014] [debug] Valor de JSON: {"uuid":"9ed116e6-f1a2-4311-8938-891db9ad6954","changeType":"suspend","entity":"service","entityId":"148","eventName":"service.suspend","extraData":{"entity":{"id":148,"prepaid":false,"clientId":138,"status":3,"name":"Basico 300","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-03-24T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"d1c0d0df-8451-431d-86a2-35eb618d427c","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":163,"startDate":"2025-05-06T12:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":148,"prepaid":false,"clientId":138,"status":1,"name":"Basico 300","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-03-24T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"d1c0d0df-8451-431d-86a2-35eb618d427c","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":163,"startDate":"2025-05-06T12:30:02-0600","endDate":null}],"surcharges":[]}}} - -[2025-05-06 18:30:03.978676] [debug] Se suspendió el servicio a un cliente - -[2025-05-06 18:30:03.981050] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-05-06 18:30:03.981097] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-05-06 18:30:03.981147] [info] {"uuid":"9ed116e6-f1a2-4311-8938-891db9ad6954","changeType":"suspend","entity":"service","entityId":148,"message":null,"clientId":138,"eventName":"service.suspend","clientData":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":186,"clientId":138,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0ELEIMpRfdeLs","clientZoneVisible":true},{"id":187,"clientId":138,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180174170666420","clientZoneVisible":true}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":148,"prepaid":false,"clientId":138,"status":3,"name":"Basico 300","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-03-24T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"d1c0d0df-8451-431d-86a2-35eb618d427c","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":163,"startDate":"2025-05-06T00:00:00-0600","endDate":null}],"surcharges":[],"stopReason":"Payments overdue"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Mofles El Ruco Lopez - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Mofles El Ruco Lopez","custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 06\/05\/2025 12:30"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Mofles El Ruco Lopez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Domicilio":"📍 CALLE CHIAPAS #31, ZONA CENTRO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Fecha Ultima Actualizacion":"📆🔄️ 06/05/2025 12:30","Monto Ultimo Pago":"💲 ","URL":"🌐 https://sistema.siip.mx/crm/client/3201","Clabe Interbancaria":"124180650741646979","Cliente":"3201","Estado":"🟠 Suspendido","Nombre":"👤 DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY","Resumen":"{\"Cliente\": \"3201\",\"Domicilio\": \"\"Nombre\": \"DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY\",\"URL\": \"https://sistema.siip.mx/crm/client/3201\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 28/04/2025 14:20 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"28/04/2025 08:20\",\"Clabe Interbancaria\": \"124180650741646979\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Fecha Ultimo Pago":"📆💸 28/04/2025 14:20 con Desconocido, revisar metodos de pago no contemplados"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-05-06 18:30:05.943552] [notice] Logging level set to:debug -[2025-05-06 18:30:05.943722] [debug] valor del webhook: {"uuid":"6ac2c4c8-71bf-44e9-846a-11acbecfc935","changeType":"edit","entity":"service","entityId":"148","eventName":"service.edit","extraData":{"entity":{"id":148,"prepaid":false,"clientId":138,"status":3,"name":"Basico 300","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-03-24T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"d1c0d0df-8451-431d-86a2-35eb618d427c","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":163,"startDate":"2025-05-06T12:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":148,"prepaid":false,"clientId":138,"status":1,"name":"Basico 300","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-03-24T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"d1c0d0df-8451-431d-86a2-35eb618d427c","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":163,"startDate":"2025-05-06T12:30:02-0600","endDate":null}],"surcharges":[]}}} - -[2025-05-06 18:30:06.122919] [debug] valor el evento recibido por webhook: service.edit - -[2025-05-06 18:30:06.123100] [debug] Valor de JSON: {"uuid":"6ac2c4c8-71bf-44e9-846a-11acbecfc935","changeType":"edit","entity":"service","entityId":"148","eventName":"service.edit","extraData":{"entity":{"id":148,"prepaid":false,"clientId":138,"status":3,"name":"Basico 300","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-03-24T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"d1c0d0df-8451-431d-86a2-35eb618d427c","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":163,"startDate":"2025-05-06T12:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":148,"prepaid":false,"clientId":138,"status":1,"name":"Basico 300","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-03-24T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"d1c0d0df-8451-431d-86a2-35eb618d427c","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":163,"startDate":"2025-05-06T12:30:02-0600","endDate":null}],"surcharges":[]}}} - -[2025-05-06 18:30:06.123239] [debug] Se editó el servicio a un cliente - -[2025-05-06 18:30:06.123303] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-05-06 18:30:06.123343] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-05-06 18:30:06.123409] [info] {"uuid":"6ac2c4c8-71bf-44e9-846a-11acbecfc935","changeType":"edit","entity":"service","entityId":148,"message":null,"clientId":138,"eventName":"service.edit","clientData":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":186,"clientId":138,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0ELEIMpRfdeLs","clientZoneVisible":true},{"id":187,"clientId":138,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180174170666420","clientZoneVisible":true}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":148,"prepaid":false,"clientId":138,"status":3,"name":"Basico 300","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-03-24T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-24T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"d1c0d0df-8451-431d-86a2-35eb618d427c","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":163,"startDate":"2025-05-06T00:00:00-0600","endDate":null}],"surcharges":[],"stopReason":"Payments overdue"},"invoiceData":null,"paymentData":null} - -Actualizando estado del servicio - -Nombre del cliente al que se va a actualizar el estado del servicio: Mofles El Ruco Lopez - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Mofles El Ruco Lopez","custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 06\/05\/2025 12:30"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Mofles El Ruco Lopez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲0 está al corriente","user name":"Daniel Humberto 🐁","Domicilio":"📍 CALLE CHIAPAS #31, ZONA CENTRO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Fecha Ultima Actualizacion":"📆🔄️ 06/05/2025 12:30","Monto Ultimo Pago":"💲 ","URL":"🌐 https://sistema.siip.mx/crm/client/3201","Clabe Interbancaria":"124180650741646979","Cliente":"3201","Estado":"🟠 Suspendido","Nombre":"👤 DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY","Resumen":"{\"Cliente\": \"3201\",\"Domicilio\": \"\"Nombre\": \"DANIEL HUMBERTO SOTO VILLEGAS ALIAS MAY\",\"URL\": \"https://sistema.siip.mx/crm/client/3201\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 28/04/2025 14:20 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"28/04/2025 08:20\",\"Clabe Interbancaria\": \"124180650741646979\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Fecha Ultimo Pago":"📆💸 28/04/2025 14:20 con Desconocido, revisar metodos de pago no contemplados"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-05-07 16:00:04.868866] [notice] Logging level set to:debug -[2025-05-07 16:00:04.868968] [debug] valor del webhook: {"uuid":"5efae6fa-476c-4565-9534-92911c7e8c4e","changeType":"insert","entity":"invoice","entityId":"1936","eventName":"invoice.add_draft","extraData":{"entity":{"id":1936,"clientId":116,"number":"001886","createdDate":"2025-05-07T10:00:01-0600","dueDate":"2025-05-21T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-06T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1939,"type":"service","label":"PREMIUM 07\/04\/2025 \u2013 06\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":110,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jos\u00e9 Humberto","clientLastName":"Rodr\u00edguez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"28 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-07 16:00:05.099097] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-05-07 16:00:05.099152] [debug] Valor de JSON: {"uuid":"5efae6fa-476c-4565-9534-92911c7e8c4e","changeType":"insert","entity":"invoice","entityId":"1936","eventName":"invoice.add_draft","extraData":{"entity":{"id":1936,"clientId":116,"number":"001886","createdDate":"2025-05-07T10:00:01-0600","dueDate":"2025-05-21T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-06T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1939,"type":"service","label":"PREMIUM 07\/04\/2025 \u2013 06\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":110,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jos\u00e9 Humberto","clientLastName":"Rodr\u00edguez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"28 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-07 16:00:05.099368] [debug] Adición de borrador de Factura - -[2025-05-07 16:00:05.099421] [debug] {"uuid":"5efae6fa-476c-4565-9534-92911c7e8c4e","changeType":"insert","entity":"invoice","entityId":1936,"message":null,"clientId":116,"eventName":"invoice.add_draft","clientData":{"id":116,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"28 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 28, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jos\u00e9 Humberto","lastName":"Rodr\u00edguez","username":null,"contacts":[{"id":120,"clientId":116,"email":"josehumberto@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-7700,"accountCredit":0,"accountOutstanding":7700,"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":1936,"clientId":116,"number":"001886","createdDate":"2025-05-07T10:00:01-0600","dueDate":"2025-05-21T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1939,"type":"service","label":"PREMIUM 07\/04\/2025 \u2013 06\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":110,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jos\u00e9 Humberto","clientLastName":"Rodr\u00edguez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"28 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-05-07 16:00:05.099499] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-05-07 16:00:05.099510] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"5efae6fa-476c-4565-9534-92911c7e8c4e","changeType":"insert","entity":"invoice","entityId":1936,"message":null,"clientId":116,"eventName":"invoice.add_draft","clientData":{"id":116,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"28 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 28, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jos\u00e9 Humberto","lastName":"Rodr\u00edguez","username":null,"contacts":[{"id":120,"clientId":116,"email":"josehumberto@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-7700,"accountCredit":0,"accountOutstanding":7700,"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":1936,"clientId":116,"number":"001886","createdDate":"2025-05-07T10:00:01-0600","dueDate":"2025-05-21T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1939,"type":"service","label":"PREMIUM 07\/04\/2025 \u2013 06\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":110,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jos\u00e9 Humberto","clientLastName":"Rodr\u00edguez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"28 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: José Humberto Rodríguez - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Jos\u00e9 Humberto Rodr\u00edguez","custom_fields":{"Cliente":116,"Domicilio":"\ud83d\udccd Chiapas 28, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Jos\u00e9 Humberto Rodr\u00edguez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/116","Saldo Actual":"\ud83d\udcb27700 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"116\",\"Domicilio\": \"\"Nombre\": \"Jos\u00e9 Humberto Rodr\u00edguez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/116\",\"Saldo Actual\": \"\ud83d\udcb27700 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07\/05\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"07\/05\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/05\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 07\/05\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "116","Domicilio": ""Nombre": "José Humberto Rodríguez","URL": "https://sistema.siip.mx/crm/client/116","Saldo Actual": "💲7700 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 07/05/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "07/05/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"José Humberto Rodríguez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲7700 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 28, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 07/05/2025 10:00","Monto Ultimo Pago":"💲 ","URL":"🌐 https://sistema.siip.mx/crm/client/116","Clabe Interbancaria":"124180650741646979","Cliente":"116","Estado":"🔴 Suspendido","Nombre":"👤 José Humberto Rodríguez","Fecha Ultimo Pago":"📆💸 07/05/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Resumen":"{\"Cliente\": \"116\",\"Domicilio\": \"\"Nombre\": \"José Humberto Rodríguez\",\"URL\": \"https://sistema.siip.mx/crm/client/116\",\"Saldo Actual\": \"💲7700 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/05/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"07/05/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"José Humberto Rodríguez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲7700 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 28, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 07/05/2025 10:00","Monto Ultimo Pago":"💲 ","URL":"🌐 https://sistema.siip.mx/crm/client/116","Clabe Interbancaria":"124180650741646979","Cliente":"116","Estado":"🔴 Suspendido","Nombre":"👤 José Humberto Rodríguez","Fecha Ultimo Pago":"📆💸 07/05/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Resumen":"{\"Cliente\": \"116\",\"Domicilio\": \"\"Nombre\": \"José Humberto Rodríguez\",\"URL\": \"https://sistema.siip.mx/crm/client/116\",\"Saldo Actual\": \"💲7700 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/05/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"07/05/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-05-07 16:00:08.196904] [notice] Logging level set to:debug -[2025-05-07 16:00:08.197001] [debug] valor del webhook: {"uuid":"63e49d87-ab6a-47c6-897f-d5747fb2536f","changeType":"draft_approved","entity":"invoice","entityId":"1936","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1936,"clientId":116,"number":"001886","createdDate":"2025-05-07T10:00:01-0600","dueDate":"2025-05-21T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-06T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1939,"type":"service","label":"PREMIUM 07\/04\/2025 \u2013 06\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":110,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jos\u00e9 Humberto","clientLastName":"Rodr\u00edguez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"28 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-07 16:00:08.351943] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-05-07 16:00:08.351994] [debug] Valor de JSON: {"uuid":"63e49d87-ab6a-47c6-897f-d5747fb2536f","changeType":"draft_approved","entity":"invoice","entityId":"1936","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1936,"clientId":116,"number":"001886","createdDate":"2025-05-07T10:00:01-0600","dueDate":"2025-05-21T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-06T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1939,"type":"service","label":"PREMIUM 07\/04\/2025 \u2013 06\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":110,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jos\u00e9 Humberto","clientLastName":"Rodr\u00edguez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"28 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-07 16:00:08.352101] [debug] Aprobación de Factura - -[2025-05-07 16:00:08.352143] [debug] {"uuid":"63e49d87-ab6a-47c6-897f-d5747fb2536f","changeType":"draft_approved","entity":"invoice","entityId":1936,"message":null,"clientId":116,"eventName":"invoice.draft_approved","clientData":{"id":116,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"28 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 28, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jos\u00e9 Humberto","lastName":"Rodr\u00edguez","username":null,"contacts":[{"id":120,"clientId":116,"email":"josehumberto@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-7700,"accountCredit":0,"accountOutstanding":7700,"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":1936,"clientId":116,"number":"001886","createdDate":"2025-05-07T10:00:01-0600","dueDate":"2025-05-21T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1939,"type":"service","label":"PREMIUM 07\/04\/2025 \u2013 06\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":110,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jos\u00e9 Humberto","clientLastName":"Rodr\u00edguez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"28 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-05-07 16:00:08.352185] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-05-07 16:00:08.352195] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"63e49d87-ab6a-47c6-897f-d5747fb2536f","changeType":"draft_approved","entity":"invoice","entityId":1936,"message":null,"clientId":116,"eventName":"invoice.draft_approved","clientData":{"id":116,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"28 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 28, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jos\u00e9 Humberto","lastName":"Rodr\u00edguez","username":null,"contacts":[{"id":120,"clientId":116,"email":"josehumberto@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-7700,"accountCredit":0,"accountOutstanding":7700,"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":1936,"clientId":116,"number":"001886","createdDate":"2025-05-07T10:00:01-0600","dueDate":"2025-05-21T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1939,"type":"service","label":"PREMIUM 07\/04\/2025 \u2013 06\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":110,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jos\u00e9 Humberto","clientLastName":"Rodr\u00edguez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"28 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: José Humberto Rodríguez - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Jos\u00e9 Humberto Rodr\u00edguez","custom_fields":{"Cliente":116,"Domicilio":"\ud83d\udccd Chiapas 28, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Jos\u00e9 Humberto Rodr\u00edguez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/116","Saldo Actual":"\ud83d\udcb27700 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"116\",\"Domicilio\": \"\"Nombre\": \"Jos\u00e9 Humberto Rodr\u00edguez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/116\",\"Saldo Actual\": \"\ud83d\udcb27700 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07\/05\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"07\/05\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/05\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 07\/05\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "116","Domicilio": ""Nombre": "José Humberto Rodríguez","URL": "https://sistema.siip.mx/crm/client/116","Saldo Actual": "💲7700 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 07/05/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "07/05/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"José Humberto Rodríguez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲7700 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 28, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 07/05/2025 10:00","Monto Ultimo Pago":"💲 ","URL":"🌐 https://sistema.siip.mx/crm/client/116","Clabe Interbancaria":"124180650741646979","Cliente":"116","Estado":"🔴 Suspendido","Nombre":"👤 José Humberto Rodríguez","Fecha Ultimo Pago":"📆💸 07/05/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Resumen":"{\"Cliente\": \"116\",\"Domicilio\": \"\"Nombre\": \"José Humberto Rodríguez\",\"URL\": \"https://sistema.siip.mx/crm/client/116\",\"Saldo Actual\": \"💲7700 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/05/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"07/05/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"José Humberto Rodríguez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲7700 pendientes","user name":"Daniel Humberto 🐁","Domicilio":"📍 Chiapas 28, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultima Actualizacion":"📆🔄️ 07/05/2025 10:00","Monto Ultimo Pago":"💲 ","URL":"🌐 https://sistema.siip.mx/crm/client/116","Clabe Interbancaria":"124180650741646979","Cliente":"116","Estado":"🔴 Suspendido","Nombre":"👤 José Humberto Rodríguez","Fecha Ultimo Pago":"📆💸 07/05/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Resumen":"{\"Cliente\": \"116\",\"Domicilio\": \"\"Nombre\": \"José Humberto Rodríguez\",\"URL\": \"https://sistema.siip.mx/crm/client/116\",\"Saldo Actual\": \"💲7700 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/05/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"07/05/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-05-07 16:00:11.036046] [notice] Logging level set to:debug -[2025-05-07 16:00:11.036104] [debug] valor del webhook: {"uuid":"07291ca9-77c5-43de-bd38-ba851381c738","changeType":"insert","entity":"invoice","entityId":"1937","eventName":"invoice.add_draft","extraData":{"entity":{"id":1937,"clientId":110,"number":"001887","createdDate":"2025-05-07T10:00:01-0600","dueDate":"2025-05-21T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-06T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1940,"type":"service","label":"plan300 07\/04\/2025 \u2013 06\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":109,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Maria la del Barrio","clientLastName":"Soy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"67 Morelos","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37805","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-07 16:00:11.178024] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-05-07 16:00:11.178077] [debug] Valor de JSON: {"uuid":"07291ca9-77c5-43de-bd38-ba851381c738","changeType":"insert","entity":"invoice","entityId":"1937","eventName":"invoice.add_draft","extraData":{"entity":{"id":1937,"clientId":110,"number":"001887","createdDate":"2025-05-07T10:00:01-0600","dueDate":"2025-05-21T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-06T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1940,"type":"service","label":"plan300 07\/04\/2025 \u2013 06\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":109,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Maria la del Barrio","clientLastName":"Soy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"67 Morelos","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37805","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-07 16:00:11.178191] [debug] Adición de borrador de Factura - -[2025-05-07 16:00:11.178234] [debug] {"uuid":"07291ca9-77c5-43de-bd38-ba851381c738","changeType":"insert","entity":"invoice","entityId":1937,"message":null,"clientId":110,"eventName":"invoice.add_draft","clientData":{"id":110,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"67 Morelos","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37805","fullAddress":"Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-23T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Maria la del Barrio","lastName":"Soy","username":null,"contacts":[{"id":114,"clientId":110,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-3000,"accountCredit":0,"accountOutstanding":3000,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef6c00","addressGpsLat":21.1464449,"addressGpsLon":-100.9141442,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1937,"clientId":110,"number":"001887","createdDate":"2025-05-07T10:00:01-0600","dueDate":"2025-05-21T10:00:01-0600","emailSentDate":"2025-05-07T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1940,"type":"service","label":"plan300 07\/04\/2025 \u2013 06\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":109,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Maria la del Barrio","clientLastName":"Soy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"67 Morelos","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37805","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-05-07 16:00:11.178276] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-05-07 16:00:11.178286] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"07291ca9-77c5-43de-bd38-ba851381c738","changeType":"insert","entity":"invoice","entityId":1937,"message":null,"clientId":110,"eventName":"invoice.add_draft","clientData":{"id":110,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"67 Morelos","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37805","fullAddress":"Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-23T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Maria la del Barrio","lastName":"Soy","username":null,"contacts":[{"id":114,"clientId":110,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-3000,"accountCredit":0,"accountOutstanding":3000,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef6c00","addressGpsLat":21.1464449,"addressGpsLon":-100.9141442,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1937,"clientId":110,"number":"001887","createdDate":"2025-05-07T10:00:01-0600","dueDate":"2025-05-21T10:00:01-0600","emailSentDate":"2025-05-07T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1940,"type":"service","label":"plan300 07\/04\/2025 \u2013 06\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":109,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Maria la del Barrio","clientLastName":"Soy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"67 Morelos","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37805","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":615,"clientId":110,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-07T12:47:38-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-04-07T12:47:39-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":712,"invoiceId":1812,"paymentId":615,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Maria la del Barrio Soy - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Maria la del Barrio Soy","custom_fields":{"Cliente":110,"Domicilio":"\ud83d\udccd Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Maria la del Barrio Soy","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/110","Saldo Actual":"\ud83d\udcb23000 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"110\",\"Domicilio\": \"\"Nombre\": \"Maria la del Barrio Soy\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/110\",\"Saldo Actual\": \"\ud83d\udcb23000 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07\/04\/2025 12:47 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"07\/05\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/04\/2025 12:47 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 07\/05\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "110","Domicilio": ""Nombre": "Maria la del Barrio Soy","URL": "https://sistema.siip.mx/crm/client/110","Saldo Actual": "💲3000 pendientes","Monto Ultimo Pago": "$ 300","Estado": "Suspendido","Fecha Ultimo Pago": " 07/04/2025 12:47 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "07/05/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Maria la del Barrio Soy","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲3000 pendientes","user name":"Daniel Humberto 🐁","Fecha Ultima Actualizacion":"📆🔄️ 07/05/2025 10:00","Monto Ultimo Pago":"💲 300","URL":"🌐 https://sistema.siip.mx/crm/client/110","Clabe Interbancaria":"124180650741646979","Cliente":"110","Estado":"🔴 Suspendido","Nombre":"👤 Maria la del Barrio Soy","Resumen":"{\"Cliente\": \"110\",\"Domicilio\": \"\"Nombre\": \"Maria la del Barrio Soy\",\"URL\": \"https://sistema.siip.mx/crm/client/110\",\"Saldo Actual\": \"💲3000 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/04/2025 12:47 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"07/05/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Domicilio":"📍 Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 07/04/2025 12:47 con Tarjeta de crédito Stripe 💳"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Maria la del Barrio Soy","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲3000 pendientes","user name":"Daniel Humberto 🐁","Fecha Ultima Actualizacion":"📆🔄️ 07/05/2025 10:00","Monto Ultimo Pago":"💲 300","URL":"🌐 https://sistema.siip.mx/crm/client/110","Clabe Interbancaria":"124180650741646979","Cliente":"110","Estado":"🔴 Suspendido","Nombre":"👤 Maria la del Barrio Soy","Resumen":"{\"Cliente\": \"110\",\"Domicilio\": \"\"Nombre\": \"Maria la del Barrio Soy\",\"URL\": \"https://sistema.siip.mx/crm/client/110\",\"Saldo Actual\": \"💲3000 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/04/2025 12:47 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"07/05/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Domicilio":"📍 Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 07/04/2025 12:47 con Tarjeta de crédito Stripe 💳"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-05-07 16:00:13.813441] [notice] Logging level set to:debug -[2025-05-07 16:00:13.813580] [debug] valor del webhook: {"uuid":"fdb96775-2edc-46d4-8e7a-63f96abad883","changeType":"draft_approved","entity":"invoice","entityId":"1937","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1937,"clientId":110,"number":"001887","createdDate":"2025-05-07T10:00:01-0600","dueDate":"2025-05-21T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-06T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1940,"type":"service","label":"plan300 07\/04\/2025 \u2013 06\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":109,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Maria la del Barrio","clientLastName":"Soy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"67 Morelos","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37805","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-07 16:00:13.952905] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-05-07 16:00:13.952955] [debug] Valor de JSON: {"uuid":"fdb96775-2edc-46d4-8e7a-63f96abad883","changeType":"draft_approved","entity":"invoice","entityId":"1937","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1937,"clientId":110,"number":"001887","createdDate":"2025-05-07T10:00:01-0600","dueDate":"2025-05-21T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-06T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1940,"type":"service","label":"plan300 07\/04\/2025 \u2013 06\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":109,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Maria la del Barrio","clientLastName":"Soy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"67 Morelos","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37805","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-07 16:00:13.953052] [debug] Aprobación de Factura - -[2025-05-07 16:00:13.953134] [debug] {"uuid":"fdb96775-2edc-46d4-8e7a-63f96abad883","changeType":"draft_approved","entity":"invoice","entityId":1937,"message":null,"clientId":110,"eventName":"invoice.draft_approved","clientData":{"id":110,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"67 Morelos","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37805","fullAddress":"Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-23T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Maria la del Barrio","lastName":"Soy","username":null,"contacts":[{"id":114,"clientId":110,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-3000,"accountCredit":0,"accountOutstanding":3000,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef6c00","addressGpsLat":21.1464449,"addressGpsLon":-100.9141442,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1937,"clientId":110,"number":"001887","createdDate":"2025-05-07T10:00:01-0600","dueDate":"2025-05-21T10:00:01-0600","emailSentDate":"2025-05-07T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1940,"type":"service","label":"plan300 07\/04\/2025 \u2013 06\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":109,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Maria la del Barrio","clientLastName":"Soy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"67 Morelos","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37805","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-05-07 16:00:13.953167] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-05-07 16:00:13.953176] [info] Tipo de contacto normalizado: 'whatsapp' -[2025-05-09 6:25:02.629626] [notice] Logging level set to:debug -[2025-05-09 6:25:02.629720] [debug] valor del webhook: {"uuid":"38d56ae0-8264-44dd-837f-64f513d7f1ea","changeType":"overdue","entity":"invoice","entityId":"1836","eventName":"invoice.overdue","extraData":{"entity":{"id":1836,"clientId":126,"number":"001786","createdDate":"2025-04-24T10:00:01-0600","dueDate":"2025-05-08T10:00:01-0600","emailSentDate":"2025-05-09T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-22T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1839,"type":"service","label":"PREMIUM 24\/03\/2025 \u2013 23\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":108,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL INNU","clientLastName":"RATA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-09 6:25:02.840121] [debug] valor el evento recibido por webhook: invoice.overdue - -[2025-05-09 6:25:02.840179] [debug] Valor de JSON: {"uuid":"38d56ae0-8264-44dd-837f-64f513d7f1ea","changeType":"overdue","entity":"invoice","entityId":"1836","eventName":"invoice.overdue","extraData":{"entity":{"id":1836,"clientId":126,"number":"001786","createdDate":"2025-04-24T10:00:01-0600","dueDate":"2025-05-08T10:00:01-0600","emailSentDate":"2025-05-09T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-22T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1839,"type":"service","label":"PREMIUM 24\/03\/2025 \u2013 23\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":108,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL INNU","clientLastName":"RATA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-09 6:25:02.840374] [debug] Factura vencida - -[2025-05-09 6:25:02.840421] [debug] datos del notification para el invoice overdue:{"uuid":"38d56ae0-8264-44dd-837f-64f513d7f1ea","changeType":"overdue","entity":"invoice","entityId":1836,"message":null,"clientId":126,"eventName":"invoice.overdue","clientData":{"id":126,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-05-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DANIEL INNU","lastName":"RATA","username":"dhsv.141089@gmail.com","contacts":[{"id":130,"clientId":126,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":127,"clientId":126,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QASKG6Z0Hree1h","clientZoneVisible":true},{"id":128,"clientId":126,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180704572078989","clientZoneVisible":true}],"accountBalance":-3500,"accountCredit":0,"accountOutstanding":3500,"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":1836,"clientId":126,"number":"001786","createdDate":"2025-04-24T10:00:01-0600","dueDate":"2025-05-08T10:00:01-0600","emailSentDate":"2025-05-09T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-04-22T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1839,"type":"service","label":"PREMIUM 24\/03\/2025 \u2013 23\/04\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":108,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL INNU","clientLastName":"RATA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-05-09 6:25:02.840450] [debug] ***Se notifica al cliente que la factura de su servicio está vencida*** - -[2025-05-09 6:25:02.840559] [debug] Numero de cel obtenido - -[2025-05-09 6:25:02.840572] [warning] No se encontró un teléfono celular válido para el cliente: 126 -[2025-05-09 16:00:03.982654] [notice] Logging level set to:debug -[2025-05-09 16:00:03.982731] [debug] valor del webhook: {"uuid":"13593dd8-f339-4e02-8364-c118cf4a66a1","changeType":"insert","entity":"invoice","entityId":"1938","eventName":"invoice.add_draft","extraData":{"entity":{"id":1938,"clientId":118,"number":"001888","createdDate":"2025-05-09T10:00:01-0600","dueDate":"2025-05-23T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-08T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1941,"type":"service","label":"plan300 09\/04\/2025 \u2013 08\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":105,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Toro Sentado","clientLastName":"Ram\u00edrez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"56 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-09 16:00:04.269403] [debug] valor el evento recibido por webhook: invoice.add_draft - -[2025-05-09 16:00:04.269459] [debug] Valor de JSON: {"uuid":"13593dd8-f339-4e02-8364-c118cf4a66a1","changeType":"insert","entity":"invoice","entityId":"1938","eventName":"invoice.add_draft","extraData":{"entity":{"id":1938,"clientId":118,"number":"001888","createdDate":"2025-05-09T10:00:01-0600","dueDate":"2025-05-23T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-08T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1941,"type":"service","label":"plan300 09\/04\/2025 \u2013 08\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":105,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Toro Sentado","clientLastName":"Ram\u00edrez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"56 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-09 16:00:04.269659] [debug] Adición de borrador de Factura - -[2025-05-09 16:00:04.269715] [debug] {"uuid":"13593dd8-f339-4e02-8364-c118cf4a66a1","changeType":"insert","entity":"invoice","entityId":1938,"message":null,"clientId":118,"eventName":"invoice.add_draft","clientData":{"id":118,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"56 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Toro Sentado","lastName":"Ram\u00edrez","username":null,"contacts":[{"id":122,"clientId":118,"email":"pepeeltoro141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":119,"clientId":118,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180173419260258","clientZoneVisible":true}],"accountBalance":-3600,"accountCredit":0,"accountOutstanding":3600,"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":1938,"clientId":118,"number":"001888","createdDate":"2025-05-09T10:00:01-0600","dueDate":"2025-05-23T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-07T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1941,"type":"service","label":"plan300 09\/04\/2025 \u2013 08\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":105,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Toro Sentado","clientLastName":"Ram\u00edrez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"56 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-05-09 16:00:04.269778] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-05-09 16:00:04.269788] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"13593dd8-f339-4e02-8364-c118cf4a66a1","changeType":"insert","entity":"invoice","entityId":1938,"message":null,"clientId":118,"eventName":"invoice.add_draft","clientData":{"id":118,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"56 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Toro Sentado","lastName":"Ram\u00edrez","username":null,"contacts":[{"id":122,"clientId":118,"email":"pepeeltoro141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":119,"clientId":118,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180173419260258","clientZoneVisible":true}],"accountBalance":-3600,"accountCredit":0,"accountOutstanding":3600,"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":1938,"clientId":118,"number":"001888","createdDate":"2025-05-09T10:00:01-0600","dueDate":"2025-05-23T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-07T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1941,"type":"service","label":"plan300 09\/04\/2025 \u2013 08\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":105,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Toro Sentado","clientLastName":"Ram\u00edrez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"56 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Toro Sentado Ramírez - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Toro Sentado Ram\u00edrez","custom_fields":{"Cliente":118,"Domicilio":"\ud83d\udccd Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Toro Sentado Ram\u00edrez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/118","Saldo Actual":"\ud83d\udcb23600 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"118\",\"Domicilio\": \"\"Nombre\": \"Toro Sentado Ram\u00edrez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/118\",\"Saldo Actual\": \"\ud83d\udcb23600 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 09\/05\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"09\/05\/2025 10:00\",\"Clabe Interbancaria\": \"002180173419260258\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 09\/05\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 09\/05\/2025 10:00","Clabe Interbancaria":"002180173419260258","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "118","Domicilio": ""Nombre": "Toro Sentado Ramírez","URL": "https://sistema.siip.mx/crm/client/118","Saldo Actual": "💲3600 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 09/05/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "09/05/2025 10:00","Clabe Interbancaria": "002180173419260258","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Toro Sentado Ramírez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲3600 pendientes","user name":"Daniel Humberto 🐁","Fecha Ultima Actualizacion":"📆🔄️ 09/05/2025 10:00","Monto Ultimo Pago":"💲 ","URL":"🌐 https://sistema.siip.mx/crm/client/118","Cliente":"118","Estado":"🔴 Suspendido","Nombre":"👤 Toro Sentado Ramírez","Resumen":"{\"Cliente\": \"118\",\"Domicilio\": \"\"Nombre\": \"Toro Sentado Ramírez\",\"URL\": \"https://sistema.siip.mx/crm/client/118\",\"Saldo Actual\": \"💲3600 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 09/05/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"09/05/2025 10:00\",\"Clabe Interbancaria\": \"002180173419260258\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Domicilio":"📍 Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Clabe Interbancaria":"002180173419260258","Fecha Ultimo Pago":"📆💸 09/05/2025 16:00 con Desconocido, revisar metodos de pago no contemplados"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Toro Sentado Ramírez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲3600 pendientes","user name":"Daniel Humberto 🐁","Fecha Ultima Actualizacion":"📆🔄️ 09/05/2025 10:00","Monto Ultimo Pago":"💲 ","URL":"🌐 https://sistema.siip.mx/crm/client/118","Cliente":"118","Estado":"🔴 Suspendido","Nombre":"👤 Toro Sentado Ramírez","Resumen":"{\"Cliente\": \"118\",\"Domicilio\": \"\"Nombre\": \"Toro Sentado Ramírez\",\"URL\": \"https://sistema.siip.mx/crm/client/118\",\"Saldo Actual\": \"💲3600 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 09/05/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"09/05/2025 10:00\",\"Clabe Interbancaria\": \"002180173419260258\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Domicilio":"📍 Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Clabe Interbancaria":"002180173419260258","Fecha Ultimo Pago":"📆💸 09/05/2025 16:00 con Desconocido, revisar metodos de pago no contemplados"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-05-09 16:00:07.339972] [notice] Logging level set to:debug -[2025-05-09 16:00:07.340060] [debug] valor del webhook: {"uuid":"718549ce-9a7d-4236-b293-4acf2c01cd56","changeType":"draft_approved","entity":"invoice","entityId":"1938","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1938,"clientId":118,"number":"001888","createdDate":"2025-05-09T10:00:01-0600","dueDate":"2025-05-23T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-08T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1941,"type":"service","label":"plan300 09\/04\/2025 \u2013 08\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":105,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Toro Sentado","clientLastName":"Ram\u00edrez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"56 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-09 16:00:07.497678] [debug] valor el evento recibido por webhook: invoice.draft_approved - -[2025-05-09 16:00:07.497730] [debug] Valor de JSON: {"uuid":"718549ce-9a7d-4236-b293-4acf2c01cd56","changeType":"draft_approved","entity":"invoice","entityId":"1938","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1938,"clientId":118,"number":"001888","createdDate":"2025-05-09T10:00:01-0600","dueDate":"2025-05-23T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-08T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1941,"type":"service","label":"plan300 09\/04\/2025 \u2013 08\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":105,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Toro Sentado","clientLastName":"Ram\u00edrez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"56 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}} - -[2025-05-09 16:00:07.497844] [debug] Aprobación de Factura - -[2025-05-09 16:00:07.497893] [debug] {"uuid":"718549ce-9a7d-4236-b293-4acf2c01cd56","changeType":"draft_approved","entity":"invoice","entityId":1938,"message":null,"clientId":118,"eventName":"invoice.draft_approved","clientData":{"id":118,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"56 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Toro Sentado","lastName":"Ram\u00edrez","username":null,"contacts":[{"id":122,"clientId":118,"email":"pepeeltoro141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":119,"clientId":118,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180173419260258","clientZoneVisible":true}],"accountBalance":-3600,"accountCredit":0,"accountOutstanding":3600,"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":1938,"clientId":118,"number":"001888","createdDate":"2025-05-09T10:00:01-0600","dueDate":"2025-05-23T10:00:01-0600","emailSentDate":"2025-05-09T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-07T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1941,"type":"service","label":"plan300 09\/04\/2025 \u2013 08\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":105,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Toro Sentado","clientLastName":"Ram\u00edrez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"56 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -[2025-05-09 16:00:07.497941] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-05-09 16:00:07.497952] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"718549ce-9a7d-4236-b293-4acf2c01cd56","changeType":"draft_approved","entity":"invoice","entityId":1938,"message":null,"clientId":118,"eventName":"invoice.draft_approved","clientData":{"id":118,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"56 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Toro Sentado","lastName":"Ram\u00edrez","username":null,"contacts":[{"id":122,"clientId":118,"email":"pepeeltoro141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":119,"clientId":118,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180173419260258","clientZoneVisible":true}],"accountBalance":-3600,"accountCredit":0,"accountOutstanding":3600,"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":1938,"clientId":118,"number":"001888","createdDate":"2025-05-09T10:00:01-0600","dueDate":"2025-05-23T10:00:01-0600","emailSentDate":"2025-05-09T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-07T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1941,"type":"service","label":"plan300 09\/04\/2025 \u2013 08\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":105,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Toro Sentado","clientLastName":"Ram\u00edrez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"56 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [] - -Nombre del cliente que se va a actualizar: Toro Sentado Ramírez - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Toro Sentado Ram\u00edrez","custom_fields":{"Cliente":118,"Domicilio":"\ud83d\udccd Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Toro Sentado Ram\u00edrez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/118","Saldo Actual":"\ud83d\udcb23600 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"118\",\"Domicilio\": \"\"Nombre\": \"Toro Sentado Ram\u00edrez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/118\",\"Saldo Actual\": \"\ud83d\udcb23600 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 09\/05\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"09\/05\/2025 10:00\",\"Clabe Interbancaria\": \"002180173419260258\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 09\/05\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 09\/05\/2025 10:00","Clabe Interbancaria":"002180173419260258","Site":"","Antena\/Sectorial":""}} - -JSON con los datos a actualizar del resumen: {"Cliente": "118","Domicilio": ""Nombre": "Toro Sentado Ramírez","URL": "https://sistema.siip.mx/crm/client/118","Saldo Actual": "💲3600 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 09/05/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "09/05/2025 10:00","Clabe Interbancaria": "002180173419260258","Site": "","Antena/Sectorial": ""} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Toro Sentado Ramírez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲3600 pendientes","user name":"Daniel Humberto 🐁","Fecha Ultima Actualizacion":"📆🔄️ 09/05/2025 10:00","Monto Ultimo Pago":"💲 ","URL":"🌐 https://sistema.siip.mx/crm/client/118","Cliente":"118","Estado":"🔴 Suspendido","Nombre":"👤 Toro Sentado Ramírez","Resumen":"{\"Cliente\": \"118\",\"Domicilio\": \"\"Nombre\": \"Toro Sentado Ramírez\",\"URL\": \"https://sistema.siip.mx/crm/client/118\",\"Saldo Actual\": \"💲3600 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 09/05/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"09/05/2025 10:00\",\"Clabe Interbancaria\": \"002180173419260258\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Domicilio":"📍 Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Clabe Interbancaria":"002180173419260258","Fecha Ultimo Pago":"📆💸 09/05/2025 16:00 con Desconocido, revisar metodos de pago no contemplados"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Toro Sentado Ramírez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-04-16T00:05:22Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Saldo Actual":"💲3600 pendientes","user name":"Daniel Humberto 🐁","Fecha Ultima Actualizacion":"📆🔄️ 09/05/2025 10:00","Monto Ultimo Pago":"💲 ","URL":"🌐 https://sistema.siip.mx/crm/client/118","Cliente":"118","Estado":"🔴 Suspendido","Nombre":"👤 Toro Sentado Ramírez","Resumen":"{\"Cliente\": \"118\",\"Domicilio\": \"\"Nombre\": \"Toro Sentado Ramírez\",\"URL\": \"https://sistema.siip.mx/crm/client/118\",\"Saldo Actual\": \"💲3600 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 09/05/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"09/05/2025 10:00\",\"Clabe Interbancaria\": \"002180173419260258\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Domicilio":"📍 Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Clabe Interbancaria":"002180173419260258","Fecha Ultimo Pago":"📆💸 09/05/2025 16:00 con Desconocido, revisar metodos de pago no contemplados"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-05-10 16:55:32.988547] [notice] Logging level set to:debug -[2025-05-10 16:55:32.988641] [debug] valor del webhook: {"uuid":"1d20afb4-d9cd-4b6c-87f0-fc085192c18c","changeType":"insert","entity":"job","entityId":"27","eventName":"job.add","extraData":{"entity":{"id":27,"title":"Servicio para alinear antena de cliente","description":"Antena Chueca","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":null}} - -[2025-05-10 16:55:33.018449] [debug] valor el evento recibido por webhook: job.add - -[2025-05-10 16:55:33.018501] [debug] Valor de JSON: {"uuid":"1d20afb4-d9cd-4b6c-87f0-fc085192c18c","changeType":"insert","entity":"job","entityId":"27","eventName":"job.add","extraData":{"entity":{"id":27,"title":"Servicio para alinear antena de cliente","description":"Antena Chueca","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":null}} - -[2025-05-10 16:55:33.018699] [debug] Se ha agregado un nuevo trabajo - -[2025-05-10 16:55:33.018721] [warning] El campo assignedUserId no existe en los datos del evento -[2025-05-10 16:55:33.156337] [notice] Logging level set to:debug -[2025-05-10 16:55:33.156421] [debug] valor del webhook: {"uuid":"55cbfbb4-5ad7-4b03-9c1c-547df2169f1b","changeType":"edit","entity":"ticket","entityId":"12","eventName":"ticket.edit","extraData":{"entity":{"id":12,"subject":"CLIENTE NO TIENE INTERNET","clientId":2,"assignedGroupId":null,"assignedUserId":null,"createdAt":"2025-01-16T13:17:39-0600","emailFromAddress":null,"emailFromName":null,"status":0,"public":false,"lastActivity":"2025-05-10T16:55:32+0000","lastCommentAt":"2025-01-16T13:17:39-0600","isLastActivityByClient":false,"assignedJobIds":[21,23,19,20,25,26,27],"phoneFrom":null,"tags":[],"activity":[{"id":43,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-16T13:17:39-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":null,"groupAssignment":null,"type":"comment","comment":{"id":null,"body":"EL CLIENTE DICE QUE YA REINICI\u00d3 EL M\u00d3DEM","emailFromAddress":null,"emailFromName":null,"phoneFrom":null,"attachments":[]}},{"id":44,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-16T13:18:24-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":19,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":45,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-20T04:00:52-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":20,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":46,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-21T08:41:15-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":21,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":49,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-23T04:42:37-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":23,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":52,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-02-22T11:34:32-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":25,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":53,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-02-24T02:23:52-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":26,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":54,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-05-10T10:55:32-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":27,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null}]},"entityBeforeEdit":{"id":12,"subject":"CLIENTE NO TIENE INTERNET","clientId":2,"assignedGroupId":null,"assignedUserId":null,"createdAt":"2025-01-16T13:17:39-0600","emailFromAddress":null,"emailFromName":null,"status":0,"public":false,"lastActivity":"2025-02-24T02:23:52-0600","lastCommentAt":"2025-01-16T13:17:39-0600","isLastActivityByClient":false,"assignedJobIds":[21,23,19,20,25,26],"phoneFrom":null,"tags":[],"activity":[{"id":43,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-16T13:17:39-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":null,"groupAssignment":null,"type":"comment","comment":{"id":null,"body":"EL CLIENTE DICE QUE YA REINICI\u00d3 EL M\u00d3DEM","emailFromAddress":null,"emailFromName":null,"phoneFrom":null,"attachments":[]}},{"id":44,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-16T13:18:24-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":19,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":45,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-20T04:00:52-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":20,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":46,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-21T08:41:15-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":21,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":49,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-23T04:42:37-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":23,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":52,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-02-22T11:34:32-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":25,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":53,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-02-24T02:23:52-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":26,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":54,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-05-10T10:55:32-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":27,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null}]}}} - -[2025-05-10 16:55:33.186336] [debug] valor el evento recibido por webhook: ticket.edit - -[2025-05-10 16:55:33.186420] [debug] Valor de JSON: {"uuid":"55cbfbb4-5ad7-4b03-9c1c-547df2169f1b","changeType":"edit","entity":"ticket","entityId":"12","eventName":"ticket.edit","extraData":{"entity":{"id":12,"subject":"CLIENTE NO TIENE INTERNET","clientId":2,"assignedGroupId":null,"assignedUserId":null,"createdAt":"2025-01-16T13:17:39-0600","emailFromAddress":null,"emailFromName":null,"status":0,"public":false,"lastActivity":"2025-05-10T16:55:32+0000","lastCommentAt":"2025-01-16T13:17:39-0600","isLastActivityByClient":false,"assignedJobIds":[21,23,19,20,25,26,27],"phoneFrom":null,"tags":[],"activity":[{"id":43,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-16T13:17:39-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":null,"groupAssignment":null,"type":"comment","comment":{"id":null,"body":"EL CLIENTE DICE QUE YA REINICI\u00d3 EL M\u00d3DEM","emailFromAddress":null,"emailFromName":null,"phoneFrom":null,"attachments":[]}},{"id":44,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-16T13:18:24-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":19,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":45,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-20T04:00:52-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":20,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":46,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-21T08:41:15-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":21,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":49,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-23T04:42:37-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":23,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":52,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-02-22T11:34:32-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":25,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":53,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-02-24T02:23:52-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":26,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":54,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-05-10T10:55:32-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":27,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null}]},"entityBeforeEdit":{"id":12,"subject":"CLIENTE NO TIENE INTERNET","clientId":2,"assignedGroupId":null,"assignedUserId":null,"createdAt":"2025-01-16T13:17:39-0600","emailFromAddress":null,"emailFromName":null,"status":0,"public":false,"lastActivity":"2025-02-24T02:23:52-0600","lastCommentAt":"2025-01-16T13:17:39-0600","isLastActivityByClient":false,"assignedJobIds":[21,23,19,20,25,26],"phoneFrom":null,"tags":[],"activity":[{"id":43,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-16T13:17:39-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":null,"groupAssignment":null,"type":"comment","comment":{"id":null,"body":"EL CLIENTE DICE QUE YA REINICI\u00d3 EL M\u00d3DEM","emailFromAddress":null,"emailFromName":null,"phoneFrom":null,"attachments":[]}},{"id":44,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-16T13:18:24-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":19,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":45,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-20T04:00:52-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":20,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":46,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-21T08:41:15-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":21,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":49,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-23T04:42:37-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":23,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":52,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-02-22T11:34:32-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":25,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":53,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-02-24T02:23:52-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":26,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null},{"id":54,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-05-10T10:55:32-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":27,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null}]}}} - -[2025-05-10 16:55:33.302352] [notice] Logging level set to:debug -[2025-05-10 16:55:33.302478] [debug] valor del webhook: {"uuid":"73a74c7b-5ab3-49be-bf03-b2971323acee","changeType":"edit","entity":"job","entityId":"27","eventName":"job.edit","extraData":{"entity":{"id":27,"title":"Servicio para alinear antena de cliente","description":"Antena Chueca","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":27,"title":"Servicio para alinear antena de cliente","description":"Antena Chueca","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} - -[2025-05-10 16:55:33.335870] [debug] valor el evento recibido por webhook: job.edit - -[2025-05-10 16:55:33.336013] [debug] Valor de JSON: {"uuid":"73a74c7b-5ab3-49be-bf03-b2971323acee","changeType":"edit","entity":"job","entityId":"27","eventName":"job.edit","extraData":{"entity":{"id":27,"title":"Servicio para alinear antena de cliente","description":"Antena Chueca","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":27,"title":"Servicio para alinear antena de cliente","description":"Antena Chueca","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} - -[2025-05-10 16:55:33.336142] [debug] Se actualiza un trabajo - -[2025-05-10 16:55:33.336198] [debug] Valor de json_data: {"uuid":"73a74c7b-5ab3-49be-bf03-b2971323acee","changeType":"edit","entity":"job","entityId":"27","eventName":"job.edit","extraData":{"entity":{"id":27,"title":"Servicio para alinear antena de cliente","description":"Antena Chueca","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":27,"title":"Servicio para alinear antena de cliente","description":"Antena Chueca","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} -[2025-05-10 16:55:33.336246] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-05-10 16:55:33.336293] [debug] Los datos entityBeforeEdit y entity contienen el campo assignedUserId -[2025-05-10 16:55:33.336330] [debug] No hubo cambio en el instalador ni en la fecha -[2025-05-10 16:58:46.252232] [notice] Logging level set to:debug -[2025-05-10 16:58:46.252327] [debug] valor del webhook: {"uuid":"35ea8147-0b62-4923-be3d-c7ca0029ff81","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-05-10 16:58:46.331962] [debug] valor el evento recibido por webhook: client.edit - -[2025-05-10 16:58:46.332046] [debug] Valor de JSON: {"uuid":"35ea8147-0b62-4923-be3d-c7ca0029ff81","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} - -[2025-05-10 16:58:46.332261] [debug] Se actualiza a un cliente -[2025-05-10 16:58:46.332308] [debug] Valor de json_data: {"uuid":"35ea8147-0b62-4923-be3d-c7ca0029ff81","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas pollerias","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} -[2025-05-10 16:58:46.332329] [debug] El cliente no cambió de potencial a cliente -[2025-05-10 16:58:46.332339] [debug] Validando claves dentro de entity y entityBeforeEdit -[2025-05-10 16:58:46.332346] [debug] Los datos entity y entityBeforeEdit contienen el campo tags -[2025-05-10 16:58:46.332354] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit -[2025-05-10 16:58:46.332393] [debug] {"uuid":"35ea8147-0b62-4923-be3d-c7ca0029ff81","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -[2025-05-10 16:58:46.332463] [info] Procesando tipo de contacto original: 'WhatsApp' -[2025-05-10 16:58:46.332475] [info] Tipo de contacto normalizado: 'whatsapp' -Notificacion data: {"uuid":"35ea8147-0b62-4923-be3d-c7ca0029ff81","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":624,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-11T14:37:30-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":722,"invoiceId":1817,"paymentId":624,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas - -UUID: 7352b597ba6b43cf948a5ae86051fb80 - -JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2300 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 100","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2300 pendientes\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 11\/04\/2025 14:37 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"10\/05\/2025 10:58\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 11\/04\/2025 14:37 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/05\/2025 10:58","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}} - -JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲300 pendientes","Monto Ultimo Pago": "$ 100","Estado": "Suspendido","Fecha Ultimo Pago": " 11/04/2025 14:37 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "10/05/2025 10:58","Clabe Interbancaria": "0021804341999569810","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"} - -Response Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-03-08T16:22:07Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","user name":"Soporte Técnico Danys","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Fecha Ultima Actualizacion":"📆🔄️ 10/05/2025 10:58","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲300 pendientes\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 11/04/2025 14:37 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"10/05/2025 10:58\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Estado":"🔴 Suspendido","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲300 pendientes","Monto Ultimo Pago":"💲 100","Clabe Interbancaria":"0021804341999569810","Fecha Ultimo Pago":"📆💸 11/04/2025 14:37 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -Response 2 Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-03-08T16:22:07Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","user name":"Soporte Técnico Danys","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Fecha Ultima Actualizacion":"📆🔄️ 10/05/2025 10:58","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲300 pendientes\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 11/04/2025 14:37 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"10/05/2025 10:58\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Estado":"🔴 Suspendido","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲300 pendientes","Monto Ultimo Pago":"💲 100","Clabe Interbancaria":"0021804341999569810","Fecha Ultimo Pago":"📆💸 11/04/2025 14:37 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}} - -[2025-05-10 16:59:31.498822] [notice] Logging level set to:debug -[2025-05-10 16:59:31.499094] [debug] valor del webhook: {"uuid":"e47f4dfe-6886-4959-b73a-afe0e6c9ecaa","changeType":"edit","entity":"job","entityId":"27","eventName":"job.edit","extraData":{"entity":{"id":27,"title":"Servicio para alinear antena de cliente","description":"Antena Chueca","assignedUserId":1019,"clientId":2,"date":"2025-05-12T11:00:10-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":"21.1564414","gpsLon":"-100.9383654","attachments":[],"tasks":[]},"entityBeforeEdit":{"id":27,"title":"Servicio para alinear antena de cliente","description":"Antena Chueca","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} - -[2025-05-10 16:59:31.526102] [debug] valor el evento recibido por webhook: job.edit - -[2025-05-10 16:59:31.526232] [debug] Valor de JSON: {"uuid":"e47f4dfe-6886-4959-b73a-afe0e6c9ecaa","changeType":"edit","entity":"job","entityId":"27","eventName":"job.edit","extraData":{"entity":{"id":27,"title":"Servicio para alinear antena de cliente","description":"Antena Chueca","assignedUserId":1019,"clientId":2,"date":"2025-05-12T11:00:10-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":"21.1564414","gpsLon":"-100.9383654","attachments":[],"tasks":[]},"entityBeforeEdit":{"id":27,"title":"Servicio para alinear antena de cliente","description":"Antena Chueca","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} - -[2025-05-10 16:59:31.526537] [debug] Se actualiza un trabajo - -[2025-05-10 16:59:31.526612] [debug] Valor de json_data: {"uuid":"e47f4dfe-6886-4959-b73a-afe0e6c9ecaa","changeType":"edit","entity":"job","entityId":"27","eventName":"job.edit","extraData":{"entity":{"id":27,"title":"Servicio para alinear antena de cliente","description":"Antena Chueca","assignedUserId":1019,"clientId":2,"date":"2025-05-12T11:00:10-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":"21.1564414","gpsLon":"-100.9383654","attachments":[],"tasks":[]},"entityBeforeEdit":{"id":27,"title":"Servicio para alinear antena de cliente","description":"Antena Chueca","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} -[2025-05-10 16:59:31.526653] [debug] Validando claves dentro de entityBeforeEdit y entity -[2025-05-10 16:59:31.526689] [debug] Los datos entityBeforeEdit y entity contienen el campo assignedUserId -[2025-05-10 16:59:31.526725] [debug] El instalador cambió de null a un valor -[2025-05-10 16:59:31.526768] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"e47f4dfe-6886-4959-b73a-afe0e6c9ecaa","changeType":"edit","entity":"job","entityId":"27","eventName":"job.edit","extraData":{"entity":{"id":27,"title":"Servicio para alinear antena de cliente","description":"Antena Chueca","assignedUserId":1019,"clientId":2,"date":"2025-05-12T11:00:10-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":"21.1564414","gpsLon":"-100.9383654","attachments":[],"tasks":[]},"entityBeforeEdit":{"id":27,"title":"Servicio para alinear antena de cliente","description":"Antena Chueca","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}} - -[2025-05-10 16:59:31.526806] [debug] Valor de $clientId en verifyJobActionToDo: 2 - -[2025-05-10 16:59:31.526839] [debug] Valor de $installerId en verifyJobActionToDo: 1019 - -[2025-05-10 16:59:31.526875] [debug] Valor de $jobId en verifyJobActionToDo: 27 - -[2025-05-10 16:59:31.526954] [debug] Valor de $installersData en verifyJobActionToDo: { - "instaladores": [ - { - "id": 1019, - "nombre": "Mucio Robledo", - "whatsapp": "4181878106" - }, - { - "id": 1173, - "nombre": "Angel Arvizu", - "whatsapp": "4181878106" - }, - { - "id": 1172, - "nombre": "Juan Rostro", - "whatsapp": "4181878106" - }, - { - "id": 1015, - "nombre": "Daniel Humberto", - "whatsapp": "4181878106" - } - ] -} - -[2025-05-10 16:59:31.561064] [debug] Valor de $usersInstallers en verifyJobActionToDo: {"id":1019,"unmsId":"75e00242-86c2-436a-b3ac-bd6c31db681e","email":"lionelmuz@gmail.com","firstName":"Mucio","lastName":"Robledo Villegas","username":"muz","avatarColor":"#8bc34a","isActive":true} - -[2025-05-10 16:59:31.561208] [debug] Número de WhatsApp del Instalador: 4181878106 - -[2025-05-10 16:59:31.594747] [debug] Valor de $installerFullName: Mucio Robledo Villegas - -[2025-05-10 16:59:31.697319] [debug] Valor de $arrayClientCRM en verifyJobActionToDo: {"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":"Bussiness","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":true,"hasSuspendedService":true,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false} - -[2025-05-10 16:59:31.697444] [debug] Dirección completa: Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México - -[2025-05-10 16:59:31.697489] [debug] URL de Google Maps: https://www.google.com/maps?q=21.1564209,-100.9384185 - -[2025-05-10 16:59:31.697601] [debug] Valor de $arrayPhones en verifyJobActionToDo: {"WhatsApp":["5214181148783"]} - -[2025-05-10 16:59:31.697647] [debug] Valor de $clientAllPhonesString en verifyJobActionToDo: 5214181878106,5214181148783 - -[2025-05-10 16:59:31.697684] [debug] Valor de $arrayNumeros en verifyJobActionToDo: ["5214181878106","5214181148783"] - -[2025-05-10 16:59:31.697794] [debug] Valor de $resultados en verifyJobActionToDo: ["5214181878106","5214181148783"] - -[2025-05-10 16:59:31.697835] [debug] Valor de $resultadoFinalNumerosCliente en verifyJobActionToDo: 5214181878106, 5214181148783 - -[2025-05-10 16:59:31.697904] [debug] Se encontró un tipo de contacto whatsapp - -Enviando mensaje de trabajo para el cliente - -Datos de la notificación de trabajo: {"clientFullName":"Daniel Humberto Soto Villegas","jobId":"27","date":"12\/05\/2025 a las 11:00 AM aproximadamente","installerName":"Mucio Robledo Villegas"} - -Debugging: reprogramming = false, changeInstaller = false - -Enviando notificación normal de visita técnica al cliente, valor de reprogramming y valor de changeInstaller - -La cadena CURL que se envia es: { - "to": "5214181148783", - "from": "whatsapp", - "type": "text", - "content": { - "text": "S/M" - }, - "template_values": ["*Daniel Humberto Soto Villegas*", "*#27*", "*12/05/2025 a las 11:00 AM aproximadamente*", "*Mucio Robledo Villegas*"], - "template_uuid": "c0ef8228b50a4d9690a2e87bc11e9ab3", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"6a48dff497b3442f84e15d678a62e742","status":"enqueued"}} -La notificación fue enviada correctamente con estado: enqueued - -[2025-05-10 16:59:32.433377] [info] Notificación enviada correctamente al contacto 5214181148783 después de 1 intento(s). - -[2025-05-10 16:59:32.433603] [debug] Valor de $installerWhatsApp en verifyJobActionToDo: 4181878106 +[2025-05-22 0:50:23.980546] [info] Procesando tipo de contacto original: 'WhatsNotifica' +[2025-05-22 0:50:23.980556] [info] Tipo de contacto normalizado: 'whatsnotifica' +[2025-05-22 0:50:23.980564] [info] Tipo de contacto no reconocido: 'whatsnotifica' diff --git a/manifest.json b/manifest.json index 36c05664..c15454b2 100755 --- a/manifest.json +++ b/manifest.json @@ -5,7 +5,7 @@ "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": "2.7.5", + "version": "2.8.0", "unmsVersionCompliancy": { "min": "2.1.0", "max": null diff --git a/src/Facade/AbstractMessageNotifierFacade.php b/src/Facade/AbstractMessageNotifierFacade.php index dd5b177b..0185dabf 100755 --- a/src/Facade/AbstractMessageNotifierFacade.php +++ b/src/Facade/AbstractMessageNotifierFacade.php @@ -1,20 +1,19 @@ logger = $logger; + $this->logger = $logger; $this->messageTextFactory = $messageTextFactory; - $this->clientPhoneNumber = $clientPhoneNumber; + $this->clientPhoneNumber = $clientPhoneNumber; } /* - * Verify contact type numbers to do notification, update or both + * Verify contact type numbers to do notification, update or both */ public function verifyPaymentActionToDo(NotificationData $notificationData): void { @@ -118,8 +116,6 @@ abstract class AbstractMessageNotifierFacade } } - - } /* @@ -133,7 +129,6 @@ abstract class AbstractMessageNotifierFacade $arrayPhones = $this->clientPhoneNumber->getUcrmClientNumbers($notificationData, null); - // Procesar el array de teléfonos y ejecutar la función correspondiente foreach ($arrayPhones as $type => $phones) { @@ -171,7 +166,6 @@ abstract class AbstractMessageNotifierFacade } } - } /* * Verify contact type numbers to do client's data service status at CallBell @@ -183,7 +177,6 @@ abstract class AbstractMessageNotifierFacade $arrayPhones = $this->clientPhoneNumber->getUcrmClientNumbers($notificationData, null); - // Procesar el array de teléfonos y ejecutar la función correspondiente foreach ($arrayPhones as $type => $phones) { @@ -221,27 +214,35 @@ abstract class AbstractMessageNotifierFacade } } - } /* - * Verify contact type numbers to do client's + * Verify contact type numbers to do client's */ - public function verifyJobActionToDo($jsonNotificationData, $reprogramming = false, $changeInstaller = false): void + public function verifyJobActionToDo($jsonNotificationData, $reprogramming = null, $changeInstaller = null): void { + $this->logger->debug('******** INCIO DE LA FUNCIÓN verifyJobActionToDo ******' . PHP_EOL); + $configManager = \Ubnt\UcrmPluginSdk\Service\PluginConfigManager::create(); + $config = $configManager->loadConfig(); + $IPServer = $config['ipserver']; + $UCRMAPIToken = $config['apitoken']; + $CallBellAPIToken = $config['tokencallbell']; + $IPServer = $config['ipserver']; + $installersData = $config['installersDataWhatsApp']; + $this->logger->debug('Valor de $jsonNotificationData en verifyJobActionToDo: ' . json_encode($jsonNotificationData) . PHP_EOL); - $clientId = $jsonNotificationData['extraData']['entity']['clientId']; - $installerId = $jsonNotificationData['extraData']['entity']['assignedUserId']; - $jobId = $jsonNotificationData['entityId']; + + $this->logger->debug('Valor de $jsonNotificationData en verifyJobActionToDo: ' . json_encode($jsonNotificationData) . PHP_EOL); + $clientId = $jsonNotificationData['extraData']['entity']['clientId']; + $installerId = $jsonNotificationData['extraData']['entity']['assignedUserId']; + $jobId = $jsonNotificationData['entityId']; $jobDescription = $jsonNotificationData['extraData']['entity']['description'] ?? null; - - $this->logger->debug('Valor de $clientId en verifyJobActionToDo: ' . $clientId . PHP_EOL); - $this->logger->debug('Valor de $installerId en verifyJobActionToDo: ' . $installerId . PHP_EOL); - $this->logger->debug('Valor de $jobId en verifyJobActionToDo: ' . $jobId . PHP_EOL); - - + $reprogrammingValue = var_export($reprogramming, true); + $changeInstallerValue = var_export($changeInstaller, true); + $this->logger->debug('Valor de $reprogramming en verifyJobActionToDo: ' . $reprogrammingValue . PHP_EOL); + $this->logger->debug('Valor de $changeInstaller en verifyJobActionToDo: ' . $changeInstallerValue . PHP_EOL); // Obtener la fecha del nodo "entity" $dateString = $jsonNotificationData['extraData']['entity']['date'] ?? null; @@ -251,42 +252,31 @@ abstract class AbstractMessageNotifierFacade $date = new DateTime($dateString); // Formatear la fecha al formato deseado: día/mes/año a las hora:minuto am/pm aproximadamente - $formattedDate = $date->format('d/m/Y') . " a las " . $date->format('h:i A') . " aproximadamente"; + $formattedDate = "*" . $date->format('d/m/Y') . "* a las *" . $date->format('h:i A') . "* aproximadamente"; - echo $formattedDate; + // $this->logger->debug('Valor de $formattedDate en verifyJobActionToDo: ' . $formattedDate . PHP_EOL); } else { - echo "La fecha no está disponible en el JSON.\n"; + $this->logger->error('La fecha no está disponible en el JSON' . PHP_EOL); } + // $this->logger->debug('Valor de $installersData en verifyJobActionToDo: ' . $installersData . PHP_EOL); - - $configManager = \Ubnt\UcrmPluginSdk\Service\PluginConfigManager::create(); - $config = $configManager->loadConfig(); - $IPServer = $config['ipserver']; - $UCRMAPIToken = $config['apitoken']; - $CallBellAPIToken = $config['tokencallbell']; - $IPServer = $config['ipserver']; - $installersData = $config['installersDataWhatsApp']; - $this->logger->debug('Valor de $installersData en verifyJobActionToDo: ' . $installersData . PHP_EOL); - - - $this->ucrmApi = UcrmApi::create(); + $this->ucrmApi = UcrmApi::create(); $usersInstallers = $this->ucrmApi->get('users/admins/' . $installerId, []); - $this->logger->debug('Valor de $usersInstallers en verifyJobActionToDo: ' . json_encode($usersInstallers) . PHP_EOL); + // $this->logger->debug('Valor de $usersInstallers en verifyJobActionToDo: ' . json_encode($usersInstallers) . PHP_EOL); // Inicializar la variable para el nombre completo $installerFullName = ''; $jsonInstallersData = json_decode($installersData, true); - if (json_last_error() !== JSON_ERROR_NONE) { $this->logger->error('Error al decodificar el JSON de instaladores: ' . json_last_error_msg()); return; } // Verificar si el nodo "instaladores" existe - if (!isset($jsonInstallersData['instaladores'])) { + if (! isset($jsonInstallersData['instaladores'])) { $this->logger->error('El nodo "instaladores" no existe en el JSON'); return; } @@ -305,32 +295,32 @@ abstract class AbstractMessageNotifierFacade if (empty($installerWhatsApp)) { $this->logger->warning('No se encontró un número de WhatsApp para el instalador con ID 1019'); } else { - $this->logger->debug('Número de WhatsApp del Instalador: ' . $installerWhatsApp . PHP_EOL); + // $this->logger->debug('Número de WhatsApp del Instalador: ' . $installerWhatsApp . PHP_EOL); } - $this->ucrmApi = UcrmApi::create(); + $this->ucrmApi = UcrmApi::create(); $usersInstallers = $this->ucrmApi->get('users/admins/' . $installerId, []); //$this->logger->debug('Valor de $usersInstallers ' . json_encode($usersInstallers) . PHP_EOL); - $firstName = $usersInstallers['firstName'] ?? ''; - $lastName = $usersInstallers['lastName'] ?? ''; + $firstName = $usersInstallers['firstName'] ?? ''; + $lastName = $usersInstallers['lastName'] ?? ''; $installerFullName = trim("$firstName $lastName"); - $this->logger->debug('Valor de $installerFullName: ' . $installerFullName . PHP_EOL); + // $this->logger->debug('Valor de $installerFullName: ' . $installerFullName . PHP_EOL); $baseUri = 'https://' . $IPServer . '/crm/api/v1.0/'; $clientGuzzleHttp = new Client([ 'base_uri' => $baseUri, - 'headers' => [ + 'headers' => [ 'X-Auth-App-Key' => $UCRMAPIToken, - 'Accept' => 'application/json', + 'Accept' => 'application/json', ], - 'verify' => false, + 'verify' => false, ]); - $response = $clientGuzzleHttp->request('GET', "clients/" . $clientId); - $arrayClientCRM = json_decode($response->getBody()->getContents(), true); - $this->logger->debug('Valor de $arrayClientCRM en verifyJobActionToDo: ' . json_encode($arrayClientCRM) . PHP_EOL); + $responseClients = $clientGuzzleHttp->request('GET', "clients/" . $clientId); + $arrayClientCRM = json_decode($responseClients->getBody()->getContents(), true); + // $this->logger->debug('Valor de $arrayClientCRM en verifyJobActionToDo: ' . json_encode($arrayClientCRM) . PHP_EOL); $clientFullName = sprintf("%s %s", $arrayClientCRM['firstName'], $arrayClientCRM['lastName']); @@ -341,7 +331,7 @@ abstract class AbstractMessageNotifierFacade if ($fullAddress) { // Convertir la dirección a HTML seguro $safeAddress = htmlspecialchars($fullAddress, ENT_QUOTES, 'UTF-8'); - $this->logger->debug('Dirección completa: ' . $safeAddress . PHP_EOL); + // $this->logger->debug('Dirección completa: ' . $safeAddress . PHP_EOL); } else { $this->logger->error('La dirección completa no está disponible en el JSON' . PHP_EOL); } @@ -354,24 +344,23 @@ abstract class AbstractMessageNotifierFacade if ($gpsLat && $gpsLon) { // Construir la URL de Google Maps $googleMapsUrl = sprintf('https://www.google.com/maps?q=%s,%s', $gpsLat, $gpsLon); - $this->logger->debug('URL de Google Maps: ' . $googleMapsUrl . PHP_EOL); + // $this->logger->debug('URL de Google Maps: ' . $googleMapsUrl . PHP_EOL); } else { $this->logger->error('Las coordenadas no están disponibles en el JSON' . PHP_EOL); } - $arrayPhones = $this->clientPhoneNumber->getUcrmClientNumbers(null, $arrayClientCRM); - $this->logger->debug('Valor de $arrayPhones en verifyJobActionToDo: ' . json_encode($arrayPhones) . PHP_EOL); + // $this->logger->debug('Valor de $arrayPhones en verifyJobActionToDo: ' . json_encode($arrayPhones) . PHP_EOL); $arrayAllPhones = $this->clientPhoneNumber->getAllUcrmClientNumbers($arrayClientCRM); // Convertir el array de teléfonos en una cadena separada por comas $clientAllPhonesString = implode(',', $arrayAllPhones); - $this->logger->debug('Valor de $clientAllPhonesString en verifyJobActionToDo: ' . $clientAllPhonesString . PHP_EOL); + // $this->logger->debug('Valor de $clientAllPhonesString en verifyJobActionToDo: ' . $clientAllPhonesString . PHP_EOL); // Dividir los números en un array $arrayNumeros = explode(',', $clientAllPhonesString); - $this->logger->debug('Valor de $arrayNumeros en verifyJobActionToDo: ' . json_encode($arrayNumeros) . PHP_EOL); + // $this->logger->debug('Valor de $arrayNumeros en verifyJobActionToDo: ' . json_encode($arrayNumeros) . PHP_EOL); // Procesar cada número $resultados = []; @@ -389,26 +378,25 @@ abstract class AbstractMessageNotifierFacade $resultados[] = $numeroValidado; // Mantener el número sin cambios } } - $this->logger->debug('Valor de $resultados en verifyJobActionToDo: ' . json_encode($resultados) . PHP_EOL); + // $this->logger->debug('Valor de $resultados en verifyJobActionToDo: ' . json_encode($resultados) . PHP_EOL); // Convertir el array de resultados en una cadena separada por comas $resultadoFinalNumerosCliente = implode(', ', $resultados); - $this->logger->debug('Valor de $resultadoFinalNumerosCliente en verifyJobActionToDo: ' . $resultadoFinalNumerosCliente . PHP_EOL); + // $this->logger->debug('Valor de $resultadoFinalNumerosCliente en verifyJobActionToDo: ' . $resultadoFinalNumerosCliente . PHP_EOL); $client_callbell_api = new ClientCallBellAPI($UCRMAPIToken, $IPServer, $CallBellAPIToken); - // Construir el array asociativo con los datos de la notificación para el cliente $jsonClientJobNotificationData = [ "clientFullName" => $clientFullName, - "jobId" => $jobId, - "date" => $formattedDate, - "installerName" => $installerFullName + "jobId" => $jobId, + "date" => $formattedDate, + "installerName" => $installerFullName, ]; $clientWhatsApp = ''; - + //Parte de la notificación al cliente // Procesar el array de teléfonos y ejecutar la función correspondiente foreach ($arrayPhones as $type => $phones) { @@ -422,32 +410,55 @@ abstract class AbstractMessageNotifierFacade // Verificar si el valor es un array de teléfonos if (is_array($phones)) { + $attempts = 0; + $maxAttempts = 3; + $result = false; foreach ($phones as $phone) { - $attempts = 0; - $maxAttempts = 3; - $result = false; + //Aquí se enviará la notificación al cliente // Reintentar hasta 3 veces si la función retorna false while ($attempts < $maxAttempts && $result === false) { $attempts++; $result = $client_callbell_api->sendJobNotificationWhatsAppToClient( - $this->validarNumeroTelefono($phone), // Validar número de teléfono - $jsonClientJobNotificationData, // Datos de notificación - $reprogramming, // Reprogramación - $changeInstaller // Cambio de instalador + $this->validarNumeroTelefono($phone), // Validar número de teléfono + $jsonClientJobNotificationData, // Datos de notificación + $reprogramming, // Reprogramación + $changeInstaller // Cambio de instalador ); if ($result === false) { - sleep(1); // Esperar 1 segundo antes de reintentar - $this->logger->warning("Intento $attempts fallido para enviar notificación a $phone. Reintentando..." . PHP_EOL); + sleep(1); // Esperar 1 segundo antes de reintentar + $this->logger->warning("Intento $attempts fallido en el envío de notificación a $phone. Reintentando..." . PHP_EOL); } } // Verificar el resultado final if ($result === true) { - $this->logger->info("Notificación enviada correctamente al contacto $phone después de $attempts intento(s)." . PHP_EOL); + $this->logger->info("Notificación enviada correctamente al cliente con teléfono $phone después de $attempts intento(s)." . PHP_EOL); + $title = $jsonNotificationData['extraData']['entity']['title']; + $this->logger->debug('Valor de $title en verifyJobActionToDo: ' . $title . PHP_EOL); + //la variable $title contiene el título del trabajo con un prefijo "[NOTIFICACION-PENDIENTE]" aquí hay que quitarlo + + // $this->ucrmApi = UcrmApi::create(); + // $responsePatch = $this->ucrmApi->patch('scheduling/jobs/' . $jsonNotificationData['entityId'], [ + // 'title' => $title, + // ]); + if (strpos($title, '[NOTIFICACION-PENDIENTE]') !== false) { //si el título contiene el prefijo [NOTIFICACION-PENDIENTE] entonces se quita + $title = str_replace('[NOTIFICACION-PENDIENTE]', '', $title); // Quitar el prefijo + $responseClients = $clientGuzzleHttp->request('PATCH', "scheduling/jobs/" . $jsonNotificationData['entityId'], [ + 'json' => [ + 'title' => $title, + ], + ]); + $this->logger->debug('Valor de $title después de quitar el prefijo en verifyJobActionToDo: ' . $title . PHP_EOL); + break; + + } else { + $this->logger->debug('El título no contiene el prefijo [NOTIFICACION-PENDIENTE] en verifyJobActionToDo: ' . $title . PHP_EOL); + } + } else { - $this->logger->error("No se pudo enviar la notificación al contacto $phone después de $maxAttempts intentos." . PHP_EOL); + $this->logger->error("No se pudo enviar la notificación al cliente con teléfono $phone después de $maxAttempts intentos." . PHP_EOL); } } } else { @@ -462,8 +473,14 @@ abstract class AbstractMessageNotifierFacade } } - //$installerWhatsApp = $this->validarNumeroTelefono((string)$installerWhatsApp); //Obtiene el número de celular del cliente que sea del tipo de contacto "WhatsApp" - $this->logger->debug('Valor de $installerWhatsApp en verifyJobActionToDo: ' . $installerWhatsApp . PHP_EOL); + // --- ¡AÑADE ESTAS LÍNEAS PARA CONVERTIR A BOOLEANO REAL! --- + $reprogramming = filter_var($reprogramming, FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE); + $changeInstaller = filter_var($changeInstaller, FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE); + // ----------------------------------------------------------- + + // Puedes volver a loggear los valores para confirmar la conversión (opcional) + $this->logger->debug("DEBUG: Valores después de conversión para mensaje instalador - Reprogramming: " . var_export($reprogramming, true) . ", ChangeInstaller: " . var_export($changeInstaller, true) . PHP_EOL); + if ($changeInstaller) { //Si se cambió el instalador $this->logger->debug('Se cambió el instalador, por lo tanto se procede a enviarle mensaje al que se le desasignó' . PHP_EOL); @@ -473,20 +490,20 @@ abstract class AbstractMessageNotifierFacade //Enviar notificación al instalador anterior $previousinstallerInstallerId = $installerId = $jsonNotificationData['extraData']['entityBeforeEdit']['assignedUserId']; - $usersInstallers = $this->ucrmApi->get('users/admins/' . $previousinstallerInstallerId, []); - $firstNamePreviousInstaller = $usersInstallers['firstName'] ?? ''; //Obtener el nombre del instalador anterior - $lastNamePreviousInstaller = $usersInstallers['lastName'] ?? ''; //Obtener el apellido del instalador anterior - $previousInstallerFullName = trim("$firstNamePreviousInstaller $lastNamePreviousInstaller"); - $attempts = 0; - $maxAttempts = 3; - $result = false; + $usersInstallers = $this->ucrmApi->get('users/admins/' . $previousinstallerInstallerId, []); + $firstNamePreviousInstaller = $usersInstallers['firstName'] ?? ''; //Obtener el nombre del instalador anterior + $lastNamePreviousInstaller = $usersInstallers['lastName'] ?? ''; //Obtener el apellido del instalador anterior + $previousInstallerFullName = trim("$firstNamePreviousInstaller $lastNamePreviousInstaller"); + $attempts = 0; + $maxAttempts = 3; + $result = false; $jsonPreviousInstallerJobNotificationData = [ - "installerName" => $previousInstallerFullName, - "subjectOfChange" => self::SUBJECT_OF_INSTALLER_CHANGE[1], - "jobId" => $jobId, - "clientFullName" => sprintf("[%s] %s", $arrayClientCRM['id'], $clientFullName), - "additionalChangeData" => self::ADDITIONAL_CHANGE_DATA[1] . ' *' . $installerFullName . '*' + "installerName" => "👷🏻‍♂️" . $previousInstallerFullName, + "subjectOfChange" => self::SUBJECT_OF_INSTALLER_CHANGE[1], + "jobId" => $jobId, + "clientFullName" => sprintf("[%s] %s", $arrayClientCRM['id'], $clientFullName), + "additionalChangeData" => self::ADDITIONAL_CHANGE_DATA[1] . ' *' . $installerFullName . '*', ]; @@ -500,6 +517,7 @@ abstract class AbstractMessageNotifierFacade } } + //Enviar mensaje al instalador anterior // Reintentar hasta 3 veces si la función retorna false while ($attempts < $maxAttempts && $result === false) { $attempts++; @@ -507,10 +525,10 @@ abstract class AbstractMessageNotifierFacade $this->validarNumeroTelefono((string) $previousInstallerWhatsApp), $jsonPreviousInstallerJobNotificationData, false, - true, $this->getVaultCredentials($arrayClientCRM['id']) - - ); + true, + '' + ); if ($result === false) { sleep(1); @@ -522,21 +540,21 @@ abstract class AbstractMessageNotifierFacade // Construir el array asociativo con los datos de la notificación para el instalador nuevo $jsonInstallerJobNotificationData = [ - "installerName" => $installerFullName, + "installerName" => $installerFullName, "clientFullName" => sprintf("[%s] %s", $arrayClientCRM['id'], $clientFullName), - "jobId" => $jobId, - "clientAddress" => $safeAddress, + "jobId" => $jobId, + "clientAddress" => $safeAddress, "clientWhatsApp" => $resultadoFinalNumerosCliente, - "date" => $formattedDate, + "date" => $formattedDate, "jobDescription" => $jobDescription, - "gmapsLocation" => $googleMapsUrl + "gmapsLocation" => $googleMapsUrl, ]; //Enviar notificación al instalador nuevo - $attempts = 0; + $attempts = 0; $maxAttempts = 3; - $result = false; + $result = false; // Reintentar hasta 3 veces si la función retorna false while ($attempts < $maxAttempts && $result === false) { @@ -544,63 +562,56 @@ abstract class AbstractMessageNotifierFacade $result = $client_callbell_api->sendJobNotificationWhatsAppToInstaller( $this->validarNumeroTelefono((string) $installerWhatsApp), $jsonInstallerJobNotificationData, - $reprogramming, - false + false, + false, + $this->getVaultCredentials($arrayClientCRM['id']) ); - if ($result === false) { sleep(1); $this->logger->warning("Intento $attempts fallido para enviar notificación a $phone. Reintentando..." . PHP_EOL); } } + } else { //si el instalador no cambió + $this->logger->debug('No se cambió el instalador' . PHP_EOL); - - - - - } else { // Construir el array asociativo con los datos de la notificación $jsonInstallerJobNotificationData = [ - "installerName" => $installerFullName, + "installerName" => $installerFullName, "clientFullName" => sprintf("[%s] %s", $arrayClientCRM['id'], $clientFullName), - "jobId" => $jobId, - "clientAddress" => $safeAddress, + "jobId" => $jobId, + "clientAddress" => $safeAddress, "clientWhatsApp" => $resultadoFinalNumerosCliente, - "date" => $formattedDate, + "date" => $formattedDate, "jobDescription" => $jobDescription, - "gmapsLocation" => $googleMapsUrl + "gmapsLocation" => $googleMapsUrl, ]; - $attempts = 0; + $attempts = 0; $maxAttempts = 3; - $result = false; + $result = false; - // Reintentar hasta 3 veces si la función retorna false + // // Reintentar hasta 3 veces si la función retorna false while ($attempts < $maxAttempts && $result === false) { $attempts++; $result = $client_callbell_api->sendJobNotificationWhatsAppToInstaller( $this->validarNumeroTelefono((string) $installerWhatsApp), $jsonInstallerJobNotificationData, - $reprogramming, - $changeInstaller + false, + false, + $this->getVaultCredentials($arrayClientCRM['id']) ); - if ($result === false) { sleep(1); $this->logger->warning("Intento $attempts fallido para enviar notificación a $phone. Reintentando..." . PHP_EOL); } } - } - - - } /* @@ -614,8 +625,6 @@ abstract class AbstractMessageNotifierFacade $arrayPhones = $this->clientPhoneNumber->getUcrmClientNumbers($notificationData, null); - - // Procesar el array de teléfonos y ejecutar la función correspondiente foreach ($arrayPhones as $type => $phones) { @@ -665,39 +674,36 @@ abstract class AbstractMessageNotifierFacade // $notification_client_data_export = json_encode($notification_client_data); // $this->logger->info("Valor de notification client data export: " . $notification_client_data_export . PHP_EOL); $configManager = \Ubnt\UcrmPluginSdk\Service\PluginConfigManager::create(); - $config = $configManager->loadConfig(); + $config = $configManager->loadConfig(); // the "exportFormat" key must be defined in plugin's manifest file, see the link above - $IPServer = $config['ipserver']; - $UCRMAPIToken = $config['apitoken']; - $CallBellAPIToken = $config['tokencallbell']; + $IPServer = $config['ipserver']; + $UCRMAPIToken = $config['apitoken']; + $CallBellAPIToken = $config['tokencallbell']; $notificationTypeText = $config['notificationTypeText']; - $client_callbell_api = new ClientCallBellAPI($UCRMAPIToken, $IPServer, $CallBellAPIToken); - //$clientPhoneNumber = $this->clientPhoneNumber->getUcrmClientNumber($notificationData); + //$clientPhoneNumber = $this->clientPhoneNumber->getUcrmClientNumber($notificationData); $clientPhoneNumber = $this->validarNumeroTelefono($phoneToNotify); //Obtiene el número de celular del cliente que sea del tipo de contacto "WhatsApp" //$this->logger->debug("Numero de cel obtenido " . $clientPhoneNumber . PHP_EOL); - if (empty($clientPhoneNumber)) { $this->logger->warning('No se encontró un teléfono celular válido para el cliente: ' . $notificationData->clientId); return; } else { - if ($notificationTypeText) { try { - $attempts = 0; + $attempts = 0; $maxAttempts = 3; - $result = false; + $result = false; - while ($attempts < $maxAttempts && !$result) { + while ($attempts < $maxAttempts && ! $result) { $attempts++; $result = $client_callbell_api->sendTextPaymentNotificationWhatsApp($clientPhoneNumber, $notificationData); - if (!$result) { + if (! $result) { $this->logger->warning("Intento $attempts fallido para enviar notificación de texto al cliente con número $clientPhoneNumber." . PHP_EOL); } } @@ -713,15 +719,15 @@ abstract class AbstractMessageNotifierFacade } else { try { - $attempts = 0; + $attempts = 0; $maxAttempts = 3; - $result = false; + $result = false; - while ($attempts < $maxAttempts && !$result) { + while ($attempts < $maxAttempts && ! $result) { $attempts++; $result = $client_callbell_api->sendPaymentNotificationWhatsApp($clientPhoneNumber, $notificationData); - if (!$result) { + if (! $result) { $this->logger->warning("Intento $attempts fallido para enviar notificación al cliente con número $clientPhoneNumber." . PHP_EOL); } } @@ -737,9 +743,6 @@ abstract class AbstractMessageNotifierFacade } - - - } // $messageBody = $this->messageTextFactory->createBody($notificationData); @@ -763,14 +766,13 @@ abstract class AbstractMessageNotifierFacade // $this->logger->info("Valor de notification client data export: " . $notification_client_data_export . PHP_EOL); //$this->logger->debug("Creando instancia callbell ".PHP_EOL); $configManager = \Ubnt\UcrmPluginSdk\Service\PluginConfigManager::create(); - $config = $configManager->loadConfig(); + $config = $configManager->loadConfig(); // the "exportFormat" key must be defined in plugin's manifest file, see the link above - $IPServer = $config['ipserver']; - $UCRMAPIToken = $config['apitoken']; - $CallBellAPIToken = $config['tokencallbell']; + $IPServer = $config['ipserver']; + $UCRMAPIToken = $config['apitoken']; + $CallBellAPIToken = $config['tokencallbell']; $notificationTypeText = $config['notificationTypeText']; - $client_callbell_api = new ClientCallBellAPI($UCRMAPIToken, $IPServer, $CallBellAPIToken); //$this->logger->debug(" instancia callbell creada".PHP_EOL); //$clientPhoneNumber = $this->validarNumeroTelefono($this->clientPhoneNumber->getUcrmClientNumber($notificationData)); @@ -780,13 +782,11 @@ abstract class AbstractMessageNotifierFacade $clientPhoneNumber = $this->validarNumeroTelefono($phoneToNotifyAndUpdate); - if (empty($clientPhoneNumber)) { $this->logger->warning('No se encontró un teléfono celular válido para el cliente: ' . $notificationData->clientId); return; } else { - //$this->logger->debug(sprintf('llego al llamado de sendPaymentNotificationWhatsApp con client_id: %s y número de celular: %s', $notificationData->clientId, $clientPhoneNumber)); if ($notificationTypeText) { @@ -821,9 +821,6 @@ abstract class AbstractMessageNotifierFacade } } - - - } // $messageBody = $this->messageTextFactory->createBody($notificationData); @@ -847,20 +844,18 @@ abstract class AbstractMessageNotifierFacade // $this->logger->info("Valor de notification client data export: " . $notification_client_data_export . PHP_EOL); //$this->logger->debug("Creando instancia callbell ".PHP_EOL); $configManager = \Ubnt\UcrmPluginSdk\Service\PluginConfigManager::create(); - $config = $configManager->loadConfig(); + $config = $configManager->loadConfig(); // the "exportFormat" key must be defined in plugin's manifest file, see the link above - $IPServer = $config['ipserver']; - $UCRMAPIToken = $config['apitoken']; + $IPServer = $config['ipserver']; + $UCRMAPIToken = $config['apitoken']; $CallBellAPIToken = $config['tokencallbell']; - $client_callbell_api = new ClientCallBellAPI($UCRMAPIToken, $IPServer, $CallBellAPIToken); //$this->logger->debug(" instancia callbell creada".PHP_EOL); //$clientPhoneNumber = $this->validarNumeroTelefono($this->clientPhoneNumber->getUcrmClientNumber($notificationData)); $clientPhoneNumber = $this->clientPhoneNumber->getUcrmClientNumber($notificationData); $this->logger->debug("Numero de cel obtenido " . $clientPhoneNumber . PHP_EOL); - if (empty($clientPhoneNumber)) { $this->logger->warning('No se encontró un teléfono celular válido para el cliente: ' . $notificationData->clientId); return; @@ -887,7 +882,6 @@ abstract class AbstractMessageNotifierFacade } - /* * Update the client's data at CallBell */ @@ -901,16 +895,15 @@ abstract class AbstractMessageNotifierFacade // $this->logger->info("Valor de notification client data export: " . $notification_client_data_export . PHP_EOL); $configManager = \Ubnt\UcrmPluginSdk\Service\PluginConfigManager::create(); - $config = $configManager->loadConfig(); + $config = $configManager->loadConfig(); // the "exportFormat" key must be defined in plugin's manifest file, see the link above - $IPServer = $config['ipserver']; - $UCRMAPIToken = $config['apitoken']; + $IPServer = $config['ipserver']; + $UCRMAPIToken = $config['apitoken']; $CallBellAPIToken = $config['tokencallbell']; - $StripeToken = $config['tokenstripe']; + $StripeToken = $config['tokenstripe']; $attributes = $notificationData->clientData['attributes']; //Obtener los atributos del cliente - // Variable para almacenar los valores de los atributos que comienzan con "clabe" - + // Variable para almacenar los valores de los atributos que comienzan con "clabe" // Iterar sobre los atributoss foreach ($attributes as $attribute) { @@ -918,13 +911,11 @@ abstract class AbstractMessageNotifierFacade if (strpos($attribute['key'], 'stripe') === 0) { // Agregar el valor al array $clabeValues $customerStripeID = $attribute['value']; - } else if (strpos($attribute['key'], 'clabe') === 0) {// Verificar si la "key" comienza con "clabe" - // Agregar el valor al array $clabeValues + } else if (strpos($attribute['key'], 'clabe') === 0) { // Verificar si la "key" comienza con "clabe" + // Agregar el valor al array $clabeValues $clabeInterbancaria = $attribute['value']; } - - } if ($updateEmail) { @@ -953,13 +944,8 @@ abstract class AbstractMessageNotifierFacade } } - - - $clientPhoneNumber = $this->validarNumeroTelefono($phoneToUpdate); //Obtiene el número de celular del cliente que sea del tipo de contacto "WhatsApp" - - if (empty($clientPhoneNumber)) { $this->logger->warning('No se encontró un teléfono celular válido para el cliente: ' . $notificationData->clientId); return; @@ -971,7 +957,7 @@ abstract class AbstractMessageNotifierFacade //$this->sendWhatsApp($notificationData, $clientSmsNumber); //$client_callbell_api->sendMessageWhatsApp($clientPhoneNumber, $notificationData); - $client_callbell_api = new ClientCallBellAPI($UCRMAPIToken, $IPServer, $CallBellAPIToken); + $client_callbell_api = new ClientCallBellAPI($UCRMAPIToken, $IPServer, $CallBellAPIToken); $response_getContactCallBell = json_decode($client_callbell_api->getContactWhatsapp($clientPhoneNumber), true); //$this->logger->debug('Se hizo la petición al callbell para obtener el uuid' . PHP_EOL); $client_callbell_api->patchWhatsapp($response_getContactCallBell, $notificationData, $clabeInterbancaria); @@ -1005,19 +991,15 @@ abstract class AbstractMessageNotifierFacade //$this->logger->info("client id " .$clientID. PHP_EOL); - - - $configManager = \Ubnt\UcrmPluginSdk\Service\PluginConfigManager::create(); - $config = $configManager->loadConfig(); + $config = $configManager->loadConfig(); // the "exportFormat" key must be defined in plugin's manifest file, see the link above - $IPServer = $config['ipserver']; - $UCRMAPIToken = $config['apitoken']; + $IPServer = $config['ipserver']; + $UCRMAPIToken = $config['apitoken']; $CallBellAPIToken = $config['tokencallbell']; - $clientPhoneNumber = $this->validarNumeroTelefono($phoneToUpdate); //Obtiene el número de celular del cliente que sea del tipo de contacto "WhatsApp" - //$this->logger->info("Número de telefono obtenido para actualizar:" .$clientPhoneNumber. PHP_EOL); + //$this->logger->info("Número de telefono obtenido para actualizar:" .$clientPhoneNumber. PHP_EOL); if (empty($clientPhoneNumber)) { $this->logger->warning('No se encontró un teléfono celular válido para el cliente: ' . $notificationData->clientId); @@ -1029,7 +1011,7 @@ abstract class AbstractMessageNotifierFacade //$this->sendMessage($notificationData, $clientSmsNumber, $messageBody); //$this->sendWhatsApp($notificationData, $clientSmsNumber); - $client_callbell_api = new ClientCallBellAPI($UCRMAPIToken, $IPServer, $CallBellAPIToken); + $client_callbell_api = new ClientCallBellAPI($UCRMAPIToken, $IPServer, $CallBellAPIToken); $response_getContactCallBell = json_decode($client_callbell_api->getContactWhatsapp($clientPhoneNumber), true); $client_callbell_api->patchServiceStatusWhatsApp($response_getContactCallBell, $notificationData); @@ -1039,7 +1021,6 @@ abstract class AbstractMessageNotifierFacade } } - } /** @@ -1096,436 +1077,440 @@ abstract class AbstractMessageNotifierFacade return ''; } + function patchClientCustomAttribute($clientId, $attributeId, $value): bool + { + $logger = \Ubnt\UcrmPluginSdk\Service\PluginLogManager::create(); + $configManager = \Ubnt\UcrmPluginSdk\Service\PluginConfigManager::create(); + $config = $configManager->loadConfig(); + $ucrmBaseUri = $config['ipserver']; + $authToken = $config['apitoken']; + + $ucrmBaseUri = 'https://' . $ucrmBaseUri . '/crm/api/v1.0/'; + $clientguzz = new Client(); //instancia de cliente GuzzleHttp para consumir API UISP CRM + + $json_data_patch = '{ + "attributes": [ + { + "value": "' . $value . '", + "customAttributeId":' . $attributeId . ' + } + ] + + }'; //JSON para hacer patch de los custom fields del cliente en el UISCP CRM + + try { + //aquí se contruye la petición para hacer patch hacia el cliente en sus custom fields con la API del UISP UCRM + $responseCRM = $clientguzz->patch( + $ucrmBaseUri . 'clients/' . $clientId, + [ + 'headers' => [ + 'X-Auth-Token' => $authToken, + 'Content-Type' => 'application/json', + ], + 'body' => $json_data_patch, + 'verify' => false, // Deshabilitar la verificación del certificado SSL + ], + + ); + //evaluar el código de respuesta HTTP y si es 200 se retorna true + if ($responseCRM->getStatusCode() === 200) { + $this->logger->info("Se actualizó el custom attribute del cliente " . $clientId . PHP_EOL); + return true; // Return true if patch is successful + } else { + $this->logger->info("Error al hacer el patch al CRM: " . $responseCRM->getStatusCode() . PHP_EOL); + return false; // Return false if patch fails + } + + + } catch (\GuzzleHttp\Exception\GuzzleException $error) { + $this->logger->info("Error al hacer el patch al CRM: " . $error->getMessage() . PHP_EOL); + return false; // Return false if patch fails + } + + } function getVaultCredentials($dataToSearch): string -{ - $logger = \Ubnt\UcrmPluginSdk\Service\PluginLogManager::create(); - $configManager = \Ubnt\UcrmPluginSdk\Service\PluginConfigManager::create(); - $config = $configManager->loadConfig(); - $ucrmBaseUri = $config['ipserver']; - $authToken = $config['apitoken']; - - - $unmsBaseUri = 'https://' . $ucrmBaseUri . '/nms/api/v2.1/'; - $ucrmBaseUri = 'https://' . $ucrmBaseUri . '/crm/api/v1.0/'; - //$authToken = '7adc9198-50b1-41d0-9bfa-d4946902ed89'; - - // Crear una instancia del cliente Guzzle - $clientUnms = new Client([ - 'base_uri' => $unmsBaseUri, - 'verify' => false // Deshabilitar la verificación del certificado SSL - ]); - - $clientUcrm = new Client([ - 'base_uri' => $ucrmBaseUri, - 'verify' => false // Deshabilitar la verificación del certificado SSL - ]); - - - //validar si dataToSearch es una dirección IP o una dirección MAC - if (filter_var($dataToSearch, FILTER_VALIDATE_IP)) { - // La variable es una dirección IP válida - // $logger->appendLog('Consulta por dirección IP: ' . $dataToSearch); - print ('Consulta por dirección IP: ' . $dataToSearch . PHP_EOL); - - $IpAddressClientId = filter_var($dataToSearch, FILTER_VALIDATE_IP); - - try { - $responseSitesByIP = $clientUnms->request('GET', 'sites/search?query=' . $dataToSearch . '&count=1&page=1', [ - 'headers' => [ - 'X-Auth-Token' => $authToken - ] - ]); - - if ($responseSitesByIP->getStatusCode() === 200) { - - $datasSitesByIP = json_decode($responseSitesByIP->getBody(), true); - $jsonDevicesBySite = json_encode($datasSitesByIP, JSON_PRETTY_PRINT); - //print_r($jsonDevicesBySite . PHP_EOL); //Devices por ID del sitio - - if (isset($datasSitesByIP[0])) { - $siteId = $datasSitesByIP[0]['id']; - // print_r('ID DEL SITIO: ' . $siteId . PHP_EOL); // ID del sitio - } else { - // $logger->appendLog('No se encontró ningún sitio para la IP proporcionada: ' . $dataToSearch); - print_r('No se encontró ningún sitio para la IP proporcionada: ' . $dataToSearch . PHP_EOL); - return 'Error: No se encontró ningún sitio para la IP proporcionada: ' . $dataToSearch; // Return early if no site is found - } - - - } else { - //echo "Error en la solicitud. Código de estado HTTP: " . $responseSitesByIP->getStatusCode() . PHP_EOL; - // $logger->appendLog('Error en la solicitud. Código de estado HTTP: ' . $responseSitesByIP->getStatusCode()); - print_r('Error en la solicitud. Código de estado HTTP: ' . $responseSitesByIP->getStatusCode() . PHP_EOL); - return 'Error: Falla en la solicitud. Código de estado HTTP: ' . $responseSitesByIP->getStatusCode(); // Return early if the request fails - } - - $devicesBySiteId = $clientUnms->request('GET', 'devices?siteId=' . $siteId, [ - 'headers' => [ - 'X-Auth-Token' => $authToken - ] - ]); - - if ($devicesBySiteId->getStatusCode() === 200) { - $dataDevicesBySite = json_decode($devicesBySiteId->getBody(), true); - $jsonDevicesBySite = json_encode($dataDevicesBySite, JSON_PRETTY_PRINT); - //print_r($jsonDevicesBySite . PHP_EOL); //Devices por ID del sitio - $deviceID = null; - - foreach ($dataDevicesBySite as $device) { - if (isset($device['ipAddress'])) { - $ipAddress = explode('/', $device['ipAddress'])[0]; // Obtener solo la IP sin la máscara - if ($ipAddress === $IpAddressClientId) { - $deviceID = $device['identification']['id']; - break; // Salir del ciclo si se encuentra la IP - } - } else { - // $logger->appendLog('No se encontró la IP del dispositivo en la respuesta de la API.'); - print_r('No se encontró la IP del dispositivo en la respuesta de la API.' . PHP_EOL); - return 'Error: No se encontró la IP del dispositivo en la respuesta de la API.'; // Return early if the IP is not found - } - } - - if ($deviceID == null) { - //echo "No se encontró el dispositivo con la IP proporcionada." . PHP_EOL; - // $logger->appendLog('No se encontró el dispositivo con la IP proporcionada: ' . $IpAddressClientId); - print_r('No se encontró el dispositivo con la IP proporcionada: ' . $IpAddressClientId . PHP_EOL); - return 'Error: No se encontró el dispositivo con la IP proporcionada: ' . $IpAddressClientId; // Return early if no device is found - } - - } else { - // echo "Error en la solicitud. Código de estado HTTP: " . $devicesBySiteId->getStatusCode() . PHP_EOL; - // $logger->appendLog('Error en la solicitud. Código de estado HTTP: ' . $devicesBySiteId->getStatusCode()); - print_r('Error en la solicitud. Código de estado HTTP: ' . $devicesBySiteId->getStatusCode() . PHP_EOL); - return 'Error: Falla en la solicitud. Código de estado HTTP: ' . $devicesBySiteId->getStatusCode(); // Return early if the request fails - } - - $responsePasswordVault = $clientUnms->request('GET', 'vault/' . $deviceID . '/credentials', [ - 'headers' => [ - 'X-Auth-Token' => $authToken - ] - ]); - - if ($responsePasswordVault->getStatusCode() === 200) { - $dataPasswordVault = json_decode($responsePasswordVault->getBody(), true); - // $jsonPasswordVault = json_encode($dataPasswordVault, JSON_PRETTY_PRINT); - //print_r($jsonPasswordVault . PHP_EOL); //Credenciales del dispositivo - - if (isset($dataPasswordVault['credentials']['password'])) { - $dataPasswordVault = $dataPasswordVault['credentials']['password']; - } else { - // echo "No se encontró la contraseña en la respuesta de la API." . PHP_EOL; - // $logger->appendLog('No se encontró una contraseña en la bóveda para la antena de este cliente, es altamente probable que conserve una contraseña conocida.'); - print_r('No se encontró una contraseña en la bóveda para la antena de este cliente, es altamente probable que conserve una contraseña conocida.' . PHP_EOL); - return "Error: No se encontró una contraseña en la bóveda para la antena de este cliente, es altamente probable que conserve una contraseña conocida."; // Return early if the password is not found - } - return $dataPasswordVault; - - } else { - // echo "Error en la solicitud. Código de estado HTTP: " . $responsePasswordVault->getStatusCode() . PHP_EOL; - // $logger->appendLog('Error en la solicitud. Código de estado HTTP: ' . $responsePasswordVault->getStatusCode()); - print_r('Error en la solicitud. Código de estado HTTP: ' . $responsePasswordVault->getStatusCode() . PHP_EOL); - return 'Error: Falla en la solicitud. Código de estado HTTP: ' . $responsePasswordVault->getStatusCode(); // Return early if the request fails - } - - - } catch (RequestException $requestException) { - // Manejar errores de la solicitud, si hay error 404 entonces responder que no se encontró niguna IP asociada a alguna antena o dispositivo de red - if ($requestException->hasResponse()) { - $response = $requestException->getResponse(); - $statusCode = $response->getStatusCode(); - $reason = $response->getReasonPhrase(); - // echo "Error: {$statusCode} - {$reason}" . PHP_EOL; - // echo $response->getBody(); - if ($statusCode == 404) { - // echo "No se encontró el cliente con la dirección IP proporcionada." . PHP_EOL; - // $logger->appendLog('No se encontró el cliente con la dirección IP proporcionada: ' . $IpAddressClientId); - print_r('No se encontró el cliente con la dirección IP proporcionada: ' . $IpAddressClientId . PHP_EOL); - return 'Error: No se encontró el cliente con la dirección IP proporcionada: ' . $IpAddressClientId; // Return early if the client is not found - } - return 'Error: ' . $reason; // Return early if the request fails - } else { - // echo "Error: " . $requestException->getMessage() . PHP_EOL; - // $logger->appendLog('Error: ' . $requestException->getMessage()); - print_r('Error: ' . $requestException->getMessage() . PHP_EOL); - return 'Error: ' . $requestException->getMessage(); // Return early if the request fails - } - - + { + $logger = \Ubnt\UcrmPluginSdk\Service\PluginLogManager::create(); + $configManager = \Ubnt\UcrmPluginSdk\Service\PluginConfigManager::create(); + $config = $configManager->loadConfig(); + $ucrmBaseUri = $config['ipserver']; + $authToken = $config['apitoken']; + if ($ucrmBaseUri === '172.16.5.134') { //opción solo para el servidor de pruebas + return 'gYAIEK:Be}SK*01z5+/V'; } + $unmsBaseUri = 'https://' . $ucrmBaseUri . '/nms/api/v2.1/'; + $ucrmBaseUri = 'https://' . $ucrmBaseUri . '/crm/api/v1.0/'; + //$authToken = '7adc9198-50b1-41d0-9bfa-d4946902ed89'; - } else if (preg_match('/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$/', $dataToSearch)) { - // La variable es una dirección MAC válida - // $logger->appendLog('Consulta por dirección MAC: ' . $dataToSearch); - print ('Consulta por dirección MAC: ' . $dataToSearch . PHP_EOL); + // Crear una instancia del cliente Guzzle + $clientUnms = new Client([ + 'base_uri' => $unmsBaseUri, + 'verify' => false, // Deshabilitar la verificación del certificado SSL + ]); - try { - // //para mandarla al endpoint de dispositivos por MAC se necesita convertir la cadena de la direccion mac en un formato como el siguiente ejemplo: para la dirección mac 60:22:32:c8:b2:c3 quedaría como 60%3A22%3A32%3Ac8%3Ab2%3Ac3 - // $dataToSearch = str_replace(':', '%3A', $dataToSearch); - // $logger->appendLog('Consulta por dirección MAC: ' . $dataToSearch ); - $responseDeviceByMAC = $clientUnms->request('GET', 'devices/mac/' . $dataToSearch, [ - 'headers' => [ - 'X-Auth-Token' => $authToken - ] - ]); + $clientUcrm = new Client([ + 'base_uri' => $ucrmBaseUri, + 'verify' => false, // Deshabilitar la verificación del certificado SSL + ]); - if ($responseDeviceByMAC->getStatusCode() === 200) { - - $dataDeviceByMAC = json_decode($responseDeviceByMAC->getBody(), true); - $jsonDeviceByMac = json_encode($dataDeviceByMAC, JSON_PRETTY_PRINT); - // print_r($jsonDeviceByMac . PHP_EOL); //Devices por ID del sitio - //$logger->appendLog($jsonDeviceByMac.PHP_EOL); - - //Ejemplo de $responseDeviceByMac en json: {"id":"84c8a581-154c-41db-81d5-a1b1c9ede411","type":"airMax","series":"AC"} - //obtener el id del dispositivo y si no existe el id del dispositivo entonces devolver un mensaje de error - if (isset($dataDeviceByMAC['id'])) { - $deviceId = $dataDeviceByMAC['id']; - // print_r('ID DEL DISPOSITIVO: ' . $deviceId . PHP_EOL); // ID del dispositivo - } else { - // echo "No se encontró el dispositivo con la dirección MAC proporcionada." . PHP_EOL; - // $logger->appendLog('No se encontró el dispositivo con la dirección MAC proporcionada: ' . $dataToSearch); - print_r('No se encontró el dispositivo con la dirección MAC proporcionada: ' . $dataToSearch . PHP_EOL); - return 'Error: No se encontró el dispositivo con la dirección MAC proporcionada: ' . $dataToSearch; // Return early if no device is found - } - - } - - $responsePasswordVault = $clientUnms->request('GET', 'vault/' . $deviceId . '/credentials', [ - 'headers' => [ - 'X-Auth-Token' => $authToken - ] - ]); - - if ($responsePasswordVault->getStatusCode() === 200) { - $dataPasswordVault = json_decode($responsePasswordVault->getBody(), true); - // $jsonPasswordVault = json_encode($dataPasswordVault, JSON_PRETTY_PRINT); - //print_r($jsonPasswordVault . PHP_EOL); //Credenciales del dispositivo - - if (isset($dataPasswordVault['credentials']['password'])) { - $dataPasswordVault = $dataPasswordVault['credentials']['password']; - } else { - // echo "No se encontró la contraseña en la respuesta de la API." . PHP_EOL; - // $logger->appendLog('No se encontró una contraseña en la bóveda para la antena de este cliente, es altamente probable que conserve una contraseña conocida.'); - print_r('No se encontró una contraseña en la bóveda para la antena de este cliente, es altamente probable que conserve una contraseña conocida.' . PHP_EOL); - return "Error: No se encontró una contraseña en la bóveda para la antena de este cliente, es altamente probable que conserve una contraseña conocida."; // Return early if the password is not found - } - return $dataPasswordVault; - - } else { - // echo "Error en la solicitud. Código de estado HTTP: " . $responsePasswordVault->getStatusCode() . PHP_EOL; - // $logger->appendLog('Error en la solicitud. Código de estado HTTP: ' . $responsePasswordVault->getStatusCode()); - print_r('Error en la solicitud. Código de estado HTTP: ' . $responsePasswordVault->getStatusCode() . PHP_EOL); - return 'Error: Falla en la solicitud. Código de estado HTTP: ' . $responsePasswordVault->getStatusCode(); // Return early if the request fails - } - - - } catch (RequestException $requestException) { - // Manejar errores de la solicitud, si hay error 404 entonces responder que no se encontró niguna MAC asociada a alguna antena o dispositivo de red - if ($requestException->hasResponse()) { - $response = $requestException->getResponse(); - $statusCode = $response->getStatusCode(); - $reason = $response->getReasonPhrase(); - // echo "Error: {$statusCode} - {$reason}" . PHP_EOL; - // echo $response->getBody(); - if ($statusCode == 404) { - // echo "No se encontró el cliente con la dirección MAC proporcionada." . PHP_EOL; - // $logger->appendLog('No se encontró ninguna antena de cliente o dispositivo en la red con la dirección MAC proporcionada: ' . $dataToSearch); - print_r('No se encontró ninguna antena de cliente o dispositivo en la red con la dirección MAC proporcionada: ' . $dataToSearch . PHP_EOL); - return 'Error: No se encontró ninguna antena de cliente o dispositivo en la red con la dirección MAC proporcionada: ' . $dataToSearch; // Return early if the client is not found - } - return 'Error: ' . $reason; // Return early if the request fails - } else { - // echo "Error: " . $requestException->getMessage() . PHP_EOL; - // $logger->appendLog('Error: ' . $requestException->getMessage()); - print_r('Error: ' . $requestException->getMessage() . PHP_EOL); - return 'Error: ' . $requestException->getMessage(); // Return early if the request fails - } - - - } - - - } else { - // La variable no es una dirección IP válida, se asume que es un ID - $IpAddressClientId = filter_var($dataToSearch, FILTER_SANITIZE_NUMBER_INT); - //print ('Consulta por ID: ' . $dataToSearch . PHP_EOL); - - try { - //Obtener id del sitio por medio del servicio - $responseServices = $clientUcrm->get('clients/services?clientId=' . $IpAddressClientId, [ - 'headers' => [ - 'X-Auth-Token' => $authToken, - 'Content-Type: application/json' - ] - ]); - - } catch (RequestException $requestException) { - // Manejar errores de la solicitud - if ($requestException->hasResponse()) { - $response = $requestException->getResponse(); - $statusCode = $response->getStatusCode(); - $reason = $response->getReasonPhrase(); - //si el statusCode es 404 significa que no se encontró el cliente - if ($statusCode == 404) { - echo "No se encontró el cliente con el ID proporcionado." . PHP_EOL; - $logger->appendLog('No se encontró el cliente con el ID proporcionado: ' . $IpAddressClientId); - // print_r('No se encontró el cliente con el ID proporcionado: ' . $IpAddressClientId . PHP_EOL); - return 'Error: No se encontró el cliente con el ID proporcionado: ' . $IpAddressClientId; // Return early if the client is not found - } - return 'Error: ' . $reason; // Return early if the request fails - - } else { - // echo "Error: " . $requestException->getMessage() . PHP_EOL; - $logger->appendLog('Error: ' . $requestException->getMessage()); - // print_r('Error: ' . $requestException->getMessage() . PHP_EOL); - return 'Error: ' . $requestException->getMessage(); // Return early if the request fails - } - - } - - if ($responseServices->getStatusCode() === 200) { - - $dataServices = json_decode($responseServices->getBody(), true); - // $jsonServices = json_encode($dataServices, JSON_PRETTY_PRINT); - // print_r($jsonServices . PHP_EOL); - if (isset($dataServices[0])) { - $unmsSiteID = $dataServices[0]['unmsClientSiteId']; // Example: 9c6798f3-0254-4e5b-bc3b-9da82fe16e46 - } else { - // echo "No se encontraron servicios para el cliente proporcionado." . PHP_EOL; - $logger->appendLog('No se encontraron servicios para el cliente proporcionado: ' . $IpAddressClientId); - // print_r('No se encontraron servicios para el cliente proporcionado: ' . $IpAddressClientId . PHP_EOL); - return "Error: No se encontraron servicios para el cliente proporcionado: " . $IpAddressClientId; // Return early if no services are found - } - - } else { - // echo "Error en la solicitud. Código de estado HTTP: " . $responseServices->getStatusCode() . PHP_EOL; - $logger->appendLog('Error en la solicitud. Código de estado HTTP: ' . $responseServices->getStatusCode()); - // print_r('Error en la solicitud. Código de estado HTTP: ' . $responseServices->getStatusCode() . PHP_EOL); - return "Error: En la solicitud. Código de estado HTTP: " . $responseServices->getStatusCode(); - } - - try { - $responseDevicesBySite = $clientUnms->request('GET', 'devices?siteId=' . $unmsSiteID, [ - 'headers' => [ - 'X-Auth-Token' => $authToken - ] - ]); - } catch (RequestException $requestException) { - // Manejar errores de la solicitud - if ($requestException->hasResponse()) { - $response = $requestException->getResponse(); - $statusCode = $response->getStatusCode(); - $reason = $response->getReasonPhrase(); - //si el statusCode es 404 significa que no se encontró el cliente - if ($statusCode == 404) { - // echo "No se encontró el cliente con el ID proporcionado." . PHP_EOL; - $logger->appendLog('No se encontró el cliente con el ID proporcionado: ' . $IpAddressClientId); - // print_r('No se encontró el devicie con el ID proporcionado: ' . $IpAddressClientId . PHP_EOL); - return 'Error: No se encontró el devicie con el ID proporcionado: ' . $IpAddressClientId; // Return early if the client is not found - } - return 'Error: ' . $reason; // Return early if the request fails - - } else { - // echo "Error: " . $requestException->getMessage() . PHP_EOL; - $logger->appendLog('Error: ' . $requestException->getMessage()); - // print_r('Error: ' . $requestException->getMessage() . PHP_EOL); - return 'Error: ' . $requestException->getMessage(); // Return early if the request fails - } - - } - - - if ($responseDevicesBySite->getStatusCode() === 200) { - - $dataDevicesBySite = json_decode($responseDevicesBySite->getBody(), true); - $jsonDevicesBySite = json_encode($dataDevicesBySite, JSON_PRETTY_PRINT); - //print_r($jsonDevicesBySite . PHP_EOL); //Devices por ID del sitio - - //id del device al que está conectado el cliente - if (isset($dataDevicesBySite[0])) { - //verificar con iiset si existe la clave 'identification' y 'apDevice' en el primer elemento del array - if (isset($dataDevicesBySite[0]['identification']) && isset($dataDevicesBySite[0]['attributes']['apDevice'])) { - $idClientDevice = $dataDevicesBySite[0]['identification']['id']; - $deviceID = $dataDevicesBySite[0]['attributes']['apDevice']['id']; - } else { - // echo "No se encontró la clave 'identification' o 'apDevice' en la respuesta." . PHP_EOL; - $logger->appendLog('No se encontró la clave \'identification\' o \'apDevice\' en la respuesta.'); - // print_r('Este cliente es un repetidor.' . PHP_EOL); - return "Este cliente es un repetidor."; // Return early if the key is not found - } - - } else { - // echo "No se encontraron dispositivos para el sitio proporcionado." . PHP_EOL; - $logger->appendLog('No se encontraron dispositivos para el sitio proporcionado: ' . $unmsSiteID); - // print_r('No se encontraron dispositivos para el sitio proporcionado: ' . $unmsSiteID . PHP_EOL); - return "Error: No se encontraron dispositivos para el sitio proporcionado."; // Return early if no devices are found - } - - - - } else { - // echo "Error en la solicitud. Código de estado HTTP: " . $responseDevicesBySite->getStatusCode() . PHP_EOL; - $logger->appendLog('Error en la solicitud. Código de estado HTTP: ' . $responseDevicesBySite->getStatusCode()); - // print_r('Error en la solicitud. Código de estado HTTP: ' . $responseDevicesBySite->getStatusCode() . PHP_EOL); - return "Error: Falla en la solicitud. Código de estado HTTP: " . $responseDevicesBySite->getStatusCode(); - } - - try { - $responseDevicesBySite = $clientUnms->request('GET', 'devices/' . $deviceID, [ - 'headers' => [ - 'X-Auth-Token' => $authToken - ] - ]); - } catch (RequestException $requestException) { - // Manejar errores de la solicitud - if ($requestException->hasResponse()) { - $response = $requestException->getResponse(); - $statusCode = $response->getStatusCode(); - $reason = $response->getReasonPhrase(); - //si el statusCode es 404 significa que no se encontró el cliente - if ($statusCode == 404) { - // echo "No se encontró el cliente con el ID proporcionado." . PHP_EOL; - $logger->appendLog('No se encontró el cliente con el ID proporcionado: ' . $IpAddressClientId); - // print_r('No se encontró el device con el ID proporcionado: ' . $IpAddressClientId . PHP_EOL); - return 'Error: No se encontró el device con el ID proporcionado: ' . $IpAddressClientId; // Return early if the client is not found - } - return 'Error: ' . $reason; // Return early if the request fails - - } else { - // echo "Error: " . $requestException->getMessage() . PHP_EOL; - $logger->appendLog('Error: ' . $requestException->getMessage()); - // print_r('Error: ' . $requestException->getMessage() . PHP_EOL); - return 'Error: ' . $requestException->getMessage(); // Return early if the request fails - } - - } - - if ($responseDevicesBySite->getStatusCode() === 200) { - - $dataDevices = json_decode($responseDevicesBySite->getBody(), true); - $jsonDevices = json_encode($dataDevices, JSON_PRETTY_PRINT); - //print_r($jsonDevices . PHP_EOL); + //validar si dataToSearch es una dirección IP o una dirección MAC + if (filter_var($dataToSearch, FILTER_VALIDATE_IP)) { + // La variable es una dirección IP válida + // $logger->appendLog('Consulta por dirección IP: ' . $dataToSearch); + print('Consulta por dirección IP: ' . $dataToSearch . PHP_EOL); + $IpAddressClientId = filter_var($dataToSearch, FILTER_VALIDATE_IP); try { - //print_r('ID del device al que está conectado el cliente: ' . $idDevice . PHP_EOL); - $responsePasswordVault = $clientUnms->request('GET', 'vault/' . $idClientDevice . '/credentials', [ + $responseSitesByIP = $clientUnms->request('GET', 'sites/search?query=' . $dataToSearch . '&count=1&page=1', [ 'headers' => [ - 'X-Auth-Token' => $authToken - ] + 'X-Auth-Token' => $authToken, + ], + ]); + + if ($responseSitesByIP->getStatusCode() === 200) { + + $datasSitesByIP = json_decode((string) $responseSitesByIP->getBody(), true); + $jsonDevicesBySite = json_encode($datasSitesByIP, JSON_PRETTY_PRINT); + //print_r($jsonDevicesBySite . PHP_EOL); //Devices por ID del sitio + + if (isset($datasSitesByIP[0])) { + $siteId = $datasSitesByIP[0]['id']; + // print_r('ID DEL SITIO: ' . $siteId . PHP_EOL); // ID del sitio + } else { + // $logger->appendLog('No se encontró ningún sitio para la IP proporcionada: ' . $dataToSearch); + print_r('No se encontró ningún sitio para la IP proporcionada: ' . $dataToSearch . PHP_EOL); + return 'Error: No se encontró ningún sitio para la IP proporcionada: ' . $dataToSearch; // Return early if no site is found + } + + } else { + //echo "Error en la solicitud. Código de estado HTTP: " . $responseSitesByIP->getStatusCode() . PHP_EOL; + // $logger->appendLog('Error en la solicitud. Código de estado HTTP: ' . $responseSitesByIP->getStatusCode()); + print_r('Error en la solicitud. Código de estado HTTP: ' . $responseSitesByIP->getStatusCode() . PHP_EOL); + return 'Error: Falla en la solicitud. Código de estado HTTP: ' . $responseSitesByIP->getStatusCode(); // Return early if the request fails + } + + $devicesBySiteId = $clientUnms->request('GET', 'devices?siteId=' . $siteId, [ + 'headers' => [ + 'X-Auth-Token' => $authToken, + ], + ]); + + if ($devicesBySiteId->getStatusCode() === 200) { + $dataDevicesBySite = json_decode((string) $devicesBySiteId->getBody(), true); + $jsonDevicesBySite = json_encode($dataDevicesBySite, JSON_PRETTY_PRINT); + //print_r($jsonDevicesBySite . PHP_EOL); //Devices por ID del sitio + $deviceID = null; + + foreach ($dataDevicesBySite as $device) { + if (isset($device['ipAddress'])) { + $ipAddress = explode('/', $device['ipAddress'])[0]; // Obtener solo la IP sin la máscara + if ($ipAddress === $IpAddressClientId) { + $deviceID = $device['identification']['id']; + break; // Salir del ciclo si se encuentra la IP + } + } else { + // $logger->appendLog('No se encontró la IP del dispositivo en la respuesta de la API.'); + print_r('No se encontró la IP del dispositivo en la respuesta de la API.' . PHP_EOL); + return 'Error: No se encontró la IP del dispositivo en la respuesta de la API.'; // Return early if the IP is not found + } + } + + if ($deviceID == null) { + //echo "No se encontró el dispositivo con la IP proporcionada." . PHP_EOL; + // $logger->appendLog('No se encontró el dispositivo con la IP proporcionada: ' . $IpAddressClientId); + print_r('No se encontró el dispositivo con la IP proporcionada: ' . $IpAddressClientId . PHP_EOL); + return 'Error: No se encontró el dispositivo con la IP proporcionada: ' . $IpAddressClientId; // Return early if no device is found + } + + } else { + // echo "Error en la solicitud. Código de estado HTTP: " . $devicesBySiteId->getStatusCode() . PHP_EOL; + // $logger->appendLog('Error en la solicitud. Código de estado HTTP: ' . $devicesBySiteId->getStatusCode()); + print_r('Error en la solicitud. Código de estado HTTP: ' . $devicesBySiteId->getStatusCode() . PHP_EOL); + return 'Error: Falla en la solicitud. Código de estado HTTP: ' . $devicesBySiteId->getStatusCode(); // Return early if the request fails + } + + $responsePasswordVault = $clientUnms->request('GET', 'vault/' . $deviceID . '/credentials', [ + 'headers' => [ + 'X-Auth-Token' => $authToken, + ], + ]); + + if ($responsePasswordVault->getStatusCode() === 200) { + $dataPasswordVault = json_decode((string) $responsePasswordVault->getBody(), true); + // $jsonPasswordVault = json_encode($dataPasswordVault, JSON_PRETTY_PRINT); + //print_r($jsonPasswordVault . PHP_EOL); //Credenciales del dispositivo + + if (isset($dataPasswordVault['credentials']['password'])) { + $dataPasswordVault = $dataPasswordVault['credentials']['password']; + } else { + // echo "No se encontró la contraseña en la respuesta de la API." . PHP_EOL; + // $logger->appendLog('No se encontró una contraseña en la bóveda para la antena de este cliente, es altamente probable que conserve una contraseña conocida.'); + print_r('No se encontró una contraseña en la bóveda para la antena de este cliente, es altamente probable que conserve una contraseña conocida.' . PHP_EOL); + return "Error: No se encontró una contraseña en la bóveda para la antena de este cliente, es altamente probable que conserve una contraseña conocida."; // Return early if the password is not found + } + return $dataPasswordVault; + + } else { + // echo "Error en la solicitud. Código de estado HTTP: " . $responsePasswordVault->getStatusCode() . PHP_EOL; + // $logger->appendLog('Error en la solicitud. Código de estado HTTP: ' . $responsePasswordVault->getStatusCode()); + print_r('Error en la solicitud. Código de estado HTTP: ' . $responsePasswordVault->getStatusCode() . PHP_EOL); + return 'Error: Falla en la solicitud. Código de estado HTTP: ' . $responsePasswordVault->getStatusCode(); // Return early if the request fails + } + + } catch (RequestException $requestException) { + // Manejar errores de la solicitud, si hay error 404 entonces responder que no se encontró niguna IP asociada a alguna antena o dispositivo de red + if ($requestException->hasResponse()) { + $response = $requestException->getResponse(); + $statusCode = $response->getStatusCode(); + $reason = $response->getReasonPhrase(); + // echo "Error: {$statusCode} - {$reason}" . PHP_EOL; + // echo $response->getBody(); + if ($statusCode == 404) { + // echo "No se encontró el cliente con la dirección IP proporcionada." . PHP_EOL; + // $logger->appendLog('No se encontró el cliente con la dirección IP proporcionada: ' . $IpAddressClientId); + print_r('No se encontró el cliente con la dirección IP proporcionada: ' . $IpAddressClientId . PHP_EOL); + return 'Error: No se encontró el cliente con la dirección IP proporcionada: ' . $IpAddressClientId; // Return early if the client is not found + } + return 'Error: ' . $reason; // Return early if the request fails + } else { + // echo "Error: " . $requestException->getMessage() . PHP_EOL; + // $logger->appendLog('Error: ' . $requestException->getMessage()); + print_r('Error: ' . $requestException->getMessage() . PHP_EOL); + return 'Error: ' . $requestException->getMessage(); // Return early if the request fails + } + + } + + } else if (preg_match('/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$/', $dataToSearch)) { + // La variable es una dirección MAC válida + // $logger->appendLog('Consulta por dirección MAC: ' . $dataToSearch); + print('Consulta por dirección MAC: ' . $dataToSearch . PHP_EOL); + + try { + // //para mandarla al endpoint de dispositivos por MAC se necesita convertir la cadena de la direccion mac en un formato como el siguiente ejemplo: para la dirección mac 60:22:32:c8:b2:c3 quedaría como 60%3A22%3A32%3Ac8%3Ab2%3Ac3 + // $dataToSearch = str_replace(':', '%3A', $dataToSearch); + // $logger->appendLog('Consulta por dirección MAC: ' . $dataToSearch ); + $responseDeviceByMAC = $clientUnms->request('GET', 'devices/mac/' . $dataToSearch, [ + 'headers' => [ + 'X-Auth-Token' => $authToken, + ], + ]); + + if ($responseDeviceByMAC->getStatusCode() === 200) { + + $dataDeviceByMAC = json_decode((string) $responseDeviceByMAC->getBody(), true); + $jsonDeviceByMac = json_encode($dataDeviceByMAC, JSON_PRETTY_PRINT); + // print_r($jsonDeviceByMac . PHP_EOL); //Devices por ID del sitio + //$logger->appendLog($jsonDeviceByMac.PHP_EOL); + + //Ejemplo de $responseDeviceByMac en json: {"id":"84c8a581-154c-41db-81d5-a1b1c9ede411","type":"airMax","series":"AC"} + //obtener el id del dispositivo y si no existe el id del dispositivo entonces devolver un mensaje de error + if (isset($dataDeviceByMAC['id'])) { + $deviceId = $dataDeviceByMAC['id']; + // print_r('ID DEL DISPOSITIVO: ' . $deviceId . PHP_EOL); // ID del dispositivo + } else { + // echo "No se encontró el dispositivo con la dirección MAC proporcionada." . PHP_EOL; + // $logger->appendLog('No se encontró el dispositivo con la dirección MAC proporcionada: ' . $dataToSearch); + print_r('No se encontró el dispositivo con la dirección MAC proporcionada: ' . $dataToSearch . PHP_EOL); + return 'Error: No se encontró el dispositivo con la dirección MAC proporcionada: ' . $dataToSearch; // Return early if no device is found + } + + } + + $responsePasswordVault = $clientUnms->request('GET', 'vault/' . $deviceId . '/credentials', [ + 'headers' => [ + 'X-Auth-Token' => $authToken, + ], + ]); + + if ($responsePasswordVault->getStatusCode() === 200) { + $dataPasswordVault = json_decode((string) $responsePasswordVault->getBody(), true); + // $jsonPasswordVault = json_encode($dataPasswordVault, JSON_PRETTY_PRINT); + //print_r($jsonPasswordVault . PHP_EOL); //Credenciales del dispositivo + + if (isset($dataPasswordVault['credentials']['password'])) { + $dataPasswordVault = $dataPasswordVault['credentials']['password']; + } else { + // echo "No se encontró la contraseña en la respuesta de la API." . PHP_EOL; + // $logger->appendLog('No se encontró una contraseña en la bóveda para la antena de este cliente, es altamente probable que conserve una contraseña conocida.'); + print_r('No se encontró una contraseña en la bóveda para la antena de este cliente, es altamente probable que conserve una contraseña conocida.' . PHP_EOL); + return "Error: No se encontró una contraseña en la bóveda para la antena de este cliente, es altamente probable que conserve una contraseña conocida."; // Return early if the password is not found + } + return $dataPasswordVault; + + } else { + // echo "Error en la solicitud. Código de estado HTTP: " . $responsePasswordVault->getStatusCode() . PHP_EOL; + // $logger->appendLog('Error en la solicitud. Código de estado HTTP: ' . $responsePasswordVault->getStatusCode()); + print_r('Error en la solicitud. Código de estado HTTP: ' . $responsePasswordVault->getStatusCode() . PHP_EOL); + return 'Error: Falla en la solicitud. Código de estado HTTP: ' . $responsePasswordVault->getStatusCode(); // Return early if the request fails + } + + } catch (RequestException $requestException) { + // Manejar errores de la solicitud, si hay error 404 entonces responder que no se encontró niguna MAC asociada a alguna antena o dispositivo de red + if ($requestException->hasResponse()) { + $response = $requestException->getResponse(); + $statusCode = $response->getStatusCode(); + $reason = $response->getReasonPhrase(); + // echo "Error: {$statusCode} - {$reason}" . PHP_EOL; + // echo $response->getBody(); + if ($statusCode == 404) { + // echo "No se encontró el cliente con la dirección MAC proporcionada." . PHP_EOL; + // $logger->appendLog('No se encontró ninguna antena de cliente o dispositivo en la red con la dirección MAC proporcionada: ' . $dataToSearch); + print_r('No se encontró ninguna antena de cliente o dispositivo en la red con la dirección MAC proporcionada: ' . $dataToSearch . PHP_EOL); + return 'Error: No se encontró ninguna antena de cliente o dispositivo en la red con la dirección MAC proporcionada: ' . $dataToSearch; // Return early if the client is not found + } + return 'Error: ' . $reason; // Return early if the request fails + } else { + // echo "Error: " . $requestException->getMessage() . PHP_EOL; + // $logger->appendLog('Error: ' . $requestException->getMessage()); + print_r('Error: ' . $requestException->getMessage() . PHP_EOL); + return 'Error: ' . $requestException->getMessage(); // Return early if the request fails + } + + } + + } else { + // La variable no es una dirección IP válida, se asume que es un ID + $IpAddressClientId = filter_var($dataToSearch, FILTER_SANITIZE_NUMBER_INT); + //print ('Consulta por ID: ' . $dataToSearch . PHP_EOL); + + try { + //Obtener id del sitio por medio del servicio + $responseServices = $clientUcrm->get('clients/services?clientId=' . $IpAddressClientId, [ + 'headers' => [ + 'X-Auth-Token' => $authToken, + 'Content-Type: application/json', + ], + ]); + + } catch (RequestException $requestException) { + // Manejar errores de la solicitud + if ($requestException->hasResponse()) { + $response = $requestException->getResponse(); + $statusCode = $response->getStatusCode(); + $reason = $response->getReasonPhrase(); + //si el statusCode es 404 significa que no se encontró el cliente + if ($statusCode == 404) { + echo "No se encontró el cliente con el ID proporcionado." . PHP_EOL; + $logger->appendLog('No se encontró el cliente con el ID proporcionado: ' . $IpAddressClientId); + // print_r('No se encontró el cliente con el ID proporcionado: ' . $IpAddressClientId . PHP_EOL); + return 'Error: No se encontró el cliente con el ID proporcionado: ' . $IpAddressClientId; // Return early if the client is not found + } + return 'Error: ' . $reason; // Return early if the request fails + + } else { + // echo "Error: " . $requestException->getMessage() . PHP_EOL; + $logger->appendLog('Error: ' . $requestException->getMessage()); + // print_r('Error: ' . $requestException->getMessage() . PHP_EOL); + return 'Error: ' . $requestException->getMessage(); // Return early if the request fails + } + + } + + if ($responseServices->getStatusCode() === 200) { + + $dataServices = json_decode($responseServices->getBody()->getContents(), true); + // $jsonServices = json_encode($dataServices, JSON_PRETTY_PRINT); + // print_r($jsonServices . PHP_EOL); + if (isset($dataServices[0])) { + $unmsSiteID = $dataServices[0]['unmsClientSiteId']; // Example: 9c6798f3-0254-4e5b-bc3b-9da82fe16e46 + } else { + // echo "No se encontraron servicios para el cliente proporcionado." . PHP_EOL; + $logger->appendLog('No se encontraron servicios para el cliente proporcionado: ' . $IpAddressClientId); + // print_r('No se encontraron servicios para el cliente proporcionado: ' . $IpAddressClientId . PHP_EOL); + return "Error: No se encontraron servicios para el cliente proporcionado: " . $IpAddressClientId; // Return early if no services are found + } + + } else { + // echo "Error en la solicitud. Código de estado HTTP: " . $responseServices->getStatusCode() . PHP_EOL; + $logger->appendLog('Error en la solicitud. Código de estado HTTP: ' . $responseServices->getStatusCode()); + // print_r('Error en la solicitud. Código de estado HTTP: ' . $responseServices->getStatusCode() . PHP_EOL); + return "Error: En la solicitud. Código de estado HTTP: " . $responseServices->getStatusCode(); + } + + try { + $responseDevicesBySite = $clientUnms->request('GET', 'devices?siteId=' . $unmsSiteID, [ + 'headers' => [ + 'X-Auth-Token' => $authToken, + ], ]); } catch (RequestException $requestException) { // Manejar errores de la solicitud if ($requestException->hasResponse()) { - $response = $requestException->getResponse(); + $response = $requestException->getResponse(); $statusCode = $response->getStatusCode(); - $reason = $response->getReasonPhrase(); + $reason = $response->getReasonPhrase(); //si el statusCode es 404 significa que no se encontró el cliente if ($statusCode == 404) { // echo "No se encontró el cliente con el ID proporcionado." . PHP_EOL; $logger->appendLog('No se encontró el cliente con el ID proporcionado: ' . $IpAddressClientId); - // print_r('No se encontró el device con el ID proporcionado: ' . $IpAddressClientId . PHP_EOL); + // print_r('No se encontró el devicie con el ID proporcionado: ' . $IpAddressClientId . PHP_EOL); + return 'Error: No se encontró el devicie con el ID proporcionado: ' . $IpAddressClientId; // Return early if the client is not found + } + return 'Error: ' . $reason; // Return early if the request fails + + } else { + // echo "Error: " . $requestException->getMessage() . PHP_EOL; + $logger->appendLog('Error: ' . $requestException->getMessage()); + // print_r('Error: ' . $requestException->getMessage() . PHP_EOL); + return 'Error: ' . $requestException->getMessage(); // Return early if the request fails + } + + } + + if ($responseDevicesBySite->getStatusCode() === 200) { + + $dataDevicesBySite = json_decode($responseDevicesBySite->getBody()->getContents(), true); + $jsonDevicesBySite = json_encode($dataDevicesBySite, JSON_PRETTY_PRINT); + //print_r($jsonDevicesBySite . PHP_EOL); //Devices por ID del sitio + + //id del device al que está conectado el cliente + if (isset($dataDevicesBySite[0])) { + //verificar con iiset si existe la clave 'identification' y 'apDevice' en el primer elemento del array + if (isset($dataDevicesBySite[0]['identification']) && isset($dataDevicesBySite[0]['attributes']['apDevice'])) { + $idClientDevice = $dataDevicesBySite[0]['identification']['id']; + $deviceID = $dataDevicesBySite[0]['attributes']['apDevice']['id']; + } else { + // echo "No se encontró la clave 'identification' o 'apDevice' en la respuesta." . PHP_EOL; + $logger->appendLog('No se encontró la clave \'identification\' o \'apDevice\' en la respuesta.'); + // print_r('Este cliente es un repetidor.' . PHP_EOL); + return "Este cliente es un repetidor."; // Return early if the key is not found + } + + } else { + // echo "No se encontraron dispositivos para el sitio proporcionado." . PHP_EOL; + $logger->appendLog('No se encontraron dispositivos para el sitio proporcionado: ' . $unmsSiteID); + // print_r('No se encontraron dispositivos para el sitio proporcionado: ' . $unmsSiteID . PHP_EOL); + return "Error: No se encontraron dispositivos para el sitio proporcionado."; // Return early if no devices are found + } + + } else { + // echo "Error en la solicitud. Código de estado HTTP: " . $responseDevicesBySite->getStatusCode() . PHP_EOL; + $logger->appendLog('Error en la solicitud. Código de estado HTTP: ' . $responseDevicesBySite->getStatusCode()); + // print_r('Error en la solicitud. Código de estado HTTP: ' . $responseDevicesBySite->getStatusCode() . PHP_EOL); + return "Error: Falla en la solicitud. Código de estado HTTP: " . $responseDevicesBySite->getStatusCode(); + } + + try { + $responseDevicesBySite = $clientUnms->request('GET', 'devices/' . $deviceID, [ + 'headers' => [ + 'X-Auth-Token' => $authToken, + ], + ]); + } catch (RequestException $requestException) { + // Manejar errores de la solicitud + if ($requestException->hasResponse()) { + $response = $requestException->getResponse(); + $statusCode = $response->getStatusCode(); + $reason = $response->getReasonPhrase(); + //si el statusCode es 404 significa que no se encontró el cliente + if ($statusCode == 404) { + // echo "No se encontró el cliente con el ID proporcionado." . PHP_EOL; + $logger->appendLog('No se encontró el cliente con el ID proporcionado: ' . $IpAddressClientId); + // print_r('No se encontró el device con el ID proporcionado: ' . $IpAddressClientId . PHP_EOL); return 'Error: No se encontró el device con el ID proporcionado: ' . $IpAddressClientId; // Return early if the client is not found } return 'Error: ' . $reason; // Return early if the request fails @@ -1533,45 +1518,77 @@ abstract class AbstractMessageNotifierFacade } else { // echo "Error: " . $requestException->getMessage() . PHP_EOL; $logger->appendLog('Error: ' . $requestException->getMessage()); - // print_r('Error: ' . $requestException->getMessage() . PHP_EOL); + // print_r('Error: ' . $requestException->getMessage() . PHP_EOL); return 'Error: ' . $requestException->getMessage(); // Return early if the request fails } + } + if ($responseDevicesBySite->getStatusCode() === 200) { + + $dataDevices = json_decode($responseDevicesBySite->getBody()->getContents(), true); + $jsonDevices = json_encode($dataDevices, JSON_PRETTY_PRINT); + //print_r($jsonDevices . PHP_EOL); + + try { + //print_r('ID del device al que está conectado el cliente: ' . $idDevice . PHP_EOL); + $responsePasswordVault = $clientUnms->request('GET', 'vault/' . $idClientDevice . '/credentials', [ + 'headers' => [ + 'X-Auth-Token' => $authToken, + ], + ]); + } catch (RequestException $requestException) { + // Manejar errores de la solicitud + if ($requestException->hasResponse()) { + $response = $requestException->getResponse(); + $statusCode = $response->getStatusCode(); + $reason = $response->getReasonPhrase(); + //si el statusCode es 404 significa que no se encontró el cliente + if ($statusCode == 404) { + // echo "No se encontró el cliente con el ID proporcionado." . PHP_EOL; + $logger->appendLog('No se encontró el cliente con el ID proporcionado: ' . $IpAddressClientId); + // print_r('No se encontró el device con el ID proporcionado: ' . $IpAddressClientId . PHP_EOL); + return 'Error: No se encontró el device con el ID proporcionado: ' . $IpAddressClientId; // Return early if the client is not found + } + return 'Error: ' . $reason; // Return early if the request fails + + } else { + // echo "Error: " . $requestException->getMessage() . PHP_EOL; + $logger->appendLog('Error: ' . $requestException->getMessage()); + // print_r('Error: ' . $requestException->getMessage() . PHP_EOL); + return 'Error: ' . $requestException->getMessage(); // Return early if the request fails + } + } + + if ($responsePasswordVault->getStatusCode() === 200) { + $dataPasswordVault = json_decode($responsePasswordVault->getBody()->getContents(), true); + $jsonPasswordVault = json_encode($dataPasswordVault, JSON_PRETTY_PRINT); + if (isset($dataPasswordVault['credentials']['password'])) { + $passwordVault = $dataPasswordVault['credentials']['password']; + return $passwordVault; + } else { + // echo "No se encontró la contraseña en la respuesta de la API." . PHP_EOL; + $logger->appendLog('No se encontró una contraseña en la bóveda para la antena de este cliente, es altamente probable que conserve una contraseña conocida.'); + // print_r('No se encontró una contraseña en la bóveda para la antena de este cliente, es altamente probable que conserve una contraseña conocida.' . PHP_EOL); + return "Error: No se encontró una contraseña en la bóveda para la antena de este cliente, es altamente probable que conserve una contraseña conocida."; // Return early if the password is not found + } - if ($responsePasswordVault->getStatusCode() === 200) { - $dataPasswordVault = json_decode($responsePasswordVault->getBody(), true); - $jsonPasswordVault = json_encode($dataPasswordVault, JSON_PRETTY_PRINT); - if (isset($dataPasswordVault['credentials']['password'])) { - $passwordVault = $dataPasswordVault['credentials']['password']; - return $passwordVault; } else { - // echo "No se encontró la contraseña en la respuesta de la API." . PHP_EOL; - $logger->appendLog('No se encontró una contraseña en la bóveda para la antena de este cliente, es altamente probable que conserve una contraseña conocida.'); - // print_r('No se encontró una contraseña en la bóveda para la antena de este cliente, es altamente probable que conserve una contraseña conocida.' . PHP_EOL); - return "Error: No se encontró una contraseña en la bóveda para la antena de este cliente, es altamente probable que conserve una contraseña conocida."; // Return early if the password is not found + // echo "Error en la solicitud. Código de estado HTTP: " . $responsePasswordVault->getStatusCode() . PHP_EOL; + $logger->appendLog('Error en la solicitud. Código de estado HTTP: ' . $responsePasswordVault->getStatusCode()); + // print_r('Error en la solicitud. Código de estado HTTP: ' . $responsePasswordVault->getStatusCode() . PHP_EOL); + return 'Error: Falla en la solicitud. Código de estado HTTP: ' . $responsePasswordVault->getStatusCode(); // Return early if the request fails } } else { - // echo "Error en la solicitud. Código de estado HTTP: " . $responsePasswordVault->getStatusCode() . PHP_EOL; - $logger->appendLog('Error en la solicitud. Código de estado HTTP: ' . $responsePasswordVault->getStatusCode()); - // print_r('Error en la solicitud. Código de estado HTTP: ' . $responsePasswordVault->getStatusCode() . PHP_EOL); - return 'Error: Falla en la solicitud. Código de estado HTTP: ' . $responsePasswordVault->getStatusCode(); // Return early if the request fails + // echo "Error en la solicitud. Código de estado HTTP: " . $responseDevicesBySite->getStatusCode() . PHP_EOL; + $logger->appendLog('Error en la solicitud. Código de estado HTTP: ' . $responseDevicesBySite->getStatusCode()); + // print_r('Error en la solicitud. Código de estado HTTP: ' . $responseDevicesBySite->getStatusCode() . PHP_EOL); + return 'Error: Falla en la solicitud. Código de estado HTTP: ' . $responseDevicesBySite->getStatusCode(); // Return early if the request fails + } - - - } else { - // echo "Error en la solicitud. Código de estado HTTP: " . $responseDevicesBySite->getStatusCode() . PHP_EOL; - $logger->appendLog('Error en la solicitud. Código de estado HTTP: ' . $responseDevicesBySite->getStatusCode()); - // print_r('Error en la solicitud. Código de estado HTTP: ' . $responseDevicesBySite->getStatusCode() . PHP_EOL); - return 'Error: Falla en la solicitud. Código de estado HTTP: ' . $responseDevicesBySite->getStatusCode(); // Return early if the request fails - } - - - } -} -} \ No newline at end of file +} diff --git a/src/Facade/AbstractStripeOperationsFacade.php b/src/Facade/AbstractStripeOperationsFacade.php index 46f4301a..91e6bd5d 100755 --- a/src/Facade/AbstractStripeOperationsFacade.php +++ b/src/Facade/AbstractStripeOperationsFacade.php @@ -192,12 +192,12 @@ abstract class AbstractStripeOperationsFacade $tagsIds = $this->ucrmApi->get('client-tags', []); //ejemplo de respuesta $tagsIds: [{"id":4,"name":"EQUIPO A CREDITO","colorBackground":"#fed74a","colorText":"#444"},{"id":5,"name":"CREARCLABESTRIPE","colorBackground":"#e30000","colorText":"#fff"}] - //obtener el ID de la etiqueta o tag llamada "CREARCLABESTRIPE" y asiganarla a una variable $tagCrearClabeStripe basandose en el ejemplo de respuesta anterior + //obtener el ID de la etiqueta o tag llamada "CREAR CLABE STRIPE" y asiganarla a una variable $tagCrearClabeStripe basandose en el ejemplo de respuesta anterior $tagCrearClabeStripe = null; foreach ($tagsIds as $tag) { if ($tag['name'] === 'CREAR CLABE STRIPE') { $tagCrearClabeStripe = $tag['id']; - $this->logger->info("ID de la etiqueta 'CREAR CLABE STRIPE': " . $tagCrearClabeStripe . PHP_EOL); + // $this->logger->info("ID de la etiqueta 'CREAR CLABE STRIPE': " . $tagCrearClabeStripe . PHP_EOL); break; } } @@ -224,19 +224,19 @@ abstract class AbstractStripeOperationsFacade //obtener el ID de la etiqueta o tag llamada "CREARCLABESTRIPE" y asiganarla a una variable $tagCrearClabeStripe basandose en el ejemplo de respuesta anterior $tagCrearClabeStripe = null; foreach ($tagsIds as $tag) { //revisamos los tags del cliente y si encuentra el tag de "CREARCLABESTRIPE" entonces lo asigna a la variable $tagCrearClabeStripe el valor de id - if ($tag['name'] === 'CREARCLABESTRIPE') { + if ($tag['name'] === 'CREAR CLABE STRIPE') { $tagCrearClabeStripe = $tag['id']; - $this->logger->info("ID de la etiqueta 'CREARCLABESTRIPE': " . $tagCrearClabeStripe . PHP_EOL); + // $this->logger->info("ID de la etiqueta 'CREAR CLABE STRIPE': " . $tagCrearClabeStripe . PHP_EOL); break; } } if (!$tagCrearClabeStripe) { - $this->logger->info("No se encontró la etiqueta 'CREARCLABESTRIPE'." . PHP_EOL); + $this->logger->info("No se encontró la etiqueta 'CREAR CLABE STRIPE'." . PHP_EOL); return; } $this->createCustomerStripe($notificationData, $stripe, $baseUri, $UCRMAPIToken); $this->ucrmApi->patch("clients/$clientId/remove-tag/" . $tagCrearClabeStripe); - $this->logger->info("Se eliminó la etiqueta 'CREARCLABESTRIPE' del cliente." . PHP_EOL); + $this->logger->info("Se eliminó la etiqueta 'CREAR CLABE STRIPE' del cliente." . PHP_EOL); return; } diff --git a/src/Facade/ClientCallBellAPI.php b/src/Facade/ClientCallBellAPI.php index 702244bd..68fa8b1b 100755 --- a/src/Facade/ClientCallBellAPI.php +++ b/src/Facade/ClientCallBellAPI.php @@ -1,17 +1,13 @@ UCRMAPIToken = $UCRMAPIToken; - $this->IPServer = $IPServer; + $this->UCRMAPIToken = $UCRMAPIToken; + $this->IPServer = $IPServer; $this->CallBellAPIToken = $CallBellAPIToken; } public function updateContact($client_uuid) - { - } + {} public function printPrueba($clientWhatsAppNumber, $notificationData) { @@ -105,9 +99,6 @@ class ClientCallBellAPI $campo2 = sprintf("📡 Su servicio está: %s 📍Su dirección es: *%s* ", $estado_service, $domicilio); $log->appendLog("Valor del campo2 " . $campo2); - - - $curl_string = "{\n \"to\": \"$clientWhatsAppNumber\",\n \"from\": \"whatsapp\",\n \"type\": \"text\",\n \"content\": {\n \"text\": \"S/M\"\n },\n \"template_values\": [\"$campo1\", \"$campo2\"],\n \"template_uuid\": \"55705f1fe4e24bab80104dc2643fe11c\",\n \"optin_contact\": true\n }"; $log->appendLog("La cadena CURL que se envia es: " . $curl_string); curl_setopt($ch, CURLOPT_POSTFIELDS, $curl_string); @@ -118,15 +109,21 @@ class ClientCallBellAPI curl_close($ch); } - public function sendJobNotificationWhatsAppToClient($clientWhatsAppNumber, $jobNotificationData, $passwordVault, $reprogramming = false, $changeInstaller = false): bool + public function sendJobNotificationWhatsAppToClient($clientWhatsAppNumber, $jobNotificationData, $reprogramming, $changeInstaller): bool { $log = PluginLogManager::create(); //Initialize Logger $log->appendLog("Enviando mensaje de trabajo para el cliente" . PHP_EOL); $jsonJobNotificationData = json_encode($jobNotificationData, true); - $log->appendLog("Datos de la notificación de trabajo: " . $jsonJobNotificationData . PHP_EOL); - $log->appendLog("Debugging: reprogramming = " . var_export($reprogramming, true) . ", changeInstaller = " . var_export($changeInstaller, true) . PHP_EOL); + // $log->appendLog("Datos de la notificación de trabajo: " . $jsonJobNotificationData . PHP_EOL); + // --- ¡AÑADE ESTAS LÍNEAS PARA CONVERTIR A BOOLEANO REAL! --- + $reprogramming = filter_var($reprogramming, FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE); + $changeInstaller = filter_var($changeInstaller, FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE); + // ----------------------------------------------------------- + + // Puedes volver a loggear los valores para confirmar la conversión (opcional) + $log->appendLog("DEBUG: Valores después de conversión - Reprogramming: " . var_export($reprogramming, true) . ", ChangeInstaller: " . var_export($changeInstaller, true) . PHP_EOL); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'https://api.callbell.eu/v1/messages/send'); @@ -137,24 +134,38 @@ class ClientCallBellAPI 'Content-Type: application/json', ]); - $campo1 = sprintf('*%s*', $jobNotificationData['clientFullName']); + $campo1 = sprintf(' *%s*', $jobNotificationData['clientFullName']); $campo2 = sprintf('*#%s*', $jobNotificationData['jobId']); - $campo3 = sprintf('*%s*', $jobNotificationData['date']); + $campo3 = sprintf('%s', $jobNotificationData['date']); $campo4 = sprintf('*%s*', $jobNotificationData['installerName']); - if ($reprogramming && $changeInstaller === false) { + $log->appendLog("DEBUG: Valores antes de la estructura IF - Reprogramming: " . var_export($reprogramming, true) . ", ChangeInstaller: " . var_export($changeInstaller, true) . PHP_EOL); + + if ($reprogramming && ! $changeInstaller) { + // Case: true, false //Enviar notificación de reprogramación al cliente $log->appendLog("Enviando notificación de reprogramación al cliente, valor de reprogramming $reprogramming y valor de changeInstaller $changeInstaller " . PHP_EOL); - $curl_string = "{\n \"to\": \"$clientWhatsAppNumber\",\n \"from\": \"whatsapp\",\n \"type\": \"text\",\n \"content\": {\n \"text\": \"S/M\"\n },\n \"template_values\": [\"$campo1\", \"$campo2\", \"$campo3\", \"$campo4\"],\n \"template_uuid\": \"70579353773f4de1836d4f9b6bf6074d\",\n \"optin_contact\": true\n }"; - } - if ($changeInstaller) { + $curl_string = "{\n \"to\": \"$clientWhatsAppNumber\",\n \"from\": \"whatsapp\",\n \"type\": \"text\",\n \"content\": {\n \"text\": \"S/M\"\n },\n \"template_values\": [\"$campo1\", \"$campo2\", \"$campo3\", \"$campo4\"],\n \"template_uuid\": \"323631bf578e43fb8a0095f55978aae8\",\n \"optin_contact\": true\n }"; + } else if (! $reprogramming && $changeInstaller) { + // Case: false, true //Enviar notificación de cambio de instalador $log->appendLog("Enviando notificación de cambio de instalador al cliente, valor de reprogramming $reprogramming y valor de changeInstaller $changeInstaller " . PHP_EOL); - $curl_string = "{\n \"to\": \"$clientWhatsAppNumber\",\n \"from\": \"whatsapp\",\n \"type\": \"text\",\n \"content\": {\n \"text\": \"S/M\"\n },\n \"template_values\": [\"$campo1\", \"$campo2\", \"$campo3\", \"$campo4\"],\n \"template_uuid\": \"0d57fd210595422caf2f5999642882a3\",\n \"optin_contact\": true\n }"; - } else { - //Enviar notificación normal de visita técnica al cliente + $curl_string = "{\n \"to\": \"$clientWhatsAppNumber\",\n \"from\": \"whatsapp\",\n \"type\": \"text\",\n \"content\": {\n \"text\": \"S/M\"\n },\n \"template_values\": [\"$campo1\", \"$campo2\", \"$campo3\", \"$campo4\"],\n \"template_uuid\": \"c59c3ce2c9c6439b941b0d42d1435605\",\n \"optin_contact\": true\n }"; + } else if (! $reprogramming && ! $changeInstaller) { // <--- Ahora este else if está correctamente encadenado + // Case: false, false + //Enviar notificación normal de visita técnica al cliente $log->appendLog("Enviando notificación normal de visita técnica al cliente, valor de reprogramming $reprogramming y valor de changeInstaller $changeInstaller " . PHP_EOL); $curl_string = "{\n \"to\": \"$clientWhatsAppNumber\",\n \"from\": \"whatsapp\",\n \"type\": \"text\",\n \"content\": {\n \"text\": \"S/M\"\n },\n \"template_values\": [\"$campo1\", \"$campo2\", \"$campo3\", \"$campo4\"],\n \"template_uuid\": \"c0ef8228b50a4d9690a2e87bc11e9ab3\",\n \"optin_contact\": true\n }"; + }else if ($reprogramming && $changeInstaller) { // <--- Ahora este else if está correctamente encadenado + // Case: true, true + //Enviar notificación de cambio de instalador y reprogramación al cliente + $log->appendLog("Enviando notificación de cambio de instalador y reprogramación al cliente, valor de reprogramming $reprogramming y valor de changeInstaller $changeInstaller " . PHP_EOL); + $curl_string = "{\n \"to\": \"$clientWhatsAppNumber\",\n \"from\": \"whatsapp\",\n \"type\": \"text\",\n \"content\": {\n \"text\": \"S/M\"\n },\n \"template_values\": [\"$campo1\", \"$campo2\", \"$campo3\", \"$campo4\"],\n \"template_uuid\": \"99e2629a3be2421687037c001222bfe4\",\n \"optin_contact\": true\n }"; + } else { + // Case: true, true (la única combinación restante con booleanos) + $log->appendLog("No se encontró una opción válida para enviar la notificación (reprogramming y changeInstaller son true)." . PHP_EOL); + // Decide qué hacer aquí, ¿Quizás devolver false? ¿O manejar esta combinación? + return false; // O el manejo adecuado para true/true } $log->appendLog("La cadena CURL que se envia es: " . $curl_string); @@ -190,7 +201,8 @@ class ClientCallBellAPI $log->appendLog("Ruta no prevista en la función." . PHP_EOL); return false; } - public function sendJobNotificationWhatsAppToInstaller($installerWhatsAppNumber, $jobInstallerNotificationData, $reprogramming = false, $changeInstaller = false, $passwordAntenaCliente): bool + + public function sendJobNotificationWhatsAppToInstaller($installerWhatsAppNumber, $jobInstallerNotificationData, $reprogramming, $changeInstaller, $passwordAntenaCliente): bool { $log = PluginLogManager::create(); //Initialize Logger @@ -198,6 +210,14 @@ class ClientCallBellAPI $jsonJobNotificationData = json_encode($jobInstallerNotificationData, true); $log->appendLog("Datos de la notificación de tarea: " . $jsonJobNotificationData . PHP_EOL); + // --- ¡AÑADE ESTAS LÍNEAS PARA CONVERTIR A BOOLEANO REAL! --- + $reprogramming = filter_var($reprogramming, FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE); + $changeInstaller = filter_var($changeInstaller, FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE); + // ----------------------------------------------------------- + + // Puedes volver a loggear los valores para confirmar la conversión (opcional) + $log->appendLog("DEBUG: Valores después de conversión - Reprogramming: " . var_export($reprogramming, true) . ", ChangeInstaller: " . var_export($changeInstaller, true) . PHP_EOL); + $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'https://api.callbell.eu/v1/messages/send'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); @@ -207,7 +227,6 @@ class ClientCallBellAPI 'Content-Type: application/json', ]); - $campo1 = $jobInstallerNotificationData['installerName']; if ($changeInstaller) { $campo2 = $jobInstallerNotificationData['subjectOfChange']; @@ -215,7 +234,7 @@ class ClientCallBellAPI $campo4 = $jobInstallerNotificationData['clientFullName']; $campo5 = $jobInstallerNotificationData['additionalChangeData']; } else { - $campo2 = sprintf("*#%s*", $jobInstallerNotificationData['jobId']); + $campo2 = sprintf("#%s", $jobInstallerNotificationData['jobId']); $campo3 = $jobInstallerNotificationData['clientFullName']; // $campo4 = $jobInstallerNotificationData['clientAddress']; $campo4 = $jobInstallerNotificationData['clientWhatsApp']; @@ -223,25 +242,24 @@ class ClientCallBellAPI $campo6 = $jobInstallerNotificationData['jobDescription']; $campo7 = $jobInstallerNotificationData['gmapsLocation']; $campo8 = $passwordAntenaCliente; - } - - if ($reprogramming && $changeInstaller === false) { - + if ($reprogramming && ! $changeInstaller) { //Enviar notificación de reprogramación $log->appendLog("Enviando notificación de reprogramación al instalador, valor de reprogramming $reprogramming y valor de changeInstaller $changeInstaller " . PHP_EOL); $curl_string = "{\n \"to\": \"$installerWhatsAppNumber\",\n \"from\": \"whatsapp\",\n \"type\": \"text\",\n \"content\": {\n \"text\": \"S/M\"\n },\n \"template_values\": [\"$campo1\", \"$campo2\", \"$campo3\", \"$campo4\", \"$campo5\", \"$campo6\", \"$campo7\", \"$campo8\"],\n \"template_uuid\": \"7eb4d8e27cf740779dd6777fad7ffaf4\",\n \"optin_contact\": true\n }"; - - } else if ($changeInstaller) { + } else if (! $reprogramming && $changeInstaller) { //Enviar notificación de cambio de instalador - $log->appendLog("Enviando notificación de cambio de instalador al instalador, valor de reprogramming $reprogramming y valor de changeInstaller $changeInstaller " . PHP_EOL); + $log->appendLog("Enviando notificación de cambio de instalador al instalador anterior, valor de reprogramming $reprogramming y valor de changeInstaller $changeInstaller " . PHP_EOL); $curl_string = "{\n \"to\": \"$installerWhatsAppNumber\",\n \"from\": \"whatsapp\",\n \"type\": \"text\",\n \"content\": {\n \"text\": \"S/M\"\n },\n \"template_values\": [\"$campo1\", \"$campo2\", \"$campo3\", \"$campo4\", \"$campo5\"],\n \"template_uuid\": \"e1aa2b0fd3884595918f4ac2676acd29\",\n \"optin_contact\": true\n }"; - - } else { + }else if ($reprogramming && $changeInstaller) { + //Enviar notificación de cambio de instalador + $log->appendLog("Enviando notificación de cambio de instalador al instalador y notificación de reprogramación al instalador, valor de reprogramming $reprogramming y valor de changeInstaller $changeInstaller " . PHP_EOL); + $curl_string = "{\n \"to\": \"$installerWhatsAppNumber\",\n \"from\": \"whatsapp\",\n \"type\": \"text\",\n \"content\": {\n \"text\": \"S/M\"\n },\n \"template_values\": [\"$campo1\", \"$campo2\", \"$campo3\", \"$campo4\", \"$campo5\"],\n \"template_uuid\": \"e1aa2b0fd3884595918f4ac2676acd29\",\n \"optin_contact\": true\n }"; + } else if (! $reprogramming && ! $changeInstaller) { //Enviar notificación normal de asignación de tarea $log->appendLog("Enviando notificación normal de asignación de tarea al instalador, valor de reprogramming $reprogramming y valor de changeInstaller $changeInstaller " . PHP_EOL); - $curl_string = "{\n \"to\": \"$installerWhatsAppNumber\",\n \"from\": \"whatsapp\",\n \"type\": \"text\",\n \"content\": {\n \"text\": \"S/M\"\n },\n \"template_values\": [\"$campo1\", \"$campo2\", \"$campo3\", \"$campo4\", \"$campo5\", \"$campo6\", \"$campo7\", \"$campo8\"],\n \"template_uuid\": \"fa7f3f8e25934e159a9203eb1cd7f7a6\",\n \"optin_contact\": true\n }"; + $curl_string = "{\n \"to\": \"$installerWhatsAppNumber\",\n \"from\": \"whatsapp\",\n \"type\": \"text\",\n \"content\": {\n \"text\": \"S/M\"\n },\n \"template_values\": [\"$campo1\", \"$campo2\", \"$campo3\", \"$campo4\", \"$campo5\", \"$campo6\", \"$campo7\", \"$campo8\"],\n \"template_uuid\": \"670bedde35b3416f8c1a27f995ebe350\",\n \"optin_contact\": true\n }"; } $log->appendLog("La cadena CURL que se envia es: " . $curl_string); @@ -276,7 +294,6 @@ class ClientCallBellAPI // Valor de retorno predeterminado en caso de que ninguna condición se cumpla $log->appendLog("Ruta no prevista en la función." . PHP_EOL); return false; - } public function sendPaymentNotificationWhatsApp($clientWhatsAppNumber, $notificationData): bool @@ -293,27 +310,24 @@ class ClientCallBellAPI //Path base del comprobante de pago $pdf_payment_path = ''; - $this->ucrmApi = UcrmApi::create(); - $payments = $this->ucrmApi->get( + $payments = $this->ucrmApi->get( 'payments/', [ - 'clientId' => $notificationData->clientData['id'], - 'limit' => 1, - 'direction' => 'DESC' + 'clientId' => $notificationData->clientData['id'], + 'limit' => 1, + 'direction' => 'DESC', ] ); - - - $payment_id = $payments[0]['id']; + $payment_id = $payments[0]['id']; $payment_amount = '$' . $payments[0]['amount']; //$saldo = '$' . $notificationData->clientData['accountBalance']; $nombre_cliente = sprintf("%s %s", $notificationData->clientData['firstName'], $notificationData->clientData['lastName']); $accountBalance = $notificationData->clientData['accountBalance']; - $saldoTexto = ''; + $saldoTexto = ''; if ($accountBalance < 0) { // Si el saldo es negativo, quitar el signo y poner "Pendientes" @@ -329,15 +343,13 @@ class ClientCallBellAPI // Configuración del cliente GuzzleHttp $clientGuzzleHttp = new Client([ 'base_uri' => $baseUri, - 'headers' => [ - 'X-Auth-App-Key' => $token, // Cambia el nombre de la cabecera de autorización - 'Accept' => 'application/pdf', // Indica que esperamos una respuesta en formato JSON + 'headers' => [ + 'X-Auth-App-Key' => $token, // Cambia el nombre de la cabecera de autorización + 'Accept' => 'application/pdf', // Indica que esperamos una respuesta en formato JSON ], - 'verify' => false, + 'verify' => false, ]); - - try { // Hacer la solicitud GET para obtener el PDF $response = $clientGuzzleHttp->request('GET', "payments/$payment_id/pdf"); @@ -347,7 +359,7 @@ class ClientCallBellAPI // Construir el nombre del archivo PDF basado en el cliente $fileNameComprobante = 'Comprobante_' . str_replace(' ', '_', $nombre_cliente) . '.pdf'; - $rutaArchivo = __DIR__ . '/../../comprobantes/' . $fileNameComprobante; + $rutaArchivo = __DIR__ . '/../../comprobantes/' . $fileNameComprobante; // Guardar el contenido del PDF en un archivo local if (file_put_contents($rutaArchivo, $contenidoArchivo) !== false) { @@ -357,7 +369,7 @@ class ClientCallBellAPI return false; } - if (!file_exists($rutaArchivo)) { + if (! file_exists($rutaArchivo)) { $log->appendLog("El archivo PDF no existe: $rutaArchivo" . PHP_EOL); return false; } @@ -369,20 +381,11 @@ class ClientCallBellAPI $log->appendLog("El archivo PDF es válido y tiene contenido: $rutaArchivo" . PHP_EOL); $rutaImagen = __DIR__ . '/../../comprobantes/' . str_replace('.pdf', '.png', $fileNameComprobante); - - - - - } catch (\Exception $e) { $log->appendLog("Error al manejar el comprobante de pago: " . $e->getMessage() . PHP_EOL); return false; } - - - - try { $image = new Imagick(); $image->setResolution(300, 300); @@ -398,16 +401,12 @@ class ClientCallBellAPI return false; } - $fileNameComprobanteImage = str_replace('.pdf', '.png', $fileNameComprobante); - $url_file = $this->UploadReceiptToWordpressByImageFileName($fileNameComprobanteImage);//Carga del comprobante PDF a Wordpress para su posterior envío - // $url_file = $this->UploadReceiptToWordpressByImageFileName($fileNameComprobante);//Carga del comprobante PDF a Wordpress para su posterior envío + $url_file = $this->UploadReceiptToWordpressByImageFileName($fileNameComprobanteImage); //Carga del comprobante PDF a Wordpress para su posterior envío + // $url_file = $this->UploadReceiptToWordpressByImageFileName($fileNameComprobante);//Carga del comprobante PDF a Wordpress para su posterior envío $log->appendLog("Se terminó de subir comprobante a wordpress " . PHP_EOL); - - - //$log->appendLog("Entrando al metodo sendPaymentNotificationWhatsAp" . PHP_EOL); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'https://api.callbell.eu/v1/messages/send'); @@ -418,8 +417,6 @@ class ClientCallBellAPI 'Content-Type: application/json', ]); - - $curl_string = "{\n \"to\": \"$clientWhatsAppNumber\",\n \"from\": \"whatsapp\",\n \"type\": \"document\",\n \"content\": {\n \"text\": \"S/M\",\n \"url\": \"$url_file\"\n },\n \"template_values\": [\"$nombre_cliente\", \"$payment_amount\", \"$saldoTexto\"],\n \"template_uuid\": \"57ead79cebd14902921477922403093b\",\n \"optin_contact\": true\n }"; $log->appendLog("La cadena CURL que se envia es: " . $curl_string); curl_setopt($ch, CURLOPT_POSTFIELDS, $curl_string); @@ -466,24 +463,20 @@ class ClientCallBellAPI public function sendTextPaymentNotificationWhatsApp($clientWhatsAppNumber, $notificationData): bool { - - $nombre_cliente = sprintf("%s %s", $notificationData->clientData['firstName'], $notificationData->clientData['lastName']); - $folio = $notificationData->paymentData['id']; - $client_id = $notificationData->clientData['id']; - $fecha_pago = null; + $nombre_cliente = sprintf("%s %s", $notificationData->clientData['firstName'], $notificationData->clientData['lastName']); + $folio = $notificationData->paymentData['id']; + $client_id = $notificationData->clientData['id']; + $fecha_pago = ''; $cantidad_pagada = $notificationData->paymentData['amount']; - $metodo_pago = ''; + $metodo_pago = ''; //$invoice_id= null; $total_factura = null; - $pago_factura = $notificationData->paymentData['amount']; + $pago_factura = $notificationData->paymentData['amount']; // $saldoTexto= null; - $creditoPorPago = $notificationData->paymentData['creditAmount']; - $texto_credito = null; + $creditoPorPago = $notificationData->paymentData['creditAmount']; + $texto_credito = null; $creditoClienteBase = $notificationData->clientData['accountCredit']; - - - switch ($notificationData->paymentData['methodId']) { case '11721cdf-a498-48be-903e-daa67552e4f6': $metodo_pago = 'Cheque 📄'; @@ -518,11 +511,8 @@ class ClientCallBellAPI default: $metodo_pago = 'Desconocido, revisar metodos de pago no contemplados'; break; - - } - $log = PluginLogManager::create(); //Initialize Logger $log->appendLog("Eviando comprobante de pago al cliente: " . $notificationData->clientData['id'] . ' con número: ' . $clientWhatsAppNumber . PHP_EOL); @@ -534,14 +524,13 @@ class ClientCallBellAPI //Path base del comprobante de pago $pdf_payment_path = ''; - $this->ucrmApi = UcrmApi::create(); - $payments = $this->ucrmApi->get( + $payments = $this->ucrmApi->get( 'payments/', [ - 'clientId' => $notificationData->clientData['id'], - 'limit' => 1, - 'direction' => 'DESC' + 'clientId' => $notificationData->clientData['id'], + 'limit' => 1, + 'direction' => 'DESC', ] ); @@ -550,7 +539,6 @@ class ClientCallBellAPI $datos_paymentJsonText = json_encode($payments, true); $log->appendLog("Datos traidos con payment api: " . $datos_paymentJsonText . PHP_EOL); - // $log->appendLog("Check 1" . PHP_EOL); $paymentDate = new DateTime($fecha_pago); @@ -560,9 +548,8 @@ class ClientCallBellAPI // Formatear la fecha como "d/m/Y g:ia" (día/mes/año hora:minutos am/pm) $fecha_pago = $paymentDate->format('d/m/Y g:ia'); - $accountBalance = $notificationData->clientData['accountBalance']; - $saldoTexto = ''; + $saldoTexto = ''; if ($accountBalance < 0) { // Si el saldo es negativo, quitar el signo y poner "Pendientes" @@ -578,25 +565,19 @@ class ClientCallBellAPI $log->appendLog("Datos client data credit amount: " . $notificationData->paymentData['creditAmount'] . PHP_EOL); $cantidad_pagadaFormateada = '$' . number_format($cantidad_pagada, 2, ',', '.') . ' MXN'; - $creditoPorPagoFormateado = '$' . number_format($creditoPorPago, 2, ',', '.') . ' MXN'; + $creditoPorPagoFormateado = '$' . number_format($creditoPorPago, 2, ',', '.') . ' MXN'; if ($creditoClienteBase > 0 && empty($notificationData->paymentData['paymentCovers'])) { - $texto_credito = "La cantidad que sobra de $creditoPorPagoFormateado se ha convertido a crédito"; $log->appendLog("La cantidad que sobra de $creditoPorPagoFormateado se ha convertido a crédito" . PHP_EOL); - - $curl_string = "{\n \"to\": \"$clientWhatsAppNumber\",\n \"from\": \"whatsapp\",\n \"type\": \"text\",\n \"content\": {\n \"text\": \"John Doe\"\n },\n \"template_values\": [\"$nombre_cliente\", \"$folio\", \"$client_id\", \"$fecha_pago\", \"$cantidad_pagadaFormateada\", \"$metodo_pago\", \"$saldoTexto\", \"$texto_credito\"],\n \"template_uuid\": \"4ac9dc060cf746b6ad7f2e8acad355e0\",\n \"optin_contact\": true\n }"; - - } else { if ($creditoPorPago > 0) { $texto_credito = "La cantidad que sobra de $creditoPorPagoFormateado se ha convertido a crédito"; $log->appendLog("La cantidad que sobra de $creditoPorPagoFormateado se ha convertido a crédito" . PHP_EOL); - } else { $texto_credito = '_________________________'; } @@ -604,24 +585,22 @@ class ClientCallBellAPI // Configuración del cliente GuzzleHttp $clientGuzzleHttp = new Client([ 'base_uri' => $baseUri, - 'headers' => [ - 'X-Auth-App-Key' => $token, // Cambia el nombre de la cabecera de autorización - 'Accept' => 'application/pdf', // Indica que esperamos una respuesta en formato JSON + 'headers' => [ + 'X-Auth-App-Key' => $token, // Cambia el nombre de la cabecera de autorización + 'Accept' => 'application/pdf', // Indica que esperamos una respuesta en formato JSON ], - 'verify' => false, + 'verify' => false, ]); $log->appendLog("Verificar paymentCovers " . PHP_EOL); - $log->appendLog("payment covers" . json_encode($notificationData->paymentData['paymentCovers']) . PHP_EOL); - - if (!empty($notificationData->paymentData['paymentCovers'])) { + if (! empty($notificationData->paymentData['paymentCovers'])) { $log->appendLog('Datos del payment covers:' . PHP_EOL); - $invoiceIds = ''; // Variable para almacenar los invoiceId - $amounts = ''; // Variable para almacenar los amounts formateados + $invoiceIds = ''; // Variable para almacenar los invoiceId + $amounts = ''; // Variable para almacenar los amounts formateados foreach ($notificationData->paymentData['paymentCovers'] as $paymentCover) { $log->appendLog('Invoice ID pagado: ' . $paymentCover['invoiceId'] . ' de esta cantidad: ' . $paymentCover['amount'] . PHP_EOL); @@ -636,9 +615,9 @@ class ClientCallBellAPI $amounts .= $formattedAmount . ', '; } - // Eliminar la última coma y el espacio extra usando substr + // Eliminar la última coma y el espacio extra usando substr $invoiceIds = substr($invoiceIds, 0, -2); // Elimina los últimos dos caracteres (coma y espacio) - $amounts = substr($amounts, 0, -2); // Elimina los últimos dos caracteres (coma y espacio) + $amounts = substr($amounts, 0, -2); // Elimina los últimos dos caracteres (coma y espacio) // Mostrar las cadenas finales $log->appendLog('Todos los Invoice IDs: ' . $invoiceIds . PHP_EOL); @@ -650,38 +629,29 @@ class ClientCallBellAPI $response = $clientGuzzleHttp->request('GET', "invoices/$invoiceIds"); // Realizar la solicitud a la API y guardar el contenido en un archivo local - $responseInvoices = $response->getBody()->getContents(); + $responseInvoices = $response->getBody()->getContents(); $responseInvoicesJSON = json_decode($responseInvoices, true); $log->appendLog('Numero de factura: ' . $responseInvoicesJSON['number'] . PHP_EOL); $log->appendLog('TOTAL de factura: ' . $responseInvoicesJSON['total'] . PHP_EOL); $total_factura = $responseInvoicesJSON['total']; - - - } catch (\Exception $e) { $log->appendLog("Error con un problema al obtener alguna factura del cliente: " . $e->getMessage() . PHP_EOL); return false; } - } else { $log->appendLog("no hay datos en payment covers" . PHP_EOL); - $invoiceIds = $notificationData->paymentData['id']; - $amounts = $notificationData->paymentData['amount']; + $invoiceIds = $notificationData->paymentData['id']; + $amounts = $notificationData->paymentData['amount']; $total_factura = 0; } //$cantidad_pagadaFormateada = '$' . number_format($cantidad_pagada, 2, ',', '.') . ' MXN'; $log->appendLog("Se terminó de verificar payment covers" . PHP_EOL); $total_facturaFormateada = '$' . number_format($total_factura, 2, ',', '.') . ' MXN'; - $pagoFacturaFormateado = '$' . $amounts . ' MXN'; + $pagoFacturaFormateado = '$' . $amounts . ' MXN'; $curl_string = "{\n \"to\": \"$clientWhatsAppNumber\",\n \"from\": \"whatsapp\",\n \"type\": \"text\",\n \"content\": {\n \"text\": \"John Doe\"\n },\n \"template_values\": [\"$nombre_cliente\", \"$folio\", \"$client_id\", \"$fecha_pago\", \"$cantidad_pagadaFormateada\", \"$metodo_pago\", \"$invoiceIds\", \"$total_facturaFormateada\", \"$pagoFacturaFormateado\", \"$saldoTexto\", \"$texto_credito\"],\n \"template_uuid\": \"c1396a6ad3cb4192916d4ac2bfb782a5\",\n \"optin_contact\": true\n }"; - - } - - - //$log->appendLog("Entrando al metodo sendPaymentNotificationWhatsAp" . PHP_EOL); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'https://api.callbell.eu/v1/messages/send'); @@ -692,9 +662,6 @@ class ClientCallBellAPI 'Content-Type: application/json', ]); - - - //$curl_string = "{\n \"to\": \"$clientWhatsAppNumber\",\n \"from\": \"whatsapp\",\n \"type\": \"document\",\n \"content\": {\n \"text\": \"S/M\",\n \"url\": \"$url_file\"\n },\n \"template_values\": [\"$nombre_cliente\", \"$payment_amount\", \"$saldo\"],\n \"template_uuid\": \"6c0df98317b44f7b8666375a6cc8454c\",\n \"optin_contact\": true\n }"; // $curl_string = "{\n \"to\": \"$clientWhatsAppNumber\",\n \"from\": \"whatsapp\",\n \"type\": \"text\",\n \"content\": {\n \"text\": \"S/M\"\n },\n \"template_values\": [\"$campo1\", \"$campo2\"],\n \"template_uuid\": \"55705f1fe4e24bab80104dc2643fe11c\",\n \"optin_contact\": true\n }"; @@ -743,7 +710,6 @@ class ClientCallBellAPI public function sendOverdueNotificationWhatsApp($clientWhatsAppNumber, $notificationData): void { - $log = PluginLogManager::create(); //Initialize Logger // URL base de la API @@ -753,7 +719,6 @@ class ClientCallBellAPI //Path base del comprobante de pago //$pdf_payment_path = ''; - // $this->ucrmApi = UcrmApi::create(); // $invoices = $this->ucrmApi->get( // 'invoices/', @@ -774,7 +739,7 @@ class ClientCallBellAPI // $invoice_id = $invoices[0]['id']; // $invoices_amount = '$' . $invoices[0]['amount']; - $saldo = '$' . $notificationData->clientData['accountBalance']; + $saldo = '$' . $notificationData->clientData['accountBalance']; $nombre_cliente = sprintf("%s %s", $notificationData->clientData['firstName'], $notificationData->clientData['lastName']); // Configuración del cliente GuzzleHttp @@ -787,8 +752,6 @@ class ClientCallBellAPI // 'verify' => false, // ]); - - // if (empty($notificationData->clientData['contacts'][0]['email'])) { // $log->appendLog("El cliente no tiene correo" . PHP_EOL); // } else { @@ -816,9 +779,6 @@ class ClientCallBellAPI // $log->appendLog("La ruta no es válida o no existe" . PHP_EOL); // } - - - $curl_string = "{\n \"to\": \"$clientWhatsAppNumber\",\n \"from\": \"SIIP INTERNET\",\n \"type\": \"text\",\n \"content\": {\n \"text\": \"S/M\",\n },\n \"template_values\": [\"$nombre_cliente\", \"$saldo\"],\n \"template_uuid\": \"9e7024c0a61a4c49b382150d26888dc2\",\n \"optin_contact\": true\n }"; //$curl_string = "{\n \"to\": \"$clientWhatsAppNumber\",\n \"from\": \"whatsapp\",\n \"type\": \"document\",\n \"content\": {\n \"text\": \"S/M\",\n \"url\": \"$url_file\"\n },\n \"template_values\": [\"$nombre_cliente\", \"$payment_amount\", \"$saldo\"],\n \"template_uuid\": \"57ead79cebd14902921477922403093b\",\n \"optin_contact\": true\n }"; //$curl_string = "{\n \"to\": \"$clientWhatsAppNumber\",\n \"from\": \"whatsapp\",\n \"type\": \"document\",\n \"content\": {\n \"text\": \"S/M\",\n \"url\": \"$url_file\"\n },\n \"template_values\": [\"$nombre_cliente\", \"$payment_amount\", \"$saldo\"],\n \"template_uuid\": \"6c0df98317b44f7b8666375a6cc8454c\",\n \"optin_contact\": true\n }"; @@ -831,10 +791,8 @@ class ClientCallBellAPI $log->appendLog("Response del CallBell: " . $response); curl_close($ch); - } - public function getContactWhatsapp($cellphone_number): string { // URL de la API REST @@ -848,7 +806,7 @@ class ClientCallBellAPI curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HTTPHEADER, [ 'Authorization: Bearer ' . $this->CallBellAPIToken, - 'Content-Type: application/json' + 'Content-Type: application/json', ]); // Ejecutar la solicitud y obtener la respuesta @@ -868,13 +826,13 @@ class ClientCallBellAPI { $log = PluginLogManager::create(); //Initialize Logger - //imprimir notificacionData + //imprimir notificacionData $log->appendLog("Notificacion data: " . json_encode($notificationData) . PHP_EOL); //ejemplo de $notificationData: {"uuid":"cad4fa25-176e-4823-9f4c-1421d05d2a31","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Pollerias2","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181817609","name":"Bussiness","isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false}],"accountBalance":1553.33,"accountCredit":1553.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":2,"name":"NS EXENTO","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null} - //buscar el attribute con el key site y antenaSectorial - $attributes = $notificationData->clientData['attributes']; //Obtener los atributos del cliente - $site = ''; + //buscar el attribute con el key site y antenaSectorial + $attributes = $notificationData->clientData['attributes']; //Obtener los atributos del cliente + $site = ''; $antenaSectorial = ''; // Iterar sobre los atributos @@ -889,16 +847,14 @@ class ClientCallBellAPI } } - - $log->appendLog("Dentro del proceso del patch: " . PHP_EOL); $this->ucrmApi = UcrmApi::create(); - $payments = $this->ucrmApi->get( + $payments = $this->ucrmApi->get( 'payments/', [ - 'clientId' => $notificationData->clientData['id'], - 'limit' => 1, - 'direction' => 'DESC' + 'clientId' => $notificationData->clientData['id'], + 'limit' => 1, + 'direction' => 'DESC', ] ); @@ -910,12 +866,8 @@ class ClientCallBellAPI //$log->appendLog("Esto es lo que trae la fecha mas reciente de los pagos: " . $notificationData->paymentData[0]['createdDate']. PHP_EOL); // $log->appendLog("Esto es lo que trae la fecha mas reciente de los pagos opcion 2: " . $payments[0]['createdDate'] . PHP_EOL); - - - - $uuid = $response_getContactCallBell['contact']['uuid']; - $ch = curl_init(); + $ch = curl_init(); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'PATCH'); curl_setopt($ch, CURLOPT_HTTPHEADER, [ @@ -938,7 +890,7 @@ class ClientCallBellAPI $log->appendLog("UUID: " . $uuid . PHP_EOL); $payment_method_id = $payments[0]['methodId']; - $payment_method = ''; + $payment_method = ''; switch ($payment_method_id) { case '11721cdf-a498-48be-903e-daa67552e4f6': @@ -974,11 +926,8 @@ class ClientCallBellAPI default: $payment_method = 'Desconocido, revisar metodos de pago no contemplados'; break; - - } - $fecha_actual = new DateTime(); $fecha_actual->modify('-6 hours'); $fecha_actual_ajustada = $fecha_actual->format("d/m/Y H:i"); @@ -1004,7 +953,7 @@ class ClientCallBellAPI // } $accountBalance = $notificationData->clientData['accountBalance']; - $saldoTexto = ''; + $saldoTexto = ''; if ($accountBalance < 0) { // Si el saldo es negativo, quitar el signo y poner "Pendientes" @@ -1018,11 +967,11 @@ class ClientCallBellAPI } $resumenClienteJSON = '{' . - '"Cliente": "' . $notificationData->clientData['id'] . '",' . - '"Domicilio": "' . - //(($notificationData->clientData['fullAddress'] == null) ? 'Sin domicilio' : '' . $notificationData->clientData['fullAddress']) . '",' . - '"Nombre": "' . sprintf("%s %s", $notificationData->clientData['firstName'], $notificationData->clientData['lastName']) . '",' . - '"URL": "https://sistema.siip.mx/crm/client/' . $notificationData->clientId . '",' . + '"Cliente": "' . $notificationData->clientData['id'] . '",' . + '"Domicilio": "' . + //(($notificationData->clientData['fullAddress'] == null) ? 'Sin domicilio' : '' . $notificationData->clientData['fullAddress']) . '",' . + '"Nombre": "' . sprintf("%s %s", $notificationData->clientData['firstName'], $notificationData->clientData['lastName']) . '",' . + '"URL": "https://sistema.siip.mx/crm/client/' . $notificationData->clientId . '",' . '"Saldo Actual": "' . $saldoTexto . '",' . '"Monto Ultimo Pago": "$ ' . $payments[0]['amount'] . '",' . '"Estado": "' . @@ -1034,42 +983,37 @@ class ClientCallBellAPI '"Antena/Sectorial": "' . $antenaSectorial . '"' . '}'; - - - - - $data_CRM = array( + $data_CRM = [ //"uuid" => $json_responseAPI->contact->uuid, - "name" => sprintf("%s %s", $notificationData->clientData['firstName'], $notificationData->clientData['lastName']), + "name" => sprintf("%s %s", $notificationData->clientData['firstName'], $notificationData->clientData['lastName']), - "custom_fields" => array( - "Cliente" => $notificationData->clientData['id'], - "Domicilio" => ($notificationData->clientData['fullAddress'] == null) ? '📍❌ Sin domicilio' : '📍 ' . $notificationData->clientData['fullAddress'], - "Nombre" => sprintf("👤 %s %s", $notificationData->clientData['firstName'], $notificationData->clientData['lastName']), - "URL" => '🌐 https://sistema.siip.mx/crm/client/' . $notificationData->clientId, - "Saldo Actual" => $saldoTexto, - "Monto Ultimo Pago" => '💲 ' . $payments[0]['amount'], - "Estado" => ($notificationData->clientData['hasSuspendedService']) ? '🔴 Suspendido' : '🟢 Activo ', - "Resumen" => $resumenClienteJSON, - "Fecha Ultimo Pago" => '📆💸 ' . $fecha_ultimoPago_ajustada . ' con ' . $payment_method, + "custom_fields" => [ + "Cliente" => $notificationData->clientData['id'], + "Domicilio" => ($notificationData->clientData['fullAddress'] == null) ? '📍❌ Sin domicilio' : '📍 ' . $notificationData->clientData['fullAddress'], + "Nombre" => sprintf("👤 %s %s", $notificationData->clientData['firstName'], $notificationData->clientData['lastName']), + "URL" => '🌐 https://sistema.siip.mx/crm/client/' . $notificationData->clientId, + "Saldo Actual" => $saldoTexto, + "Monto Ultimo Pago" => '💲 ' . $payments[0]['amount'], + "Estado" => ($notificationData->clientData['hasSuspendedService']) ? '🔴 Suspendido' : '🟢 Activo ', + "Resumen" => $resumenClienteJSON, + "Fecha Ultimo Pago" => '📆💸 ' . $fecha_ultimoPago_ajustada . ' con ' . $payment_method, "Fecha Ultima Actualizacion" => '📆🔄️ ' . $fecha_actual_ajustada, - "Clabe Interbancaria" => $clabeInterbancaria, - "Site" => $site, - "Antena/Sectorial" => $antenaSectorial - ) - ); - - $log->appendLog("JSON con los datos a actualizar: " . json_encode($data_CRM) . PHP_EOL); - + "Clabe Interbancaria" => $clabeInterbancaria, + "Site" => $site, + "Antena/Sectorial" => $antenaSectorial, + ], + ]; - $data_CRM2 = array( - "custom_fields" => array( + $log->appendLog("JSON con los datos a actualizar: " . json_encode($data_CRM) . PHP_EOL); + + $data_CRM2 = [ + "custom_fields" => [ "Resumen" => $resumenClienteJSON, - ) - ); + ], + ]; $log->appendLog("JSON con los datos a actualizar del resumen: " . $resumenClienteJSON . PHP_EOL); - + if ( $response_getContactCallBell['custom_fields']['Cliente'] != $data_CRM['custom_fields']['Cliente'] || $response_getContactCallBell['custom_fields']['Domicilio'] != $data_CRM['custom_fields']['Domicilio'] @@ -1080,7 +1024,7 @@ class ClientCallBellAPI || $response_getContactCallBell['custom_fields']['Fecha Ultimo Pago'] != $data_CRM['custom_fields']['Fecha Ultimo Pago'] || $response_getContactCallBell['custom_fields']['Monto Ultimo Pago'] != $data_CRM['custom_fields']['Monto Ultimo Pago'] || $response_getContactCallBell['name'] != $data_CRM['name'] - + ) { curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data_CRM)); curl_setopt($ch2, CURLOPT_POSTFIELDS, json_encode($data_CRM2)); @@ -1090,13 +1034,12 @@ class ClientCallBellAPI $log->appendLog("Response 2 Patch CallBell: " . $response2 . PHP_EOL); curl_close($ch); curl_close($ch2); - + // if($fileNameComprobante != null){ // sleep(3); // $this->deleteFileWordPressAndLocal($fileNameComprobante); // } - // $json_data_patch = '{ // "attributes": [ // { @@ -1118,7 +1061,6 @@ class ClientCallBellAPI // 'verify' => false, // ]); //aquí se contruye la petición para hacer patch hacia el cliente en sus custom fields con la API del UISP UCRM - // } catch (GuzzleException $error) { // echo "Error al hacer el patch al CRM: " . $error->getMessage() . PHP_EOL; // //exit(); @@ -1130,19 +1072,15 @@ class ClientCallBellAPI } } - - public function patchServiceStatusWhatsApp($response_getContactCallBell, $notificationData) { $log = PluginLogManager::create(); //Initialize Logger - $log->appendLog("Actualizando estado del servicio " . PHP_EOL); - $uuid = $response_getContactCallBell['contact']['uuid']; - $ch = curl_init(); + $ch = curl_init(); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'PATCH'); curl_setopt($ch, CURLOPT_HTTPHEADER, [ @@ -1155,30 +1093,23 @@ class ClientCallBellAPI $log->appendLog("Nombre del cliente al que se va a actualizar el estado del servicio: " . $nombre_cliente . PHP_EOL); $log->appendLog("UUID: " . $uuid . PHP_EOL); - - - $fecha_actual = new DateTime(); $fecha_actual->modify('-6 hours'); $fecha_actual_ajustada = $fecha_actual->format("d/m/Y H:i"); - - - $data_CRM = array( - "name" => $nombre_cliente, - "custom_fields" => array( - "Estado" => ( + $data_CRM = [ + "name" => $nombre_cliente, + "custom_fields" => [ + "Estado" => ( isset($notificationData->serviceData['status']) && $notificationData->serviceData['status'] == 3 ) ? '🟠 Suspendido' : ( (isset($notificationData->serviceData['status']) && $notificationData->serviceData['status'] == 1) ? '🟢 Activo' : '🚫 Finalizado'), - "Fecha Ultima Actualizacion" => '📆🔄️ ' . $fecha_actual_ajustada - ) - ); - - + "Fecha Ultima Actualizacion" => '📆🔄️ ' . $fecha_actual_ajustada, + ], + ]; $log->appendLog("JSON con los datos a actualizar: " . json_encode($data_CRM) . PHP_EOL); @@ -1187,8 +1118,6 @@ class ClientCallBellAPI $response = curl_exec($ch); $log->appendLog("Response Patch CallBell: " . $response . PHP_EOL); curl_close($ch); - - } else { $log->appendLog("No hay cambios en el estado del servicio que actualizar " . PHP_EOL); } @@ -1197,14 +1126,14 @@ class ClientCallBellAPI function UploadReceiptToWordpressByImageFileName($imageFileName): string { - $log = PluginLogManager::create(); //Initialize Logger + $log = PluginLogManager::create(); //Initialize Logger $configManager = PluginConfigManager::create(); - $config = $configManager->loadConfig(); + $config = $configManager->loadConfig(); // Configuración de conexión FTP - $ftp_server = $config['hostServerFTP']; - $ftp_username = $config['usernameServerFTP']; - $ftp_password = $config['passServerFTP']; + $ftp_server = $config['hostServerFTP']; + $ftp_username = $config['usernameServerFTP']; + $ftp_password = $config['passServerFTP']; $remote_folder = "/public_html/wp/wp-content/uploads/img/"; $log->appendLog("Subiendo comprobante a worpdpress " . PHP_EOL); @@ -1212,16 +1141,15 @@ class ClientCallBellAPI // $ftp_server = "siip.mx"; // $ftp_username = "siip0001"; // $ftp_password = '$spGiT,[wa)n'; - $remote_file = "/public_html/wp/wp-content/uploads/img/" . $imageFileName; + $remote_file = "/public_html/wp/wp-content/uploads/img/" . $imageFileName; $file_to_upload = __DIR__ . '/../../comprobantes/' . $imageFileName; - $url = 'https://siip.mx/wp/wp-content/uploads/img/' . $imageFileName; + $url = 'https://siip.mx/wp/wp-content/uploads/img/' . $imageFileName; $log->appendLog("file_to_upload: " . $file_to_upload . PHP_EOL); - // Conexión FTP $ftp_conn = ftp_connect($ftp_server) or die("No se pudo conectar al servidor FTP"); - $login = ftp_login($ftp_conn, $ftp_username, $ftp_password); + $login = ftp_login($ftp_conn, $ftp_username, $ftp_password); ftp_pasv($ftp_conn, true); // Verificar conexión y login if ($ftp_conn && $login) { @@ -1232,10 +1160,10 @@ class ClientCallBellAPI $log->appendLog("El archivo ha sido cargado exitosamente." . PHP_EOL); $log->appendLog("La URL es: " . $url . PHP_EOL); - $this->deleteFilesWordpressExceptLastHundred($log,$ftp_conn,$remote_file); - // Cerrar conexión FTP - ftp_close($ftp_conn);//COMENTAR AQUÍ SI SE BORRAN LOS ARCHIVOS DE WORDPRESS DESCOMENTANDO EL CÓDIGO DE MÁS ABAJO - return $url;//COMENTAR AQUÍ SI SE BORRAN LOS ARCHIVOS DE WORDPRESS DESCOMENTANDO EL CÓDIGO DE MÁS ABAJO + $this->deleteFilesWordpressExceptLastHundred($log, $ftp_conn, $remote_file); + // Cerrar conexión FTP + ftp_close($ftp_conn); //COMENTAR AQUÍ SI SE BORRAN LOS ARCHIVOS DE WORDPRESS DESCOMENTANDO EL CÓDIGO DE MÁS ABAJO + return $url; //COMENTAR AQUÍ SI SE BORRAN LOS ARCHIVOS DE WORDPRESS DESCOMENTANDO EL CÓDIGO DE MÁS ABAJO } else { $log->appendLog("Error al cargar el archivo " . PHP_EOL); @@ -1285,15 +1213,12 @@ class ClientCallBellAPI // return $url; // } - } else { $log->appendLog("No se pudo conectar o iniciar sesión en el servidor FTP." . PHP_EOL); return ''; } - } - function deleteFilesWordpressExceptLastHundred($log, $ftp_conn, $remote_folder): bool { @@ -1336,23 +1261,20 @@ class ClientCallBellAPI ftp_close($ftp_conn); return false; } - } - /** * /Elimina los archivos del directorio de comprobantes de pago a excepción de los últimos 100 para evitar errores de envío * @return void */ function deleteFilesExceptLastHundred() { - $log = PluginLogManager::create(); //Initialize Logger + $log = PluginLogManager::create(); //Initialize Logger $directory = __DIR__ . '/../../comprobantes/'; // Verificar si el directorio existe - if (!is_dir($directory)) { + if (! is_dir($directory)) { $log->appendLog('El directorio no existe.'); die("El directorio no existe."); - } // Obtener la lista de archivos en el directorio @@ -1379,5 +1301,4 @@ class ClientCallBellAPI $log->appendLog("Hay menos de 100 archivos en el directorio. No se eliminarán archivos." . PHP_EOL); } } - -} \ No newline at end of file +} diff --git a/src/Plugin.php b/src/Plugin.php index 0f03c03d..e2deba24 100755 --- a/src/Plugin.php +++ b/src/Plugin.php @@ -1,14 +1,13 @@ logger = $logger; - $this->optionsManager = $optionsManager; - $this->pluginDataValidator = $pluginDataValidator; - $this->notifierFacade = $notifierFacade; - $this->pluginNotifierFacade = $pluginNotifierFacade; + $this->logger = $logger; + $this->optionsManager = $optionsManager; + $this->pluginDataValidator = $pluginDataValidator; + $this->notifierFacade = $notifierFacade; + $this->pluginNotifierFacade = $pluginNotifierFacade; $this->pluginOxxoNotifierFacade = $pluginOxxoNotifierFacade; - $this->notificationDataFactory = $notificationDataFactory; + $this->notificationDataFactory = $notificationDataFactory; } public function run(): void @@ -108,23 +106,19 @@ class Plugin $this->logger->setLogLevelThreshold(LogLevel::DEBUG); } - $userInput = file_get_contents('php://input'); //se recibe el json del webhook - //imprimir el json del webhook + //imprimir el json del webhook $this->logger->debug('valor del webhook: ' . $userInput . PHP_EOL); - - - if (!$userInput) { + if (! $userInput) { $this->logger->warning('no input'); return; } - $jsonData = @json_decode($userInput, true, 50); - if (!isset($jsonData['uuid'])) { + if (! isset($jsonData['uuid'])) { $this->logger->info('No UUID found in the webhook data'); //$this->logger->error('JSON error: ' . json_last_error_msg()); @@ -134,20 +128,20 @@ class Plugin if ($jsonData) { switch ($jsonData['type']) { case 'customer_cash_balance_transaction.created': - $this->logger->info('Evento de transfencia al cliente encontrado: '. json_encode($jsonData) . PHP_EOL); + $this->logger->info('Evento de transfencia al cliente encontrado: ' . json_encode($jsonData) . PHP_EOL); if ($jsonData['data']['object']['type'] === 'funded') { $this->pluginNotifierFacade->createPaymentIntent($jsonData); } break; case 'payout.failed': - $this->logger->info('Evento de transferencia fallida encontrado: '. json_encode($jsonData) . PHP_EOL); + $this->logger->info('Evento de transferencia fallida encontrado: ' . json_encode($jsonData) . PHP_EOL); //imprimir detalles del fallo - $this->logger->info('Detalles del fallo: ' . json_encode($jsonData )); + $this->logger->info('Detalles del fallo: ' . json_encode($jsonData)); break; case 'payment_intent.partially_funded': - $this->logger->info('Evento de pago parcialmente financiado encontrado: '. json_encode($jsonData) . PHP_EOL); + $this->logger->info('Evento de pago parcialmente financiado encontrado: ' . json_encode($jsonData) . PHP_EOL); //imprimir detalles del evento o pago - $this->logger->info('Detalles del evento: ' . json_encode($jsonData )); + $this->logger->info('Detalles del evento: ' . json_encode($jsonData)); break; case 'inbound_payment.payment_attempt': //$this->logger->info('Evento de Pago de OXXO recibido: '. json_encode($jsonData) . PHP_EOL); @@ -158,10 +152,9 @@ class Plugin case 'oxxo.request': $this->logger->info('Evento de solicitud de referencia de oxxo recibido' . PHP_EOL); - // Construir la URL basada en el "client_id" // $url = "https://siip.mx/wp/wp-content/uploads/img/voucher.png"; - if (!empty($jsonData['amount'])) { + if (! empty($jsonData['amount'])) { $this->logger->info('Referencia persnoalizada, Valor del monto: ' . $jsonData['amount'] . PHP_EOL); $intentos = 0; do { @@ -219,7 +212,7 @@ class Plugin // Enviar el encabezado de respuesta como JSON header('Content-Type: application/json'); - // Enviar la respuesta en formato JSON + // Enviar la respuesta en formato JSON //echo json_encode($response); echo $response; @@ -236,11 +229,6 @@ class Plugin // $webhook_string = json_encode($event_json); // $this->logger->debug("El valor de webhook_string: " . $webhook_string . PHP_EOL); - - - - - $notification = $this->notificationDataFactory->getObject($jsonData); $this->logger->debug('valor el evento recibido por webhook: ' . $notification->eventName . PHP_EOL); $this->logger->debug('Valor de JSON: ' . json_encode($jsonData) . PHP_EOL); @@ -248,14 +236,14 @@ class Plugin if ($notification->changeType === 'test') { $configManager = \Ubnt\UcrmPluginSdk\Service\PluginConfigManager::create(); - $config = $configManager->loadConfig(); + $config = $configManager->loadConfig(); $this->logger->info('Webhook test successful.'); return; - } else if($notification->changeType === 'paperless.update') { + } else if ($notification->changeType === 'paperless.update') { //imprimir el webhook json - $this->logger->info( 'Webhook de paperless update: ' . json_encode($jsonData) . PHP_EOL); + $this->logger->info('Webhook de paperless update: ' . json_encode($jsonData) . PHP_EOL); } // if (!$notification->clientId) { // $this->logger->warning('No client specified, cannot notify them.'); @@ -264,7 +252,7 @@ class Plugin // } $configManager = \Ubnt\UcrmPluginSdk\Service\PluginConfigManager::create(); - $config = $configManager->loadConfig(); + $config = $configManager->loadConfig(); // the "exportFormat" key must be defined in plugin's manifest file, see the link above try { @@ -279,11 +267,8 @@ class Plugin $payment_method_id = $notification->paymentData['methodId']; //$this->logger->debug('Metodo de pago: ' . $notification->paymentData['methodId'] . PHP_EOL); - - $payment_method = ''; - switch ($payment_method_id) { case '11721cdf-a498-48be-903e-daa67552e4f6': @@ -356,23 +341,71 @@ class Plugin $payment_method = 'Desconocido, revisar metodos de pago no contemplados'; break; - } - } else if ($notification->eventName === 'client.edit') { $this->logger->debug('Se actualiza a un cliente'); $this->logger->debug('Valor de json_data: ' . json_encode($jsonData)); - //ejemplo de json_data: {"uuid":"17e043a7-03b5-4312-ab81-a7818124a77e","changeType":"edit","entity":"client","entityId":"158","eventName":"client.edit","extraData":{"entity":{"id":158,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 23, Guadalupe, Dolores 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-06T00:00:00-0600","leadConvertedAt":"2025-02-09T03:15:49-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luis","lastName":"Guti\u00e9rrez","username":null,"contacts":[{"id":162,"clientId":158,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2196f3","addressGpsLat":21.153272,"addressGpsLon":-100.9134508,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":158,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 23, Guadalupe, Dolores 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-06T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luis","lastName":"Guti\u00e9rrez","username":null,"contacts":[{"id":162,"clientId":158,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2196f3","addressGpsLat":21.153272,"addressGpsLon":-100.9134508,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} + //ejemplo de json_data: {"uuid":"aacaf5c5-2bf4-44ea-864f-a24121b453bb","changeType":"edit","entity":"client","entityId":"171","eventName":"client.edit","extraData":{"entity":{"id":171,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-05-21T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Archi","lastName":"Isalas","username":"mainstreamm2@gmail.com","contacts":[{"id":177,"clientId":171,"email":"mainstreamm2@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":198,"clientId":171,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_SM2zH6IsjTz6ol","clientZoneVisible":true},{"id":199,"clientId":171,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180950530868794","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":171,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-05-21T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Archi","lastName":"Isalas","username":"mainstreamm2@gmail.com","contacts":[{"id":177,"clientId":171,"email":"mainstreamm2@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1003,"name":"WhatsNotifica"}]}],"attributes":[{"id":198,"clientId":171,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_SM2zH6IsjTz6ol","clientZoneVisible":true},{"id":199,"clientId":171,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180950530868794","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} + $clientID = $jsonData['entityId']; + $this->ucrmApi = UcrmApi::create(); + $customAttributes = $this->ucrmApi->get('custom-attributes/', ['attributeType' => 'client']); //Obtener los atributos del sistema que estén vinculados a la entidad "cliente" + //$this->logger->info("result del custom Attributes: " . json_encode($customAttributes) . PHP_EOL); + + $idPasswordAntenaCliente = null; + $passwordAntenaValue = null; + + //ejemplo de $customAttributes: [{"id":1,"name":"ip","key":"ip","attributeType":"client","type":"string","clientZoneVisible":false},{"id":2,"name":"ubntpass","key":"ubntpass","attributeType":"client","type":"string","clientZoneVisible":false},{"id":3,"name":"adminpass","key":"adminpass","attributeType":"client","type":"string","clientZoneVisible":true},{"id":4,"name":"ssid","key":"ssid","attributeType":"client","type":"string","clientZoneVisible":true},{"id":5,"name":"clavessid","key":"clavessid","attributeType":"client","type":"string","clientZoneVisible":true},{"id":6,"name":"clave","key":"clave","attributeType":"client","type":"string","clientZoneVisible":true},{"id":11,"name":"latitud","key":"latitud","attributeType":"client","type":"string","clientZoneVisible":true},{"id":12,"name":"longitud","key":"longitud","attributeType":"client","type":"string","clientZoneVisible":true},{"id":16,"name":"instalador","key":"instalador","attributeType":"client","type":"string","clientZoneVisible":true},{"id":17,"name":"creado por","key":"creadoPor","attributeType":"client","type":"string","clientZoneVisible":true},{"id":21,"name":"Chat de CallBell","key":"chatDeCallbell","attributeType":"client","type":"string","clientZoneVisible":false},{"id":22,"name":"uuid","key":"uuid","attributeType":"client","type":"string","clientZoneVisible":false},{"id":23,"name":"zona","key":"zona","attributeType":"client","type":"enum","clientZoneVisible":true},{"id":29,"name":"Stripe Customer ID","key":"stripeCustomerId","attributeType":"client","type":"string","clientZoneVisible":true},{"id":30,"name":"Clabe Interbancaria","key":"clabeInterbancaria","attributeType":"client","type":"string","clientZoneVisible":true},{"id":31,"name":"RUTA DE COBRANZA","key":"rutaDeCobranza","attributeType":"client","type":"enum","clientZoneVisible":true},{"id":35,"name":"Site","key":"site","attributeType":"client","type":"string","clientZoneVisible":true},{"id":36,"name":"Antena/Sectorial","key":"antenaSectorial","attributeType":"client","type":"string","clientZoneVisible":true},{"id":37,"name":"Password Antena Cliente","key":"passwordAntenaCliente","attributeType":"client","type":"string","clientZoneVisible":false}] + + // Verificar si se obtuvieron los atributos + if ($customAttributes && is_array($customAttributes)) { + foreach ($customAttributes as $attribute) { + // Verificar si 'name' contiene la palabra 'passwordAntenaCliente' sin distinguir mayúsculas y minúsculas + if (isset($attribute['key']) && stripos($attribute['key'], 'passwordAntenaCliente') !== false) { + $this->logger->info("ID correspondiente a 'passwordAntenaCliente': " . $attribute['id'] . PHP_EOL); + $idPasswordAntenaCliente = $attribute['id']; + } + + } + } else { + $this->logger->info("Error al obtener los atributos personalizados." . PHP_EOL); + } + + //buscar en los attributes ($jsonData) del cliente el id del atributo personalizado 'passwordAntenaCliente' si no está o si está pero está en blanco se manda llamar la función $this->notifierFacade->getVaultCredentials($clientID); + + foreach ($jsonData['extraData']['entity']['attributes'] as $attribute) { + if ($attribute['customAttributeId'] === $idPasswordAntenaCliente) { + $this->logger->info("El valor de passwordAntenaValue es: " . $attribute['value'] . PHP_EOL); + $passwordAntenaValue = $attribute['value']; + } + } + + //si el value de passwordAntenaValue es igual a null o cadena vacía se manda llamar la función $this->notifierFacade->getVaultCredentials($clientID); + if ($passwordAntenaValue === null || $passwordAntenaValue === '') { + $password = $this->notifierFacade->getVaultCredentials($clientID); + $this->logger->info("El valor de passwordAntenaValue es null o cadena vacía, se manda llamar la función getVaultCredentials" . PHP_EOL); + $this->logger->info("El valor de password es: " . $password . PHP_EOL); + + if ($this->notifierFacade->patchClientCustomAttribute($clientID, $idPasswordAntenaCliente, $password)) { + $this->logger->info("Se actualizó el atributo personalizado passwordAntenaCliente con el valor: " . $password . PHP_EOL); + } else { + $this->logger->info("No se pudo actualizar el atributo personalizado passwordAntenaCliente" . PHP_EOL); + } + } else { + $this->logger->info("Ya existe un valor de passwordAntenaValue: " . $passwordAntenaValue . PHP_EOL); + } + + //ejemplo de json_data: {"uuid":"17e043a7-03b5-4312-ab81-a7818124a77e","changeType":"edit","entity":"client","entityId":"158","eventName":"client.edit","extraData":{"entity":{"id":158,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 23, Guadalupe, Dolores 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-06T00:00:00-0600","leadConvertedAt":"2025-02-09T03:15:49-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luis","lastName":"Guti\u00e9rrez","username":null,"contacts":[{"id":162,"clientId":158,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2196f3","addressGpsLat":21.153272,"addressGpsLon":-100.9134508,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":158,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 San Luis","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37804","fullAddress":"San Luis 23, Guadalupe, Dolores 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-06T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Luis","lastName":"Guti\u00e9rrez","username":null,"contacts":[{"id":162,"clientId":158,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2196f3","addressGpsLat":21.153272,"addressGpsLon":-100.9134508,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} + // Validar que 'extraData' existe y contiene las claves necesarias if ( isset($jsonData['extraData']['entityBeforeEdit']) && isset($jsonData['extraData']['entity']) ) { $entityBeforeEdit = $jsonData['extraData']['entityBeforeEdit']; - $entity = $jsonData['extraData']['entity']; + $entity = $jsonData['extraData']['entity']; //$this->logger->debug('Validando claves dentro de entityBeforeEdit y entity'); @@ -381,7 +414,7 @@ class Plugin //$this->logger->debug('Los datos entityBeforeEdit y entity contienen el campo isLead'); $isLeadBefore = $entityBeforeEdit['isLead']; - $isLeadAfter = $entity['isLead']; + $isLeadAfter = $entity['isLead']; // Comprobar si 'isLead' cambió de true a false if ($isLeadBefore === true && $isLeadAfter === false) { @@ -394,9 +427,8 @@ class Plugin $this->logger->warning('El campo isLead no existe en entityBeforeEdit o entity'); } - // buscar si existe la etiqueta 'STRIPE' en entity pero no en entityBeforeEdit - $tags = $jsonData['extraData']['entity']['tags']; + $tags = $jsonData['extraData']['entity']['tags']; $tagsBefore = $jsonData['extraData']['entityBeforeEdit']['tags']; $this->logger->debug('Validando claves dentro de entity y entityBeforeEdit'); @@ -405,13 +437,13 @@ class Plugin if (array_key_exists('tags', $jsonData['extraData']['entity']) && array_key_exists('tags', $jsonData['extraData']['entityBeforeEdit'])) { $this->logger->debug('Los datos entity y entityBeforeEdit contienen el campo tags'); - $tags = $jsonData['extraData']['entity']['tags']; + $tags = $jsonData['extraData']['entity']['tags']; $tagsBefore = $jsonData['extraData']['entityBeforeEdit']['tags']; $this->logger->debug('Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit'); // Comprobar si la etiqueta 'CREAR CLABE STRIPE' existe en 'tags' pero no en 'tagsBefore' - $stripeTagExists = false; + $stripeTagExists = false; $stripeTagExistsBefore = false; foreach ($tags as $tag) { if ($tag['name'] === 'CREAR CLABE STRIPE') { @@ -427,7 +459,7 @@ class Plugin } // Comprobar si la etiqueta 'STRIPE' existe en 'tags' pero no en 'tagsBefore' - if ($stripeTagExists && !$stripeTagExistsBefore) { + if ($stripeTagExists && ! $stripeTagExistsBefore) { $this->logger->debug('La etiqueta CREAR CLABE STRIPE se agregará al cliente'); $this->pluginNotifierFacade->createStripeClient($notification, true); } @@ -439,10 +471,8 @@ class Plugin $this->logger->warning('Los datos entityBeforeEdit o entity no están presentes en extraData'); } - - - $this->notifierFacade->verifyClientActionToDo($notification); + } else if ($notification->eventName === 'client.add') { $this->logger->debug('Se agregó un nuevo cliente' . PHP_EOL); $this->logger->debug('Valor de json_data: ' . json_encode($jsonData)); @@ -467,6 +497,56 @@ class Plugin } else if ($notification->eventName === 'service.edit') { $this->logger->debug('Se editó el servicio a un cliente' . PHP_EOL); $this->notifierFacade->verifyServiceActionToDo($notification); + //ejemplo de json_data: {"uuid":"06d281ca-d78e-4f0a-a282-3a6b77d25da0","changeType":"edit","entity":"service","entityId":"155","eventName":"service.edit","extraData":{"entity":{"id":155,"prepaid":false,"clientId":171,"status":1,"name":"Basico 300","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-05-21T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-05-21T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"359cb58d-e64f-453a-890e-23d5abb4f116","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":{"id":155,"prepaid":false,"clientId":171,"status":1,"name":"Basico 300","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-05-21T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-05-21T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"359cb58d-e64f-453a-890e-23d5abb4f116","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}} + //obtener el clientID y asginarlo a la variable $clientID + $clientID = $jsonData['extraData']['entity']['clientId']; + $this->ucrmApi = UcrmApi::create(); + $customAttributes = $this->ucrmApi->get('custom-attributes/', ['attributeType' => 'client']); //Obtener los atributos del sistema que estén vinculados a la entidad "cliente" + //$this->logger->info("result del custom Attributes: " . json_encode($customAttributes) . PHP_EOL); + + $idPasswordAntenaCliente = null; + $passwordAntenaValue = null; + + //ejemplo de $customAttributes: [{"id":1,"name":"ip","key":"ip","attributeType":"client","type":"string","clientZoneVisible":false},{"id":2,"name":"ubntpass","key":"ubntpass","attributeType":"client","type":"string","clientZoneVisible":false},{"id":3,"name":"adminpass","key":"adminpass","attributeType":"client","type":"string","clientZoneVisible":true},{"id":4,"name":"ssid","key":"ssid","attributeType":"client","type":"string","clientZoneVisible":true},{"id":5,"name":"clavessid","key":"clavessid","attributeType":"client","type":"string","clientZoneVisible":true},{"id":6,"name":"clave","key":"clave","attributeType":"client","type":"string","clientZoneVisible":true},{"id":11,"name":"latitud","key":"latitud","attributeType":"client","type":"string","clientZoneVisible":true},{"id":12,"name":"longitud","key":"longitud","attributeType":"client","type":"string","clientZoneVisible":true},{"id":16,"name":"instalador","key":"instalador","attributeType":"client","type":"string","clientZoneVisible":true},{"id":17,"name":"creado por","key":"creadoPor","attributeType":"client","type":"string","clientZoneVisible":true},{"id":21,"name":"Chat de CallBell","key":"chatDeCallbell","attributeType":"client","type":"string","clientZoneVisible":false},{"id":22,"name":"uuid","key":"uuid","attributeType":"client","type":"string","clientZoneVisible":false},{"id":23,"name":"zona","key":"zona","attributeType":"client","type":"enum","clientZoneVisible":true},{"id":29,"name":"Stripe Customer ID","key":"stripeCustomerId","attributeType":"client","type":"string","clientZoneVisible":true},{"id":30,"name":"Clabe Interbancaria","key":"clabeInterbancaria","attributeType":"client","type":"string","clientZoneVisible":true},{"id":31,"name":"RUTA DE COBRANZA","key":"rutaDeCobranza","attributeType":"client","type":"enum","clientZoneVisible":true},{"id":35,"name":"Site","key":"site","attributeType":"client","type":"string","clientZoneVisible":true},{"id":36,"name":"Antena/Sectorial","key":"antenaSectorial","attributeType":"client","type":"string","clientZoneVisible":true},{"id":37,"name":"Password Antena Cliente","key":"passwordAntenaCliente","attributeType":"client","type":"string","clientZoneVisible":false}] + + // Verificar si se obtuvieron los atributos + if ($customAttributes && is_array($customAttributes)) { + foreach ($customAttributes as $attribute) { + // Verificar si 'name' contiene la palabra 'passwordAntenaCliente' sin distinguir mayúsculas y minúsculas + if (isset($attribute['key']) && stripos($attribute['key'], 'passwordAntenaCliente') !== false) { + $this->logger->info("ID correspondiente a 'passwordAntenaCliente': " . $attribute['id'] . PHP_EOL); + $idPasswordAntenaCliente = $attribute['id']; + } + + } + } else { + $this->logger->info("Error al obtener los atributos personalizados." . PHP_EOL); + } + + //buscar en los attributes ($jsonData) del cliente el id del atributo personalizado 'passwordAntenaCliente' si no está o si está pero está en blanco se manda llamar la función $this->notifierFacade->getVaultCredentials($clientID); + + foreach ($jsonData['extraData']['entity']['attributes'] as $attribute) { + if ($attribute['customAttributeId'] === $idPasswordAntenaCliente) { + $this->logger->info("El valor de passwordAntenaValue es: " . $attribute['value'] . PHP_EOL); + $passwordAntenaValue = $attribute['value']; + } + } + + //si el value de passwordAntenaValue es igual a null o cadena vacía se manda llamar la función $this->notifierFacade->getVaultCredentials($clientID); + if ($passwordAntenaValue === null || $passwordAntenaValue === '') { + $password = $this->notifierFacade->getVaultCredentials($clientID); + $this->logger->info("El valor de passwordAntenaValue es null o cadena vacía, se manda llamar la función getVaultCredentials" . PHP_EOL); + $this->logger->info("El valor de password es: " . $password . PHP_EOL); + + if ($this->notifierFacade->patchClientCustomAttribute($clientID, $idPasswordAntenaCliente, $password)) { + $this->logger->info("Se actualizó el atributo personalizado passwordAntenaCliente con el valor: " . $password . PHP_EOL); + } else { + $this->logger->info("No se pudo actualizar el atributo personalizado passwordAntenaCliente" . PHP_EOL); + } + } else { + $this->logger->info("Ya existe un valor de passwordAntenaValue: " . $passwordAntenaValue . PHP_EOL); + } + } else if ($notification->eventName === 'service.suspend') { $this->logger->debug('Se suspendió el servicio a un cliente' . PHP_EOL); $this->notifierFacade->verifyServiceActionToDo($notification); @@ -508,28 +588,21 @@ class Plugin $this->notifierFacade->verifyInvoiceActionToDo($notification); } else if ($notification->eventName === 'job.add') { $this->logger->debug('Se ha agregado un nuevo trabajo' . PHP_EOL); + $this->logger->debug('Valor de json_data: ' . json_encode($jsonData)); + //Ejemplo de json_data: {"uuid":"434b3da0-984a-4358-a1b6-2a4418bacc49","changeType":"insert","entity":"job","entityId":"38","eventName":"job.add","extraData":{"entity":{"id":38,"title":"Servicio","description":"Revisar Router","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":null}} + //Extraer el valor de title en una variable y concatenarle como prefijo la cadena "[SINENVIONOTIFICACION]" por ejemplo: "[NOTIFICACION-PENDIENTE]Servicio" + $title = $jsonData['extraData']['entity']['title']; + $title = '[NOTIFICACION-PENDIENTE]' . $title; + $this->ucrmApi = UcrmApi::create(); + $responsePatch = $this->ucrmApi->patch('scheduling/jobs/' . $jsonData['entityId'], [ + 'title' => $title, + ]); - - // Verificar que existen tanto 'assignedUserId' como 'entity' - if (isset($jsonData['extraData']['entity']['assignedUserId'])) { - $this->logger->debug('El campo assignedUserId existe en los datos del evento'); - $assignedUserId = $jsonData['extraData']['entity']['assignedUserId']; - - // Comprobar si 'isLead' es null - if ($assignedUserId === null) { - $this->logger->debug('El campo assignedUserId es null'); - $this->pluginNotifierFacade->createStripeClient($notification); - } else { - $this->logger->debug('El campo assignedUserId no es null'); - $this->notifierFacade->verifyJobActionToDo($notification); - } - } else { - $this->logger->warning('El campo assignedUserId no existe en los datos del evento'); - } + $this->logger->debug('Respuesta de la API al agregar el trabajo: ' . json_encode($responsePatch) . PHP_EOL); } else if ($notification->eventName === 'job.edit') { $this->logger->debug('Se actualiza un trabajo' . PHP_EOL); - $this->logger->debug('Valor de json_data: ' . json_encode($jsonData)); + // $this->logger->debug('Valor de json_data: ' . json_encode($jsonData)); // Validar que 'extraData' existe y contiene las claves necesarias if ( @@ -537,39 +610,54 @@ class Plugin isset($jsonData['extraData']['entity']) ) { $entityBeforeEdit = $jsonData['extraData']['entityBeforeEdit']; - $entity = $jsonData['extraData']['entity']; + $entity = $jsonData['extraData']['entity']; $this->logger->debug('Validando claves dentro de entityBeforeEdit y entity'); // Validar que 'assignedUserId' existe en ambas entidades if (array_key_exists('assignedUserId', $entityBeforeEdit) && array_key_exists('assignedUserId', $entity)) { - $this->logger->debug('Los datos entityBeforeEdit y entity contienen el campo assignedUserId'); + // $this->logger->debug('Los datos entityBeforeEdit y entity contienen el campo assignedUserId'); $assignedUserIdBefore = $entityBeforeEdit['assignedUserId']; - $assignedUserIdAfter = $entity['assignedUserId']; - $dateBefore = $entityBeforeEdit['date']; - $dateAfter = $entity['date']; - $statusBefore = $entityBeforeEdit['status']; - $statusAfter = $entity['status']; + $assignedUserIdAfter = $entity['assignedUserId']; + $dateBefore = $entityBeforeEdit['date']; + $dateAfter = $entity['date']; + $statusBefore = $entityBeforeEdit['status']; + $statusAfter = $entity['status']; + $title = $entityBeforeEdit['title']; + $pendingPrefix = '[NOTIFICACION-PENDIENTE]'; // Prefijo para trabajos pendientes de notificación + $currentTitle = $entity['title'] ?? ''; // Obtener el título actual - // Comprobar si 'assignedUserId' cambió - if ($assignedUserIdBefore === null && $assignedUserIdAfter != null) { //Si el campo "assignedUserId" cambió de null a un valor - $this->logger->debug('El instalador cambió de null a un valor'); - $this->notifierFacade->verifyJobActionToDo($jsonData); // Se envía notificación de trabajo asignado - } else if (($assignedUserIdBefore != null && $assignedUserIdAfter != $assignedUserIdBefore) && ($dateBefore === $dateAfter)) {//Si el campo "assignedUserId" cambió de un valor a otro y la fecha no cambió - $this->logger->debug('El instalador cambió y la fecha no cambió'); - $this->notifierFacade->verifyJobActionToDo($jsonData, false, true); // Se envía notificación de trabajo reasignado - } else if (($assignedUserIdBefore != null && $assignedUserIdBefore === $assignedUserIdAfter) && ($dateBefore != $dateAfter)) {//Si el campo "assignedUserId" no cambió y la fecha cambió - $this->logger->debug('El instalador no cambió y la fecha sí cambió'); - $this->notifierFacade->verifyJobActionToDo($jsonData, true, false); // Se envía notificación de reprogramación de trabajo - } else if (($assignedUserIdBefore != null && $assignedUserIdAfter != $assignedUserIdBefore) && ($dateBefore != $dateAfter)) { - $this->logger->debug('El instalador cambió y la fecha sí cambió'); - $this->notifierFacade->verifyJobActionToDo($jsonData, true, true); // Se envía notificación de trabajo reasignado - } else if ($assignedUserIdBefore != null && $assignedUserIdAfter === null) { //Si el campo "assignedUserId" cambió de un valor a null - $this->logger->debug('El instalador cambió de un valor a null'); - $this->notifierFacade->verifyJobActionToDo($jsonData, null, true); // Se envía notificación de trabajo desasignado - } else { - $this->logger->debug('No hubo cambio en el instalador ni en la fecha'); + //Valores de status y su significado: 0 = abierto, 1= En curso, 2 = Cerrado + + if ($statusAfter == 1) { + // Comprobar si 'assignedUserId' cambió + // if (($assignedUserIdBefore === null && $assignedUserIdAfter != null) || ($statusBefore == 0 && $statusAfter == 1)) { //Si el campo "assignedUserId" cambió de null a un valor + // $this->logger->debug('El instalador cambió de null a un valor'); + + // $this->notifierFacade->verifyJobActionToDo($jsonData); // Se envía notificación de trabajo asignado + // } + + //Si el campo status cambió de 0 a 1 y title comienza con el prefijo [NOTIFICACION-PENDIENTE] + if (($statusBefore == 0 && $statusAfter == 1) && strpos($currentTitle, $pendingPrefix) !== false) { // Se envía notificación de trabajo asignado + $this->logger->debug('El instalador cambió de null a un valor'); + $this->notifierFacade->verifyJobActionToDo($jsonData, false, false); + } else if (($assignedUserIdBefore != null && $assignedUserIdAfter != $assignedUserIdBefore) && ($dateBefore === $dateAfter)) { //Si el campo "assignedUserId" cambió de un valor a otro y la fecha no cambió + $this->logger->debug('No hay reprogramación de trabajo pero si hay cambio de instalador'); + $this->notifierFacade->verifyJobActionToDo($jsonData, false, true); // Se envía notificación de trabajo reasignado + } else if (($assignedUserIdBefore != null && $assignedUserIdBefore === $assignedUserIdAfter) && ($dateBefore != $dateAfter)) { //Si el campo "assignedUserId" no cambió y la fecha cambió + $this->logger->debug('Se reprogramó el trabajo pero no hubo cambio de instalador'); + $this->notifierFacade->verifyJobActionToDo($jsonData, true, false); // Se envía notificación de reprogramación de trabajo + } else if (($assignedUserIdBefore != null && $assignedUserIdAfter != $assignedUserIdBefore) && ($dateBefore != $dateAfter)) { + $this->logger->debug('Se reprogramó el trabajo y hubo cambio de instalador'); + $this->notifierFacade->verifyJobActionToDo($jsonData, true, true); // Se envía notificación de trabajo reasignado + } else if ($assignedUserIdBefore != null && $assignedUserIdAfter === null) { //Si el campo "assignedUserId" cambió de un valor a null + $this->logger->debug('El instalador cambió de un valor a null'); + $this->notifierFacade->verifyJobActionToDo($jsonData, null, true); // Se envía notificación de trabajo desasignado + } else { + $this->logger->debug('No hubo cambio en el instalador ni en la fecha'); + //$this->notifierFacade->verifyJobActionToDo($jsonData); // Se envía notificación de trabajo asignado + } } } else { @@ -581,8 +669,6 @@ class Plugin } - - //$this->notifierFacade->update($notification); } catch (TwilioException $exception) { $this->logger->error($exception->getMessage()); @@ -591,4 +677,4 @@ class Plugin $this->logger->info($ex->getTraceAsString()); } } -} \ No newline at end of file +} diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index 22608dd3..1c2460bc 100755 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -5,7 +5,7 @@ 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), - 'reference' => '9a3af1f3d453e226100a2c8ff4c62b4929373492', + 'reference' => '7cb26fe7358fc5b3d7671f2db68235f6bb07ef3f', 'name' => 'ucrm-plugins/sms-twilio', 'dev' => false, ), @@ -307,7 +307,7 @@ 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), - 'reference' => '9a3af1f3d453e226100a2c8ff4c62b4929373492', + 'reference' => '7cb26fe7358fc5b3d7671f2db68235f6bb07ef3f', 'dev_requirement' => false, ), ),